Repository navigation
Conversation
Contributor
Author
|
Two things that pop up for me are the name of the action, which can be shortened and the helper script which shares some logic which the existing script. |
Contributor
Author
|
Also cleaned up the NPM scripts. I think it is ready for review. |
There was a problem hiding this comment.
🟡 Changes recommended
The publishing gate’s formatting-dependent regex can miss dependency version mismatches and reject matching prereleases because it truncates version strings.
1 open issue
What changed in this PR
This PR moves npm publishing from GitHub release events to package-manifest changes on main, with dry runs for pull requests and a dependency-version check before publishing.
Changes:
- Uses a dedicated publishing action for both npm packages.
- Adds dependency-version validation and shares manifest helpers between scripts.
- Updates release instructions and removes superseded package scripts.
| File | Description |
|---|---|
scripts/update-version.js |
Reuses shared manifest helpers. |
scripts/shared.js |
Provides package-path and version helpers. |
scripts/check-versions.js |
Checks internal dependency versions across packages and examples. |
RELEASE.md |
Documents automatic publishing and pull-request dry runs. |
packages/typir/package.json |
Removes previous versioning and publishing scripts. |
packages/typir-langium/package.json |
Removes previous versioning and publishing scripts. |
package.json |
Adds the dependency-version check command. |
package-lock.json |
Removes libc constraints from several optional dependencies. |
.github/workflows/publish.yml |
Adds manifest-based triggers, validation, and the publishing action. |
Review effort: Balanced
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io> # Conflicts: # packages/typir-langium/package.json
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
Lotes
force-pushed
the
lotes/publish-via-gh-action
branch
from
December 1, 2026 16:37
7fd8ee6 to
cf10337
Compare
Signed-off-by: Markus Rudolph <markus.rudolph@typefox.io>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

I just added the action.
I am currently working on connecting the release "environment".