Skip to content

Commit

Permalink
Merge pull request #11 from react18-tools/provance
Browse files Browse the repository at this point in the history
Provance
  • Loading branch information
mayank1513 authored Jan 2, 2024
2 parents f4c1544 + 62b34e9 commit 9dc21b0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
permissions:
packages: write
contents: write
id-token: write

defaults:
run:
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
# continue on error - expecing npm to trow error if scoping is done twice
continue-on-error: true
id: publish_scoped
run: cd dist && node ../scope.js && npm publish --access public
run: cd dist && node ../scope.js && npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 4 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"recommendations": ["esbenp.prettier-vscode"]
"recommendations": [
"esbenp.prettier-vscode",
"mayank1513.trello-kanban-task-board"
]
}
4 changes: 2 additions & 2 deletions packages/esbuild-plugin-react18-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"test": "vitest run --coverage",
"build": "tsup src && tsc -p tsconfig-build.json && node touchup.js",
"publish-package": "cd dist && npm publish --access public",
"publish-package": "cd dist && npm publish --provenance --access public",
"lint": "eslint ."
},
"devDependencies": {
Expand Down Expand Up @@ -72,4 +72,4 @@
"mayank1513",
"turborepo-trmplate"
]
}
}
6 changes: 6 additions & 0 deletions packages/esbuild-plugin-react18/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# esbuild-plugin-react18

## 0.0.7

### Patch Changes

- Add provenance

## 0.0.6

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/esbuild-plugin-react18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "esbuild-plugin-react18",
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
"private": false,
"version": "0.0.6",
"version": "0.0.7",
"description": "Unleash the Power of React Server Components! ESBuild plugin to build RSC (React18 Server Components) compatible libraries.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "vitest run --coverage",
"build": "tsc && node touchup.js",
"publish-package": "cd dist && npm publish --access public"
"publish-package": "cd dist && npm publish --provenance --access public"
},
"devDependencies": {
"@types/node": "^20.8.3",
Expand Down Expand Up @@ -58,4 +58,4 @@
"javascript",
"mayank1513"
]
}
}

0 comments on commit 9dc21b0

Please sign in to comment.