From c6179fcd85c492930d9c3572e18bf9bccefd1045 Mon Sep 17 00:00:00 2001 From: adhil72 <126852465+adhil72@users.noreply.github.com> Date: Wed, 11 Nov 2026 20:28:02 +0530 Subject: [PATCH] chore(node): publish under the @adhil28 npm scope The @adhil72 scope does not exist on npmjs.com, so the publish failed with 404 Scope not found. Rename the package to @adhil28/gitvault, the npm user the token belongs to. Co-Authored-By: Claude Haiku 5.5 --- .github/workflows/release.yml | 4 ++-- package.json | 2 +- packages/node/README.md | 10 +++++----- packages/node/package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfda70c..33279c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -226,14 +226,14 @@ jobs: run: | version=$(jq -r .version packages/node/package.json) test "v$version" = "$TAG" || { echo "::error::Tag $TAG does not match package version $version"; exit 1; } - - run: pnpm --filter @adhil72/gitvault build + - run: pnpm --filter @adhil28/gitvault build # Re-running a release must not fail because this version is already published. - name: Publish working-directory: packages/node env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - if npm view "@adhil72/gitvault@${TAG#v}" version >/dev/null 2>&1; then + if npm view "@adhil28/gitvault@${TAG#v}" version >/dev/null 2>&1; then echo "already published" else npm publish diff --git a/package.json b/package.json index 8ffbeaf..147f8c2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "gen:types": "cargo test -p gitvault-core export_bindings -q && node scripts/gen-types-index.mjs", "gen:docs": "cargo build -q -p gitvault-cli && node scripts/gen-cli-docs.mjs", "check:rust": "cargo fmt --all --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace", - "test:node": "cargo build -q -p gitvault-cli && pnpm --filter @adhil72/gitvault test", + "test:node": "cargo build -q -p gitvault-cli && pnpm --filter @adhil28/gitvault test", "check:all": "pnpm check && pnpm check:rust && pnpm test:node" }, "devDependencies": { diff --git a/packages/node/README.md b/packages/node/README.md index 08917fa..42494d3 100644 --- a/packages/node/README.md +++ b/packages/node/README.md @@ -9,15 +9,15 @@ Load your GitVault secrets into `process.env` at startup. No `.env` files in the Published on the public npm registry. No token needed: ```bash -npm install @adhil72/gitvault +npm install @adhil28/gitvault ``` ```js -import '@adhil72/gitvault/config' // uses GITVAULT_ENV, then NODE_ENV +import '@adhil28/gitvault/config' // uses GITVAULT_ENV, then NODE_ENV ``` ```js -import { config } from '@adhil72/gitvault' +import { config } from '@adhil28/gitvault' const { environment, loaded } = config('production') // names only, never values ``` @@ -31,7 +31,7 @@ const { environment, loaded } = config('production') // names only, never values ## Development ```bash -pnpm --filter @adhil72/gitvault build # tsup -> dist (ESM, CJS, .d.ts) -pnpm --filter @adhil72/gitvault typecheck +pnpm --filter @adhil28/gitvault build # tsup -> dist (ESM, CJS, .d.ts) +pnpm --filter @adhil28/gitvault typecheck pnpm test:node # builds the CLI and runs the integration tests ``` diff --git a/packages/node/package.json b/packages/node/package.json index b7f288e..279209d 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,5 +1,5 @@ { - "name": "@adhil72/gitvault", + "name": "@adhil28/gitvault", "version": "0.4.0", "description": "Load your GitVault secrets into process.env at startup. No .env files in the project.", "license": "MIT",