Skip to content

Commit

Permalink
build: rename command from compile to build
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunvegda committed Apr 24, 2024
1 parent f3cbe70 commit e94f3ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"buildCommand": "compile",
"buildCommand": "build",
"sandboxes": ["new", "react-typescript-react-ts"],
"node": "18"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"test:ci": "pnpm run test:coverage --maxWorkers=1",
"commitlint": "commitlint",
"lint-staged": "lint-staged",
"compile": "tsup && pnpm postcompile",
"postcompile": "node -e \"require('shelljs').find('dist/**/*.d.ts').forEach(f=>require('fs').copyFileSync(f,f.replace(/\\.ts$/,'.mts')))\";",
"prerelease": "pnpm install --frozen-lockfile && pnpm run lint && pnpm run test && pnpm run compile",
"build": "tsup && pnpm postbuild",
"postbuild": "node -e \"require('shelljs').find('dist/**/*.d.ts').forEach(f=>require('fs').copyFileSync(f,f.replace(/\\.ts$/,'.mts')))\";",
"prerelease": "pnpm install --frozen-lockfile && pnpm run lint && pnpm run test && pnpm run build",
"release": "pnpm prerelease && release-it",
"release:next": "pnpm run release --preRelease=next",
"release:minor": "pnpm run release minor",
Expand Down

0 comments on commit e94f3ca

Please sign in to comment.