Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to build npm with a linked language repo #2214

Merged
merged 4 commits into from Apr 11, 2024

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Apr 9, 2024

This makes several changes:

  • It renames the UPDATE_SASS_PROTOCOL environment variable used by
    the Grinder protobuf task to UPDATE_SASS_SASS_REPO to make it
    more generic and so usable by other tasks. The previous name still
    works but is considered deprecated.

  • The pkg-npm-* grinder tasks now respects the
    UPDATE_SASS_SASS_REPO environment variable. This allows repos to
    ensure that the linked language repo's version of the TypeScript
    types are used when building the npm package.

  • UPDATE_SASS_SASS_REPO=false is set for all the pkg-npm-* tasks
    run by this repo, so that they will use the linked language repo's
    version of the TypeScript types.

@nex3 nex3 requested a review from Goodwine April 9, 2024 23:05
This makes several changes:

* It renames the `UPDATE_SASS_PROTOCOL` environment variable used by
  the Grinder `protobuf` task to `UPDATE_SASS_SASS_REPO` to make it
  more generic and so usable by other tasks. The previous name still
  works but is considered deprecated.

* The `pkg-npm-*` grinder tasks now respects the
  `UPDATE_SASS_SASS_REPO` environment variable. This allows repos to
  ensure that the linked language repo's version of the TypeScript
  types are used when building the npm package.

* `UPDATE_SASS_SASS_REPO=false` is set for all the `pkg-npm-*` tasks
  run by this repo, so that they will use the linked language repo's
  version of the TypeScript types.
tool/grind.dart Outdated Show resolved Hide resolved
nex3 and others added 2 commits April 10, 2024 23:53
Co-authored-by: Carlos (Goodwine) <2022649+Goodwine@users.noreply.github.com>
@nex3 nex3 merged commit c5aff1b into main Apr 11, 2024
34 checks passed
@nex3 nex3 deleted the npm-linked-language branch April 11, 2024 00:26
nex3 added a commit to sass/sass-spec that referenced this pull request Apr 11, 2024
nex3 added a commit to sass/sass-site that referenced this pull request Apr 11, 2024
asaf400 pushed a commit to asaf400/ass-site that referenced this pull request Apr 18, 2024
asaf400 pushed a commit to asaf400/ass-site that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants