File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' vite-plugin-v*'
7+
8+ jobs :
9+ release :
10+ uses : crxjs/workflows/.github/workflows/release.yml@v1
11+ with :
12+ publish : true
13+ permissions :
14+ contents : write
15+ id-token : write
Original file line number Diff line number Diff line change 2222 "play:svelte" : " pnpm -C playgrounds/svelte run dev" ,
2323 "play:vanilla" : " pnpm -C playgrounds/vanilla run dev" ,
2424 "play:vue" : " pnpm -C playgrounds/vue run dev" ,
25- "release" : " pnpm --filter \" *plugin*\" build && changeset publish"
25+ "release" : " pnpm --filter \" *plugin*\" build && changeset publish" ,
26+ "release:vite-plugin" : " cd ./packages/vite-plugin && pnpm release"
2627 },
2728 "dependencies" : {
2829 "@changesets/cli" : " ^2.30.0" ,
4041 "node" : " >=14"
4142 },
4243 "devDependencies" : {
44+ "bumpp" : " ^11.0.1" ,
4345 "vitest" : " 0.24.3"
4446 },
4547 "pnpm" : {
Original file line number Diff line number Diff line change 1+ // bump.config.ts
2+ import { defineConfig } from 'bumpp'
3+
4+ export default defineConfig ( {
5+ tag : 'vite-plugin-v%s' ,
6+ } )
Original file line number Diff line number Diff line change 5353 " client.d.ts"
5454 ],
5555 "scripts" : {
56+ "release" : " bumpp" ,
5657 "format" : " prettier -w -c ../../.prettierrc.yaml" ,
5758 "build" : " run-s build:clean build:js" ,
5859 "build:clean" : " rimraf dist" ,
You can’t perform that action at this time.
0 commit comments