File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -87,5 +87,4 @@ To create a release:
87871 . Merge the feature PR into main. The commit message should follow conventional commits.
88881 . Wait for release-please to run, which should result in a PR being opened. Merge that PR.
89891 . ` git checkout main && git pull main `
90- 1 . ` ./scripts/publish.mjs --dry-run `
91- 1 . Run above without ` --dry-run `
90+ 1 . ` pnpm publish-git `
Original file line number Diff line number Diff line change 3838 "docs:build" : " cd docs && pnpm build" ,
3939 "docs:deploy" : " pnpm docs:build && netlify deploy --dir docs/build --prod" ,
4040 "watch" : " pnpm run build:watch" ,
41- "clean" : " pnpm -r run clean && rm -rf packages/*/{package,*.tgz}" ,
41+ "clean" : " pnpm -r run clean && rimraf packages/*/{package,*.tgz}" ,
4242 "format" : " prettier --write ." ,
4343 "prettier:check" : " prettier --list-different ." ,
44- "postinstall" : " ./node_modules/ghooks/bin/install"
44+ "postinstall" : " ./node_modules/ghooks/bin/install" ,
45+ "publish-git" : " sh -c 'if [ -n \" $(git status --porcelain)\" ]; then echo \" Repository is dirty. Commit or stash your changes first.\" >&2; exit 1; fi && pnpm clean && pnpm build && ./scripts/publish.mjs && git reset --hard HEAD'"
4546 },
4647 "devDependencies" : {
4748 "@types/node" : " ^20.10.3" ,
Original file line number Diff line number Diff line change 11{
2- "exclude" : [" node_modules" ],
2+ "exclude" : [" node_modules" , " package " ],
33 "compilerOptions" : {
44 "composite" : true ,
55 "sourceMap" : true ,
You can’t perform that action at this time.
0 commit comments