From 441e9e92620c3f017ab0ea2b095a4286072534ec Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Thu, 6 Oct 2022 17:34:21 +0800 Subject: [PATCH] chore: fix package scripts (#2044) --- package.json | 4 ++-- packages/core/package.json | 2 +- packages/schemas/package.json | 3 ++- packages/ui/package.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7a1901dce..7e25a31ce 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,13 @@ "bootstrap": "lerna bootstrap", "prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi", "prepack": "lerna run --stream prepack", - "dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-test run --parallel dev", + "dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev", "start": "cd packages/core && NODE_ENV=production node . --from-root", "alteration": "cd packages/core && pnpm alteration", "ci:build": "lerna run --stream build", "ci:lint": "lerna run --parallel lint", "ci:stylelint": "lerna run --parallel stylelint", - "ci:test": "lerna run --parallel test:coverage" + "ci:test": "lerna run --parallel test:ci" }, "devDependencies": { "@commitlint/cli": "^17.0.0", diff --git a/packages/core/package.json b/packages/core/package.json index 140d2504b..89a1821c7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -18,7 +18,7 @@ "add-official-connectors": "node build/cli/add-official-connectors.js", "alteration": "node build/cli/alteration.js", "test": "jest", - "test:coverage": "jest --coverage --silent", + "test:ci": "jest --coverage --silent", "test:report": "codecov -F core" }, "dependencies": { diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 9db181dd1..c185c0c33 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -19,7 +19,8 @@ "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepack": "pnpm build", - "test": "jest" + "test": "jest", + "test:ci": "jest" }, "engines": { "node": "^16.0.0" diff --git a/packages/ui/package.json b/packages/ui/package.json index 6be0d40e3..2b31f0475 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -12,7 +12,7 @@ "lint": "eslint --ext .ts --ext .tsx src", "lint:report": "pnpm lint --format json --output-file report.json", "stylelint": "stylelint \"src/**/*.scss\"", - "test:coverage": "jest --coverage --silent", + "test:ci": "jest --coverage --silent", "test": "jest" }, "devDependencies": {