create-vite-extra 2.3.0 → 2.4.1
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.
- package/LICENSE +124 -0
- package/package.json +3 -2
- package/template-deno-lit/deno.json +2 -2
- package/template-deno-lit-ts/deno.json +2 -2
- package/template-deno-preact/deno.json +1 -1
- package/template-deno-preact/src/app.jsx +1 -1
- package/template-deno-preact/src/main.jsx +1 -1
- package/template-deno-preact-ts/deno.json +1 -1
- package/template-deno-preact-ts/src/app.tsx +1 -1
- package/template-deno-preact-ts/src/main.tsx +1 -1
- package/template-deno-react/deno.json +3 -3
- package/template-deno-react/src/App.jsx +1 -1
- package/template-deno-react/src/main.jsx +3 -3
- package/template-deno-react-ts/deno.json +3 -3
- package/template-deno-react-ts/src/App.tsx +1 -1
- package/template-deno-react-ts/src/main.tsx +1 -1
- package/template-deno-solid/deno.json +1 -1
- package/template-deno-solid/src/App.jsx +1 -1
- package/template-deno-solid/src/main.jsx +1 -2
- package/template-deno-solid-ts/deno.json +1 -1
- package/template-deno-solid-ts/src/App.tsx +1 -1
- package/template-deno-solid-ts/src/main.tsx +1 -2
- package/template-deno-svelte/deno.json +3 -3
- package/template-deno-svelte/src/lib/Counter.svelte +2 -2
- package/template-deno-svelte/src/main.js +2 -1
- package/template-deno-svelte-ts/deno.json +3 -3
- package/template-deno-svelte-ts/src/lib/Counter.svelte +2 -2
- package/template-deno-svelte-ts/src/main.ts +3 -2
- package/template-deno-vanilla/deno.json +1 -1
- package/template-deno-vanilla-ts/deno.json +1 -1
- package/template-deno-vue/deno.json +1 -1
- package/template-deno-vue/src/main.js +1 -1
- package/template-deno-vue-ts/deno.json +1 -1
- package/template-deno-vue-ts/src/main.ts +1 -1
- package/template-library/package.json +1 -1
- package/template-library-ts/package.json +2 -2
- package/template-library-ts/tsconfig.json +3 -2
- package/template-ssr-preact/package.json +1 -1
- package/template-ssr-preact/src/app.jsx +1 -1
- package/template-ssr-preact-ts/package.json +3 -3
- package/template-ssr-preact-ts/src/app.tsx +1 -1
- package/template-ssr-preact-ts/tsconfig.json +3 -2
- package/template-ssr-preact-ts/tsconfig.node.json +16 -3
- package/template-ssr-react/package.json +2 -2
- package/template-ssr-react/src/App.jsx +1 -1
- package/template-ssr-react-streaming/package.json +2 -2
- package/template-ssr-react-streaming/src/App.jsx +1 -1
- package/template-ssr-react-streaming-ts/package.json +4 -4
- package/template-ssr-react-streaming-ts/src/App.tsx +1 -1
- package/template-ssr-react-streaming-ts/tsconfig.json +4 -3
- package/template-ssr-react-streaming-ts/tsconfig.node.json +16 -3
- package/template-ssr-react-ts/package.json +4 -4
- package/template-ssr-react-ts/src/App.tsx +1 -1
- package/template-ssr-react-ts/tsconfig.json +4 -3
- package/template-ssr-react-ts/tsconfig.node.json +16 -3
- package/template-ssr-solid/package.json +1 -1
- package/template-ssr-solid/src/App.jsx +1 -1
- package/template-ssr-solid-ts/package.json +2 -2
- package/template-ssr-solid-ts/src/App.tsx +1 -1
- package/template-ssr-solid-ts/tsconfig.json +4 -3
- package/template-ssr-solid-ts/tsconfig.node.json +16 -3
- package/template-ssr-svelte/jsconfig.json +2 -3
- package/template-ssr-svelte/package.json +3 -3
- package/template-ssr-svelte/server.js +1 -1
- package/template-ssr-svelte/src/entry-client.js +2 -2
- package/template-ssr-svelte/src/entry-server.js +2 -2
- package/template-ssr-svelte/src/lib/Counter.svelte +2 -2
- package/template-ssr-svelte/vite.config.js +1 -7
- package/template-ssr-svelte-ts/package.json +8 -7
- package/template-ssr-svelte-ts/server.js +1 -1
- package/template-ssr-svelte-ts/src/entry-client.ts +3 -3
- package/template-ssr-svelte-ts/src/entry-server.ts +2 -2
- package/template-ssr-svelte-ts/src/lib/Counter.svelte +2 -2
- package/template-ssr-svelte-ts/tsconfig.json +2 -1
- package/template-ssr-svelte-ts/tsconfig.node.json +4 -1
- package/template-ssr-svelte-ts/vite.config.ts +1 -7
- package/template-ssr-transform/package.json +1 -1
- package/template-ssr-vanilla/package.json +1 -1
- package/template-ssr-vanilla-ts/package.json +3 -3
- package/template-ssr-vanilla-ts/tsconfig.json +3 -2
- package/template-ssr-vue/package.json +1 -1
- package/template-ssr-vue-streaming/package.json +1 -1
- package/template-ssr-vue-streaming-ts/package.json +3 -3
- package/template-ssr-vue-streaming-ts/tsconfig.json +5 -4
- package/template-ssr-vue-streaming-ts/tsconfig.node.json +16 -2
- package/template-ssr-vue-ts/package.json +5 -4
- package/template-ssr-vue-ts/tsconfig.json +5 -4
- package/template-ssr-vue-ts/tsconfig.node.json +16 -2
- package/template-ssr-react-streaming/package-lock.json +0 -2596
- package/template-ssr-svelte-ts/package-lock.json +0 -2376
- package/template-ssr-vue-streaming-ts/package-lock.json +0 -2346
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"composite": true,
|
|
4
|
-
"
|
|
4
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"lib": ["ES2023"],
|
|
5
7
|
"module": "ESNext",
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
6
11
|
"moduleResolution": "Bundler",
|
|
7
|
-
"
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
|
|
16
|
+
/* Linting */
|
|
17
|
+
"strict": true,
|
|
18
|
+
"noUnusedLocals": true,
|
|
19
|
+
"noUnusedParameters": true,
|
|
20
|
+
"noFallthroughCasesInSwitch": true,
|
|
21
|
+
"noUncheckedSideEffectImports": true
|
|
8
22
|
},
|
|
9
23
|
"include": ["vite.config.ts"]
|
|
10
24
|
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"build": "npm run build:client && npm run build:server",
|
|
9
9
|
"build:client": "vite build --ssrManifest --outDir dist/client",
|
|
10
10
|
"build:server": "vite build --ssr src/entry-server.ts --outDir dist/server",
|
|
11
|
-
"preview": "cross-env NODE_ENV=production node server"
|
|
11
|
+
"preview": "cross-env NODE_ENV=production node server",
|
|
12
|
+
"check": "vue-tsc"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
14
15
|
"compression": "^1.7.4",
|
|
@@ -18,11 +19,11 @@
|
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
21
|
"@types/express": "^5.0.0",
|
|
21
|
-
"@types/node": "^22.7.
|
|
22
|
+
"@types/node": "^22.7.7",
|
|
22
23
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
23
24
|
"cross-env": "^7.0.3",
|
|
24
|
-
"typescript": "
|
|
25
|
-
"vite": "^5.4.
|
|
25
|
+
"typescript": "~5.6.3",
|
|
26
|
+
"vite": "^5.4.9",
|
|
26
27
|
"vue-tsc": "^2.1.6"
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ES2020",
|
|
4
4
|
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
5
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
+
"module": "ESNext",
|
|
7
7
|
"skipLibCheck": true,
|
|
8
8
|
|
|
9
9
|
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
11
|
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
12
|
"isolatedModules": true,
|
|
13
|
+
"moduleDetection": "force",
|
|
14
14
|
"noEmit": true,
|
|
15
15
|
"jsx": "preserve",
|
|
16
16
|
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"strict": true,
|
|
19
19
|
"noUnusedLocals": true,
|
|
20
20
|
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true
|
|
21
|
+
"noFallthroughCasesInSwitch": true,
|
|
22
|
+
"noUncheckedSideEffectImports": true
|
|
22
23
|
},
|
|
23
24
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
24
25
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"composite": true,
|
|
4
|
-
"
|
|
4
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"lib": ["ES2023"],
|
|
5
7
|
"module": "ESNext",
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
6
11
|
"moduleResolution": "Bundler",
|
|
7
|
-
"
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
|
|
16
|
+
/* Linting */
|
|
17
|
+
"strict": true,
|
|
18
|
+
"noUnusedLocals": true,
|
|
19
|
+
"noUnusedParameters": true,
|
|
20
|
+
"noFallthroughCasesInSwitch": true,
|
|
21
|
+
"noUncheckedSideEffectImports": true
|
|
8
22
|
},
|
|
9
23
|
"include": ["vite.config.ts"]
|
|
10
24
|
}
|