Skip to content

Commit

Permalink
chore: package setup
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Dec 2, 2022
1 parent 629c2b8 commit ced7860
Show file tree
Hide file tree
Showing 6 changed files with 5,758 additions and 37 deletions.
25 changes: 7 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
{
"name": "vite-monorepo",
"name": "vite-plugin-react-monorepo",
"private": true,
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"homepage": "https://vitejs.dev/",
"homepage": "https://github.com/vitejs/vite-plugin-react/",
"keywords": [
"frontend",
"hmr",
"dev-server",
"build-tool",
"vite"
"vite",
"react"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"format": "prettier --write --cache .",
"lint": "eslint --cache .",
"typecheck": "tsc -p scripts --noEmit && tsc -p playground --noEmit",
"test": "run-s test-unit test-serve test-build",
"test": "run-s test-serve test-build",
"test-serve": "vitest run -c vitest.config.e2e.ts",
"test-build": "VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"test-build-without-plugin-commonjs": "VITE_TEST_WITHOUT_PLUGIN_COMMONJS=1 pnpm test-build",
"test-unit": "vitest run",
"test-docs": "pnpm run docs-build",
"debug-serve": "VITE_DEBUG_SERVE=1 vitest run -c vitest.config.e2e.ts",
"debug-build": "VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c vitest.config.e2e.ts",
"docs": "vitepress dev docs",
"docs-build": "vitepress build docs",
"docs-serve": "vitepress serve docs",
"build": "pnpm -r --filter='./packages/*' run build",
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
"release": "tsx scripts/release.ts",
"ci-publish": "tsx scripts/publishCI.ts",
"ci-docs": "run-s build docs-build"
"release": "tsx scripts/release.ts"
},
"devDependencies": {
"@babel/types": "^7.20.5",
Expand Down Expand Up @@ -88,8 +82,7 @@
"tsx": "^3.12.1",
"typescript": "^4.6.4",
"unbuild": "^0.9.4",
"vite": "workspace:*",
"vitepress": "^1.0.0-alpha.29",
"vite": "^4.0.0-alpha.0",
"vitest": "^0.25.3",
"vue": "^3.2.45"
},
Expand All @@ -113,10 +106,6 @@
},
"packageManager": "pnpm@7.17.1",
"pnpm": {
"overrides": {
"vite": "workspace:*",
"@vitejs/plugin-vue": "workspace:*"
},
"packageExtensions": {
"postcss-load-config": {
"peerDependencies": {
Expand Down
5 changes: 1 addition & 4 deletions packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
"react-refresh": "^0.14.0"
},
"peerDependencies": {
"vite": "^3.0.0"
},
"devDependencies": {
"vite": "workspace:*"
"vite": "^4.0.0-alpha.0"
}
}
Loading

0 comments on commit ced7860

Please sign in to comment.