Skip to content

Commit ced7860

Browse files
committed
chore: package setup
1 parent 629c2b8 commit ced7860

File tree

6 files changed

+5758
-37
lines changed

6 files changed

+5758
-37
lines changed

package.json

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
11
{
2-
"name": "vite-monorepo",
2+
"name": "vite-plugin-react-monorepo",
33
"private": true,
44
"engines": {
55
"node": "^14.18.0 || >=16.0.0"
66
},
7-
"homepage": "https://vitejs.dev/",
7+
"homepage": "https://github.com/vitejs/vite-plugin-react/",
88
"keywords": [
99
"frontend",
1010
"hmr",
1111
"dev-server",
1212
"build-tool",
13-
"vite"
13+
"vite",
14+
"react"
1415
],
1516
"scripts": {
1617
"preinstall": "npx only-allow pnpm",
1718
"postinstall": "simple-git-hooks",
1819
"format": "prettier --write --cache .",
1920
"lint": "eslint --cache .",
2021
"typecheck": "tsc -p scripts --noEmit && tsc -p playground --noEmit",
21-
"test": "run-s test-unit test-serve test-build",
22+
"test": "run-s test-serve test-build",
2223
"test-serve": "vitest run -c vitest.config.e2e.ts",
2324
"test-build": "VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
2425
"test-build-without-plugin-commonjs": "VITE_TEST_WITHOUT_PLUGIN_COMMONJS=1 pnpm test-build",
25-
"test-unit": "vitest run",
26-
"test-docs": "pnpm run docs-build",
2726
"debug-serve": "VITE_DEBUG_SERVE=1 vitest run -c vitest.config.e2e.ts",
2827
"debug-build": "VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c vitest.config.e2e.ts",
29-
"docs": "vitepress dev docs",
30-
"docs-build": "vitepress build docs",
31-
"docs-serve": "vitepress serve docs",
3228
"build": "pnpm -r --filter='./packages/*' run build",
3329
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
34-
"release": "tsx scripts/release.ts",
35-
"ci-publish": "tsx scripts/publishCI.ts",
36-
"ci-docs": "run-s build docs-build"
30+
"release": "tsx scripts/release.ts"
3731
},
3832
"devDependencies": {
3933
"@babel/types": "^7.20.5",
@@ -88,8 +82,7 @@
8882
"tsx": "^3.12.1",
8983
"typescript": "^4.6.4",
9084
"unbuild": "^0.9.4",
91-
"vite": "workspace:*",
92-
"vitepress": "^1.0.0-alpha.29",
85+
"vite": "^4.0.0-alpha.0",
9386
"vitest": "^0.25.3",
9487
"vue": "^3.2.45"
9588
},
@@ -113,10 +106,6 @@
113106
},
114107
"packageManager": "pnpm@7.17.1",
115108
"pnpm": {
116-
"overrides": {
117-
"vite": "workspace:*",
118-
"@vitejs/plugin-vue": "workspace:*"
119-
},
120109
"packageExtensions": {
121110
"postcss-load-config": {
122111
"peerDependencies": {

packages/plugin-react/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747
"react-refresh": "^0.14.0"
4848
},
4949
"peerDependencies": {
50-
"vite": "^3.0.0"
51-
},
52-
"devDependencies": {
53-
"vite": "workspace:*"
50+
"vite": "^4.0.0-alpha.0"
5451
}
5552
}

0 commit comments

Comments
 (0)