Skip to content

Commit

Permalink
chore(plugin-vite): move plugin-vite deps to template-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Jan 22, 2024
1 parent 6407da7 commit 269e563
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 162 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"source-map-support": "^0.5.13",
"sudo-prompt": "^9.1.1",
"username": "^5.1.0",
"vite": "^4.5.1",
"webpack": "^5.69.1",
"webpack-dev-server": "^4.0.0",
"webpack-merge": "^5.7.3",
Expand Down
20 changes: 10 additions & 10 deletions packages/plugin/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@
"scripts": {
"test": "xvfb-maybe mocha --config ../../../.mocharc.js test/**/*_spec.ts test/*_spec.ts"
},
"dependencies": {
"@electron-forge/core-utils": "7.2.0",
"@electron-forge/plugin-base": "7.2.0",
"@electron-forge/shared-types": "7.2.0",
"@electron-forge/web-multi-logger": "7.2.0",
"chalk": "^4.0.0",
"debug": "^4.3.1",
"fs-extra": "^10.0.0"
},
"devDependencies": {
"@electron/packager": "^18.1.2",
"@malept/cross-spawn-promise": "^2.0.0",
"@types/node": "^18.0.3",
"chai": "^4.3.3",
"mocha": "^9.0.1",
"vite": "^5.0.12",
"which": "^2.0.2",
"xvfb-maybe": "^0.2.1"
},
"engines": {
"node": ">= 16.4.0"
},
"dependencies": {
"@electron-forge/core-utils": "7.2.0",
"@electron-forge/plugin-base": "7.2.0",
"@electron-forge/shared-types": "7.2.0",
"@electron-forge/web-multi-logger": "7.2.0",
"chalk": "^4.0.0",
"debug": "^4.3.1",
"fs-extra": "^10.0.0",
"vite": "^4.5.1"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/template/vite-typescript/tmpl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"eslint": "^8.0.1",
"eslint-plugin-import": "^2.25.0",
"ts-node": "^10.0.0",
"typescript": "~4.5.4"
"typescript": "~4.5.4",
"vite": "^5.0.12"
}
}
3 changes: 2 additions & 1 deletion packages/template/vite/tmpl/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"devDependencies": {
"@electron-forge/plugin-vite": "ELECTRON_FORGE/VERSION"
"@electron-forge/plugin-vite": "ELECTRON_FORGE/VERSION",
"vite": "^5.0.12"
}
}
Loading

0 comments on commit 269e563

Please sign in to comment.