create-vike
Advanced tools
Comparing version 0.0.377 to 0.0.378
{ | ||
"scripts": { | ||
"dev": "npm run server:dev", | ||
"prod": "npm run lint && npm run build && npm run server:prod", | ||
"prod": "npm run build && npm run server:prod", | ||
"build": "vite build", | ||
"server": "node --loader ts-node/esm ./server/index.ts", | ||
"server:dev": "npm run server", | ||
"server:prod": "cross-env NODE_ENV=production npm run server", | ||
"lint": "eslint . --max-warnings 0" | ||
"server:prod": "cross-env NODE_ENV=production npm run server" | ||
}, | ||
"dependencies": { | ||
"@types/compression": "^1.7.5", | ||
"@types/express": "^4.17.21", | ||
"@types/node": "^20.10.4", | ||
"@types/react": "^18.2.42", | ||
"@types/react-dom": "^18.2.17", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"compression": "^1.7.4", | ||
"@types/express": "^5.0.0", | ||
"@types/node": "^22.10.2", | ||
"@types/react": "^19.0.1", | ||
"@types/react-dom": "^19.0.2", | ||
"@vitejs/plugin-react": "^4.3.4", | ||
"compression": "^1.7.5", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.55.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"express": "^4.18.2", | ||
"express": "^4.21.2", | ||
"node-fetch": "^3.3.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"sirv": "^2.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.4.0", | ||
"vike": "^0.4.209", | ||
"vite": "^5.4.0" | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"sirv": "^3.0.0", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.2", | ||
"vike": "^0.4.210", | ||
"vite": "^6.0.3" | ||
}, | ||
"type": "module" | ||
} |
@@ -11,3 +11,2 @@ // https://vike.dev/data | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const data = async (pageContext: PageContextServer) => { | ||
@@ -14,0 +13,0 @@ await sleep(700) // Simulate slow network |
@@ -25,2 +25,3 @@ // This file isn't processed by Vite, see https://github.com/vikejs/vike/issues/562 | ||
// @ts-expect-error Express.js buggy types | ||
app.use(compression()) | ||
@@ -27,0 +28,0 @@ |
{ | ||
"scripts": { | ||
"dev": "npm run server:dev", | ||
"prod": "npm run lint && npm run build && npm run server:prod", | ||
"prod": "npm run build && npm run server:prod", | ||
"build": "vite build", | ||
"server:dev": "node ./server", | ||
"server:prod": "cross-env NODE_ENV=production node ./server", | ||
"lint": "eslint . --max-warnings 0" | ||
"server:prod": "cross-env NODE_ENV=production node ./server" | ||
}, | ||
"dependencies": { | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"compression": "^1.7.4", | ||
"@vitejs/plugin-react": "^4.3.4", | ||
"compression": "^1.7.5", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.55.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"express": "^4.18.2", | ||
"express": "^4.21.2", | ||
"node-fetch": "^3.3.2", | ||
"prop-types": "15.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"sirv": "^2.0.3", | ||
"vike": "^0.4.209", | ||
"vite": "^5.4.0" | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"sirv": "^3.0.0", | ||
"vike": "^0.4.210", | ||
"vite": "^6.0.3" | ||
}, | ||
"type": "module" | ||
} |
@@ -8,3 +8,2 @@ // https://vike.dev/data | ||
// eslint-disable-next-line no-unused-vars | ||
const data = async (pageContext) => { | ||
@@ -11,0 +10,0 @@ await sleep(700) // Simulate slow network |
// https://vike.dev/usePageContext | ||
// eslint-disable-next-line react-refresh/only-export-components | ||
export { usePageContext } | ||
@@ -4,0 +3,0 @@ export { PageContextProvider } |
@@ -12,20 +12,20 @@ { | ||
"@types/compression": "^1.7.5", | ||
"@types/express": "^4.17.21", | ||
"@types/node": "^20.10.4", | ||
"@vitejs/plugin-vue": "^5.0.0", | ||
"@vue/compiler-sfc": "^3.3.10", | ||
"@vue/server-renderer": "^3.3.10", | ||
"compression": "^1.7.4", | ||
"@types/express": "^5.0.0", | ||
"@types/node": "^22.10.2", | ||
"@vitejs/plugin-vue": "^5.2.1", | ||
"@vue/compiler-sfc": "^3.5.13", | ||
"@vue/server-renderer": "^3.5.13", | ||
"compression": "^1.7.5", | ||
"cross-env": "^7.0.3", | ||
"express": "^4.18.2", | ||
"express": "^4.21.2", | ||
"node-fetch": "^3.3.2", | ||
"sirv": "^2.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.4.0", | ||
"vike": "^0.4.209", | ||
"vite": "^5.4.0", | ||
"vue": "^3.3.10", | ||
"vue-tsc": "^2.0.11" | ||
"sirv": "^3.0.0", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.2", | ||
"vike": "^0.4.210", | ||
"vite": "^6.0.3", | ||
"vue": "^3.5.13", | ||
"vue-tsc": "^2.1.10" | ||
}, | ||
"type": "module" | ||
} |
@@ -25,2 +25,3 @@ // This file isn't processed by Vite, see https://github.com/vikejs/vike/issues/562 | ||
// @ts-expect-error Express.js buggy types | ||
app.use(compression()) | ||
@@ -27,0 +28,0 @@ |
@@ -10,15 +10,15 @@ { | ||
"dependencies": { | ||
"@vitejs/plugin-vue": "^5.0.0", | ||
"@vue/compiler-sfc": "^3.3.10", | ||
"@vue/server-renderer": "^3.3.10", | ||
"compression": "^1.7.4", | ||
"@vitejs/plugin-vue": "^5.2.1", | ||
"@vue/compiler-sfc": "^3.5.13", | ||
"@vue/server-renderer": "^3.5.13", | ||
"compression": "^1.7.5", | ||
"cross-env": "^7.0.3", | ||
"express": "^4.18.2", | ||
"express": "^4.21.2", | ||
"node-fetch": "^3.3.2", | ||
"sirv": "^2.0.3", | ||
"vike": "^0.4.209", | ||
"vite": "^5.4.0", | ||
"vue": "^3.3.10" | ||
"sirv": "^3.0.0", | ||
"vike": "^0.4.210", | ||
"vite": "^6.0.3", | ||
"vue": "^3.5.13" | ||
}, | ||
"type": "module" | ||
} |
{ | ||
"name": "create-vike", | ||
"version": "0.0.377", | ||
"version": "0.0.378", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
228
84
6
13
3
61
109639
154
2239