create-packer 1.37.2 → 1.38.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 (237) hide show
  1. package/package.json +3 -2
  2. package/template/cli/.prettierignore +6 -0
  3. package/template/cli/.prettierrc +18 -0
  4. package/template/cli/bin/createTemp.d.ts +1 -0
  5. package/template/cli/bin/createTemp.js +54 -0
  6. package/template/cli/bin/index.d.ts +2 -0
  7. package/template/cli/bin/index.js +4 -0
  8. package/template/cli/bin/utils/index.d.ts +10 -0
  9. package/template/cli/bin/utils/index.js +44 -0
  10. package/template/cli/package.json +54 -47
  11. package/template/docusaurus/.prettierignore +2 -0
  12. package/template/docusaurus/src/components/HomepageFeatures/index.tsx +70 -70
  13. package/template/docusaurus/src/components/HomepageFeatures/styles.module.css +11 -11
  14. package/template/docusaurus/src/css/custom.css +30 -30
  15. package/template/docusaurus/src/pages/index.module.css +23 -23
  16. package/template/docusaurus/src/pages/index.tsx +40 -40
  17. package/template/lib/workspace/.prettierignore +6 -0
  18. package/template/lib/workspace/.prettierrc +18 -0
  19. package/template/lib/workspace/package.json +73 -72
  20. package/template/lib/workspace/packages/react/package.json +41 -40
  21. package/template/lib/workspace/packages/ts/package.json +29 -28
  22. package/template/nest/package.json +84 -84
  23. package/template/nest/src/app.controller.spec.ts +22 -22
  24. package/template/nest/src/app.controller.ts +12 -12
  25. package/template/nest/src/app.module.ts +10 -10
  26. package/template/nest/src/app.service.ts +8 -8
  27. package/template/nest/src/main.ts +10 -10
  28. package/template/nest/src/utils/transform.interceptor.ts +26 -26
  29. package/template/nest/test/app.e2e-spec.ts +24 -24
  30. package/template/web-app/next/app/globals.css +22 -22
  31. package/template/web-app/next/app/layout.tsx +18 -18
  32. package/template/web-app/next/app/page.tsx +113 -113
  33. package/template/web-app/next/package.json +47 -47
  34. package/template/web-app/react-rsbuild/.prettierignore +6 -0
  35. package/template/web-app/react-rsbuild/.prettierrc +18 -0
  36. package/template/web-app/react-rsbuild/.vscode/extensions.json +8 -8
  37. package/template/web-app/react-rsbuild/.vscode/settings.json +4 -18
  38. package/template/web-app/react-rsbuild/domain/app/app.model.ts +7 -7
  39. package/template/web-app/react-rsbuild/domain/app/app.styled.ts +3 -3
  40. package/template/web-app/react-rsbuild/domain/app/components/app-context.tsx +17 -17
  41. package/template/web-app/react-rsbuild/domain/app/components/app.tsx +24 -24
  42. package/template/web-app/react-rsbuild/domain/app/components/index.ts +1 -1
  43. package/template/web-app/react-rsbuild/domain/app/index.ts +2 -2
  44. package/template/web-app/react-rsbuild/domain/router/home/ids.ts +3 -3
  45. package/template/web-app/react-rsbuild/domain/router/home/index.ts +2 -2
  46. package/template/web-app/react-rsbuild/domain/router/home/routes.tsx +13 -13
  47. package/template/web-app/react-rsbuild/domain/router/ids.ts +6 -6
  48. package/template/web-app/react-rsbuild/domain/router/index.ts +3 -3
  49. package/template/web-app/react-rsbuild/domain/router/router.tsx +28 -28
  50. package/template/web-app/react-rsbuild/domain/router/router.types.ts +3 -3
  51. package/template/web-app/react-rsbuild/env.d.ts +28 -28
  52. package/template/web-app/react-rsbuild/main.tsx +4 -4
  53. package/template/web-app/react-rsbuild/package.json +10 -11
  54. package/template/web-app/react-rsbuild/pages/home/home.styled.ts +7 -7
  55. package/template/web-app/react-rsbuild/pages/home/home.tsx +10 -10
  56. package/template/web-app/react-rsbuild/pages/home/index.ts +1 -1
  57. package/template/web-app/react-rsbuild/pages/index.tsx +18 -18
  58. package/template/web-app/react-rsbuild/pages/not-found.tsx +3 -3
  59. package/template/web-app/react-rsbuild/rsbuild.config.ts +78 -85
  60. package/template/web-app/react-rsbuild/scripts/createChunks.ts +26 -26
  61. package/template/web-app/react-rsbuild/scripts/index.ts +1 -1
  62. package/template/web-app/react-rsbuild/shared/hooks/defineRouter/defineRouter.types.ts +33 -33
  63. package/template/web-app/react-rsbuild/shared/hooks/defineRouter/index.ts +2 -2
  64. package/template/web-app/react-rsbuild/shared/hooks/index.ts +6 -6
  65. package/template/web-app/react-rsbuild/shared/hooks/useInterval.ts +26 -26
  66. package/template/web-app/react-rsbuild/shared/hooks/useLoadingAction.ts +27 -27
  67. package/template/web-app/react-rsbuild/shared/hooks/useLowPriorityState.ts +26 -26
  68. package/template/web-app/react-rsbuild/shared/hooks/useSyncState.ts +15 -15
  69. package/template/web-app/react-rsbuild/shared/hooks/useVisible.ts +27 -27
  70. package/template/web-app/react-rsbuild/shared/service/api.ts +1 -1
  71. package/template/web-app/react-rsbuild/shared/service/home.ts +8 -8
  72. package/template/web-app/react-rsbuild/shared/service/index.ts +3 -3
  73. package/template/web-app/react-rsbuild/shared/service/request.ts +5 -5
  74. package/template/web-app/react-rsbuild/shared/theme/index.ts +1 -1
  75. package/template/web-app/react-rsbuild/shared/theme/theme.styled.ts +56 -56
  76. package/template/web-app/react-rsbuild/shared/tools/componentInstance.tsx +80 -80
  77. package/template/web-app/react-rsbuild/shared/tools/index.ts +1 -1
  78. package/template/web-app/react-rsbuild/shared/types/index.ts +1 -1
  79. package/template/web-app/react-rsbuild/shared/types/utils.ts +2 -2
  80. package/template/web-app/react-rsbuild/tsconfig.json +32 -44
  81. package/template/web-app/react-rsbuild/tsconfig.node.json +10 -14
  82. package/template/web-app/react-vite/.prettierignore +6 -0
  83. package/template/web-app/react-vite/.prettierrc +18 -0
  84. package/template/web-app/react-vite/.vscode/extensions.json +1 -1
  85. package/template/web-app/react-vite/package.json +4 -4
  86. package/template/web-app/react-webpack/.prettierignore +6 -0
  87. package/template/web-app/react-webpack/.prettierrc +18 -0
  88. package/template/web-app/react-webpack/.vscode/extensions.json +8 -8
  89. package/template/web-app/react-webpack/.vscode/settings.json +4 -18
  90. package/template/web-app/react-webpack/commitlint.config.js +1 -1
  91. package/template/web-app/react-webpack/domain/app/app.model.ts +7 -7
  92. package/template/web-app/react-webpack/domain/app/app.styled.ts +3 -3
  93. package/template/web-app/react-webpack/domain/app/components/app-context.tsx +17 -17
  94. package/template/web-app/react-webpack/domain/app/components/app.tsx +24 -24
  95. package/template/web-app/react-webpack/domain/app/components/index.ts +1 -1
  96. package/template/web-app/react-webpack/domain/app/index.ts +2 -2
  97. package/template/web-app/react-webpack/domain/router/home/ids.ts +3 -3
  98. package/template/web-app/react-webpack/domain/router/home/index.ts +2 -2
  99. package/template/web-app/react-webpack/domain/router/home/routes.tsx +13 -13
  100. package/template/web-app/react-webpack/domain/router/ids.ts +6 -6
  101. package/template/web-app/react-webpack/domain/router/index.ts +3 -3
  102. package/template/web-app/react-webpack/domain/router/router.tsx +28 -28
  103. package/template/web-app/react-webpack/domain/router/router.types.ts +3 -3
  104. package/template/web-app/react-webpack/global.d.ts +26 -26
  105. package/template/web-app/react-webpack/index.css +3 -3
  106. package/template/web-app/react-webpack/main.tsx +4 -4
  107. package/template/web-app/react-webpack/package.json +87 -87
  108. package/template/web-app/react-webpack/pages/home/home.styled.ts +7 -7
  109. package/template/web-app/react-webpack/pages/home/home.tsx +10 -10
  110. package/template/web-app/react-webpack/pages/home/index.ts +1 -1
  111. package/template/web-app/react-webpack/pages/index.tsx +18 -18
  112. package/template/web-app/react-webpack/pages/not-found.tsx +3 -3
  113. package/template/web-app/react-webpack/postcss.config.js +7 -7
  114. package/template/web-app/react-webpack/shared/hooks/defineRouter/defineRouter.types.ts +33 -33
  115. package/template/web-app/react-webpack/shared/hooks/defineRouter/index.ts +2 -2
  116. package/template/web-app/react-webpack/shared/hooks/index.ts +6 -6
  117. package/template/web-app/react-webpack/shared/hooks/useInterval.ts +26 -26
  118. package/template/web-app/react-webpack/shared/hooks/useLoadingAction.ts +27 -27
  119. package/template/web-app/react-webpack/shared/hooks/useLowPriorityState.ts +26 -26
  120. package/template/web-app/react-webpack/shared/hooks/useSyncState.ts +15 -15
  121. package/template/web-app/react-webpack/shared/hooks/useVisible.ts +27 -27
  122. package/template/web-app/react-webpack/shared/service/home.ts +8 -8
  123. package/template/web-app/react-webpack/shared/service/index.ts +2 -2
  124. package/template/web-app/react-webpack/shared/service/request.ts +5 -5
  125. package/template/web-app/react-webpack/shared/theme/index.ts +1 -1
  126. package/template/web-app/react-webpack/shared/theme/theme.styled.ts +56 -56
  127. package/template/web-app/react-webpack/shared/tools/componentInstance.tsx +78 -78
  128. package/template/web-app/react-webpack/shared/tools/index.ts +1 -1
  129. package/template/web-app/react-webpack/shared/types/index.ts +1 -1
  130. package/template/web-app/react-webpack/shared/types/utils.ts +2 -2
  131. package/template/web-app/react-webpack/tsconfig.json +27 -38
  132. package/template/web-app/react-webpack/tsconfig.node.json +9 -9
  133. package/template/web-app/solid/package.json +51 -51
  134. package/template/web-app/solid/src/app.container.tsx +12 -12
  135. package/template/web-app/solid/src/index.css +15 -15
  136. package/template/web-app/solid/src/index.tsx +15 -15
  137. package/template/web-app/solid/src/layout/index.ts +1 -1
  138. package/template/web-app/solid/src/layout/layout.container.tsx +5 -5
  139. package/template/web-app/solid/src/pages/home/home.container.tsx +5 -5
  140. package/template/web-app/solid/src/pages/home/index.ts +1 -1
  141. package/template/web-app/solid/src/pages/notFound/index.ts +1 -1
  142. package/template/web-app/solid/src/pages/notFound/notFound.container.tsx +3 -3
  143. package/template/web-app/solid/src/router/home/index.ts +2 -2
  144. package/template/web-app/solid/src/router/home/paths.ts +3 -3
  145. package/template/web-app/solid/src/router/home/routes.tsx +12 -12
  146. package/template/web-app/solid/src/router/index.ts +2 -2
  147. package/template/web-app/solid/src/router/paths.ts +5 -5
  148. package/template/web-app/solid/src/router/routes.ts +16 -16
  149. package/template/web-app/svelte/.prettierignore +2 -0
  150. package/template/web-app/svelte/.prettierrc +14 -14
  151. package/template/web-app/svelte/.svelte-kit/ambient.d.ts +177 -153
  152. package/template/web-app/svelte/.svelte-kit/generated/client/app.js +23 -19
  153. package/template/web-app/svelte/.svelte-kit/generated/client/matchers.js +1 -1
  154. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/0.js +1 -1
  155. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/1.js +1 -1
  156. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/2.js +1 -1
  157. package/template/web-app/svelte/.svelte-kit/generated/root.svelte +62 -56
  158. package/template/web-app/svelte/.svelte-kit/generated/server/internal.js +61 -30
  159. package/template/web-app/svelte/.svelte-kit/non-ambient.d.ts +23 -0
  160. package/template/web-app/svelte/.svelte-kit/tsconfig.json +32 -39
  161. package/template/web-app/svelte/.svelte-kit/types/route_meta_data.json +3 -3
  162. package/template/web-app/svelte/.svelte-kit/types/src/routes/$types.d.ts +35 -20
  163. package/template/web-app/svelte/.vscode/extensions.json +8 -8
  164. package/template/web-app/svelte/commitlint.config.cjs +1 -1
  165. package/template/web-app/svelte/package.json +55 -55
  166. package/template/web-app/svelte/scripts/createChunks.ts +26 -26
  167. package/template/web-app/svelte/scripts/index.ts +1 -1
  168. package/template/web-app/svelte/src/app.d.ts +12 -12
  169. package/template/web-app/svelte/src/routes/+page.svelte +2 -2
  170. package/template/web-app/svelte/svelte.config.js +17 -17
  171. package/template/web-app/svelte/tsconfig.json +21 -21
  172. package/template/web-app/svelte/vite-env.d.ts +11 -11
  173. package/template/web-app/svelte/vite.config.ts +55 -55
  174. package/template/web-app/vue/.prettierignore +6 -0
  175. package/template/web-app/vue/.prettierrc +18 -0
  176. package/template/web-app/vue/.vscode/extensions.json +1 -1
  177. package/template/web-app/vue/domain/app/components/app.vue +18 -18
  178. package/template/web-app/vue/package.json +4 -4
  179. package/template/web-app/vue/pages/home/home.vue +16 -16
  180. package/template/web-app/vue/pages/index.vue +3 -3
  181. package/template/web-app/vue/pages/not-found.vue +3 -3
  182. package/template/web-extension/.prettierignore +6 -0
  183. package/template/web-extension/.prettierrc +18 -0
  184. package/template/web-extension/.vscode/extensions.json +8 -8
  185. package/template/web-extension/.vscode/settings.json +4 -18
  186. package/template/web-extension/.wxt/eslintrc-auto-import.json +19 -19
  187. package/template/web-extension/.wxt/tsconfig.json +24 -27
  188. package/template/web-extension/.wxt/types/globals.d.ts +10 -10
  189. package/template/web-extension/.wxt/types/i18n.d.ts +80 -74
  190. package/template/web-extension/.wxt/types/imports.d.ts +17 -17
  191. package/template/web-extension/.wxt/types/paths.d.ts +12 -12
  192. package/template/web-extension/entrypoints/background/index.ts +1 -1
  193. package/template/web-extension/entrypoints/content/constants/base.ts +1 -1
  194. package/template/web-extension/entrypoints/content/constants/index.ts +1 -1
  195. package/template/web-extension/entrypoints/content/domain/app/index.ts +1 -1
  196. package/template/web-extension/entrypoints/content/domain/app/tools/index.ts +1 -1
  197. package/template/web-extension/entrypoints/content/domain/app/tools/insertApp.tsx +59 -55
  198. package/template/web-extension/entrypoints/content/index.tsx +12 -12
  199. package/template/web-extension/entrypoints/content/modules/common/common.tsx +10 -10
  200. package/template/web-extension/entrypoints/content/modules/common/index.ts +2 -2
  201. package/template/web-extension/entrypoints/content/modules/common/insert.tsx +9 -9
  202. package/template/web-extension/entrypoints/content/modules/index.ts +1 -1
  203. package/template/web-extension/entrypoints/popup/index.html +0 -1
  204. package/template/web-extension/entrypoints/popup/main.tsx +14 -14
  205. package/template/web-extension/entrypoints/popup/popup.container.tsx +3 -3
  206. package/template/web-extension/package.json +86 -86
  207. package/template/web-extension/shared/background/index.ts +1 -1
  208. package/template/web-extension/shared/background/message.ts +11 -11
  209. package/template/web-extension/shared/components/app-context.tsx +14 -14
  210. package/template/web-extension/shared/components/index.ts +1 -1
  211. package/template/web-extension/shared/content/index.ts +1 -1
  212. package/template/web-extension/shared/content/message.ts +15 -15
  213. package/template/web-extension/shared/hooks/index.ts +2 -2
  214. package/template/web-extension/shared/hooks/useSyncState.ts +15 -15
  215. package/template/web-extension/shared/hooks/useVisible.ts +27 -27
  216. package/template/web-extension/shared/popup/index.ts +1 -1
  217. package/template/web-extension/shared/popup/message.ts +12 -12
  218. package/template/web-extension/shared/service/index.ts +1 -1
  219. package/template/web-extension/shared/service/request.ts +5 -5
  220. package/template/web-extension/shared/styles/global.styled.ts +8 -8
  221. package/template/web-extension/shared/styles/index.ts +2 -2
  222. package/template/web-extension/shared/styles/theme.styled.ts +56 -56
  223. package/template/web-extension/shared/tools/index.ts +1 -1
  224. package/template/web-extension/shared/tools/message.ts +80 -80
  225. package/template/web-extension/shared/types/index.ts +1 -1
  226. package/template/web-extension/shared/types/utils.ts +3 -3
  227. package/template/web-extension/tsconfig.json +32 -32
  228. package/template/web-extension/tsconfig.node.json +10 -10
  229. package/template/web-extension/vite-env.d.ts +19 -19
  230. package/template/web-extension/wxt.config.ts +50 -46
  231. package/template/cli/biome.json +0 -40
  232. package/template/lib/workspace/biome.json +0 -40
  233. package/template/web-app/react-rsbuild/biome.json +0 -40
  234. package/template/web-app/react-vite/biome.json +0 -40
  235. package/template/web-app/react-webpack/biome.json +0 -40
  236. package/template/web-app/vue/biome.json +0 -40
  237. package/template/web-extension/biome.json +0 -40
@@ -1,12 +1,12 @@
1
- import { lazy } from 'solid-js'
2
- import { RouteDefinition } from '@solidjs/router'
3
- import paths from './paths'
4
-
5
- const routes: RouteDefinition[] = [
6
- {
7
- path: ['/', paths.home],
8
- component: lazy(() => import('@/pages/home'))
9
- }
10
- ]
11
-
12
- export default routes
1
+ import { lazy } from 'solid-js'
2
+ import { RouteDefinition } from '@solidjs/router'
3
+ import paths from './paths'
4
+
5
+ const routes: RouteDefinition[] = [
6
+ {
7
+ path: ['/', paths.home],
8
+ component: lazy(() => import('@/pages/home'))
9
+ }
10
+ ]
11
+
12
+ export default routes
@@ -1,2 +1,2 @@
1
- export { default as routePaths } from './paths'
2
- export { default as routes } from './routes'
1
+ export { default as routePaths } from './paths'
2
+ export { default as routes } from './routes'
@@ -1,5 +1,5 @@
1
- import * as home from './home'
2
- export default {
3
- root: '/',
4
- ...home.paths
5
- }
1
+ import * as home from './home'
2
+ export default {
3
+ root: '/',
4
+ ...home.paths
5
+ }
@@ -1,16 +1,16 @@
1
- import { lazy } from 'solid-js'
2
- import { RouteDefinition } from '@solidjs/router'
3
- import * as home from './home'
4
-
5
- const routes: RouteDefinition[] = [
6
- {
7
- path: '/',
8
- component: lazy(() => import('@/layout')),
9
- children: [...home.routes]
10
- },
11
- {
12
- path: '/*all',
13
- component: lazy(() => import('@/pages/notFound'))
14
- }
15
- ]
16
- export default routes
1
+ import { lazy } from 'solid-js'
2
+ import { RouteDefinition } from '@solidjs/router'
3
+ import * as home from './home'
4
+
5
+ const routes: RouteDefinition[] = [
6
+ {
7
+ path: '/',
8
+ component: lazy(() => import('@/layout')),
9
+ children: [...home.routes]
10
+ },
11
+ {
12
+ path: '/*all',
13
+ component: lazy(() => import('@/pages/notFound'))
14
+ }
15
+ ]
16
+ export default routes
@@ -4,3 +4,5 @@
4
4
  **/*.html
5
5
  .history
6
6
  dist
7
+ .history
8
+ dist
@@ -1,14 +1,14 @@
1
- {
2
- "plugins": ["prettier-plugin-svelte"],
3
- "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
4
- "printWidth": 100,
5
- "tabWidth": 4,
6
- "useTabs": false,
7
- "semi": false,
8
- "singleQuote": true,
9
- "trailingComma": "none",
10
- "bracketSpacing": true,
11
- "bracketSameLine": false,
12
- "arrowParens": "avoid",
13
- "rangeStart": 0
14
- }
1
+ {
2
+ "plugins": ["prettier-plugin-svelte"],
3
+ "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
4
+ "printWidth": 100,
5
+ "tabWidth": 4,
6
+ "useTabs": false,
7
+ "semi": false,
8
+ "singleQuote": true,
9
+ "trailingComma": "none",
10
+ "bracketSpacing": true,
11
+ "bracketSameLine": false,
12
+ "arrowParens": "avoid",
13
+ "rangeStart": 0
14
+ }
@@ -1,153 +1,177 @@
1
-
2
- // this file is generated — do not edit it
3
-
4
-
5
- /// <reference types="@sveltejs/kit" />
6
-
7
- /**
8
- * Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
9
- *
10
- * _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
11
- *
12
- * ```ts
13
- * import { API_KEY } from '$env/static/private';
14
- * ```
15
- *
16
- * Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
17
- *
18
- * ```
19
- * MY_FEATURE_FLAG=""
20
- * ```
21
- *
22
- * You can override `.env` values from the command line like so:
23
- *
24
- * ```bash
25
- * MY_FEATURE_FLAG="enabled" npm run dev
26
- * ```
27
- */
28
- declare module '$env/static/private' {
29
- export const VITE_BASE_URL: string;
30
- export const VITE_API_HOST: string;
31
- export const PATH: string;
32
- export const FORCE_COLOR: string;
33
- export const MANPATH: string;
34
- export const HOMEBREW_PREFIX: string;
35
- export const LANG: string;
36
- export const DEBUG_COLORS: string;
37
- export const COMMAND_MODE: string;
38
- export const npm_config_color: string;
39
- export const MOCHA_COLORS: string;
40
- export const COLORTERM: string;
41
- export const LOGNAME: string;
42
- export const HOMEBREW_REPOSITORY: string;
43
- export const XPC_SERVICE_NAME: string;
44
- export const PWD: string;
45
- export const TOOLBOX_VERSION: string;
46
- export const INFOPATH: string;
47
- export const __CFBundleIdentifier: string;
48
- export const HOMEBREW_PIP_INDEX_URL: string;
49
- export const SHELL: string;
50
- export const PAGER: string;
51
- export const LSCOLORS: string;
52
- export const HOMEBREW_BOTTLE_DOMAIN: string;
53
- export const OLDPWD: string;
54
- export const HOMEBREW_CELLAR: string;
55
- export const USER: string;
56
- export const ZSH: string;
57
- export const TMPDIR: string;
58
- export const SSH_AUTH_SOCK: string;
59
- export const XPC_FLAGS: string;
60
- export const LC_ALL: string;
61
- export const __CF_USER_TEXT_ENCODING: string;
62
- export const LESS: string;
63
- export const NODE_ENV: string;
64
- export const LS_COLORS: string;
65
- export const HOME: string;
66
- export const HOMEBREW_API_DOMAIN: string;
67
- }
68
-
69
- /**
70
- * Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
71
- *
72
- * Values are replaced statically at build time.
73
- *
74
- * ```ts
75
- * import { PUBLIC_BASE_URL } from '$env/static/public';
76
- * ```
77
- */
78
- declare module '$env/static/public' {
79
-
80
- }
81
-
82
- /**
83
- * This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
84
- *
85
- * This module cannot be imported into client-side code.
86
- *
87
- * ```ts
88
- * import { env } from '$env/dynamic/private';
89
- * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
90
- * ```
91
- *
92
- * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
93
- */
94
- declare module '$env/dynamic/private' {
95
- export const env: {
96
- VITE_BASE_URL: string;
97
- VITE_API_HOST: string;
98
- PATH: string;
99
- FORCE_COLOR: string;
100
- MANPATH: string;
101
- HOMEBREW_PREFIX: string;
102
- LANG: string;
103
- DEBUG_COLORS: string;
104
- COMMAND_MODE: string;
105
- npm_config_color: string;
106
- MOCHA_COLORS: string;
107
- COLORTERM: string;
108
- LOGNAME: string;
109
- HOMEBREW_REPOSITORY: string;
110
- XPC_SERVICE_NAME: string;
111
- PWD: string;
112
- TOOLBOX_VERSION: string;
113
- INFOPATH: string;
114
- __CFBundleIdentifier: string;
115
- HOMEBREW_PIP_INDEX_URL: string;
116
- SHELL: string;
117
- PAGER: string;
118
- LSCOLORS: string;
119
- HOMEBREW_BOTTLE_DOMAIN: string;
120
- OLDPWD: string;
121
- HOMEBREW_CELLAR: string;
122
- USER: string;
123
- ZSH: string;
124
- TMPDIR: string;
125
- SSH_AUTH_SOCK: string;
126
- XPC_FLAGS: string;
127
- LC_ALL: string;
128
- __CF_USER_TEXT_ENCODING: string;
129
- LESS: string;
130
- NODE_ENV: string;
131
- LS_COLORS: string;
132
- HOME: string;
133
- HOMEBREW_API_DOMAIN: string;
134
- [key: `PUBLIC_${string}`]: undefined;
135
- [key: `${string}`]: string | undefined;
136
- }
137
- }
138
-
139
- /**
140
- * Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
141
- *
142
- * Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
143
- *
144
- * ```ts
145
- * import { env } from '$env/dynamic/public';
146
- * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
147
- * ```
148
- */
149
- declare module '$env/dynamic/public' {
150
- export const env: {
151
- [key: `PUBLIC_${string}`]: string | undefined;
152
- }
153
- }
1
+ // this file is generated — do not edit it
2
+
3
+ /// <reference types="@sveltejs/kit" />
4
+
5
+ /**
6
+ * Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
7
+ *
8
+ * _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
9
+ *
10
+ * ```ts
11
+ * import { API_KEY } from '$env/static/private';
12
+ * ```
13
+ *
14
+ * Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
15
+ *
16
+ * ```
17
+ * MY_FEATURE_FLAG=""
18
+ * ```
19
+ *
20
+ * You can override `.env` values from the command line like so:
21
+ *
22
+ * ```bash
23
+ * MY_FEATURE_FLAG="enabled" npm run dev
24
+ * ```
25
+ */
26
+ declare module '$env/static/private' {
27
+ export const VITE_BASE_URL: string
28
+ export const VITE_API_HOST: string
29
+ export const ALLUSERSPROFILE: string
30
+ export const APPDATA: string
31
+ export const COLORTERM: string
32
+ export const CommonProgramFiles: string
33
+ export const CommonProgramW6432: string
34
+ export const COMPUTERNAME: string
35
+ export const ComSpec: string
36
+ export const configsetroot: string
37
+ export const DEBUG_COLORS: string
38
+ export const DriverData: string
39
+ export const FORCE_COLOR: string
40
+ export const GIT_INSTALL_ROOT: string
41
+ export const HOMEDRIVE: string
42
+ export const HOMEPATH: string
43
+ export const LOCALAPPDATA: string
44
+ export const LOGONSERVER: string
45
+ export const MOCHA_COLORS: string
46
+ export const NODE_ENV: string
47
+ export const npm_config_color: string
48
+ export const NUMBER_OF_PROCESSORS: string
49
+ export const OneDrive: string
50
+ export const OneDriveConsumer: string
51
+ export const OS: string
52
+ export const Path: string
53
+ export const PATHEXT: string
54
+ export const POSH_INSTALLER: string
55
+ export const POSH_THEMES_PATH: string
56
+ export const PROCESSOR_ARCHITECTURE: string
57
+ export const PROCESSOR_IDENTIFIER: string
58
+ export const PROCESSOR_LEVEL: string
59
+ export const PROCESSOR_REVISION: string
60
+ export const ProgramData: string
61
+ export const ProgramFiles: string
62
+ export const ProgramW6432: string
63
+ export const PSModulePath: string
64
+ export const PUBLIC: string
65
+ export const SESSIONNAME: string
66
+ export const SystemDrive: string
67
+ export const SystemRoot: string
68
+ export const TEMP: string
69
+ export const TMP: string
70
+ export const TOOLBOX_VERSION: string
71
+ export const USERDOMAIN: string
72
+ export const USERDOMAIN_ROAMINGPROFILE: string
73
+ export const USERNAME: string
74
+ export const USERPROFILE: string
75
+ export const windir: string
76
+ export const ZES_ENABLE_SYSMAN: string
77
+ }
78
+
79
+ /**
80
+ * Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
81
+ *
82
+ * Values are replaced statically at build time.
83
+ *
84
+ * ```ts
85
+ * import { PUBLIC_BASE_URL } from '$env/static/public';
86
+ * ```
87
+ */
88
+ declare module '$env/static/public' {}
89
+
90
+ /**
91
+ * This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
92
+ *
93
+ * This module cannot be imported into client-side code.
94
+ *
95
+ * Dynamic environment variables cannot be used during prerendering.
96
+ *
97
+ * ```ts
98
+ * import { env } from '$env/dynamic/private';
99
+ * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
100
+ * ```
101
+ *
102
+ * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
103
+ */
104
+ declare module '$env/dynamic/private' {
105
+ export const env: {
106
+ VITE_BASE_URL: string
107
+ VITE_API_HOST: string
108
+ ALLUSERSPROFILE: string
109
+ APPDATA: string
110
+ COLORTERM: string
111
+ CommonProgramFiles: string
112
+ CommonProgramW6432: string
113
+ COMPUTERNAME: string
114
+ ComSpec: string
115
+ configsetroot: string
116
+ DEBUG_COLORS: string
117
+ DriverData: string
118
+ FORCE_COLOR: string
119
+ GIT_INSTALL_ROOT: string
120
+ HOMEDRIVE: string
121
+ HOMEPATH: string
122
+ LOCALAPPDATA: string
123
+ LOGONSERVER: string
124
+ MOCHA_COLORS: string
125
+ NODE_ENV: string
126
+ npm_config_color: string
127
+ NUMBER_OF_PROCESSORS: string
128
+ OneDrive: string
129
+ OneDriveConsumer: string
130
+ OS: string
131
+ Path: string
132
+ PATHEXT: string
133
+ POSH_INSTALLER: string
134
+ POSH_THEMES_PATH: string
135
+ PROCESSOR_ARCHITECTURE: string
136
+ PROCESSOR_IDENTIFIER: string
137
+ PROCESSOR_LEVEL: string
138
+ PROCESSOR_REVISION: string
139
+ ProgramData: string
140
+ ProgramFiles: string
141
+ ProgramW6432: string
142
+ PSModulePath: string
143
+ PUBLIC: string
144
+ SESSIONNAME: string
145
+ SystemDrive: string
146
+ SystemRoot: string
147
+ TEMP: string
148
+ TMP: string
149
+ TOOLBOX_VERSION: string
150
+ USERDOMAIN: string
151
+ USERDOMAIN_ROAMINGPROFILE: string
152
+ USERNAME: string
153
+ USERPROFILE: string
154
+ windir: string
155
+ ZES_ENABLE_SYSMAN: string
156
+ [key: `PUBLIC_${string}`]: undefined
157
+ [key: `${string}`]: string | undefined
158
+ }
159
+ }
160
+
161
+ /**
162
+ * Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
163
+ *
164
+ * Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
165
+ *
166
+ * Dynamic environment variables cannot be used during prerendering.
167
+ *
168
+ * ```ts
169
+ * import { env } from '$env/dynamic/public';
170
+ * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
171
+ * ```
172
+ */
173
+ declare module '$env/dynamic/public' {
174
+ export const env: {
175
+ [key: `PUBLIC_${string}`]: string | undefined
176
+ }
177
+ }
@@ -1,19 +1,23 @@
1
- export { matchers } from './matchers.js';
2
-
3
- export const nodes = [
4
- () => import('./nodes/0'),
5
- () => import('./nodes/1'),
6
- () => import('./nodes/2')
7
- ];
8
-
9
- export const server_loads = [];
10
-
11
- export const dictionary = {
12
- "/": [2]
13
- };
14
-
15
- export const hooks = {
16
- handleError: (({ error }) => { console.error(error) }),
17
- };
18
-
19
- export { default as root } from '../root.svelte';
1
+ export { matchers } from './matchers.js'
2
+
3
+ export const nodes = [
4
+ () => import('./nodes/0'),
5
+ () => import('./nodes/1'),
6
+ () => import('./nodes/2')
7
+ ]
8
+
9
+ export const server_loads = []
10
+
11
+ export const dictionary = {
12
+ '/': [2]
13
+ }
14
+
15
+ export const hooks = {
16
+ handleError: ({ error }) => {
17
+ console.error(error)
18
+ },
19
+
20
+ reroute: () => {}
21
+ }
22
+
23
+ export { default as root } from '../root.svelte'
@@ -1 +1 @@
1
- export const matchers = {};
1
+ export const matchers = {}
@@ -1 +1 @@
1
- export { default as component } from "../../../../../../../node_modules/.pnpm/@sveltejs+kit@1.25.0_svelte@4.2.1_vite@4.4.9/node_modules/@sveltejs/kit/src/runtime/components/layout.svelte";
1
+ export { default as component } from '../../../../../../../node_modules/.pnpm/@sveltejs+kit@2.5.18_@sveltejs+vite-plugin-svelte@3.0.0_svelte@4.2.18_vite@5.3.3_@types+node@_snlyxlbtloburzpnjcs5lvtmse/node_modules/@sveltejs/kit/src/runtime/components/layout.svelte'
@@ -1 +1 @@
1
- export { default as component } from "../../../../../../../node_modules/.pnpm/@sveltejs+kit@1.25.0_svelte@4.2.1_vite@4.4.9/node_modules/@sveltejs/kit/src/runtime/components/error.svelte";
1
+ export { default as component } from '../../../../../../../node_modules/.pnpm/@sveltejs+kit@2.5.18_@sveltejs+vite-plugin-svelte@3.0.0_svelte@4.2.18_vite@5.3.3_@types+node@_snlyxlbtloburzpnjcs5lvtmse/node_modules/@sveltejs/kit/src/runtime/components/error.svelte'
@@ -1 +1 @@
1
- export { default as component } from "../../../../src/routes/+page.svelte";
1
+ export { default as component } from '../../../../src/routes/+page.svelte'
@@ -1,56 +1,62 @@
1
- <!-- This file is generated by @sveltejs/kit — do not edit it! -->
2
- <script>
3
- import { setContext, afterUpdate, onMount, tick } from 'svelte';
4
- import { browser } from '$app/environment';
5
-
6
- // stores
7
- export let stores;
8
- export let page;
9
-
10
- export let constructors;
11
- export let components = [];
12
- export let form;
13
- export let data_0 = null;
14
- export let data_1 = null;
15
-
16
- if (!browser) {
17
- setContext('__svelte__', stores);
18
- }
19
-
20
- $: stores.page.set(page);
21
- afterUpdate(stores.page.notify);
22
-
23
- let mounted = false;
24
- let navigated = false;
25
- let title = null;
26
-
27
- onMount(() => {
28
- const unsubscribe = stores.page.subscribe(() => {
29
- if (mounted) {
30
- navigated = true;
31
- tick().then(() => {
32
- title = document.title || 'untitled page';
33
- });
34
- }
35
- });
36
-
37
- mounted = true;
38
- return unsubscribe;
39
- });
40
- </script>
41
-
42
- {#if constructors[1]}
43
- <svelte:component this={constructors[0]} bind:this={components[0]} data={data_0}>
44
- <svelte:component this={constructors[1]} bind:this={components[1]} data={data_1} {form} />
45
- </svelte:component>
46
- {:else}
47
- <svelte:component this={constructors[0]} bind:this={components[0]} data={data_0} {form} />
48
- {/if}
49
-
50
- {#if mounted}
51
- <div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
52
- {#if navigated}
53
- {title}
54
- {/if}
55
- </div>
56
- {/if}
1
+ <!-- This file is generated by @sveltejs/kit — do not edit it! -->
2
+
3
+ <script>
4
+ import { setContext, afterUpdate, onMount, tick } from 'svelte'
5
+ import { browser } from '$app/environment'
6
+
7
+ // stores
8
+ export let stores
9
+ export let page
10
+
11
+ export let constructors
12
+ export let components = []
13
+ export let form
14
+ export let data_0 = null
15
+ export let data_1 = null
16
+
17
+ if (!browser) {
18
+ setContext('__svelte__', stores)
19
+ }
20
+
21
+ $: stores.page.set(page)
22
+ afterUpdate(stores.page.notify)
23
+
24
+ let mounted = false
25
+ let navigated = false
26
+ let title = null
27
+
28
+ onMount(() => {
29
+ const unsubscribe = stores.page.subscribe(() => {
30
+ if (mounted) {
31
+ navigated = true
32
+ tick().then(() => {
33
+ title = document.title || 'untitled page'
34
+ })
35
+ }
36
+ })
37
+
38
+ mounted = true
39
+ return unsubscribe
40
+ })
41
+ </script>
42
+
43
+ {#if constructors[1]}
44
+ <svelte:component this={constructors[0]} bind:this={components[0]} data={data_0}>
45
+ <svelte:component this={constructors[1]} bind:this={components[1]} data={data_1} {form} />
46
+ </svelte:component>
47
+ {:else}
48
+ <svelte:component this={constructors[0]} bind:this={components[0]} data={data_0} {form} />
49
+ {/if}
50
+
51
+ {#if mounted}
52
+ <div
53
+ id="svelte-announcer"
54
+ aria-live="assertive"
55
+ aria-atomic="true"
56
+ style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"
57
+ >
58
+ {#if navigated}
59
+ {title}
60
+ {/if}
61
+ </div>
62
+ {/if}