Skip to content

Commit

Permalink
renames custom publish command to try:publish
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermccormick committed Sep 15, 2023
1 parent 56e2a61 commit b110572
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion web-components/sensor-scatterplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b110572

Please sign in to comment.