@eclipse-glsp/cli 2.9.0-next.2 → 2.9.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/dist/cli.js +128 -93
- package/dist/cli.js.map +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Options:
|
|
|
22
22
|
|
|
23
23
|
Commands:
|
|
24
24
|
checkHeaders [options] <rootDir> Validates the copyright year range (end year) of license header files
|
|
25
|
-
updateNext|u [options] [rootDir] Updates all `next` dependencies in GLSP project to the
|
|
25
|
+
updateNext|u [options] [rootDir] Updates all pinned `next` dependencies in a GLSP project to the currently published 'next' versions
|
|
26
26
|
generateIndex [options] <rootDir...> Generate index files in a given source directory.
|
|
27
27
|
releng Commands for GLSP release engineering (Linux only, intended for CI/Maintainer use).
|
|
28
28
|
repo Multi-repository management for GLSP projects
|
|
@@ -62,11 +62,20 @@ Options:
|
|
|
62
62
|
|
|
63
63
|
## updateNext
|
|
64
64
|
|
|
65
|
+
The `updateNext` command updates the cross-repo GLSP nightly dependencies of a downstream repository
|
|
66
|
+
(e.g. the Theia or VS Code integration). Since GLSP nightlies are published as consistent exact-pinned
|
|
67
|
+
sets, downstream repositories pin them explicitly too: every `@eclipse-glsp/*` / `@eclipse-glsp-examples/*`
|
|
68
|
+
dependency with an exact next version (e.g. `2.9.0-next.3`) is rewritten in the `package.json` files to
|
|
69
|
+
the version currently published under the `next` dist-tag, followed by a `pnpm install` to reconcile the
|
|
70
|
+
lockfile. Every nightly bump is therefore an explicit, reviewable manifest diff. Legacy literal `next`
|
|
71
|
+
(dist-tag) ranges are migrated to exact pins on the first run; exact next versions of non-GLSP packages
|
|
72
|
+
are left alone.
|
|
73
|
+
|
|
65
74
|
```console
|
|
66
75
|
$ glsp updateNext -h
|
|
67
76
|
Usage: glsp updateNext|u [options] [rootDir]
|
|
68
77
|
|
|
69
|
-
Updates all `next` dependencies in GLSP project to the
|
|
78
|
+
Updates all pinned `next` dependencies in a GLSP project to the currently published 'next' versions
|
|
70
79
|
|
|
71
80
|
Arguments:
|
|
72
81
|
rootDir The repository root (default: "<cwd>")
|
|
@@ -207,7 +216,9 @@ always forms one consistent, reproducible set. If an unaffected package has no p
|
|
|
207
216
|
yet (e.g. a brand-new package), a full publish is performed instead. A change to the root
|
|
208
217
|
`tsconfig.json` affects the compiled output of all packages and therefore also forces a full publish,
|
|
209
218
|
as does a missing/invalid baseline or the `--full` flag. If no group is affected (e.g. docs- or CI-only
|
|
210
|
-
changes), the command succeeds without publishing anything.
|
|
219
|
+
changes), the command succeeds without publishing anything. Canary versions that already exist on the
|
|
220
|
+
registry are skipped: the commit count only grows, so they can only stem from an earlier run over the
|
|
221
|
+
same commit — this makes re-runs (e.g. to heal a partially failed publish) idempotent.
|
|
211
222
|
|
|
212
223
|
`pnpm publish -r` does the publishing, so it rewrites `workspace:` dependency ranges to exact
|
|
213
224
|
versions; npm provenance/trusted publishing (`NPM_CONFIG_PROVENANCE`) is preserved.
|