Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/setup-npm-trusted-publishing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@kidd-cli/core': patch
'@kidd-cli/cli': patch
'@kidd-cli/bundler': patch
'@kidd-cli/config': patch
'@kidd-cli/utils': patch
---

Add repository metadata and configure npm trusted publishing with OIDC
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: write
pull-requests: write
id-token: write

jobs:
release:
name: Release
Expand Down Expand Up @@ -39,4 +44,4 @@ jobs:
version: pnpm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
5 changes: 5 additions & 0 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.1.0",
"description": "Programmatic bundler for kidd CLI tools powered by tsdown",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joggrdocs/kidd.git",
"directory": "packages/bundler"
},
"files": [
"dist"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"scaffolding"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joggrdocs/kidd.git",
"directory": "packages/cli"
},
"bin": {
"kidd": "./dist/index.mjs"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.1.0",
"description": "Build-time configuration for kidd CLIs",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joggrdocs/kidd.git",
"directory": "packages/config"
},
"files": [
"dist"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"zod"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joggrdocs/kidd.git",
"directory": "packages/core"
},
"files": [
"dist"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.1.0",
"description": "Shared utilities for the kidd ecosystem",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joggrdocs/kidd.git",
"directory": "packages/utils"
},
"files": [
"dist"
],
Expand Down
Loading