From f549841b67780ac06ba5727bd505e968258cebf9 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Thu, 28 Mar 2024 12:59:13 +0800 Subject: [PATCH] refactor: add back `build:test` for other packages --- packages/app-insights/package.json | 1 + packages/cli/package.json | 1 + packages/toolkit/connector-kit/package.json | 1 + packages/toolkit/core-kit/package.json | 1 + packages/toolkit/language-kit/package.json | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/app-insights/package.json b/packages/app-insights/package.json index 4dedd4ea6..231d27a91 100644 --- a/packages/app-insights/package.json +++ b/packages/app-insights/package.json @@ -24,6 +24,7 @@ "scripts": { "precommit": "lint-staged", "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", diff --git a/packages/cli/package.json b/packages/cli/package.json index 75b1cd649..5b026afd8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -25,6 +25,7 @@ "precommit": "lint-staged", "prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts", "build": "rm -rf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "start": "node .", "start:dev": "pnpm build && node .", diff --git a/packages/toolkit/connector-kit/package.json b/packages/toolkit/connector-kit/package.json index 67bf3d380..1e22a51b2 100644 --- a/packages/toolkit/connector-kit/package.json +++ b/packages/toolkit/connector-kit/package.json @@ -26,6 +26,7 @@ "precommit": "lint-staged", "dev": "tsc --watch --preserveWatchOutput --incremental", "build": "rm -rf lib/ && tsc", + "build:test": "pnpm build", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build", diff --git a/packages/toolkit/core-kit/package.json b/packages/toolkit/core-kit/package.json index a898d0053..ac7938ecd 100644 --- a/packages/toolkit/core-kit/package.json +++ b/packages/toolkit/core-kit/package.json @@ -29,6 +29,7 @@ "precommit": "lint-staged", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build", diff --git a/packages/toolkit/language-kit/package.json b/packages/toolkit/language-kit/package.json index 46e029bfc..77d7a2789 100644 --- a/packages/toolkit/language-kit/package.json +++ b/packages/toolkit/language-kit/package.json @@ -22,6 +22,7 @@ "scripts": { "precommit": "lint-staged", "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "build:test": "pnpm build", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build",