create-vite-extra 1.0.1 → 1.1.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.
Files changed (88) hide show
  1. package/index.js +1 -1
  2. package/package.json +9 -3
  3. package/template-deno-lit/src/index.css +2 -3
  4. package/template-deno-lit/src/my-element.js +1 -1
  5. package/template-deno-lit/vite.config.mjs +2 -2
  6. package/template-deno-lit-ts/README.md +1 -1
  7. package/template-deno-lit-ts/src/index.css +2 -3
  8. package/template-deno-lit-ts/src/my-element.ts +1 -1
  9. package/template-deno-lit-ts/vite.config.mts +2 -2
  10. package/template-deno-preact/README.md +1 -1
  11. package/template-deno-preact/src/index.css +2 -3
  12. package/template-deno-preact/vite.config.mjs +4 -4
  13. package/template-deno-preact-ts/README.md +1 -1
  14. package/template-deno-preact-ts/src/index.css +2 -3
  15. package/template-deno-preact-ts/vite.config.mts +4 -4
  16. package/template-deno-react/README.md +1 -1
  17. package/template-deno-react/src/App.jsx +2 -2
  18. package/template-deno-react/src/index.css +2 -3
  19. package/template-deno-react/vite.config.mjs +2 -2
  20. package/template-deno-react-ts/README.md +1 -1
  21. package/template-deno-react-ts/src/App.tsx +2 -2
  22. package/template-deno-react-ts/src/index.css +2 -3
  23. package/template-deno-react-ts/vite.config.mts +2 -2
  24. package/template-deno-solid/src/index.css +2 -3
  25. package/template-deno-solid/vite.config.mjs +3 -3
  26. package/template-deno-solid-ts/src/index.css +2 -3
  27. package/template-deno-solid-ts/vite.config.mts +3 -3
  28. package/template-deno-svelte/README.md +1 -1
  29. package/template-deno-svelte/src/app.css +2 -3
  30. package/template-deno-svelte/svelte.config.js +5 -0
  31. package/template-deno-svelte/vite.config.mjs +2 -2
  32. package/template-deno-svelte-ts/README.md +1 -1
  33. package/template-deno-svelte-ts/src/app.css +2 -3
  34. package/template-deno-svelte-ts/svelte.config.js +1 -1
  35. package/template-deno-svelte-ts/vite.config.mts +2 -2
  36. package/template-deno-vanilla/style.css +2 -3
  37. package/template-deno-vanilla-ts/src/style.css +2 -3
  38. package/template-deno-vue/README.md +1 -1
  39. package/template-deno-vue/src/style.css +2 -3
  40. package/template-deno-vue/vite.config.mjs +3 -3
  41. package/template-deno-vue-ts/src/style.css +2 -3
  42. package/template-deno-vue-ts/vite.config.mts +3 -3
  43. package/template-library/package.json +1 -1
  44. package/template-library/style.css +2 -3
  45. package/template-library-ts/package.json +2 -2
  46. package/template-library-ts/src/style.css +2 -3
  47. package/template-library-ts/tsconfig.json +11 -8
  48. package/template-ssr-preact/package.json +5 -5
  49. package/template-ssr-preact/src/index.css +2 -3
  50. package/template-ssr-preact-ts/package.json +8 -7
  51. package/template-ssr-preact-ts/src/index.css +2 -3
  52. package/template-ssr-preact-ts/tsconfig.json +14 -10
  53. package/template-ssr-preact-ts/tsconfig.node.json +2 -2
  54. package/template-ssr-react/package.json +5 -5
  55. package/template-ssr-react/src/App.jsx +2 -2
  56. package/template-ssr-react/src/index.css +2 -3
  57. package/template-ssr-react-ts/package.json +8 -6
  58. package/template-ssr-react-ts/src/App.tsx +2 -2
  59. package/template-ssr-react-ts/src/index.css +2 -3
  60. package/template-ssr-react-ts/tsconfig.json +14 -10
  61. package/template-ssr-react-ts/tsconfig.node.json +2 -1
  62. package/template-ssr-solid/package.json +4 -4
  63. package/template-ssr-solid/src/index.css +2 -3
  64. package/template-ssr-solid-ts/package.json +6 -4
  65. package/template-ssr-solid-ts/src/index.css +2 -3
  66. package/template-ssr-solid-ts/tsconfig.json +14 -10
  67. package/template-ssr-solid-ts/tsconfig.node.json +2 -1
  68. package/template-ssr-svelte/README.md +1 -1
  69. package/template-ssr-svelte/package.json +4 -4
  70. package/template-ssr-svelte/src/app.css +2 -3
  71. package/template-ssr-svelte/svelte.config.js +5 -0
  72. package/template-ssr-svelte-ts/README.md +1 -1
  73. package/template-ssr-svelte-ts/package.json +10 -8
  74. package/template-ssr-svelte-ts/src/app.css +2 -3
  75. package/template-ssr-svelte-ts/tsconfig.node.json +7 -2
  76. package/template-ssr-transform/package.json +1 -1
  77. package/template-ssr-vanilla/package.json +2 -2
  78. package/template-ssr-vanilla/src/style.css +2 -3
  79. package/template-ssr-vanilla-ts/package.json +5 -5
  80. package/template-ssr-vanilla-ts/src/style.css +2 -3
  81. package/template-ssr-vanilla-ts/tsconfig.json +11 -7
  82. package/template-ssr-vanilla-ts/tsconfig.node.json +7 -2
  83. package/template-ssr-vue/package.json +4 -4
  84. package/template-ssr-vue/src/style.css +2 -3
  85. package/template-ssr-vue-ts/package.json +8 -6
  86. package/template-ssr-vue-ts/src/style.css +2 -3
  87. package/template-ssr-vue-ts/tsconfig.json +15 -8
  88. package/template-ssr-vue-ts/tsconfig.node.json +7 -2
package/index.js CHANGED
@@ -567,7 +567,7 @@ function setupReactSwc(root, { isTs, isDeno }) {
567
567
  editFile(path.resolve(root, 'package.json'), (content) => {
568
568
  return content.replace(
569
569
  /"@vitejs\/plugin-react": ".+?"/,
570
- `"@vitejs/plugin-react-swc": "^3.0.0"`
570
+ `"@vitejs/plugin-react-swc": "^3.3.2"`
571
571
  )
572
572
  })
573
573
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vite-extra",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bjorn Lu",
@@ -28,8 +28,14 @@
28
28
  },
29
29
  "homepage": "https://github.com/bluwy/create-vite-extra#readme",
30
30
  "dependencies": {
31
- "kolorist": "^1.6.0",
32
- "minimist": "^1.2.7",
31
+ "kolorist": "^1.8.0",
32
+ "minimist": "^1.2.8",
33
33
  "prompts": "^2.4.2"
34
+ },
35
+ "devDependencies": {
36
+ "taze": "^0.10.2"
37
+ },
38
+ "scripts": {
39
+ "update-deps": "taze -rw latest"
34
40
  }
35
41
  }
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -91,7 +91,7 @@ export class MyElement extends LitElement {
91
91
  color: #535bf2;
92
92
  }
93
93
 
94
- h1 {
94
+ ::slotted(h1) {
95
95
  font-size: 3.2em;
96
96
  line-height: 1.1;
97
97
  }
@@ -1,6 +1,6 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
2
 
3
- import 'npm:lit@^2.5.0'
3
+ import 'npm:lit@^2.7.5'
4
4
 
5
5
  // https://vitejs.dev/config/
6
6
  export default defineConfig({
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -75,7 +75,7 @@ export class MyElement extends LitElement {
75
75
  color: #888;
76
76
  }
77
77
 
78
- h1 {
78
+ ::slotted(h1) {
79
79
  font-size: 3.2em;
80
80
  line-height: 1.1;
81
81
  }
@@ -1,6 +1,6 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
2
 
3
- import 'npm:lit@^2.5.0'
3
+ import 'npm:lit@^2.7.5'
4
4
 
5
5
  // https://vitejs.dev/config/
6
6
  export default defineConfig({
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,8 +1,8 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import preact from 'npm:@preact/preset-vite@^2.4.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import preact from 'npm:@preact/preset-vite@^2.5.0'
3
3
 
4
- import 'npm:preact@^10.11.3'
5
- import 'npm:preact@^10.11.3/hooks'
4
+ import 'npm:preact@^10.15.1'
5
+ import 'npm:preact@^10.15.1/hooks'
6
6
 
7
7
  // https://vitejs.dev/config/
8
8
  export default defineConfig({
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,8 +1,8 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import preact from 'npm:@preact/preset-vite@^2.4.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import preact from 'npm:@preact/preset-vite@^2.5.0'
3
3
 
4
- import 'npm:preact@^10.11.3'
5
- import 'npm:preact@^10.11.3/hooks'
4
+ import 'npm:preact@^10.15.1'
5
+ import 'npm:preact@^10.15.1/hooks'
6
6
 
7
7
  // https://vitejs.dev/config/
8
8
  export default defineConfig({
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -6,7 +6,7 @@ function App() {
6
6
  const [count, setCount] = useState(0)
7
7
 
8
8
  return (
9
- <div className="App">
9
+ <>
10
10
  <img src="/vite-deno.svg" alt="Vite with Deno" />
11
11
  <div>
12
12
  <a href="https://vitejs.dev" target="_blank">
@@ -28,7 +28,7 @@ function App() {
28
28
  <p className="read-the-docs">
29
29
  Click on the Vite and React logos to learn more
30
30
  </p>
31
- </div>
31
+ </>
32
32
  )
33
33
  }
34
34
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import react from 'npm:@vitejs/plugin-react@^3.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import react from 'npm:@vitejs/plugin-react@^4.0.0'
3
3
 
4
4
  import 'npm:react@^18.2.0'
5
5
  import 'npm:react-dom@^18.2.0/client'
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -6,7 +6,7 @@ function App() {
6
6
  const [count, setCount] = useState(0)
7
7
 
8
8
  return (
9
- <div className="App">
9
+ <>
10
10
  <img src="/vite-deno.svg" alt="Vite with Deno" />
11
11
  <div>
12
12
  <a href="https://vitejs.dev" target="_blank">
@@ -28,7 +28,7 @@ function App() {
28
28
  <p className="read-the-docs">
29
29
  Click on the Vite and React logos to learn more
30
30
  </p>
31
- </div>
31
+ </>
32
32
  )
33
33
  }
34
34
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import react from 'npm:@vitejs/plugin-react@^3.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import react from 'npm:@vitejs/plugin-react@^4.0.0'
3
3
 
4
4
  import 'npm:react@^18.2.0'
5
5
  import 'npm:react-dom@^18.2.0/client'
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import solid from 'npm:vite-plugin-solid@^2.4.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import solid from 'npm:vite-plugin-solid@^2.7.0'
3
3
 
4
- import 'npm:solid-js@^1.6.3'
4
+ import 'npm:solid-js@^1.7.6'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import solid from 'npm:vite-plugin-solid@^2.4.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import solid from 'npm:vite-plugin-solid@^2.7.0'
3
3
 
4
- import 'npm:solid-js@^1.6.3'
4
+ import 'npm:solid-js@^1.7.2'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -0,0 +1,5 @@
1
+ import { vitePreprocess } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.1'
2
+
3
+ export default {
4
+ preprocess: vitePreprocess()
5
+ }
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.1'
3
3
 
4
4
  import 'npm:svelte@^3.54.0'
5
5
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,4 +1,4 @@
1
- import { vitePreprocess } from 'npm:@sveltejs/vite-plugin-svelte@^2.0.0'
1
+ import { vitePreprocess } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.1'
2
2
 
3
3
  export default {
4
4
  preprocess: vitePreprocess()
@@ -1,5 +1,5 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import { svelte } from 'npm:@sveltejs/vite-plugin-svelte@^2.4.1'
3
3
 
4
4
  import 'npm:svelte@^3.54.0'
5
5
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Running
4
4
 
5
- You need to have Deno v1.28.0 or later intalled to run this repo.
5
+ You need to have Deno v1.28.0 or later installed to run this repo.
6
6
 
7
7
  Start a dev server:
8
8
 
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import vue from 'npm:@vitejs/plugin-vue@^4.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import vue from 'npm:@vitejs/plugin-vue@^4.2.3'
3
3
 
4
- import 'npm:vue@^3.2.45'
4
+ import 'npm:vue@^3.3.4'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig({
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,7 +1,7 @@
1
- import { defineConfig } from 'npm:vite@^4.0.0'
2
- import vue from 'npm:@vitejs/plugin-vue@^4.0.0'
1
+ import { defineConfig } from 'npm:vite@^4.3.9'
2
+ import vue from 'npm:@vitejs/plugin-vue@^4.2.3'
3
3
 
4
- import 'npm:vue@^3.2.45'
4
+ import 'npm:vue@^3.3.4'
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.0.0"
23
+ "vite": "^4.3.9"
24
24
  }
25
25
  }
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -20,7 +20,7 @@
20
20
  "build": "tsc && vite build"
21
21
  },
22
22
  "devDependencies": {
23
- "typescript": "^4.9.4",
24
- "vite": "^4.0.0"
23
+ "typescript": "^5.1.3",
24
+ "vite": "^4.3.9"
25
25
  }
26
26
  }
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -1,20 +1,23 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ESNext",
3
+ "target": "ES2020",
4
4
  "useDefineForClassFields": true,
5
5
  "module": "ESNext",
6
- "lib": ["ESNext", "DOM"],
7
- "moduleResolution": "Node",
8
- "strict": true,
9
- "sourceMap": true,
6
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
+ "skipLibCheck": true,
8
+
9
+ /* Bundler mode */
10
+ "moduleResolution": "bundler",
11
+ "allowImportingTsExtensions": true,
10
12
  "resolveJsonModule": true,
11
13
  "isolatedModules": true,
12
- "esModuleInterop": true,
13
14
  "noEmit": true,
15
+
16
+ /* Linting */
17
+ "strict": true,
14
18
  "noUnusedLocals": true,
15
19
  "noUnusedParameters": true,
16
- "noImplicitReturns": true,
17
- "skipLibCheck": true
20
+ "noFallthroughCasesInSwitch": true
18
21
  },
19
22
  "include": ["src"]
20
23
  }
@@ -13,13 +13,13 @@
13
13
  "dependencies": {
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
- "preact": "^10.11.3",
17
- "preact-render-to-string": "^5.2.6",
18
- "sirv": "^2.0.2"
16
+ "preact": "^10.15.1",
17
+ "preact-render-to-string": "^6.0.3",
18
+ "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@preact/preset-vite": "^2.4.0",
21
+ "@preact/preset-vite": "^2.5.0",
22
22
  "cross-env": "^7.0.3",
23
- "vite": "^4.0.0"
23
+ "vite": "^4.3.9"
24
24
  }
25
25
  }
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;
@@ -13,15 +13,16 @@
13
13
  "dependencies": {
14
14
  "compression": "^1.7.4",
15
15
  "express": "^4.18.2",
16
- "preact": "^10.11.3",
17
- "preact-render-to-string": "^5.2.6",
18
- "sirv": "^2.0.2"
16
+ "preact": "^10.15.1",
17
+ "preact-render-to-string": "^6.0.3",
18
+ "sirv": "^2.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@preact/preset-vite": "^2.4.0",
22
- "@types/node": "^18.11.12",
21
+ "@preact/preset-vite": "^2.5.0",
22
+ "@types/express": "^4.17.17",
23
+ "@types/node": "^20.2.5",
23
24
  "cross-env": "^7.0.3",
24
- "typescript": "^4.9.4",
25
- "vite": "^4.0.0"
25
+ "typescript": "^5.1.3",
26
+ "vite": "^4.3.9"
26
27
  }
27
28
  }
@@ -1,7 +1,6 @@
1
1
  :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 1.5;
5
4
  font-weight: 400;
6
5
 
7
6
  color-scheme: light dark;