Skip to content

Commit

Permalink
chore: Bump examples (#4)
Browse files Browse the repository at this point in the history
* chore: Bump Preact example deps

* chore: Bump Vue example deps

* chore: Add Vue example jsconfig & fix gitignore

* chore: Add lockfiles to gitignore

* chore: Bump React example deps

* chore: Add jsconfig to React example
  • Loading branch information
rschristian authored Jan 17, 2025
1 parent 3eda981 commit fd4f3ef
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 14 deletions.
1 change: 1 addition & 0 deletions examples/preact/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
package-lock.json

# Editor directories and files
.vscode/*
Expand Down
12 changes: 6 additions & 6 deletions examples/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"preview": "vite preview"
},
"dependencies": {
"preact": "^10.19.5",
"preact-iso": "^2.4.0",
"preact-render-to-string": "^6.4.0"
"preact": "^10.25.4",
"preact-iso": "^2.8.1",
"preact-render-to-string": "^6.5.13"
},
"devDependencies": {
"@preact/preset-vite": "^2.5.0",
"vite": "^5.1.4",
"vite-prerender-plugin": "^0.1.1"
"@preact/preset-vite": "^2.9.4",
"vite": "^6.0.7",
"vite-prerender-plugin": "^0.5.3"
}
}
1 change: 1 addition & 0 deletions examples/react/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
package-lock.json

# Editor directories and files
.vscode/*
Expand Down
14 changes: 14 additions & 0 deletions examples/react/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,

/* React Config */
"jsx": "react-jsx"
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
}
6 changes: 3 additions & 3 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"react-router-dom": "^6.24.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.2.0",
"vite-prerender-plugin": "^0.2.2"
"@vitejs/plugin-react": "^4.3.4",
"vite": "^6.0.7",
"vite-prerender-plugin": "^0.5.3"
}
}
2 changes: 2 additions & 0 deletions examples/vue/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
package-lock.json

# Editor directories and files
.vscode/*
Expand Down
11 changes: 11 additions & 0 deletions examples/vue/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
}
10 changes: 5 additions & 5 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.31",
"vue-router": "^4.4.0"
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"vite": "^5.3.3",
"vite-prerender-plugin": "^0.2.2"
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^6.0.7",
"vite-prerender-plugin": "^0.5.3"
}
}

0 comments on commit fd4f3ef

Please sign in to comment.