|
59 | 59 | "eslint-plugin-vue": "^9.26.0",
|
60 | 60 | "esno": "^0.17.0",
|
61 | 61 | "execa": "^5.1.1",
|
| 62 | + "get-port-please": "^3.1.2", |
62 | 63 | "jest": "^27.2.3",
|
63 | 64 | "jest-puppeteer": "^6.0.0",
|
64 | 65 | "jest-watch-typeahead": "^0.6.4",
|
|
72 | 73 | "prettier": "^3.2.5",
|
73 | 74 | "prompts": "^2.4.1",
|
74 | 75 | "puppeteer": "^10.4.0",
|
| 76 | + "playwright": "^1.44.0", |
75 | 77 | "rollup": "^2.53.1",
|
76 | 78 | "rollup-plugin-vue": "^6.0.0",
|
77 | 79 | "secretlint": "^3.2.0",
|
|
113 | 115 | },
|
114 | 116 | "scripts": {
|
115 | 117 | "prepare": "git config --local core.hooksPath .githooks",
|
116 |
| - "build": "npm-run-all -s \"build:utils\" \"build:unplugin\"", |
117 |
| - "build:utils": "yarn workspace @intlify/bundle-utils build", |
118 |
| - "build:rollup": "yarn workspace @intlify/rollup-plugin-vue-i18n build", |
119 |
| - "build:vite": "yarn workspace @intlify/vite-plugin-vue-i18n build", |
120 |
| - "build:webpack": "yarn workspace @intlify/vue-i18n-loader build", |
121 |
| - "build:unplugin": "yarn workspace @intlify/unplugin-vue-i18n build", |
122 |
| - "example:unplugin": "yarn workspace @intlify/unplugin-vue-i18n build:example", |
123 |
| - "play:unplugin:vite": "yarn workspace @intlify/unplugin-vue-i18n dev:vite", |
124 |
| - "play:unplugin:webpack": "yarn workspace @intlify/unplugin-vue-i18n dev:webpack", |
125 |
| - "clean": "npm-run-all --parallel \"clean:*\"", |
126 |
| - "clean:utils": "yarn workspace @intlify/bundle-utils clean", |
127 |
| - "clean:rollup": "yarn workspace @intlify/rollup-plugin-vue-i18n clean", |
128 |
| - "clean:vite": "yarn workspace @intlify/vite-plugin-vue-i18n clean", |
129 |
| - "clean:webpack": "yarn workspace @intlify/vue-i18n-loader clean", |
130 |
| - "clean:unplugin": "yarn workspace @intlify/unplugin-vue-i18n clean", |
| 118 | + "build": "run-s \"build:utils\" \"build:unplugin\"", |
| 119 | + "build:utils": "pnpm --filter @intlify/bundle-utils build", |
| 120 | + "build:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n build", |
| 121 | + "build:vite": "pnpm --filter @intlify/vite-plugin-vue-i18n build", |
| 122 | + "build:webpack": "pnpm --filter @intlify/vue-i18n-loader build", |
| 123 | + "build:unplugin": "pnpm --filter @intlify/unplugin-vue-i18n build", |
| 124 | + "build:example": "run-s \"build:example:vite {@}\" \"build:example:webpack\" --", |
| 125 | + "build:example:vite": "cd examples/vite && vite build --config ./vite.config.ts --outDir ./dist", |
| 126 | + "build:example:webpack": "pnpm build && webpack --config ./examples/webpack/webpack.config.js", |
| 127 | + "play:vite": "vite examples/vite -c examples/vite/vite.config.ts", |
| 128 | + "play:webpack": "pnpm run build:unplugin && webpack serve --config ./examples/webpack/webpack.config.js", |
| 129 | + "preview:vite": "vite preview examples/vite --outDir dist", |
| 130 | + "check-install": "jiti scripts/playwright.ts", |
| 131 | + "clean": "run-p \"clean:*\"", |
| 132 | + "clean:utils": "pnpm --filter @intlify/bundle-utils clean", |
| 133 | + "clean:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n clean", |
| 134 | + "clean:vite": "pnpm --filter @intlify/vite-plugin-vue-i18n clean", |
| 135 | + "clean:webpack": "pnpm --filter @intlify/vue-i18n-loader clean", |
| 136 | + "clean:unplugin": "pnpm --filter @intlify/unplugin-vue-i18n clean", |
131 | 137 | "coverage": "opener coverage/lcov-report/index.html",
|
132 |
| - "fix": "npm-run-all --parallel lint:eslint:fix format:fix", |
| 138 | + "fix": "run-p lint:eslint:fix format:fix", |
133 | 139 | "format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
|
134 |
| - "format:fix": "yarn format --write", |
135 |
| - "lint": "npm-run-all --parallel lint:eslint lint:secret", |
| 140 | + "format:fix": "pnpm format --write", |
| 141 | + "lint": "run-p lint:eslint lint:secret", |
136 | 142 | "lint:eslint": "eslint ./packages ./scripts --ext .ts",
|
137 |
| - "lint:eslint:fix": "yarn lint:eslint --fix", |
| 143 | + "lint:eslint:fix": "pnpm lint:eslint --fix", |
138 | 144 | "lint:secret": "npx secretlint \"**/*\"",
|
139 |
| - "test": "yarn test:unit && yarn test:e2e", |
140 |
| - "test:e2e": "npm-run-all test:e2e:unplugin", |
141 |
| - "test:e2e:rollup": "yarn workspace @intlify/rollup-plugin-vue-i18n test:e2e", |
142 |
| - "test:e2e:vite": "yarn workspace @intlify/vite-plugin-vue-i18n test:e2e", |
143 |
| - "test:e2e:webpack": "yarn workspace @intlify/vue-i18n-loader test:e2e", |
144 |
| - "test:e2e:unplugin": "yarn workspace @intlify/unplugin-vue-i18n test:e2e", |
145 |
| - "test:unit": "run-s \"test:unit:utils\" \"test:unit:unplugin\"", |
146 |
| - "test:unit:utils": "yarn run build:utils && vitest run packages/bundle-utils", |
| 145 | + "test": "pnpm test:unit && pnpm test:e2e", |
| 146 | + "test:e2e": "pnpm check-install && vitest -c ./vitest.e2e.config.ts run", |
| 147 | + "test:e2e:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n test:e2e", |
| 148 | + "test:e2e:vite": "pnpm --filter @intlify/vite-plugin-vue-i18n test:e2e", |
| 149 | + "test:e2e:webpack": "pnpm --filter @intlify/vue-i18n-loader test:e2e", |
| 150 | + "test:e2e:unplugin": "pnpm --filter @intlify/unplugin-vue-i18n test:e2e", |
| 151 | + "test:unit": "run-s \"test:unit:utils {@}\" \"test:unit:unplugin {@}\" --", |
| 152 | + "test:unit:utils": "vitest run packages/bundle-utils", |
147 | 153 | "test:unit:rollup": "vitest run packages/rollup-plugin-vue-i18n/test",
|
148 | 154 | "test:unit:unplugin": "vitest run packages/unplugin-vue-i18n/test",
|
149 | 155 | "changelog": "jiti ./scripts/changelog.ts",
|
150 |
| - "changelog:utils": "yarn workspace @intlify/bundle-utils changelog", |
151 |
| - "changelog:rollup": "yarn workspace @intlify/rollup-plugin-vue-i18n changelog", |
152 |
| - "changelog:vite": "yarn workspace @intlify/vite-plugin-vue-i18n changelog", |
153 |
| - "changelog:webpack": "yarn workspace @intlify/vue-i18n-loader changelog", |
154 |
| - "changelog:unplugin": "yarn workspace @intlify/unplugin-vue-i18n changelog", |
| 156 | + "changelog:utils": "pnpm --filter @intlify/bundle-utils changelog", |
| 157 | + "changelog:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n changelog", |
| 158 | + "changelog:vite": "pnpm --filter @intlify/vite-plugin-vue-i18n changelog", |
| 159 | + "changelog:webpack": "pnpm --filter @intlify/vue-i18n-loader changelog", |
| 160 | + "changelog:unplugin": "pnpm --filter @intlify/unplugin-vue-i18n changelog", |
155 | 161 | "release": "jiti ./scripts/release.ts",
|
156 |
| - "release:utils": "yarn workspace @intlify/bundle-utils release", |
157 |
| - "release:rollup": "yarn workspace @intlify/rollup-plugin-vue-i18n release", |
158 |
| - "release:vite": "yarn workspace @intlify/vite-plugin-vue-i18n release", |
159 |
| - "release:webpack": "yarn workspace @intlify/vue-i18n-loader release", |
160 |
| - "release:unplugin": "yarn workspace @intlify/unplugin-vue-i18n release" |
| 162 | + "release:utils": "pnpm --filter @intlify/bundle-utils release", |
| 163 | + "release:rollup": "pnpm --filter @intlify/rollup-plugin-vue-i18n release", |
| 164 | + "release:vite": "pnpm --filter @intlify/vite-plugin-vue-i18n release", |
| 165 | + "release:webpack": "pnpm --filter @intlify/vue-i18n-loader release", |
| 166 | + "release:unplugin": "pnpm --filter @intlify/unplugin-vue-i18n release" |
161 | 167 | },
|
162 |
| - "workspaces": [ |
163 |
| - "packages/bundle-utils", |
164 |
| - "packages/unplugin-vue-i18n" |
165 |
| - ] |
| 168 | + "packageManager": "[email protected]+sha256.e1f9e8d1a16607a46dd3c158b5f7a7dc7945501d1c6222d454d63d033d1d918f" |
166 | 169 | }
|
0 commit comments