From e94f3ca97b91cc77c30e512519a6af4adc7268d2 Mon Sep 17 00:00:00 2001 From: Arjun <14841132+arjunvegda@users.noreply.github.com> Date: Wed, 24 Apr 2024 18:09:29 -0400 Subject: [PATCH] build: rename command from compile to build --- .codesandbox/ci.json | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 6afcb06a..a410f208 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,5 +1,5 @@ { - "buildCommand": "compile", + "buildCommand": "build", "sandboxes": ["new", "react-typescript-react-ts"], "node": "18" } diff --git a/package.json b/package.json index 4b4e3c05..bacfe08f 100644 --- a/package.json +++ b/package.json @@ -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",