create-vitnode-app 1.2.0-canary.19 → 1.2.0-canary.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { blogPlugin } from '@vitnode/blog/plugin';
|
|
1
2
|
import { buildConfig, handleRequestConfig } from '@vitnode/core/vitnode.config';
|
|
2
3
|
import { getRequestConfig } from 'next-intl/server';
|
|
3
4
|
|
|
@@ -17,6 +18,11 @@ export const vitNodeConfig = buildConfig({
|
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
// This is the request config for the app. It will be used in the app router.
|
|
20
|
-
export default getRequestConfig(
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
export default getRequestConfig(
|
|
22
|
+
async ({ requestLocale }) =>
|
|
23
|
+
await handleRequestConfig({
|
|
24
|
+
requestLocale,
|
|
25
|
+
vitNodeConfig,
|
|
26
|
+
pathToMessages: async path => await import(`./locales/${path}`),
|
|
27
|
+
}),
|
|
28
|
+
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vitnode-app",
|
|
3
|
-
"version": "1.2.0-canary.
|
|
3
|
+
"version": "1.2.0-canary.20",
|
|
4
4
|
"description": "Create a new VitNode app in seconds.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
35
35
|
"eslint": "^9.28.0",
|
|
36
36
|
"typescript": "^5.8.3",
|
|
37
|
-
"@vitnode/eslint-config": "1.2.0-canary.
|
|
37
|
+
"@vitnode/eslint-config": "1.2.0-canary.20"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build:scripts": "tsc && node dist/src/prepare/prepare.js",
|