Selaa lähdekoodia

chore: publish 1.x NPM packages with the v1 tag (#11188)

Lucas Fernandes Nogueira 9 kuukautta sitten
vanhempi
sitoutus
7b0aac9129
3 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      .changes/config.json
  2. 1 1
      .github/workflows/publish-cli-js.yml
  3. 1 1
      tooling/api/package.json

+ 1 - 1
.changes/config.json

@@ -115,7 +115,7 @@
           "pipe": true
         },
         {
-          "command": "yarn publish --access public --loglevel silly",
+          "command": "yarn publish --access public --loglevel silly --tag v1",
           "dryRunCommand": "npm publish --dry-run --access public",
           "pipe": true
         },

+ 1 - 1
.github/workflows/publish-cli-js.yml

@@ -393,7 +393,7 @@ jobs:
       - name: Publish
         run: |
           echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
-          npm publish
+          npm publish --tag v1
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}

+ 1 - 1
tooling/api/package.json

@@ -35,7 +35,7 @@
   "scripts": {
     "build": "rollup -c --configPlugin typescript",
     "npm-pack": "yarn build && cd ./dist && npm pack",
-    "npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly",
+    "npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag v1",
     "ts:check": "tsc -noEmit",
     "lint": "eslint --ext ts \"./src/**/*.ts\"",
     "lint:fix": "eslint --fix --ext ts \"./src/**/*.ts\"",