]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: consistent usage of yarn run
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Apr 2020 10:45:55 +0000 (12:45 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 8 Apr 2020 10:45:55 +0000 (12:45 +0200)
circle.yml
package.json
scripts/release.sh

index dd54f4d5b4d08a59af501e2c707bacb8b74b677a..f39e385a06323df9b1851729f8d522a6fb106c6c 100644 (file)
@@ -29,8 +29,8 @@ jobs:
 
       - run: yarn run lint
       - run: yarn run test:types
-      - run: yarn build
-      - run: yarn build:dts
+      - run: yarn run build
+      - run: yarn run build:dts
       - run: yarn run test:unit --maxWorkers=2
       - run: yarn run build:e2e
       - run: yarn run test:e2e
index 2655d489ec87cd26bc2bfcd219c758a79e4fb7b8..301b0a191cd5f7d1e8fe7696786b6f2b0987737c 100644 (file)
@@ -15,7 +15,7 @@
     "README.md"
   ],
   "scripts": {
-    "build": "yarn rollup -c rollup.config.js",
+    "build": "rollup -c rollup.config.js",
     "build:dts": "api-extractor run --local --verbose",
     "dev": "webpack-dev-server --mode=development",
     "release": "bash scripts/release.sh",
index bd0400a4dd1d6b6e6e6cbc28b108f0e49413700b..34cb3b251767e2061672ab0cd24f71ee27c06706 100644 (file)
@@ -10,10 +10,10 @@ echo    # (optional) move to a new line
 if [[ $REPLY =~ ^[Yy]$ ]]
 then
   echo "Releasing v$VERSION ..."
-  npm test
+  yarn run test
 
-  yarn build
-  yarn build:dts
+  yarn run build
+  yarn run build:dts
 
   # generate the version so that the changelog can be generated too
   yarn version --no-git-tag-version --no-commit-hooks --new-version $VERSION