File tree Expand file tree Collapse file tree 4 files changed +728
-105
lines changed Expand file tree Collapse file tree 4 files changed +728
-105
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://unpkg.com/@changesets/config@3.0.0/schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "fixed" : [],
6
+ "linked" : [],
7
+ "access" : " public" ,
8
+ "baseBranch" : " main" ,
9
+ "updateInternalDependencies" : " patch" ,
10
+ "ignore" : []
11
+ }
Original file line number Diff line number Diff line change 3
3
release :
4
4
types : [published]
5
5
workflow_dispatch :
6
+ push :
7
+ branches : [main]
6
8
jobs :
7
- pnpm-publish :
9
+ release :
8
10
runs-on : ubuntu-latest
11
+ if : github.repository_owner == 'rphlmr'
9
12
steps :
10
13
- name : ⬇️ Checkout repo
11
14
uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
12
17
13
18
- name : 👷 Install pnpm
14
19
uses : pnpm/action-setup@v4
24
29
- name : 📥 Install dependencies
25
30
run : pnpm install --frozen-lockfile
26
31
27
- - name : Publish 🚀
28
- shell : bash
29
- run : pnpm publish --access public --no-git-checks
32
+ - name : 🦋 Create Release Pull Request or Publish
33
+ id : changesets
34
+ uses : changesets/action@v1
35
+ with :
36
+ publish : pnpm run release
37
+ title : " chore: release package"
38
+ commit : " chore: release package"
30
39
env :
31
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 64
64
"check:fix" : " biome check --fix ." ,
65
65
"typecheck" : " tsc" ,
66
66
"validate" : " npm run check && npm run tsc" ,
67
- "clear-all" : " rm -rf node_modules pnpm-lock.yaml && find ./examples -type d -name 'node_modules' -exec rm -rf {} + && find ./examples -name 'pnpm-lock.yaml' -exec rm -f {} +"
67
+ "clear-all" : " rm -rf node_modules pnpm-lock.yaml && find ./examples -type d -name 'node_modules' -exec rm -rf {} + && find ./examples -name 'pnpm-lock.yaml' -exec rm -f {} +" ,
68
+ "changeset" : " changeset" ,
69
+ "version" : " changeset version" ,
70
+ "release" : " changeset publish"
68
71
},
69
72
"author" : " " ,
70
73
"license" : " ISC" ,
89
92
},
90
93
"devDependencies" : {
91
94
"@biomejs/biome" : " ^1.9.4" ,
95
+ "@changesets/cli" : " ^2.29.5" ,
92
96
"@cloudflare/workers-types" : " ^4.20250405.0" ,
93
97
"@types/bun" : " ^1.2.8" ,
94
98
"@types/node" : " ^22.14.0" ,
101
105
},
102
106
"peerDependencies" : {
103
107
"@cloudflare/workers-types" : " ^4.20250317.0" ,
104
- "@types/react" : " ^18.3.10 || ^19.0.0" ,
105
108
"@react-router/dev" : " ^7.2.0" ,
109
+ "@types/react" : " ^18.3.10 || ^19.0.0" ,
106
110
"miniflare" : " ^3.20241205.0" ,
107
111
"react-router" : " ^7.2.0" ,
108
112
"vite" : " ^6.0.0 || ^7.0.0" ,
You can’t perform that action at this time.
0 commit comments