Skip to content

Commit

Permalink
fix: create-app bumps templates deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiyozz committed Jan 14, 2023
1 parent 40ac81d commit 99f5a0f
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 16 deletions.
6 changes: 5 additions & 1 deletion packages/create-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## Unreleased
## v4.0.1

### Breaking Changes

- templates updated for vite@4

### Bug fixes

- Fixed templates with the latest version of electron-esbuild

## v3.0.0

**react-ts-webpack** template removed.
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-esbuild/create-app",
"version": "4.0.0",
"version": "4.0.1",
"keywords": [
"electron",
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/main-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/node": "16.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"typescript": "4.9.x"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-app/templates/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"devDependencies": {
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.14.x"
"esbuild": "0.16.x"
},
"build": {
"appId": "io.comp.myapp",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/react-dom": "18.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"react": "18.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-vite-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@vitejs/plugin-react": "3.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"react": "18.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@vitejs/plugin-react": "3.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"react": "18.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/templates/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"devDependencies": {
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"react": "18.x",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mainConfig:
filename: main.js
rendererConfig:
type: vite
path: src/renderer/vite.config.ts
path: src/renderer/vite.config.mts
src: src/renderer/main.ts
output:
dir: dist/renderer
8 changes: 4 additions & 4 deletions packages/create-app/templates/svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"package": "electron-builder"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "1.x",
"@sveltejs/vite-plugin-svelte": "2.x",
"@types/node": "16.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"svelte": "3.x",
"svelte-preprocess": "4.x",
"svelte-preprocess": "5.x",
"typescript": "4.9.x",
"vite": "3.0.x"
"vite": "4.x"
},
"build": {
"appId": "io.comp.myapp",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-app/templates/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"@sveltejs/vite-plugin-svelte": "2.x",
"electron": "22.x",
"electron-builder": "23.x",
"electron-esbuild": "^6.0.0",
"electron-esbuild": "^7.0.0",
"electron-util": "0.17.x",
"esbuild": "0.16.x",
"svelte": "3.x",
"svelte-preprocess": "4.x",
"svelte-preprocess": "5.x",
"vite": "4.x"
},
"build": {
Expand Down

0 comments on commit 99f5a0f

Please sign in to comment.