create-vite-extra 1.1.1 → 2.0.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.
Files changed (54) hide show
  1. package/index.js +19 -7
  2. package/package.json +2 -2
  3. package/template-deno-lit/vite.config.mjs +1 -1
  4. package/template-deno-lit-ts/vite.config.mts +1 -1
  5. package/template-deno-preact/vite.config.mjs +3 -3
  6. package/template-deno-preact-ts/vite.config.mts +3 -3
  7. package/template-deno-react/vite.config.mjs +2 -2
  8. package/template-deno-react-ts/vite.config.mts +2 -2
  9. package/template-deno-solid/vite.config.mjs +3 -3
  10. package/template-deno-solid-ts/vite.config.mts +3 -3
  11. package/template-deno-svelte/vite.config.mjs +3 -3
  12. package/template-deno-svelte-ts/vite.config.mts +3 -3
  13. package/template-deno-vanilla/style.css +0 -1
  14. package/template-deno-vanilla-ts/src/style.css +0 -1
  15. package/template-deno-vue/src/style.css +0 -10
  16. package/template-deno-vue/vite.config.mjs +3 -3
  17. package/template-deno-vue-ts/src/style.css +0 -1
  18. package/template-deno-vue-ts/vite.config.mts +3 -3
  19. package/template-library/package.json +1 -1
  20. package/template-library/style.css +0 -1
  21. package/template-library-ts/package.json +1 -1
  22. package/template-library-ts/src/style.css +0 -1
  23. package/template-ssr-preact/package.json +3 -3
  24. package/template-ssr-preact/server.js +1 -1
  25. package/template-ssr-preact-ts/package.json +5 -5
  26. package/template-ssr-preact-ts/server.js +1 -1
  27. package/template-ssr-preact-ts/tsconfig.json +4 -0
  28. package/template-ssr-react/package.json +4 -4
  29. package/template-ssr-react/server.js +1 -1
  30. package/template-ssr-react-ts/package.json +6 -6
  31. package/template-ssr-react-ts/server.js +1 -1
  32. package/template-ssr-solid/package.json +3 -3
  33. package/template-ssr-solid/server.js +1 -1
  34. package/template-ssr-solid-ts/package.json +5 -5
  35. package/template-ssr-solid-ts/server.js +1 -1
  36. package/template-ssr-svelte/package.json +3 -3
  37. package/template-ssr-svelte/server.js +1 -1
  38. package/template-ssr-svelte-ts/package.json +6 -6
  39. package/template-ssr-svelte-ts/server.js +1 -1
  40. package/template-ssr-svelte-ts/tsconfig.json +1 -1
  41. package/template-ssr-transform/package.json +1 -1
  42. package/template-ssr-vanilla/package.json +1 -1
  43. package/template-ssr-vanilla/server.js +1 -1
  44. package/template-ssr-vanilla/src/style.css +0 -1
  45. package/template-ssr-vanilla-ts/package.json +3 -3
  46. package/template-ssr-vanilla-ts/server.js +1 -1
  47. package/template-ssr-vanilla-ts/src/style.css +0 -1
  48. package/template-ssr-vue/package.json +3 -3
  49. package/template-ssr-vue/server.js +1 -1
  50. package/template-ssr-vue/src/style.css +0 -10
  51. package/template-ssr-vue-ts/package.json +6 -6
  52. package/template-ssr-vue-ts/server.js +1 -1
  53. package/template-ssr-vue-ts/src/style.css +0 -1
  54. package/template-ssr-vue-ts/tsconfig.json +1 -1
package/index.js CHANGED
@@ -563,20 +563,32 @@ function setupReactSwc(root, { isTs, isDeno }) {
563
563
  editFile(path.resolve(root, 'deno.json'), (content) => {
564
564
  return content.replace(/deno run -A/g, 'deno run -A --unstable')
565
565
  })
566
+ editFile(
567
+ path.resolve(root, `vite.config.m${isTs ? 'ts' : 'js'}`),
568
+ (content) => {
569
+ return content.replace(
570
+ /@vitejs\/plugin-react@.+?'/,
571
+ "@vitejs/plugin-react-swc@^3.5.0'"
572
+ )
573
+ }
574
+ )
566
575
  } else {
567
576
  editFile(path.resolve(root, 'package.json'), (content) => {
568
577
  return content.replace(
569
578
  /"@vitejs\/plugin-react": ".+?"/,
570
- `"@vitejs/plugin-react-swc": "^3.3.2"`
579
+ `"@vitejs/plugin-react-swc": "^3.5.0"`
571
580
  )
572
581
  })
582
+ editFile(
583
+ path.resolve(root, `vite.config.${isTs ? 'ts' : 'js'}`),
584
+ (content) => {
585
+ return content.replace(
586
+ '@vitejs/plugin-react',
587
+ '@vitejs/plugin-react-swc'
588
+ )
589
+ }
590
+ )
573
591
  }
574
- editFile(
575
- path.resolve(root, `vite.config.${isDeno ? 'm' : ''}${isTs ? 'ts' : 'js'}`),
576
- (content) => {
577
- return content.replace('@vitejs/plugin-react', '@vitejs/plugin-react-swc')
578
- }
579
- )
580
592
  }
581
593
 
582
594
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vite-extra",
3
- "version": "1.1.1",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bjorn Lu",
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "main": "index.js",
19
19
  "engines": {
20
- "node": "^14.18.0 || >=16.0.0"
20
+ "node": "^18.0.0 || >=20.0.0"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -1,4 +1,4 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
2
 
3
3
  import 'npm:lit@^2.7.5'
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
2
 
3
3
  import 'npm:lit@^2.7.5'
4
4
 
@@ -1,8 +1,8 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
2
  import preact from 'npm:@preact/preset-vite@^2.6.0'
3
3
 
4
- import 'npm:preact@^10.18.1'
5
- import 'npm:preact@^10.18.1'
4
+ import 'npm:preact@^10.19.2'
5
+ import 'npm:preact@^10.19.2'
6
6
 
7
7
  // https://vitejs.dev/config/
8
8
  export default defineConfig({
@@ -1,8 +1,8 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
2
  import preact from 'npm:@preact/preset-vite@^2.6.0'
3
3
 
4
- import 'npm:preact@^10.18.1'
5
- import 'npm:preact@^10.18.1'
4
+ import 'npm:preact@^10.19.2'
5
+ import 'npm:preact@^10.19.2'
6
6
 
7
7
  // https://vitejs.dev/config/
8
8
  export default defineConfig({
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import react from 'npm:@vitejs/plugin-react@^4.1.0'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import react from 'npm:@vitejs/plugin-react@^4.2.0'
3
3
 
4
4
  import 'npm:react@^18.2.0'
5
5
  import 'npm:react-dom@^18.2.0'
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import react from 'npm:@vitejs/plugin-react@^4.1.0'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import react from 'npm:@vitejs/plugin-react@^4.2.0'
3
3
 
4
4
  import 'npm:react@^18.2.0'
5
5
  import 'npm:react-dom@^18.2.0'
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import solid from 'npm:vite-plugin-solid@^2.7.1'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import solid from 'npm:vite-plugin-solid@^2.7.2'
3
3
 
4
- import 'npm:solid-js@^1.8.1'
4
+ import 'npm:solid-js@^1.8.5'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import solid from 'npm:vite-plugin-solid@^2.7.1'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import solid from 'npm:vite-plugin-solid@^2.7.2'
3
3
 
4
- import 'npm:solid-js@^1.8.1'
4
+ import 'npm:solid-js@^1.8.5'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.6'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^3.0.0'
3
3
 
4
- import 'npm:svelte@^4.2.1'
4
+ import 'npm:svelte@^4.2.3'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.6'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^3.0.0'
3
3
 
4
- import 'npm:svelte@^4.2.1'
4
+ import 'npm:svelte@^4.2.3'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -11,16 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
- }
16
-
17
- a {
18
- font-weight: 500;
19
- color: #646cff;
20
- text-decoration: inherit;
21
- }
22
- a:hover {
23
- color: #535bf2;
24
14
  }
25
15
 
26
16
  a {
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import vue from 'npm:@vitejs/plugin-vue@^4.4.0'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import vue from 'npm:@vitejs/plugin-vue@^4.5.0'
3
3
 
4
- import 'npm:vue@^3.3.4'
4
+ import 'npm:vue@^3.3.8'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.4.11'
2
- import vue from 'npm:@vitejs/plugin-vue@^4.4.0'
1
+ import { defineConfig } from 'npm:vite@^5.0.0'
2
+ import vue from 'npm:@vitejs/plugin-vue@^4.5.0'
3
3
 
4
- import 'npm:vue@^3.3.4'
4
+ import 'npm:vue@^3.3.8'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -20,6 +20,6 @@
20
20
  "build": "vite build"
21
21
  },
22
22
  "devDependencies": {
23
- "vite": "^4.4.11"
23
+ "vite": "^5.0.0"
24
24
  }
25
25
  }
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "typescript": "^5.2.2",
24
- "vite": "^4.4.11"
24
+ "vite": "^5.0.0"
25
25
  }
26
26
  }
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -13,13 +13,13 @@
13
13
  "dependencies": {
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
- "preact": "^10.18.1",
17
- "preact-render-to-string": "^6.2.2",
16
+ "preact": "^10.19.2",
17
+ "preact-render-to-string": "^6.3.1",
18
18
  "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@preact/preset-vite": "^2.6.0",
22
22
  "cross-env": "^7.0.3",
23
- "vite": "^4.4.11"
23
+ "vite": "^5.0.0"
24
24
  }
25
25
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -13,16 +13,16 @@
13
13
  "dependencies": {
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
- "preact": "^10.18.1",
17
- "preact-render-to-string": "^6.2.2",
16
+ "preact": "^10.19.2",
17
+ "preact-render-to-string": "^6.3.1",
18
18
  "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@preact/preset-vite": "^2.6.0",
22
- "@types/express": "^4.17.19",
23
- "@types/node": "^20.8.6",
22
+ "@types/express": "^4.17.21",
23
+ "@types/node": "^20.9.0",
24
24
  "cross-env": "^7.0.3",
25
25
  "typescript": "^5.2.2",
26
- "vite": "^4.4.11"
26
+ "vite": "^5.0.0"
27
27
  }
28
28
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -5,6 +5,10 @@
5
5
  "module": "ESNext",
6
6
  "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
7
  "skipLibCheck": true,
8
+ "paths": {
9
+ "react": ["./node_modules/preact/compat/"],
10
+ "react-dom": ["./node_modules/preact/compat/"]
11
+ },
8
12
 
9
13
  /* Bundler mode */
10
14
  "moduleResolution": "bundler",
@@ -18,10 +18,10 @@
18
18
  "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@types/react": "^18.2.28",
22
- "@types/react-dom": "^18.2.13",
23
- "@vitejs/plugin-react": "^4.1.0",
21
+ "@types/react": "^18.2.37",
22
+ "@types/react-dom": "^18.2.15",
23
+ "@vitejs/plugin-react": "^4.2.0",
24
24
  "cross-env": "^7.0.3",
25
- "vite": "^4.4.11"
25
+ "vite": "^5.0.0"
26
26
  }
27
27
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -18,13 +18,13 @@
18
18
  "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@types/express": "^4.17.19",
22
- "@types/node": "^20.8.6",
23
- "@types/react": "^18.2.28",
24
- "@types/react-dom": "^18.2.13",
25
- "@vitejs/plugin-react": "^4.1.0",
21
+ "@types/express": "^4.17.21",
22
+ "@types/node": "^20.9.0",
23
+ "@types/react": "^18.2.37",
24
+ "@types/react-dom": "^18.2.15",
25
+ "@vitejs/plugin-react": "^4.2.0",
26
26
  "cross-env": "^7.0.3",
27
27
  "typescript": "^5.2.2",
28
- "vite": "^4.4.11"
28
+ "vite": "^5.0.0"
29
29
  }
30
30
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -14,11 +14,11 @@
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
16
  "sirv": "^2.0.3",
17
- "solid-js": "^1.8.1"
17
+ "solid-js": "^1.8.5"
18
18
  },
19
19
  "devDependencies": {
20
20
  "cross-env": "^7.0.3",
21
- "vite": "^4.4.11",
22
- "vite-plugin-solid": "^2.7.1"
21
+ "vite": "^5.0.0",
22
+ "vite-plugin-solid": "^2.7.2"
23
23
  }
24
24
  }
@@ -12,7 +12,7 @@ const templateHtml = isProduction
12
12
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
13
13
  : ''
14
14
  const ssrManifest = isProduction
15
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
15
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
16
16
  : undefined
17
17
 
18
18
  // Create http server
@@ -14,13 +14,13 @@
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
16
  "sirv": "^2.0.3",
17
- "solid-js": "^1.8.1"
17
+ "solid-js": "^1.8.5"
18
18
  },
19
19
  "devDependencies": {
20
- "@types/express": "^4.17.19",
21
- "@types/node": "^20.8.6",
20
+ "@types/express": "^4.17.21",
21
+ "@types/node": "^20.9.0",
22
22
  "cross-env": "^7.0.3",
23
- "vite": "^4.4.11",
24
- "vite-plugin-solid": "^2.7.1"
23
+ "vite": "^5.0.0",
24
+ "vite-plugin-solid": "^2.7.2"
25
25
  }
26
26
  }
@@ -12,7 +12,7 @@ const templateHtml = isProduction
12
12
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
13
13
  : ''
14
14
  const ssrManifest = isProduction
15
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
15
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
16
16
  : undefined
17
17
 
18
18
  // Create http server
@@ -16,9 +16,9 @@
16
16
  "sirv": "^2.0.3"
17
17
  },
18
18
  "devDependencies": {
19
- "@sveltejs/vite-plugin-svelte": "^2.4.6",
19
+ "@sveltejs/vite-plugin-svelte": "^3.0.0",
20
20
  "cross-env": "^7.0.3",
21
- "svelte": "^4.2.1",
22
- "vite": "^4.4.11"
21
+ "svelte": "^4.2.3",
22
+ "vite": "^5.0.0"
23
23
  }
24
24
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -16,15 +16,15 @@
16
16
  "sirv": "^2.0.3"
17
17
  },
18
18
  "devDependencies": {
19
- "@sveltejs/vite-plugin-svelte": "^2.4.6",
19
+ "@sveltejs/vite-plugin-svelte": "^3.0.0",
20
20
  "@tsconfig/svelte": "^5.0.2",
21
- "@types/express": "^4.17.19",
22
- "@types/node": "^20.8.6",
21
+ "@types/express": "^4.17.21",
22
+ "@types/node": "^20.9.0",
23
23
  "cross-env": "^7.0.3",
24
- "svelte": "^4.2.1",
25
- "svelte-check": "^3.5.2",
24
+ "svelte": "^4.2.3",
25
+ "svelte-check": "^3.6.0",
26
26
  "tslib": "^2.6.2",
27
27
  "typescript": "^5.2.2",
28
- "vite": "^4.4.11"
28
+ "vite": "^5.0.0"
29
29
  }
30
30
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -15,6 +15,6 @@
15
15
  "checkJs": true,
16
16
  "isolatedModules": true
17
17
  },
18
- "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"],
18
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"],
19
19
  "references": [{ "path": "./tsconfig.node.json" }]
20
20
  }
@@ -7,6 +7,6 @@
7
7
  "test": "node test"
8
8
  },
9
9
  "devDependencies": {
10
- "vite": "^4.4.11"
10
+ "vite": "^5.0.0"
11
11
  }
12
12
  }
@@ -17,6 +17,6 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "cross-env": "^7.0.3",
20
- "vite": "^4.4.11"
20
+ "vite": "^5.0.0"
21
21
  }
22
22
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -16,10 +16,10 @@
16
16
  "sirv": "^2.0.3"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/express": "^4.17.19",
20
- "@types/node": "^20.8.6",
19
+ "@types/express": "^4.17.21",
20
+ "@types/node": "^20.9.0",
21
21
  "cross-env": "^7.0.3",
22
22
  "typescript": "^5.2.2",
23
- "vite": "^4.4.11"
23
+ "vite": "^5.0.0"
24
24
  }
25
25
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -14,11 +14,11 @@
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
16
  "sirv": "^2.0.3",
17
- "vue": "^3.3.4"
17
+ "vue": "^3.3.8"
18
18
  },
19
19
  "devDependencies": {
20
- "@vitejs/plugin-vue": "^4.4.0",
20
+ "@vitejs/plugin-vue": "^4.5.0",
21
21
  "cross-env": "^7.0.3",
22
- "vite": "^4.4.11"
22
+ "vite": "^5.0.0"
23
23
  }
24
24
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -11,16 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
- }
16
-
17
- a {
18
- font-weight: 500;
19
- color: #646cff;
20
- text-decoration: inherit;
21
- }
22
- a:hover {
23
- color: #535bf2;
24
14
  }
25
15
 
26
16
  a {
@@ -14,15 +14,15 @@
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
16
  "sirv": "^2.0.3",
17
- "vue": "^3.3.4"
17
+ "vue": "^3.3.8"
18
18
  },
19
19
  "devDependencies": {
20
- "@types/express": "^4.17.19",
21
- "@types/node": "^20.8.6",
22
- "@vitejs/plugin-vue": "^4.4.0",
20
+ "@types/express": "^4.17.21",
21
+ "@types/node": "^20.9.0",
22
+ "@vitejs/plugin-vue": "^4.5.0",
23
23
  "cross-env": "^7.0.3",
24
24
  "typescript": "^5.2.2",
25
- "vite": "^4.4.11",
26
- "vue-tsc": "^1.8.19"
25
+ "vite": "^5.0.0",
26
+ "vue-tsc": "^1.8.22"
27
27
  }
28
28
  }
@@ -11,7 +11,7 @@ const templateHtml = isProduction
11
11
  ? await fs.readFile('./dist/client/index.html', 'utf-8')
12
12
  : ''
13
13
  const ssrManifest = isProduction
14
- ? await fs.readFile('./dist/client/ssr-manifest.json', 'utf-8')
14
+ ? await fs.readFile('./dist/client/.vite/ssr-manifest.json', 'utf-8')
15
15
  : undefined
16
16
 
17
17
  // Create http server
@@ -11,7 +11,6 @@
11
11
  text-rendering: optimizeLegibility;
12
12
  -webkit-font-smoothing: antialiased;
13
13
  -moz-osx-font-smoothing: grayscale;
14
- -webkit-text-size-adjust: 100%;
15
14
  }
16
15
 
17
16
  a {
@@ -20,6 +20,6 @@
20
20
  "noUnusedParameters": true,
21
21
  "noFallthroughCasesInSwitch": true
22
22
  },
23
- "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
23
+ "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
24
24
  "references": [{ "path": "./tsconfig.node.json" }]
25
25
  }