dsh-keys-manager 0.0.0-stage → 0.0.0

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/README.md +15 -2
  2. package/index.js +30 -0
  3. package/package.json +25 -4
package/README.md CHANGED
@@ -1,3 +1,16 @@
1
- # Temporary Holding Version
1
+ # dsh-keys-manager (placeholder 0.0.0)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This release only **reserves the npm package name** for the real project:
4
+ https://github.com/btspoony/dsh-keys-manager
5
+
6
+ - Do **not** install or depend on `0.0.0`. It is published under the
7
+ `placeholder` dist-tag, never `latest`.
8
+ - `0.0.0` is permanently reserved: npm never allows republishing the same
9
+ version, so every real release must use a version greater than `0.0.0`.
10
+ - Real releases are published automatically from the repository by GitHub
11
+ Actions OIDC trusted publishing (`.github/workflows/release.yml`): merging
12
+ a `release vX.Y.Z` PR runs validate → build → test → `npm publish
13
+ --provenance --access public`.
14
+ - Dist-tag contract of the real workflow: formal `X.Y.Z` versions publish to
15
+ `latest`; prerelease versions (e.g. `0.1.1-alpha.1`) publish to their
16
+ prerelease prefix tag (e.g. `alpha`) and never touch `latest`.
package/index.js ADDED
@@ -0,0 +1,30 @@
1
+ // Placeholder stub for the `dsh-keys-manager` package name.
2
+ // The real package ships from https://github.com/btspoony/dsh-keys-manager
3
+ // via GitHub Actions OIDC trusted publishing (.github/workflows/release.yml).
4
+ //
5
+ // 0.0.0 is permanently reserved as the placeholder version: npm never allows
6
+ // republishing the same version, so every real release must use a version
7
+ // greater than 0.0.0.
8
+ //
9
+ // Load-time behavior: warn only, so bundler static analysis and accidental
10
+ // transitive installs never crash at require/import time. Call-time behavior:
11
+ // the exported function throws, so actual usage of this stub fails loudly
12
+ // with an actionable message instead of being silently broken.
13
+
14
+ 'use strict';
15
+
16
+ const MESSAGE =
17
+ 'dsh-keys-manager@0.0.0 is a placeholder package. Install a real version (> 0.0.0) from https://github.com/btspoony/dsh-keys-manager';
18
+
19
+ // Warn once at load time except in production builds (set
20
+ // DSH_KEYS_MANAGER_WARN=1 to force the warning there too).
21
+ if (process.env.NODE_ENV !== 'production' || process.env.DSH_KEYS_MANAGER_WARN === '1') {
22
+ console.warn(`[dsh-keys-manager] ${MESSAGE}`);
23
+ }
24
+
25
+ module.exports = function dshKeysManagerPlaceholder() {
26
+ throw new Error(MESSAGE);
27
+ };
28
+
29
+ // Machine-readable marker so tooling can detect the stub without importing it.
30
+ module.exports.isPlaceholder = true;
package/package.json CHANGED
@@ -1,6 +1,27 @@
1
1
  {
2
2
  "name": "dsh-keys-manager",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.0",
4
+ "description": "Placeholder release that reserves the package name. The real package ships from https://github.com/btspoony/dsh-keys-manager via CI trusted publishing. Do not install 0.0.0.",
5
+ "license": "MIT",
6
+ "main": "index.js",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/btspoony/dsh-keys-manager.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/btspoony/dsh-keys-manager/issues"
13
+ },
14
+ "homepage": "https://github.com/btspoony/dsh-keys-manager#readme",
15
+ "keywords": [
16
+ "dsh",
17
+ "dsh-plugin",
18
+ "keys",
19
+ "provider",
20
+ "llm",
21
+ "placeholder"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ }
27
+ }