Skip to content

Commit e9fe2fe

Browse files
authored
Merge pull request #8 from react18-tools/provenance
Provenance
2 parents b3a2338 + 5d208f5 commit e9fe2fe

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
packages: write
1414
contents: write
15+
id-token: write
1516

1617
defaults:
1718
run:
@@ -30,9 +31,9 @@ jobs:
3031
name: Install dependencies
3132
- name: Publish to NPM
3233
run: |
33-
pnpm build && cd dist && npm publish
34-
sed -i -e "s/.*name.*/\t\"name\": \"zustand-sync\",/" package.json && npm publish
35-
sed -i -e "s/.*name.*/\t\"name\": \"sync-zustand\",/" package.json && npm publish
36-
sed -i -e "s/.*name.*/\t\"name\": \"sync-tabs-zustand\",/" package.json && npm publish
34+
pnpm build && cd dist && npm publish --provenance --access public
35+
sed -i -e "s/.*name.*/\t\"name\": \"zustand-sync\",/" package.json && npm publish --provenance --access public
36+
sed -i -e "s/.*name.*/\t\"name\": \"sync-zustand\",/" package.json && npm publish --provenance --access public
37+
sed -i -e "s/.*name.*/\t\"name\": \"sync-tabs-zustand\",/" package.json && npm publish --provenance --access public
3738
env:
3839
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

examples/nextjs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# nextjs
22

3+
## 1.0.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
9+
310
## 1.0.2
411

512
### Patch Changes

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --port 3001",

packages/zustand-sync-tabs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# zustand-sync-tabs
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- Add provance
8+
39
## 0.2.0
410

511
### Minor Changes

packages/zustand-sync-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zustand-sync-tabs",
33
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"description": "Zustand middleware to easily sync Zustand state between tabs and windows",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)