"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",