diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5a80f55..229e4cf 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,6 +18,7 @@ jobs: with: release-type: node token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + bump-minor-pre-major: true - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 0838571..987d01f 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",