create-vite-extra 2.3.0 → 2.4.0
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 +2 -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-lock.json +2923 -0
- 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-lock.json +2629 -0
- 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-lock.json +2125 -0
- 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-lock.json +89 -120
- 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-lock.json +2346 -0
- 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
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/express": "^5.0.0",
|
|
22
|
-
"@types/node": "^22.7.
|
|
22
|
+
"@types/node": "^22.7.7",
|
|
23
23
|
"@types/react": "^18.3.11",
|
|
24
24
|
"@types/react-dom": "^18.3.1",
|
|
25
|
-
"@vitejs/plugin-react": "^4.3.
|
|
25
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
26
26
|
"cross-env": "^7.0.3",
|
|
27
|
-
"typescript": "
|
|
28
|
-
"vite": "^5.4.
|
|
27
|
+
"typescript": "~5.6.3",
|
|
28
|
+
"vite": "^5.4.9"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ES2020",
|
|
4
4
|
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
5
|
"module": "ESNext",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
7
|
"skipLibCheck": true,
|
|
8
8
|
|
|
9
9
|
/* Bundler mode */
|
|
10
10
|
"moduleResolution": "Bundler",
|
|
11
11
|
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
12
|
"isolatedModules": true,
|
|
13
|
+
"moduleDetection": "force",
|
|
14
14
|
"noEmit": true,
|
|
15
15
|
"jsx": "react-jsx",
|
|
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"],
|
|
24
25
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
@@ -1,11 +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
|
-
"
|
|
8
|
-
"
|
|
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
|
|
9
22
|
},
|
|
10
23
|
"include": ["vite.config.ts"]
|
|
11
24
|
}
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/express": "^5.0.0",
|
|
22
|
-
"@types/node": "^22.7.
|
|
22
|
+
"@types/node": "^22.7.7",
|
|
23
23
|
"@types/react": "^18.3.11",
|
|
24
24
|
"@types/react-dom": "^18.3.1",
|
|
25
|
-
"@vitejs/plugin-react": "^4.3.
|
|
25
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
26
26
|
"cross-env": "^7.0.3",
|
|
27
|
-
"typescript": "
|
|
28
|
-
"vite": "^5.4.
|
|
27
|
+
"typescript": "~5.6.3",
|
|
28
|
+
"vite": "^5.4.9"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ES2020",
|
|
4
4
|
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
5
|
"module": "ESNext",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
7
|
"skipLibCheck": true,
|
|
8
8
|
|
|
9
9
|
/* Bundler mode */
|
|
10
10
|
"moduleResolution": "Bundler",
|
|
11
11
|
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
12
|
"isolatedModules": true,
|
|
13
|
+
"moduleDetection": "force",
|
|
14
14
|
"noEmit": true,
|
|
15
15
|
"jsx": "react-jsx",
|
|
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"],
|
|
24
25
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
@@ -1,11 +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
|
-
"
|
|
8
|
-
"
|
|
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
|
|
9
22
|
},
|
|
10
23
|
"include": ["vite.config.ts"]
|
|
11
24
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ES2020",
|
|
4
4
|
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
5
|
"module": "ESNext",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
7
|
"skipLibCheck": true,
|
|
8
8
|
|
|
9
9
|
/* Bundler mode */
|
|
10
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
|
"jsxImportSource": "solid-js",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"strict": true,
|
|
20
20
|
"noUnusedLocals": true,
|
|
21
21
|
"noUnusedParameters": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": true
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
23
24
|
},
|
|
24
25
|
"include": ["src"],
|
|
25
26
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
@@ -1,11 +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
|
-
"
|
|
8
|
-
"
|
|
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
|
|
9
22
|
},
|
|
10
23
|
"include": ["vite.config.ts"]
|
|
11
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"moduleResolution": "
|
|
3
|
+
"moduleResolution": "Bundler",
|
|
4
4
|
"target": "ESNext",
|
|
5
5
|
"module": "ESNext",
|
|
6
6
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* a value or a type, so tell TypeScript to enforce using
|
|
9
9
|
* `import type` instead of `import` for Types.
|
|
10
10
|
*/
|
|
11
|
-
"
|
|
11
|
+
"verbatimModuleSyntax": true,
|
|
12
12
|
"isolatedModules": true,
|
|
13
13
|
"resolveJsonModule": true,
|
|
14
14
|
/**
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"sourceMap": true,
|
|
19
19
|
"esModuleInterop": true,
|
|
20
20
|
"skipLibCheck": true,
|
|
21
|
-
"forceConsistentCasingInFileNames": true,
|
|
22
21
|
/**
|
|
23
22
|
* Typecheck JS in `.svelte` and `.js` files by default.
|
|
24
23
|
* Disable this if you'd like to use dynamic types.
|