Skip to content

Commit

Permalink
chore: add more release please configuration (#19)
Browse files Browse the repository at this point in the history
* chore: add release please

* chore: fix pnpm mentions

* chore: only do minor releases
  • Loading branch information
CompuIves authored Jan 8, 2025
1 parent f72caaa commit 1be1154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
release-type: node
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
bump-minor-pre-major: true

- uses: actions/checkout@v4

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "pnpm clean && pnpm build:esbuild && pnpm build:cjs:types && pnpm build:esm:types && chmod +x dist/bin/codesandbox.js",
"build": "npm run clean && npm run build:esbuild && npm run build:cjs:types && npm run build:esm:types && chmod +x dist/bin/codesandbox.js",
"build:cjs": "tsc -p ./tsconfig.build-cjs.json",
"build:esm": "tsc -p ./tsconfig.build-esm.json",
"build:esbuild": "node esbuild.js",
Expand All @@ -61,9 +61,8 @@
"typecheck": "tsc --noEmit",
"format": "prettier '**/*.{md,js,jsx,json,ts,tsx}' --write",
"postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.{js,d.ts,js.map}",
"preversion": "pnpm test",
"postversion": "git push && git push --tags",
"prepublish": "pnpm build"
"prepublish": "npm run build"
},
"keywords": [
"typescript",
Expand Down

0 comments on commit 1be1154

Please sign in to comment.