Skip to content

chore: add script to point NpmPackage at a feature snapshot - #9699

Open
Artur- wants to merge 3 commits into
mainfrom
use-feature-snapshot-script
Open

chore: add script to point NpmPackage at a feature snapshot#9699
Artur- wants to merge 3 commits into
mainfrom
use-feature-snapshot-script

Conversation

@Artur-

@Artur- Artur- commented Jul 8, 2026

Copy link
Copy Markdown
Member

updateNpmFeatureSnapshot.js writes the dev- dist-tag published by the web-components publishFeatureSnapshot.sh into every @vaadin NpmPackage annotation, so flow tracks the latest snapshot build like a -SNAPSHOT dependency. Packages without the tag are skipped.

@yuriy-fix

Copy link
Copy Markdown
Contributor

We will bring it up within the team to decide how it should behave.

Artur- added 3 commits July 25, 2026 19:13
updateNpmFeatureSnapshot.js writes the dev-<feature> dist-tag published
by the web-components publishFeatureSnapshot.sh into every @vaadin
NpmPackage annotation, so flow tracks the latest snapshot build like a
-SNAPSHOT dependency. Packages without the tag are skipped.
Add an optional --version flag to updateNpmVer.js that pins every
@vaadin NpmPackage annotation to an exact version (a feature snapshot),
updating only packages that actually publish it. Removes the separate
updateNpmFeatureSnapshot.js.
@Artur-
Artur- force-pushed the use-feature-snapshot-script branch from 3e40286 to e310805 Compare July 25, 2026 16:54
@Artur-

Artur- commented Jul 25, 2026

Copy link
Copy Markdown
Member Author

Merged the script into updateNpmVer.js

@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants