Skip to content

Commit

Permalink
update vike
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Aug 23, 2024
1 parent 2ee2b33 commit f5e3c0c
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 38 deletions.
2 changes: 1 addition & 1 deletion examples/express-react-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"express": "^4.19.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vike-node": "^0.1.16",
"vike-react": "^0.4.18",
"vite": "^5.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/express-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"express": "^4.19.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vike-node": "^0.1.16",
"vike-react": "^0.4.18",
"vite": "^5.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/hono-react-cf-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"hono": "^4.5.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vike-node": "^0.1.16",
"vike-react": "^0.4.18",
"vite": "^5.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/hono-react-vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"hono": "^4.5.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vike-node": "^0.1.16",
"vike-react": "^0.4.18",
"vite": "^5.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/vike-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"resolve-from": "^5.0.0"
},
"peerDependencies": {
"vike": "^0.4.181",
"vike": "^0.4.192",
"vite": "^5.0.10"
},
"devDependencies": {
Expand All @@ -50,7 +50,7 @@
"h3": "^1.12.0",
"hono": "^4.5.5",
"typescript": "^5.5.4",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vite": "^5.4.0"
},
"typesVersions": {
Expand Down
8 changes: 1 addition & 7 deletions packages/vike-node/src/plugin/plugins/serverEntryPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,10 @@ import { assert, assertUsage } from '../../utils/assert.js'
import { getConfigVikeNode } from '../utils/getConfigVikeNode.js'
import { injectRollupInputs } from '../utils/injectRollupInputs.js'
import { viteIsSSR } from '../utils/viteIsSSR.js'
import type { ConfigVitePluginServerEntry } from 'vike/types'

const require_ = createRequire(import.meta.url)

type ConfigVitePluginServerEntry = {
vitePluginServerEntry?: {
autoImport?: boolean
inject?: boolean | string[]
}
}

export function serverEntryPlugin(): Plugin {
return {
name: 'vike-node:serverEntry',
Expand Down
55 changes: 31 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/vike-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"sharp": "^0.33.4",
"telefunc": "^0.1.76",
"typescript": "^5.5.4",
"vike": "^0.4.184",
"vike": "^0.4.192",
"vike-node": "link:../../packages/vike-node",
"vite": "^5.4.0"
},
Expand Down

0 comments on commit f5e3c0c

Please sign in to comment.