Skip to content

Commit 1be1154

Browse files
authored
chore: add more release please configuration (#19)
* chore: add release please * chore: fix pnpm mentions * chore: only do minor releases
1 parent f72caaa commit 1be1154

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
release-type: node
2020
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21+
bump-minor-pre-major: true
2122

2223
- uses: actions/checkout@v4
2324

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"types": "./dist/esm/index.d.ts",
5151
"scripts": {
52-
"build": "pnpm clean && pnpm build:esbuild && pnpm build:cjs:types && pnpm build:esm:types && chmod +x dist/bin/codesandbox.js",
52+
"build": "npm run clean && npm run build:esbuild && npm run build:cjs:types && npm run build:esm:types && chmod +x dist/bin/codesandbox.js",
5353
"build:cjs": "tsc -p ./tsconfig.build-cjs.json",
5454
"build:esm": "tsc -p ./tsconfig.build-esm.json",
5555
"build:esbuild": "node esbuild.js",
@@ -61,9 +61,8 @@
6161
"typecheck": "tsc --noEmit",
6262
"format": "prettier '**/*.{md,js,jsx,json,ts,tsx}' --write",
6363
"postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.{js,d.ts,js.map}",
64-
"preversion": "pnpm test",
6564
"postversion": "git push && git push --tags",
66-
"prepublish": "pnpm build"
65+
"prepublish": "npm run build"
6766
},
6867
"keywords": [
6968
"typescript",

0 commit comments

Comments
 (0)