@karoy/dsh-gitlab-workbench 0.2.1 → 0.2.2

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +13 -1
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 lunnlew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -101,7 +101,19 @@ here instead of publishing an empty plugin).
101
101
  1. Bump `version` in `package.json` (and refresh the lockfile root with
102
102
  `npm install --package-lock-only`), commit and push.
103
103
  2. Create a GitHub Release whose tag is `v<version>` — the workflow fails when
104
- the tag and `package.json` disagree, or when that version is already on npm.
104
+ the tag and `package.json` disagree.
105
105
  3. The `test` job runs first; then `npm publish --access public` runs with the
106
106
  repository's `NPM_TOKEN` secret. `prepack` rebuilds `dist/` for the tarball.
107
107
  4. Verify with `npm view @karoy/dsh-gitlab-workbench version`.
108
+
109
+ A new package name goes through npm's staged publishing: the registry answers
110
+ with a `0.0.0-stage` placeholder and “being processed”, then serves the real
111
+ version a few minutes later (about five minutes for the first release here).
112
+ The workflow therefore polls for up to ten minutes, and publishing is
113
+ idempotent — when the version is already on the registry the publish step is
114
+ skipped, so **Run workflow** (`workflow_dispatch`) re-checks an
115
+ already-published version instead of failing.
116
+
117
+ ## License
118
+
119
+ MIT — see [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karoy/dsh-gitlab-workbench",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "GitLab workbench: a left-sidebar entry and a global panel for several self-managed GitLab instances, focused on projects and CI pipelines.",