create-packer 1.37.2 → 1.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/template/cli/.prettierignore +6 -0
- package/template/cli/.prettierrc +18 -0
- package/template/cli/bin/createTemp.d.ts +1 -0
- package/template/cli/bin/createTemp.js +54 -0
- package/template/cli/bin/index.d.ts +2 -0
- package/template/cli/bin/index.js +4 -0
- package/template/cli/bin/utils/index.d.ts +10 -0
- package/template/cli/bin/utils/index.js +44 -0
- package/template/cli/package.json +53 -47
- package/template/docusaurus/.prettierignore +2 -0
- package/template/docusaurus/src/components/HomepageFeatures/index.tsx +70 -70
- package/template/docusaurus/src/components/HomepageFeatures/styles.module.css +11 -11
- package/template/docusaurus/src/css/custom.css +30 -30
- package/template/docusaurus/src/pages/index.module.css +23 -23
- package/template/docusaurus/src/pages/index.tsx +40 -40
- package/template/lib/workspace/.prettierignore +6 -0
- package/template/lib/workspace/.prettierrc +18 -0
- package/template/lib/workspace/package.json +73 -72
- package/template/lib/workspace/packages/react/package.json +41 -40
- package/template/lib/workspace/packages/ts/package.json +29 -28
- package/template/nest/package.json +84 -84
- package/template/nest/src/app.controller.spec.ts +22 -22
- package/template/nest/src/app.controller.ts +12 -12
- package/template/nest/src/app.module.ts +10 -10
- package/template/nest/src/app.service.ts +8 -8
- package/template/nest/src/main.ts +10 -10
- package/template/nest/src/utils/transform.interceptor.ts +26 -26
- package/template/nest/test/app.e2e-spec.ts +24 -24
- package/template/web-app/next/app/globals.css +22 -22
- package/template/web-app/next/app/layout.tsx +18 -18
- package/template/web-app/next/app/page.tsx +113 -113
- package/template/web-app/next/package.json +47 -47
- package/template/web-app/react-rsbuild/.prettierignore +6 -0
- package/template/web-app/react-rsbuild/.prettierrc +18 -0
- package/template/web-app/react-rsbuild/.vscode/extensions.json +8 -8
- package/template/web-app/react-rsbuild/.vscode/settings.json +4 -18
- package/template/web-app/react-rsbuild/domain/app/app.model.ts +7 -7
- package/template/web-app/react-rsbuild/domain/app/app.styled.ts +3 -3
- package/template/web-app/react-rsbuild/domain/app/components/app-context.tsx +17 -17
- package/template/web-app/react-rsbuild/domain/app/components/app.tsx +24 -24
- package/template/web-app/react-rsbuild/domain/app/components/index.ts +1 -1
- package/template/web-app/react-rsbuild/domain/app/index.ts +2 -2
- package/template/web-app/react-rsbuild/domain/router/home/ids.ts +3 -3
- package/template/web-app/react-rsbuild/domain/router/home/index.ts +2 -2
- package/template/web-app/react-rsbuild/domain/router/home/routes.tsx +13 -13
- package/template/web-app/react-rsbuild/domain/router/ids.ts +6 -6
- package/template/web-app/react-rsbuild/domain/router/index.ts +3 -3
- package/template/web-app/react-rsbuild/domain/router/router.tsx +28 -28
- package/template/web-app/react-rsbuild/domain/router/router.types.ts +3 -3
- package/template/web-app/react-rsbuild/env.d.ts +28 -28
- package/template/web-app/react-rsbuild/main.tsx +4 -4
- package/template/web-app/react-rsbuild/package.json +10 -11
- package/template/web-app/react-rsbuild/pages/home/home.styled.ts +7 -7
- package/template/web-app/react-rsbuild/pages/home/home.tsx +10 -10
- package/template/web-app/react-rsbuild/pages/home/index.ts +1 -1
- package/template/web-app/react-rsbuild/pages/index.tsx +18 -18
- package/template/web-app/react-rsbuild/pages/not-found.tsx +3 -3
- package/template/web-app/react-rsbuild/rsbuild.config.ts +78 -85
- package/template/web-app/react-rsbuild/scripts/createChunks.ts +26 -26
- package/template/web-app/react-rsbuild/scripts/index.ts +1 -1
- package/template/web-app/react-rsbuild/shared/hooks/defineRouter/defineRouter.types.ts +33 -33
- package/template/web-app/react-rsbuild/shared/hooks/defineRouter/index.ts +2 -2
- package/template/web-app/react-rsbuild/shared/hooks/index.ts +6 -6
- package/template/web-app/react-rsbuild/shared/hooks/useInterval.ts +26 -26
- package/template/web-app/react-rsbuild/shared/hooks/useLoadingAction.ts +27 -27
- package/template/web-app/react-rsbuild/shared/hooks/useLowPriorityState.ts +26 -26
- package/template/web-app/react-rsbuild/shared/hooks/useSyncState.ts +15 -15
- package/template/web-app/react-rsbuild/shared/hooks/useVisible.ts +27 -27
- package/template/web-app/react-rsbuild/shared/service/api.ts +1 -1
- package/template/web-app/react-rsbuild/shared/service/home.ts +8 -8
- package/template/web-app/react-rsbuild/shared/service/index.ts +3 -3
- package/template/web-app/react-rsbuild/shared/service/request.ts +5 -5
- package/template/web-app/react-rsbuild/shared/theme/index.ts +1 -1
- package/template/web-app/react-rsbuild/shared/theme/theme.styled.ts +56 -56
- package/template/web-app/react-rsbuild/shared/tools/componentInstance.tsx +80 -80
- package/template/web-app/react-rsbuild/shared/tools/index.ts +1 -1
- package/template/web-app/react-rsbuild/shared/types/index.ts +1 -1
- package/template/web-app/react-rsbuild/shared/types/utils.ts +2 -2
- package/template/web-app/react-rsbuild/tsconfig.json +32 -44
- package/template/web-app/react-rsbuild/tsconfig.node.json +10 -14
- package/template/web-app/react-vite/.prettierignore +6 -0
- package/template/web-app/react-vite/.prettierrc +18 -0
- package/template/web-app/react-vite/.vscode/extensions.json +1 -1
- package/template/web-app/react-vite/package.json +4 -4
- package/template/web-app/react-webpack/.prettierignore +6 -0
- package/template/web-app/react-webpack/.prettierrc +18 -0
- package/template/web-app/react-webpack/.vscode/extensions.json +8 -8
- package/template/web-app/react-webpack/.vscode/settings.json +4 -18
- package/template/web-app/react-webpack/commitlint.config.js +1 -1
- package/template/web-app/react-webpack/domain/app/app.model.ts +7 -7
- package/template/web-app/react-webpack/domain/app/app.styled.ts +3 -3
- package/template/web-app/react-webpack/domain/app/components/app-context.tsx +17 -17
- package/template/web-app/react-webpack/domain/app/components/app.tsx +24 -24
- package/template/web-app/react-webpack/domain/app/components/index.ts +1 -1
- package/template/web-app/react-webpack/domain/app/index.ts +2 -2
- package/template/web-app/react-webpack/domain/router/home/ids.ts +3 -3
- package/template/web-app/react-webpack/domain/router/home/index.ts +2 -2
- package/template/web-app/react-webpack/domain/router/home/routes.tsx +13 -13
- package/template/web-app/react-webpack/domain/router/ids.ts +6 -6
- package/template/web-app/react-webpack/domain/router/index.ts +3 -3
- package/template/web-app/react-webpack/domain/router/router.tsx +28 -28
- package/template/web-app/react-webpack/domain/router/router.types.ts +3 -3
- package/template/web-app/react-webpack/global.d.ts +26 -26
- package/template/web-app/react-webpack/index.css +3 -3
- package/template/web-app/react-webpack/main.tsx +4 -4
- package/template/web-app/react-webpack/package.json +87 -87
- package/template/web-app/react-webpack/pages/home/home.styled.ts +7 -7
- package/template/web-app/react-webpack/pages/home/home.tsx +10 -10
- package/template/web-app/react-webpack/pages/home/index.ts +1 -1
- package/template/web-app/react-webpack/pages/index.tsx +18 -18
- package/template/web-app/react-webpack/pages/not-found.tsx +3 -3
- package/template/web-app/react-webpack/postcss.config.js +7 -7
- package/template/web-app/react-webpack/shared/hooks/defineRouter/defineRouter.types.ts +33 -33
- package/template/web-app/react-webpack/shared/hooks/defineRouter/index.ts +2 -2
- package/template/web-app/react-webpack/shared/hooks/index.ts +6 -6
- package/template/web-app/react-webpack/shared/hooks/useInterval.ts +26 -26
- package/template/web-app/react-webpack/shared/hooks/useLoadingAction.ts +27 -27
- package/template/web-app/react-webpack/shared/hooks/useLowPriorityState.ts +26 -26
- package/template/web-app/react-webpack/shared/hooks/useSyncState.ts +15 -15
- package/template/web-app/react-webpack/shared/hooks/useVisible.ts +27 -27
- package/template/web-app/react-webpack/shared/service/home.ts +8 -8
- package/template/web-app/react-webpack/shared/service/index.ts +2 -2
- package/template/web-app/react-webpack/shared/service/request.ts +5 -5
- package/template/web-app/react-webpack/shared/theme/index.ts +1 -1
- package/template/web-app/react-webpack/shared/theme/theme.styled.ts +56 -56
- package/template/web-app/react-webpack/shared/tools/componentInstance.tsx +78 -78
- package/template/web-app/react-webpack/shared/tools/index.ts +1 -1
- package/template/web-app/react-webpack/shared/types/index.ts +1 -1
- package/template/web-app/react-webpack/shared/types/utils.ts +2 -2
- package/template/web-app/react-webpack/tsconfig.json +27 -38
- package/template/web-app/react-webpack/tsconfig.node.json +9 -9
- package/template/web-app/solid/package.json +51 -51
- package/template/web-app/solid/src/app.container.tsx +12 -12
- package/template/web-app/solid/src/index.css +15 -15
- package/template/web-app/solid/src/index.tsx +15 -15
- package/template/web-app/solid/src/layout/index.ts +1 -1
- package/template/web-app/solid/src/layout/layout.container.tsx +5 -5
- package/template/web-app/solid/src/pages/home/home.container.tsx +5 -5
- package/template/web-app/solid/src/pages/home/index.ts +1 -1
- package/template/web-app/solid/src/pages/notFound/index.ts +1 -1
- package/template/web-app/solid/src/pages/notFound/notFound.container.tsx +3 -3
- package/template/web-app/solid/src/router/home/index.ts +2 -2
- package/template/web-app/solid/src/router/home/paths.ts +3 -3
- package/template/web-app/solid/src/router/home/routes.tsx +12 -12
- package/template/web-app/solid/src/router/index.ts +2 -2
- package/template/web-app/solid/src/router/paths.ts +5 -5
- package/template/web-app/solid/src/router/routes.ts +16 -16
- package/template/web-app/svelte/.prettierignore +2 -0
- package/template/web-app/svelte/.prettierrc +14 -14
- package/template/web-app/svelte/.svelte-kit/ambient.d.ts +177 -153
- package/template/web-app/svelte/.svelte-kit/generated/client/app.js +23 -19
- package/template/web-app/svelte/.svelte-kit/generated/client/matchers.js +1 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/0.js +1 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/1.js +1 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/2.js +1 -1
- package/template/web-app/svelte/.svelte-kit/generated/root.svelte +62 -56
- package/template/web-app/svelte/.svelte-kit/generated/server/internal.js +61 -30
- package/template/web-app/svelte/.svelte-kit/non-ambient.d.ts +23 -0
- package/template/web-app/svelte/.svelte-kit/tsconfig.json +32 -39
- package/template/web-app/svelte/.svelte-kit/types/route_meta_data.json +3 -3
- package/template/web-app/svelte/.svelte-kit/types/src/routes/$types.d.ts +35 -20
- package/template/web-app/svelte/.vscode/extensions.json +8 -8
- package/template/web-app/svelte/commitlint.config.cjs +1 -1
- package/template/web-app/svelte/package.json +55 -55
- package/template/web-app/svelte/scripts/createChunks.ts +26 -26
- package/template/web-app/svelte/scripts/index.ts +1 -1
- package/template/web-app/svelte/src/app.d.ts +12 -12
- package/template/web-app/svelte/src/routes/+page.svelte +2 -2
- package/template/web-app/svelte/svelte.config.js +17 -17
- package/template/web-app/svelte/tsconfig.json +21 -21
- package/template/web-app/svelte/vite-env.d.ts +11 -11
- package/template/web-app/svelte/vite.config.ts +55 -55
- package/template/web-app/vue/.prettierignore +6 -0
- package/template/web-app/vue/.prettierrc +18 -0
- package/template/web-app/vue/.vscode/extensions.json +1 -1
- package/template/web-app/vue/domain/app/components/app.vue +18 -18
- package/template/web-app/vue/package.json +4 -4
- package/template/web-app/vue/pages/home/home.vue +16 -16
- package/template/web-app/vue/pages/index.vue +3 -3
- package/template/web-app/vue/pages/not-found.vue +3 -3
- package/template/web-extension/.prettierignore +6 -0
- package/template/web-extension/.prettierrc +18 -0
- package/template/web-extension/.vscode/extensions.json +8 -8
- package/template/web-extension/.vscode/settings.json +4 -18
- package/template/web-extension/.wxt/eslintrc-auto-import.json +19 -19
- package/template/web-extension/.wxt/tsconfig.json +24 -27
- package/template/web-extension/.wxt/types/globals.d.ts +10 -10
- package/template/web-extension/.wxt/types/i18n.d.ts +80 -74
- package/template/web-extension/.wxt/types/imports.d.ts +17 -17
- package/template/web-extension/.wxt/types/paths.d.ts +12 -12
- package/template/web-extension/entrypoints/background/index.ts +1 -1
- package/template/web-extension/entrypoints/content/constants/base.ts +1 -1
- package/template/web-extension/entrypoints/content/constants/index.ts +1 -1
- package/template/web-extension/entrypoints/content/domain/app/index.ts +1 -1
- package/template/web-extension/entrypoints/content/domain/app/tools/index.ts +1 -1
- package/template/web-extension/entrypoints/content/domain/app/tools/insertApp.tsx +59 -55
- package/template/web-extension/entrypoints/content/index.tsx +12 -12
- package/template/web-extension/entrypoints/content/modules/common/common.tsx +10 -10
- package/template/web-extension/entrypoints/content/modules/common/index.ts +2 -2
- package/template/web-extension/entrypoints/content/modules/common/insert.tsx +9 -9
- package/template/web-extension/entrypoints/content/modules/index.ts +1 -1
- package/template/web-extension/entrypoints/popup/index.html +0 -1
- package/template/web-extension/entrypoints/popup/main.tsx +14 -14
- package/template/web-extension/entrypoints/popup/popup.container.tsx +3 -3
- package/template/web-extension/package.json +86 -86
- package/template/web-extension/shared/background/index.ts +1 -1
- package/template/web-extension/shared/background/message.ts +11 -11
- package/template/web-extension/shared/components/app-context.tsx +14 -14
- package/template/web-extension/shared/components/index.ts +1 -1
- package/template/web-extension/shared/content/index.ts +1 -1
- package/template/web-extension/shared/content/message.ts +15 -15
- package/template/web-extension/shared/hooks/index.ts +2 -2
- package/template/web-extension/shared/hooks/useSyncState.ts +15 -15
- package/template/web-extension/shared/hooks/useVisible.ts +27 -27
- package/template/web-extension/shared/popup/index.ts +1 -1
- package/template/web-extension/shared/popup/message.ts +12 -12
- package/template/web-extension/shared/service/index.ts +1 -1
- package/template/web-extension/shared/service/request.ts +5 -5
- package/template/web-extension/shared/styles/global.styled.ts +8 -8
- package/template/web-extension/shared/styles/index.ts +2 -2
- package/template/web-extension/shared/styles/theme.styled.ts +56 -56
- package/template/web-extension/shared/tools/index.ts +1 -1
- package/template/web-extension/shared/tools/message.ts +80 -80
- package/template/web-extension/shared/types/index.ts +1 -1
- package/template/web-extension/shared/types/utils.ts +3 -3
- package/template/web-extension/tsconfig.json +32 -32
- package/template/web-extension/tsconfig.node.json +10 -10
- package/template/web-extension/vite-env.d.ts +19 -19
- package/template/web-extension/wxt.config.ts +50 -46
- package/template/cli/biome.json +0 -40
- package/template/lib/workspace/biome.json +0 -40
- package/template/web-app/react-rsbuild/biome.json +0 -40
- package/template/web-app/react-vite/biome.json +0 -40
- package/template/web-app/react-webpack/biome.json +0 -40
- package/template/web-app/vue/biome.json +0 -40
- 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
|
|
@@ -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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* ```
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
]
|
|
8
|
-
|
|
9
|
-
export const server_loads = []
|
|
10
|
-
|
|
11
|
-
export const dictionary = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export const hooks = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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}
|