create-packer 1.45.14 → 1.45.16
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 +1 -1
- package/template/docusaurus/package.json +52 -52
- package/template/lib/workspace/package.json +77 -77
- package/template/lib/workspace/packages/ts/package.json +30 -30
- package/template/web-app/react-rsbuild/domain/app/components/app.tsx +1 -0
- package/template/web-app/react-rsbuild/env.d.ts +27 -27
- package/template/web-app/react-rsbuild/package.json +79 -79
- package/template/web-app/react-vite/domain/app/components/app.tsx +1 -0
- package/template/web-app/react-vite/package.json +78 -78
- package/template/web-app/react-vite/shared/types/utils.ts +2 -2
- package/template/web-app/vue/package.json +71 -71
- package/template/web-app/vue-rsbuild/package.json +73 -73
- package/template/web-extension/package.json +86 -86
- package/template/web-app/svelte/.env +0 -2
- package/template/web-app/svelte/.env.development +0 -2
- package/template/web-app/svelte/.gitignore +0 -27
- package/template/web-app/svelte/.husky/commit-msg +0 -4
- package/template/web-app/svelte/.husky/pre-commit +0 -4
- package/template/web-app/svelte/.prettierignore +0 -8
- package/template/web-app/svelte/.prettierrc +0 -21
- package/template/web-app/svelte/.svelte-kit/ambient.d.ts +0 -183
- package/template/web-app/svelte/.svelte-kit/generated/client/app.js +0 -28
- package/template/web-app/svelte/.svelte-kit/generated/client/matchers.js +0 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/0.js +0 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/1.js +0 -1
- package/template/web-app/svelte/.svelte-kit/generated/client/nodes/2.js +0 -1
- package/template/web-app/svelte/.svelte-kit/generated/root.js +0 -3
- package/template/web-app/svelte/.svelte-kit/generated/root.svelte +0 -66
- package/template/web-app/svelte/.svelte-kit/generated/server/internal.js +0 -49
- package/template/web-app/svelte/.svelte-kit/non-ambient.d.ts +0 -25
- package/template/web-app/svelte/.svelte-kit/tsconfig.json +0 -55
- package/template/web-app/svelte/.svelte-kit/types/route_meta_data.json +0 -3
- package/template/web-app/svelte/.svelte-kit/types/src/routes/$types.d.ts +0 -22
- package/template/web-app/svelte/.vscode/extensions.json +0 -8
- package/template/web-app/svelte/README.md +0 -38
- package/template/web-app/svelte/commitlint.config.cjs +0 -1
- package/template/web-app/svelte/eslint.config.js +0 -98
- package/template/web-app/svelte/package.json +0 -56
- package/template/web-app/svelte/scripts/createChunks.ts +0 -27
- package/template/web-app/svelte/scripts/index.ts +0 -1
- package/template/web-app/svelte/src/app.d.ts +0 -13
- package/template/web-app/svelte/src/app.html +0 -12
- package/template/web-app/svelte/src/lib/index.ts +0 -1
- package/template/web-app/svelte/src/routes/+page.svelte +0 -2
- package/template/web-app/svelte/static/favicon.png +0 -0
- package/template/web-app/svelte/svelte.config.js +0 -29
- package/template/web-app/svelte/tsconfig.json +0 -21
- package/template/web-app/svelte/vite-env.d.ts +0 -11
- package/template/web-app/svelte/vite.config.ts +0 -49
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
pnpm-debug.log*
|
|
8
|
-
lerna-debug.log*
|
|
9
|
-
|
|
10
|
-
node_modules
|
|
11
|
-
dist
|
|
12
|
-
dist-ssr
|
|
13
|
-
*.local
|
|
14
|
-
stats.html
|
|
15
|
-
vite.config.ts.*
|
|
16
|
-
|
|
17
|
-
# Editor directories and files
|
|
18
|
-
.vscode/*
|
|
19
|
-
!.vscode/extensions.json
|
|
20
|
-
.history
|
|
21
|
-
.idea
|
|
22
|
-
.DS_Store
|
|
23
|
-
*.suo
|
|
24
|
-
*.ntvs*
|
|
25
|
-
*.njsproj
|
|
26
|
-
*.sln
|
|
27
|
-
*.sw?
|
|
@@ -1,21 +0,0 @@
|
|
|
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,183 +0,0 @@
|
|
|
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 IJ_RESTARTER_LOG: string;
|
|
46
|
-
export const LOCALAPPDATA: string;
|
|
47
|
-
export const LOGONSERVER: string;
|
|
48
|
-
export const MOCHA_COLORS: string;
|
|
49
|
-
export const NODE_ENV: string;
|
|
50
|
-
export const npm_config_color: string;
|
|
51
|
-
export const NUMBER_OF_PROCESSORS: string;
|
|
52
|
-
export const OneDrive: string;
|
|
53
|
-
export const OneDriveConsumer: string;
|
|
54
|
-
export const OS: string;
|
|
55
|
-
export const Path: string;
|
|
56
|
-
export const PATHEXT: string;
|
|
57
|
-
export const POSH_INSTALLER: string;
|
|
58
|
-
export const POSH_THEMES_PATH: string;
|
|
59
|
-
export const PROCESSOR_ARCHITECTURE: string;
|
|
60
|
-
export const PROCESSOR_IDENTIFIER: string;
|
|
61
|
-
export const PROCESSOR_LEVEL: string;
|
|
62
|
-
export const PROCESSOR_REVISION: string;
|
|
63
|
-
export const ProgramData: string;
|
|
64
|
-
export const ProgramFiles: string;
|
|
65
|
-
export const ProgramW6432: string;
|
|
66
|
-
export const PSModulePath: string;
|
|
67
|
-
export const PUBLIC: string;
|
|
68
|
-
export const SESSIONNAME: string;
|
|
69
|
-
export const SystemDrive: string;
|
|
70
|
-
export const SystemRoot: string;
|
|
71
|
-
export const TEMP: string;
|
|
72
|
-
export const TMP: string;
|
|
73
|
-
export const TOOLBOX_VERSION: string;
|
|
74
|
-
export const USERDOMAIN: string;
|
|
75
|
-
export const USERDOMAIN_ROAMINGPROFILE: string;
|
|
76
|
-
export const USERNAME: string;
|
|
77
|
-
export const USERPROFILE: string;
|
|
78
|
-
export const windir: string;
|
|
79
|
-
export const ZES_ENABLE_SYSMAN: string;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* 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.
|
|
84
|
-
*
|
|
85
|
-
* Values are replaced statically at build time.
|
|
86
|
-
*
|
|
87
|
-
* ```ts
|
|
88
|
-
* import { PUBLIC_BASE_URL } from '$env/static/public';
|
|
89
|
-
* ```
|
|
90
|
-
*/
|
|
91
|
-
declare module '$env/static/public' {
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* 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).
|
|
97
|
-
*
|
|
98
|
-
* This module cannot be imported into client-side code.
|
|
99
|
-
*
|
|
100
|
-
* Dynamic environment variables cannot be used during prerendering.
|
|
101
|
-
*
|
|
102
|
-
* ```ts
|
|
103
|
-
* import { env } from '$env/dynamic/private';
|
|
104
|
-
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
108
|
-
*/
|
|
109
|
-
declare module '$env/dynamic/private' {
|
|
110
|
-
export const env: {
|
|
111
|
-
VITE_BASE_URL: string;
|
|
112
|
-
VITE_API_HOST: string;
|
|
113
|
-
ALLUSERSPROFILE: string;
|
|
114
|
-
APPDATA: string;
|
|
115
|
-
COLORTERM: string;
|
|
116
|
-
CommonProgramFiles: string;
|
|
117
|
-
CommonProgramW6432: string;
|
|
118
|
-
COMPUTERNAME: string;
|
|
119
|
-
ComSpec: string;
|
|
120
|
-
configsetroot: string;
|
|
121
|
-
DEBUG_COLORS: string;
|
|
122
|
-
DriverData: string;
|
|
123
|
-
FORCE_COLOR: string;
|
|
124
|
-
GIT_INSTALL_ROOT: string;
|
|
125
|
-
HOMEDRIVE: string;
|
|
126
|
-
HOMEPATH: string;
|
|
127
|
-
IJ_RESTARTER_LOG: string;
|
|
128
|
-
LOCALAPPDATA: string;
|
|
129
|
-
LOGONSERVER: string;
|
|
130
|
-
MOCHA_COLORS: string;
|
|
131
|
-
NODE_ENV: string;
|
|
132
|
-
npm_config_color: string;
|
|
133
|
-
NUMBER_OF_PROCESSORS: string;
|
|
134
|
-
OneDrive: string;
|
|
135
|
-
OneDriveConsumer: string;
|
|
136
|
-
OS: string;
|
|
137
|
-
Path: string;
|
|
138
|
-
PATHEXT: string;
|
|
139
|
-
POSH_INSTALLER: string;
|
|
140
|
-
POSH_THEMES_PATH: string;
|
|
141
|
-
PROCESSOR_ARCHITECTURE: string;
|
|
142
|
-
PROCESSOR_IDENTIFIER: string;
|
|
143
|
-
PROCESSOR_LEVEL: string;
|
|
144
|
-
PROCESSOR_REVISION: string;
|
|
145
|
-
ProgramData: string;
|
|
146
|
-
ProgramFiles: string;
|
|
147
|
-
ProgramW6432: string;
|
|
148
|
-
PSModulePath: string;
|
|
149
|
-
PUBLIC: string;
|
|
150
|
-
SESSIONNAME: string;
|
|
151
|
-
SystemDrive: string;
|
|
152
|
-
SystemRoot: string;
|
|
153
|
-
TEMP: string;
|
|
154
|
-
TMP: string;
|
|
155
|
-
TOOLBOX_VERSION: string;
|
|
156
|
-
USERDOMAIN: string;
|
|
157
|
-
USERDOMAIN_ROAMINGPROFILE: string;
|
|
158
|
-
USERNAME: string;
|
|
159
|
-
USERPROFILE: string;
|
|
160
|
-
windir: string;
|
|
161
|
-
ZES_ENABLE_SYSMAN: string;
|
|
162
|
-
[key: `PUBLIC_${string}`]: undefined;
|
|
163
|
-
[key: `${string}`]: string | undefined;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* 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.
|
|
169
|
-
*
|
|
170
|
-
* 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.
|
|
171
|
-
*
|
|
172
|
-
* Dynamic environment variables cannot be used during prerendering.
|
|
173
|
-
*
|
|
174
|
-
* ```ts
|
|
175
|
-
* import { env } from '$env/dynamic/public';
|
|
176
|
-
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
declare module '$env/dynamic/public' {
|
|
180
|
-
export const env: {
|
|
181
|
-
[key: `PUBLIC_${string}`]: string | undefined;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export const matchers = {};
|
|
@@ -1 +0,0 @@
|
|
|
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@_zmihq5b4alq2k4bje4ebzeo2aq/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/layout.svelte";
|
|
@@ -1 +0,0 @@
|
|
|
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@_zmihq5b4alq2k4bje4ebzeo2aq/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as component } from "../../../../src/routes/+page.svelte";
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
|
|
2
|
-
<svelte:options runes={true} />
|
|
3
|
-
<script>
|
|
4
|
-
import { setContext, onMount, tick } from 'svelte';
|
|
5
|
-
import { browser } from '$app/environment';
|
|
6
|
-
|
|
7
|
-
// stores
|
|
8
|
-
let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $props();
|
|
9
|
-
|
|
10
|
-
if (!browser) {
|
|
11
|
-
setContext('__svelte__', stores);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
if (browser) {
|
|
15
|
-
$effect.pre(() => stores.page.set(page));
|
|
16
|
-
} else {
|
|
17
|
-
stores.page.set(page);
|
|
18
|
-
}
|
|
19
|
-
$effect(() => {
|
|
20
|
-
stores;page;constructors;components;form;data_0;data_1;
|
|
21
|
-
stores.page.notify();
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
let mounted = $state(false);
|
|
25
|
-
let navigated = $state(false);
|
|
26
|
-
let title = $state(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
|
-
|
|
42
|
-
const Pyramid_1=$derived(constructors[1])
|
|
43
|
-
</script>
|
|
44
|
-
|
|
45
|
-
{#if constructors[1]}
|
|
46
|
-
{@const Pyramid_0 = constructors[0]}
|
|
47
|
-
<!-- svelte-ignore binding_property_non_reactive -->
|
|
48
|
-
<Pyramid_0 bind:this={components[0]} data={data_0} {form}>
|
|
49
|
-
<!-- svelte-ignore binding_property_non_reactive -->
|
|
50
|
-
<Pyramid_1 bind:this={components[1]} data={data_1} {form} />
|
|
51
|
-
</Pyramid_0>
|
|
52
|
-
|
|
53
|
-
{:else}
|
|
54
|
-
{@const Pyramid_0 = constructors[0]}
|
|
55
|
-
<!-- svelte-ignore binding_property_non_reactive -->
|
|
56
|
-
<Pyramid_0 bind:this={components[0]} data={data_0} {form} />
|
|
57
|
-
|
|
58
|
-
{/if}
|
|
59
|
-
|
|
60
|
-
{#if mounted}
|
|
61
|
-
<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">
|
|
62
|
-
{#if navigated}
|
|
63
|
-
{title}
|
|
64
|
-
{/if}
|
|
65
|
-
</div>
|
|
66
|
-
{/if}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import root from '../root.js';
|
|
3
|
-
import { set_building, set_prerendering } from '__sveltekit/environment';
|
|
4
|
-
import { set_assets } from '__sveltekit/paths';
|
|
5
|
-
import { set_manifest, set_read_implementation } from '__sveltekit/server';
|
|
6
|
-
import { set_private_env, set_public_env, set_safe_public_env } 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@_zmihq5b4alq2k4bje4ebzeo2aq/node_modules/@sveltejs/kit/src/runtime/shared-server.js';
|
|
7
|
-
|
|
8
|
-
export const options = {
|
|
9
|
-
app_dir: "_app",
|
|
10
|
-
app_template_contains_nonce: false,
|
|
11
|
-
csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
|
|
12
|
-
csrf_check_origin: true,
|
|
13
|
-
embedded: false,
|
|
14
|
-
env_public_prefix: 'PUBLIC_',
|
|
15
|
-
env_private_prefix: '',
|
|
16
|
-
hash_routing: false,
|
|
17
|
-
hooks: null, // added lazily, via `get_hooks`
|
|
18
|
-
preload_strategy: "modulepreload",
|
|
19
|
-
root,
|
|
20
|
-
service_worker: false,
|
|
21
|
-
templates: {
|
|
22
|
-
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\r\n<html lang=\"en\">\r\n\t<head>\r\n\t\t<meta charset=\"utf-8\" />\r\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\r\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\r\n\t\t" + head + "\r\n\t</head>\r\n\t<body data-sveltekit-preload-data=\"hover\">\r\n\t\t<div style=\"display: contents\">" + body + "</div>\r\n\t</body>\r\n</html>\r\n",
|
|
23
|
-
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
24
|
-
},
|
|
25
|
-
version_hash: "pb64l4"
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export async function get_hooks() {
|
|
29
|
-
let handle;
|
|
30
|
-
let handleFetch;
|
|
31
|
-
let handleError;
|
|
32
|
-
let init;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
let reroute;
|
|
36
|
-
let transport;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return {
|
|
40
|
-
handle,
|
|
41
|
-
handleFetch,
|
|
42
|
-
handleError,
|
|
43
|
-
init,
|
|
44
|
-
reroute,
|
|
45
|
-
transport
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { set_assets, set_building, set_manifest, set_prerendering, set_private_env, set_public_env, set_read_implementation, set_safe_public_env };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// this file is generated — do not edit it
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module "svelte/elements" {
|
|
6
|
-
export interface HTMLAttributes<T> {
|
|
7
|
-
'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
|
|
8
|
-
'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
|
|
9
|
-
'data-sveltekit-preload-code'?:
|
|
10
|
-
| true
|
|
11
|
-
| ''
|
|
12
|
-
| 'eager'
|
|
13
|
-
| 'viewport'
|
|
14
|
-
| 'hover'
|
|
15
|
-
| 'tap'
|
|
16
|
-
| 'off'
|
|
17
|
-
| undefined
|
|
18
|
-
| null;
|
|
19
|
-
'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
|
|
20
|
-
'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
|
|
21
|
-
'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export {};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"paths": {
|
|
4
|
-
"@": [
|
|
5
|
-
"../src"
|
|
6
|
-
],
|
|
7
|
-
"@/*": [
|
|
8
|
-
"../src/*"
|
|
9
|
-
],
|
|
10
|
-
"$lib": [
|
|
11
|
-
"../src/lib"
|
|
12
|
-
],
|
|
13
|
-
"$lib/*": [
|
|
14
|
-
"../src/lib/*"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"rootDirs": [
|
|
18
|
-
"..",
|
|
19
|
-
"./types"
|
|
20
|
-
],
|
|
21
|
-
"verbatimModuleSyntax": true,
|
|
22
|
-
"isolatedModules": true,
|
|
23
|
-
"lib": [
|
|
24
|
-
"esnext",
|
|
25
|
-
"DOM",
|
|
26
|
-
"DOM.Iterable"
|
|
27
|
-
],
|
|
28
|
-
"moduleResolution": "bundler",
|
|
29
|
-
"module": "esnext",
|
|
30
|
-
"noEmit": true,
|
|
31
|
-
"target": "esnext"
|
|
32
|
-
},
|
|
33
|
-
"include": [
|
|
34
|
-
"ambient.d.ts",
|
|
35
|
-
"non-ambient.d.ts",
|
|
36
|
-
"./types/**/$types.d.ts",
|
|
37
|
-
"../vite.config.js",
|
|
38
|
-
"../vite.config.ts",
|
|
39
|
-
"../src/**/*.js",
|
|
40
|
-
"../src/**/*.ts",
|
|
41
|
-
"../src/**/*.svelte",
|
|
42
|
-
"../tests/**/*.js",
|
|
43
|
-
"../tests/**/*.ts",
|
|
44
|
-
"../tests/**/*.svelte"
|
|
45
|
-
],
|
|
46
|
-
"exclude": [
|
|
47
|
-
"../node_modules/**",
|
|
48
|
-
"../src/service-worker.js",
|
|
49
|
-
"../src/service-worker/**/*.js",
|
|
50
|
-
"../src/service-worker.ts",
|
|
51
|
-
"../src/service-worker/**/*.ts",
|
|
52
|
-
"../src/service-worker.d.ts",
|
|
53
|
-
"../src/service-worker/**/*.d.ts"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type * as Kit from '@sveltejs/kit';
|
|
2
|
-
|
|
3
|
-
type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string;
|
|
6
|
-
type RouteParams = { };
|
|
7
|
-
type RouteId = '/';
|
|
8
|
-
type MaybeWithVoid<T> = {} extends T ? T | void : T;
|
|
9
|
-
export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T];
|
|
10
|
-
type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>>
|
|
11
|
-
type EnsureDefined<T> = T extends null | undefined ? {} : T;
|
|
12
|
-
type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
|
|
13
|
-
export type Snapshot<T = any> = Kit.Snapshot<T>;
|
|
14
|
-
type PageParentData = EnsureDefined<LayoutData>;
|
|
15
|
-
type LayoutRouteId = RouteId | "/" | null
|
|
16
|
-
type LayoutParams = RouteParams & { }
|
|
17
|
-
type LayoutParentData = EnsureDefined<{}>;
|
|
18
|
-
|
|
19
|
-
export type PageServerData = null;
|
|
20
|
-
export type PageData = Expand<PageParentData>;
|
|
21
|
-
export type LayoutServerData = null;
|
|
22
|
-
export type LayoutData = Expand<LayoutParentData>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# create-svelte
|
|
2
|
-
|
|
3
|
-
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
|
4
|
-
|
|
5
|
-
## Creating a project
|
|
6
|
-
|
|
7
|
-
If you're seeing this, you've probably already done this step. Congrats!
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
# create a new project in the current directory
|
|
11
|
-
npm create svelte@latest
|
|
12
|
-
|
|
13
|
-
# create a new project in my-app
|
|
14
|
-
npm create svelte@latest my-app
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Developing
|
|
18
|
-
|
|
19
|
-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm run dev
|
|
23
|
-
|
|
24
|
-
# or start the server and open the app in a new browser tab
|
|
25
|
-
npm run dev -- --open
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Building
|
|
29
|
-
|
|
30
|
-
To create a production version of your app:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm run build
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
You can preview the production build with `npm run preview`.
|
|
37
|
-
|
|
38
|
-
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = { extends: ['@commitlint/config-conventional'] }
|