create-packer 1.38.0 → 1.39.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 (126) hide show
  1. package/package.json +4 -5
  2. package/template/cli/package.json +0 -1
  3. package/template/docusaurus/package.json +1 -1
  4. package/template/{web-app/react-vite/.eslintignore → lib/workspace/.stylelintignore} +2 -0
  5. package/template/lib/workspace/.stylelintrc +4 -9
  6. package/template/lib/workspace/eslint.config.mjs +116 -0
  7. package/template/lib/workspace/package.json +81 -73
  8. package/template/lib/workspace/packages/react/package.json +41 -41
  9. package/template/lib/workspace/packages/react/tsconfig.json +3 -8
  10. package/template/lib/workspace/packages/react/tsconfig.lint.json +21 -0
  11. package/template/lib/workspace/packages/ts/package.json +29 -29
  12. package/template/lib/workspace/packages/ts/tsconfig.json +9 -6
  13. package/template/lib/workspace/packages/ts/tsconfig.lint.json +21 -0
  14. package/template/nest/package.json +82 -84
  15. package/template/web-app/react-rsbuild/domain/app/components/app-context.tsx +17 -17
  16. package/template/web-app/react-rsbuild/domain/router/components/index.ts +2 -0
  17. package/template/web-app/react-rsbuild/domain/router/components/route-layout.tsx +19 -0
  18. package/template/web-app/react-rsbuild/domain/router/components/sub-route-outlet.tsx +22 -0
  19. package/template/web-app/react-rsbuild/domain/router/index.ts +4 -3
  20. package/template/web-app/react-rsbuild/eslint.config.js +104 -0
  21. package/template/web-app/react-rsbuild/package.json +78 -79
  22. package/template/web-app/react-rsbuild/pages/home/index.ts +1 -1
  23. package/template/web-app/react-rsbuild/pages/home/{home.styled.ts → view.styled.ts} +7 -7
  24. package/template/web-app/react-rsbuild/pages/home/{home.tsx → view.tsx} +10 -10
  25. package/template/web-app/{react-vite/shared/tools → react-rsbuild/shared/components}/componentInstance.tsx +80 -80
  26. package/template/web-app/react-rsbuild/shared/components/index.ts +1 -0
  27. package/template/web-app/react-rsbuild/shared/service/home.ts +8 -8
  28. package/template/web-app/react-rsbuild/shared/theme/theme.styled.ts +56 -56
  29. package/template/web-app/react-rsbuild/shared/tools/index.ts +0 -1
  30. package/template/web-app/react-vite/domain/router/components/index.ts +2 -0
  31. package/template/web-app/react-vite/domain/router/components/route-layout.tsx +19 -0
  32. package/template/web-app/react-vite/domain/router/components/sub-route-outlet.tsx +22 -0
  33. package/template/web-app/react-vite/domain/router/index.ts +4 -3
  34. package/template/web-app/react-vite/eslint.config.js +104 -0
  35. package/template/web-app/react-vite/package.json +79 -79
  36. package/template/web-app/react-vite/pages/home/index.ts +1 -1
  37. package/template/web-app/react-vite/pages/home/{home.mock.ts → view.mock.ts} +19 -19
  38. package/template/web-app/{react-webpack/pages/home/home.styled.ts → react-vite/pages/home/view.styled.ts} +7 -7
  39. package/template/web-app/react-vite/pages/home/{home.tsx → view.tsx} +10 -10
  40. package/template/web-app/{react-rsbuild/shared/tools → react-vite/shared/components}/componentInstance.tsx +80 -80
  41. package/template/web-app/react-vite/shared/components/index.ts +1 -0
  42. package/template/web-app/react-vite/shared/service/home.ts +10 -10
  43. package/template/web-app/react-vite/shared/theme/theme.styled.ts +55 -56
  44. package/template/web-app/react-vite/shared/tools/index.ts +0 -1
  45. package/template/web-app/react-vite/vite.config.ts +80 -76
  46. package/template/web-app/react-webpack/domain/router/components/index.ts +2 -0
  47. package/template/web-app/react-webpack/domain/router/components/route-layout.tsx +19 -0
  48. package/template/web-app/react-webpack/domain/router/components/sub-route-outlet.tsx +22 -0
  49. package/template/web-app/react-webpack/domain/router/index.ts +4 -3
  50. package/template/web-app/react-webpack/eslint.config.js +104 -0
  51. package/template/web-app/react-webpack/package.json +84 -87
  52. package/template/web-app/react-webpack/pages/home/index.ts +1 -1
  53. package/template/web-app/{react-vite/pages/home/home.styled.ts → react-webpack/pages/home/view.styled.ts} +7 -7
  54. package/template/web-app/react-webpack/pages/home/{home.tsx → view.tsx} +10 -10
  55. package/template/web-app/react-webpack/shared/{tools → components}/componentInstance.tsx +78 -78
  56. package/template/web-app/react-webpack/shared/components/index.ts +1 -0
  57. package/template/web-app/react-webpack/shared/theme/theme.styled.ts +56 -56
  58. package/template/web-app/react-webpack/shared/tools/index.ts +0 -1
  59. package/template/web-app/solid/package.json +53 -51
  60. package/template/web-app/solid/src/pages/home/index.ts +1 -1
  61. package/template/web-app/solid/src/pages/home/{home.container.tsx → view.tsx} +5 -5
  62. package/template/web-app/solid/src/pages/notFound/index.ts +1 -1
  63. package/template/web-app/solid/src/pages/notFound/{notFound.container.tsx → view.tsx} +3 -3
  64. package/template/web-app/svelte/.prettierrc +21 -14
  65. package/template/web-app/svelte/.svelte-kit/ambient.d.ts +181 -177
  66. package/template/web-app/svelte/.svelte-kit/generated/client/app.js +28 -23
  67. package/template/web-app/svelte/.svelte-kit/generated/client/matchers.js +1 -1
  68. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/0.js +1 -1
  69. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/1.js +1 -1
  70. package/template/web-app/svelte/.svelte-kit/generated/client/nodes/2.js +1 -1
  71. package/template/web-app/svelte/.svelte-kit/generated/root.js +3 -0
  72. package/template/web-app/svelte/.svelte-kit/generated/root.svelte +66 -62
  73. package/template/web-app/svelte/.svelte-kit/generated/server/internal.js +49 -61
  74. package/template/web-app/svelte/.svelte-kit/non-ambient.d.ts +25 -23
  75. package/template/web-app/svelte/.svelte-kit/tsconfig.json +49 -32
  76. package/template/web-app/svelte/.svelte-kit/types/route_meta_data.json +3 -3
  77. package/template/web-app/svelte/.svelte-kit/types/src/routes/$types.d.ts +22 -35
  78. package/template/web-app/svelte/eslint.config.js +95 -0
  79. package/template/web-app/svelte/package.json +55 -55
  80. package/template/web-app/svelte/src/app.d.ts +13 -12
  81. package/template/web-app/svelte/src/app.html +2 -2
  82. package/template/web-app/svelte/src/lib/index.ts +1 -0
  83. package/template/web-app/svelte/src/routes/+page.svelte +2 -2
  84. package/template/web-app/svelte/vite.config.ts +59 -55
  85. package/template/web-app/vue/eslint.config.js +109 -0
  86. package/template/web-app/vue/package.json +70 -70
  87. package/template/web-app/vue/pages/home/index.ts +1 -1
  88. package/template/web-app/vue/pages/home/{home.mock.ts → view.mock.ts} +19 -19
  89. package/template/web-app/vue/pages/home/{home.vue → view.vue} +16 -16
  90. package/template/web-app/vue/vite.config.ts +69 -65
  91. package/template/web-extension/.wxt/eslint-auto-imports.mjs +28 -0
  92. package/template/web-extension/.wxt/tsconfig.json +28 -25
  93. package/template/web-extension/.wxt/types/globals.d.ts +15 -15
  94. package/template/web-extension/.wxt/types/i18n.d.ts +81 -87
  95. package/template/web-extension/.wxt/types/imports.d.ts +22 -21
  96. package/template/web-extension/.wxt/types/paths.d.ts +16 -15
  97. package/template/web-extension/.wxt/wxt.d.ts +7 -6
  98. package/template/web-extension/entrypoints/content/domain/app/tools/insertApp.tsx +58 -59
  99. package/template/web-extension/entrypoints/content/index.tsx +10 -12
  100. package/template/web-extension/entrypoints/popup/main.tsx +14 -14
  101. package/template/web-extension/entrypoints/popup/{popup.container.tsx → popup.tsx} +3 -3
  102. package/template/web-extension/eslint.config.js +106 -0
  103. package/template/web-extension/package.json +84 -86
  104. package/template/web-extension/shared/content/constant.ts +1 -0
  105. package/template/web-extension/shared/content/index.ts +2 -1
  106. package/template/web-extension/shared/content/message.ts +25 -15
  107. package/template/web-extension/shared/styles/theme.styled.ts +56 -56
  108. package/template/web-extension/shared/tools/message.ts +70 -80
  109. package/template/web-extension/tsconfig.json +32 -32
  110. package/template/web-extension/vite-env.d.ts +20 -19
  111. package/template/web-extension/wxt.config.ts +43 -50
  112. package/template/lib/workspace/.eslintrc +0 -111
  113. package/template/lib/workspace/packages/react/.eslintrc +0 -111
  114. package/template/lib/workspace/packages/react/.stylelintrc +0 -29
  115. package/template/web-app/react-rsbuild/.eslintignore +0 -4
  116. package/template/web-app/react-rsbuild/.eslintrc +0 -111
  117. package/template/web-app/react-vite/.eslintrc +0 -110
  118. package/template/web-app/react-webpack/.eslintignore +0 -4
  119. package/template/web-app/react-webpack/.eslintrc +0 -110
  120. package/template/web-app/svelte/.eslintignore +0 -13
  121. package/template/web-app/svelte/.eslintrc +0 -76
  122. package/template/web-app/vue/.eslintignore +0 -4
  123. package/template/web-app/vue/.eslintrc +0 -97
  124. package/template/web-extension/.eslintignore +0 -4
  125. package/template/web-extension/.eslintrc +0 -110
  126. /package/template/web-app/solid/src/pages/home/{home.css → view.css} +0 -0
@@ -1,51 +1,53 @@
1
- {
2
- "name": "vite-template-solid",
3
- "version": "0.0.0",
4
- "description": "",
5
- "scripts": {
6
- "prepare": "husky install",
7
- "start": "vite",
8
- "dev": "vite",
9
- "build": "vite build",
10
- "serve": "vite preview",
11
- "up:vite": "pnpm up vite @vitejs/* -L",
12
- "format": "prettier --write \"src/**/*.{ts,js,tsx,jsx,css,scss,less}\" \"./package.json\"",
13
- "lint": "eslint ./src/**/*.{tsx,ts} && stylelint ./src/**/*.{css,scss,less}",
14
- "lint:fix": "eslint ./src/**/*.{tsx,ts} --fix && stylelint ./src/**/*.{css,scss,less} --fix",
15
- "test:watchs": "jest --watch",
16
- "test": "jest",
17
- "test:coverage": "jest --silent --watchAll=false --coverage",
18
- "cz": "cz",
19
- "push": "npm run commit && git push",
20
- "commit": "git add . && npm run cz"
21
- },
22
- "license": "MIT",
23
- "devDependencies": {
24
- "@commitlint/cli": "17.6.3",
25
- "@commitlint/config-conventional": "17.6.3",
26
- "@commitlint/cz-commitlint": "17.5.0",
27
- "autoprefixer": "10.4.14",
28
- "commitizen": "4.3.0",
29
- "cssnano": "6.0.0",
30
- "inquirer": "8.0.0",
31
- "postcss": "8.4.35",
32
- "postcss-import": "16.0.1",
33
- "postcss-nesting": "12.0.3",
34
- "prettier": "3.2.5",
35
- "stylelint": "16.10.0",
36
- "stylelint-config-standard-scss": "13.0.0",
37
- "tailwindcss": "3.4.3",
38
- "typescript": "5.5.2",
39
- "vite": "4.5.2",
40
- "vite-plugin-solid": "2.10.1"
41
- },
42
- "dependencies": {
43
- "@solidjs/router": "0.8.2",
44
- "solid-js": "1.7.5"
45
- },
46
- "config": {
47
- "commitizen": {
48
- "path": "@commitlint/cz-commitlint"
49
- }
50
- }
51
- }
1
+ {
2
+ "name": "vite-template-solid",
3
+ "version": "0.0.0",
4
+ "description": "",
5
+ "scripts": {
6
+ "prepare": "husky install",
7
+ "start": "vite",
8
+ "dev": "vite",
9
+ "build": "vite build",
10
+ "serve": "vite preview",
11
+ "up:vite": "pnpm up vite @vitejs/* -L",
12
+ "format": "prettier --write \"src/**/*.{ts,js,tsx,jsx,css,scss,less}\" \"./package.json\"",
13
+ "lint": "eslint ./src/**/*.{tsx,ts} && stylelint ./src/**/*.{css,scss,less}",
14
+ "lint:fix": "eslint ./src/**/*.{tsx,ts} --fix && stylelint ./src/**/*.{css,scss,less} --fix",
15
+ "test:watchs": "jest --watch",
16
+ "test": "jest",
17
+ "test:coverage": "jest --silent --watchAll=false --coverage",
18
+ "cz": "cz",
19
+ "push": "npm run commit && git push",
20
+ "commit": "git add . && npm run cz"
21
+ },
22
+ "license": "MIT",
23
+ "devDependencies": {
24
+ "@commitlint/cli": "17.6.3",
25
+ "@commitlint/config-conventional": "17.6.3",
26
+ "@commitlint/cz-commitlint": "17.5.0",
27
+ "@eslint/js": "9.15.0",
28
+ "autoprefixer": "10.4.14",
29
+ "commitizen": "4.3.0",
30
+ "cssnano": "6.0.0",
31
+ "inquirer": "8.0.0",
32
+ "postcss": "8.4.35",
33
+ "postcss-import": "16.0.1",
34
+ "postcss-nesting": "12.0.3",
35
+ "prettier": "3.2.5",
36
+ "stylelint": "16.10.0",
37
+ "stylelint-config-standard-scss": "13.0.0",
38
+ "tailwindcss": "3.4.3",
39
+ "typescript": "5.7.2",
40
+ "typescript-eslint": "8.15.0",
41
+ "vite": "6.0.7",
42
+ "vite-plugin-solid": "2.11.0"
43
+ },
44
+ "dependencies": {
45
+ "@solidjs/router": "0.8.2",
46
+ "solid-js": "1.7.5"
47
+ },
48
+ "config": {
49
+ "commitizen": {
50
+ "path": "@commitlint/cz-commitlint"
51
+ }
52
+ }
53
+ }
@@ -1 +1 @@
1
- export { default } from './home.container'
1
+ export { default } from './view'
@@ -1,5 +1,5 @@
1
- import './home.css'
2
-
3
- export default function Home() {
4
- return <div class={'flex justify-center items-center'}>sdfs</div>
5
- }
1
+ import './view.css'
2
+
3
+ export default function Home() {
4
+ return <div class={'flex justify-center items-center'}>sdfs</div>
5
+ }
@@ -1 +1 @@
1
- export { default } from './notFound.container'
1
+ export { default } from './view'
@@ -1,3 +1,3 @@
1
- export default function NotFound() {
2
- return <div>404</div>
3
- }
1
+ export default function NotFound() {
2
+ return <div>404</div>
3
+ }
@@ -1,14 +1,21 @@
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
+ "printWidth": 100,
3
+ "tabWidth": 4,
4
+ "useTabs": false,
5
+ "semi": false,
6
+ "singleQuote": true,
7
+ "trailingComma": "none",
8
+ "bracketSpacing": true,
9
+ "bracketSameLine": false,
10
+ "arrowParens": "avoid",
11
+ "rangeStart": 0,
12
+ "plugins": ["prettier-plugin-svelte"],
13
+ "overrides": [
14
+ {
15
+ "files": "*.svelte",
16
+ "options": {
17
+ "parser": "svelte"
18
+ }
19
+ }
20
+ ]
21
+ }
@@ -1,177 +1,181 @@
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
+
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://svelte.dev/docs/kit/$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://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured).
9
+ *
10
+ * _Unlike_ [`$env/dynamic/private`](https://svelte.dev/docs/kit/$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 ALLUSERSPROFILE: string;
32
+ export const APPDATA: string;
33
+ export const COLORTERM: string;
34
+ export const CommonProgramFiles: string;
35
+ export const CommonProgramW6432: string;
36
+ export const COMPUTERNAME: string;
37
+ export const ComSpec: string;
38
+ export const configsetroot: string;
39
+ export const DEBUG_COLORS: string;
40
+ export const DriverData: string;
41
+ export const FORCE_COLOR: string;
42
+ export const GIT_INSTALL_ROOT: string;
43
+ export const HOMEDRIVE: string;
44
+ export const HOMEPATH: string;
45
+ export const LOCALAPPDATA: string;
46
+ export const LOGONSERVER: string;
47
+ export const MOCHA_COLORS: string;
48
+ export const NODE_ENV: string;
49
+ export const npm_config_color: string;
50
+ export const NUMBER_OF_PROCESSORS: string;
51
+ export const OneDrive: string;
52
+ export const OneDriveConsumer: string;
53
+ export const OS: string;
54
+ export const Path: string;
55
+ export const PATHEXT: string;
56
+ export const POSH_INSTALLER: string;
57
+ export const POSH_THEMES_PATH: string;
58
+ export const PROCESSOR_ARCHITECTURE: string;
59
+ export const PROCESSOR_IDENTIFIER: string;
60
+ export const PROCESSOR_LEVEL: string;
61
+ export const PROCESSOR_REVISION: string;
62
+ export const ProgramData: string;
63
+ export const ProgramFiles: string;
64
+ export const ProgramW6432: string;
65
+ export const PSModulePath: string;
66
+ export const PUBLIC: string;
67
+ export const SESSIONNAME: string;
68
+ export const SystemDrive: string;
69
+ export const SystemRoot: string;
70
+ export const TEMP: string;
71
+ export const TMP: string;
72
+ export const TOOLBOX_VERSION: string;
73
+ export const USERDOMAIN: string;
74
+ export const USERDOMAIN_ROAMINGPROFILE: string;
75
+ export const USERNAME: string;
76
+ export const USERPROFILE: string;
77
+ export const windir: string;
78
+ export const ZES_ENABLE_SYSMAN: string;
79
+ }
80
+
81
+ /**
82
+ * Similar to [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
83
+ *
84
+ * Values are replaced statically at build time.
85
+ *
86
+ * ```ts
87
+ * import { PUBLIC_BASE_URL } from '$env/static/public';
88
+ * ```
89
+ */
90
+ declare module '$env/static/public' {
91
+
92
+ }
93
+
94
+ /**
95
+ * 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://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured).
96
+ *
97
+ * This module cannot be imported into client-side code.
98
+ *
99
+ * Dynamic environment variables cannot be used during prerendering.
100
+ *
101
+ * ```ts
102
+ * import { env } from '$env/dynamic/private';
103
+ * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
104
+ * ```
105
+ *
106
+ * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
107
+ */
108
+ declare module '$env/dynamic/private' {
109
+ export const env: {
110
+ VITE_BASE_URL: string;
111
+ VITE_API_HOST: string;
112
+ ALLUSERSPROFILE: string;
113
+ APPDATA: string;
114
+ COLORTERM: string;
115
+ CommonProgramFiles: string;
116
+ CommonProgramW6432: string;
117
+ COMPUTERNAME: string;
118
+ ComSpec: string;
119
+ configsetroot: string;
120
+ DEBUG_COLORS: string;
121
+ DriverData: string;
122
+ FORCE_COLOR: string;
123
+ GIT_INSTALL_ROOT: string;
124
+ HOMEDRIVE: string;
125
+ HOMEPATH: string;
126
+ LOCALAPPDATA: string;
127
+ LOGONSERVER: string;
128
+ MOCHA_COLORS: string;
129
+ NODE_ENV: string;
130
+ npm_config_color: string;
131
+ NUMBER_OF_PROCESSORS: string;
132
+ OneDrive: string;
133
+ OneDriveConsumer: string;
134
+ OS: string;
135
+ Path: string;
136
+ PATHEXT: string;
137
+ POSH_INSTALLER: string;
138
+ POSH_THEMES_PATH: string;
139
+ PROCESSOR_ARCHITECTURE: string;
140
+ PROCESSOR_IDENTIFIER: string;
141
+ PROCESSOR_LEVEL: string;
142
+ PROCESSOR_REVISION: string;
143
+ ProgramData: string;
144
+ ProgramFiles: string;
145
+ ProgramW6432: string;
146
+ PSModulePath: string;
147
+ PUBLIC: string;
148
+ SESSIONNAME: string;
149
+ SystemDrive: string;
150
+ SystemRoot: string;
151
+ TEMP: string;
152
+ TMP: string;
153
+ TOOLBOX_VERSION: string;
154
+ USERDOMAIN: string;
155
+ USERDOMAIN_ROAMINGPROFILE: string;
156
+ USERNAME: string;
157
+ USERPROFILE: string;
158
+ windir: string;
159
+ ZES_ENABLE_SYSMAN: string;
160
+ [key: `PUBLIC_${string}`]: undefined;
161
+ [key: `${string}`]: string | undefined;
162
+ }
163
+ }
164
+
165
+ /**
166
+ * Similar to [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
167
+ *
168
+ * 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.
169
+ *
170
+ * Dynamic environment variables cannot be used during prerendering.
171
+ *
172
+ * ```ts
173
+ * import { env } from '$env/dynamic/public';
174
+ * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
175
+ * ```
176
+ */
177
+ declare module '$env/dynamic/public' {
178
+ export const env: {
179
+ [key: `PUBLIC_${string}`]: string | undefined;
180
+ }
181
+ }
@@ -1,23 +1,28 @@
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
+ 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
+ reroute: (() => {}),
19
+ transport: {}
20
+ };
21
+
22
+ export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
23
+
24
+ export const hash = false;
25
+
26
+ export const decode = (type, value) => decoders[type](value);
27
+
28
+ export { default as root } from '../root.js';
@@ -1 +1 @@
1
- export const matchers = {}
1
+ export const matchers = {};
@@ -1 +1 @@
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
+ export { default as component } from "../../../../../../../node_modules/.pnpm/@sveltejs+kit@2.15.0_@sveltejs+vite-plugin-svelte@5.0.3_svelte@5.16.0_vite@6.0.7_@types+node@_dun526chfqq2tdeu4ndukklh5a/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/layout.svelte";
@@ -1 +1 @@
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
+ export { default as component } from "../../../../../../../node_modules/.pnpm/@sveltejs+kit@2.15.0_@sveltejs+vite-plugin-svelte@5.0.3_svelte@5.16.0_vite@6.0.7_@types+node@_dun526chfqq2tdeu4ndukklh5a/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";
@@ -1 +1 @@
1
- export { default as component } from '../../../../src/routes/+page.svelte'
1
+ export { default as component } from "../../../../src/routes/+page.svelte";
@@ -0,0 +1,3 @@
1
+ import { asClassComponent } from 'svelte/legacy';
2
+ import Root from './root.svelte';
3
+ export default asClassComponent(Root);