From b1105724d5db1b26f7718bedd14ba90a140fea18 Mon Sep 17 00:00:00 2001 From: Alexander McCormick Date: Fri, 15 Sep 2023 11:43:54 -0700 Subject: [PATCH] renames custom publish command to try:publish --- .github/workflows/release-packages.yml | 2 +- api/package.json | 4 ++-- package.json | 4 +--- types/package.json | 2 +- web-components/sensor-scatterplot/package.json | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 2d5452d..c93b705 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -12,6 +12,6 @@ jobs: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: npm ci - - run: npm run --workspaces publish + - run: npm run --workspaces try:publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/api/package.json b/api/package.json index 3207a06..f2592d9 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "@sjvair/api", - "version": "1.0.3", + "version": "1.0.4", "description": "Official SDK for the SJVAir API", "files": [ "dist", "src" ], "exports": { @@ -20,7 +20,7 @@ "scripts": { "build": "[ -d ./dist ] && rm -rf ./dist; tsc", "gen:docs": "typedoc ./src/index.ts", - "publish": "../scripts/publish.sh" + "try:publish": "../scripts/publish.sh" }, "author": "Alexander McCormick", "license": "ISC" diff --git a/package.json b/package.json index 83b1823..1c2261f 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,7 @@ "name": "sdk-js", "version": "1.0.0", "description": "SJVAir Development SDK", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, + "scripts": {}, "keywords": [], "author": "Alexander McCormick", "license": "ISC", diff --git a/types/package.json b/types/package.json index c6d3279..b1f1b9d 100644 --- a/types/package.json +++ b/types/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc", "gen:docs": "typedoc ./src/index.ts", - "publish": "../scripts/publish.sh" + "try:publish": "../scripts/publish.sh" }, "author": "Alexander McCormick", "license": "ISC" diff --git a/web-components/sensor-scatterplot/package.json b/web-components/sensor-scatterplot/package.json index f596cb1..30d4be0 100644 --- a/web-components/sensor-scatterplot/package.json +++ b/web-components/sensor-scatterplot/package.json @@ -8,7 +8,7 @@ "build": "tsc && vite build", "preview": "vite preview", "gen:docs": "typedoc ./src/main.ts", - "publish": "../../scripts/publish.sh" + "try:publish": "../../scripts/publish.sh" }, "devDependencies": { "@sjvair/api": "^1.0.0"