From: Eduardo San Martin Morote Date: Thu, 9 Jun 2022 09:32:23 +0000 (+0200) Subject: chore: replace yarn with pnpm in scripts X-Git-Tag: v4.1.0~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa14fa1904e020c48026830ed53b6411c07ef2a9;p=thirdparty%2Fvuejs%2Frouter.git chore: replace yarn with pnpm in scripts --- diff --git a/packages/router/package.json b/packages/router/package.json index ab644380..a56e4997 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -54,19 +54,19 @@ "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",