]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: replace yarn with pnpm in scripts
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 9 Jun 2022 09:32:23 +0000 (11:32 +0200)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Thu, 30 Jun 2022 07:59:00 +0000 (09:59 +0200)
packages/router/package.json

index ab644380f5c7aa493560469b403ac007312ff3f6..a56e4997eca1005cbe18268a4f5650e20a066213 100644 (file)
     "build:dts": "api-extractor run --local --verbose && tail -n +9 src/globalExtensions.ts >> dist/vue-router.d.ts",
     "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.js",
     "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.js",
-    "build:size": "yarn run build && rollup -c size-checks/rollup.config.js",
+    "build:size": "pnpm run build && rollup -c size-checks/rollup.config.js",
     "dev:e2e": "vite --config e2e/vite.config.ts",
     "docs": "vitepress dev docs",
     "docs:build": "vitepress build docs",
-    "lint": "yarn run lint:script && yarn run lint:html",
+    "lint": "pnpm run lint:script && pnpm run lint:html",
     "lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
     "lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
-    "lint:fix": "yarn run lint:script --write && yarn run lint:html --write",
+    "lint:fix": "pnpm run lint:script --write && pnpm run lint:html --write",
     "test:types": "tsc --build tsconfig.json",
     "test:dts": "tsc -p ./test-dts/tsconfig.json",
     "test:unit": "jest --coverage",
-    "test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts && yarn run test:e2e",
-    "test:e2e": "yarn run test:e2e:headless && yarn run test:e2e:native",
+    "test": "pnpm run test:types && pnpm run test:unit && pnpm run build && pnpm run build:dts && pnpm run test:e2e",
+    "test:e2e": "pnpm run test:e2e:headless && pnpm run test:e2e:native",
     "test:e2e:headless": "node e2e/runner.js -e chrome-headless --skiptags no-headless",
     "test:e2e:native": "node e2e/runner.js -e chrome --tag no-headless",
     "test:e2e:ci": "node e2e/runner.js -e firefox --retries 2",