2 Commits

Author SHA1 Message Date
4c396d9f60 Add repository field to package.json (#9)
Required for npm provenance verification — npm checks that the
repository URL matches the GitHub repo publishing the package.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-14 01:32:17 +00:00
8680ef66c8 Add setup-node step for npm registry auth (#8)
setup-node with registry-url configures the .npmrc with the OIDC
token needed for trusted publishing via bunx npm publish.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-14 01:29:36 +00:00
2 changed files with 9 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ jobs:
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: bun install - run: bun install
- run: bun run build - run: bun run build

View File

@@ -6,6 +6,10 @@
"access": "public" "access": "public"
}, },
"description": "JSX factory for json-render. Write JSX, get Spec JSON.", "description": "JSX factory for json-render. Write JSX, get Spec JSON.",
"repository": {
"type": "git",
"url": "https://github.com/kennethnym/jrx"
},
"type": "module", "type": "module",
"module": "./dist/index.js", "module": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",