From 07949f1b86c91b539b24e166c964b7fb7a1bd484 Mon Sep 17 00:00:00 2001 From: Salama Ashoush Date: Mon, 13 Nov 2023 03:33:10 +0100 Subject: [PATCH] Add ci:publish script to package.json files --- apps/cli/package.json | 1 + package.json | 3 ++- packages/utils/package.json | 3 ++- packages/w3c-dtfm/package.json | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/cli/package.json b/apps/cli/package.json index 22090e21..167e0177 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -18,6 +18,7 @@ "lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w", "prepack": "pnpm run build", "release": "pnpm test && pnpm publish", + "ci:publish": "pnpm publish", "test": "pnpm lint && pnpm test:types && vitest run --coverage", "test:types": "tsc --noEmit --skipLibCheck", "precommit": "lint-staged" diff --git a/package.json b/package.json index beddc756..93a8a732 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "precommit": "turbo precommit", "postinstall": "husky install", "changeset": "changeset", - "version": "changeset version" + "ci:version": "changeset version", + "ci:publish": "turbo ci:publish" }, "license": "MIT", "dependencies": { diff --git a/packages/utils/package.json b/packages/utils/package.json index e52185b7..cf64473b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -21,7 +21,8 @@ "release": "pnpm test && pnpm publish", "test": "pnpm lint && pnpm test:types && vitest run --coverage", "test:types": "tsc --noEmit --skipLibCheck", - "precommit": "lint-staged" + "precommit": "lint-staged", + "ci:publish": "pnpm publish" }, "dependencies": { "fast-memoize": "^2.5.2", diff --git a/packages/w3c-dtfm/package.json b/packages/w3c-dtfm/package.json index bce1b7b1..c8739b88 100644 --- a/packages/w3c-dtfm/package.json +++ b/packages/w3c-dtfm/package.json @@ -21,6 +21,7 @@ "release": "pnpm test && pnpm publish", "test": "pnpm lint && pnpm test:types && vitest run --coverage", "test:types": "tsc --noEmit --skipLibCheck", + "ci:publish": "pnpm publish", "precommit": "lint-staged" }, "dependencies": {