diff --git a/.gitignore b/.gitignore index 4cbb0fa..7b2efbb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Ignore the specific folder static/CS229 -svelte-kit/ +.svelte-kit/ # Ignore compiled files *.exe diff --git a/.svelte-kit/ambient.d.ts b/.svelte-kit/ambient.d.ts deleted file mode 100644 index 7adf1cc..0000000 --- a/.svelte-kit/ambient.d.ts +++ /dev/null @@ -1,189 +0,0 @@ - -// this file is generated — do not edit it - - -/// - -/** - * 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). - * - * _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. - * - * ```ts - * import { API_KEY } from '$env/static/private'; - * ``` - * - * 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: - * - * ``` - * MY_FEATURE_FLAG="" - * ``` - * - * You can override `.env` values from the command line like so: - * - * ```bash - * MY_FEATURE_FLAG="enabled" npm run dev - * ``` - */ -declare module '$env/static/private' { - export const MANPATH: string; - export const TERM_PROGRAM: string; - export const NODE: string; - export const INIT_CWD: string; - export const NVM_CD_FLAGS: string; - export const SHELL: string; - export const TERM: string; - export const HOMEBREW_REPOSITORY: string; - export const TMPDIR: string; - export const npm_config_global_prefix: string; - export const TERM_PROGRAM_VERSION: string; - export const COLOR: string; - export const TERM_SESSION_ID: string; - export const npm_config_noproxy: string; - export const npm_config_local_prefix: string; - export const ZSH: string; - export const NVM_DIR: string; - export const USER: string; - export const npm_config_globalconfig: string; - export const SSH_AUTH_SOCK: string; - export const __CF_USER_TEXT_ENCODING: string; - export const npm_execpath: string; - export const PAGER: string; - export const LSCOLORS: string; - export const PATH: string; - export const npm_package_json: string; - export const _: string; - export const npm_config_userconfig: string; - export const npm_config_init_module: string; - export const __CFBundleIdentifier: string; - export const npm_command: string; - export const PWD: string; - export const npm_lifecycle_event: string; - export const EDITOR: string; - export const npm_package_name: string; - export const npm_config_npm_version: string; - export const XPC_FLAGS: string; - export const npm_config_node_gyp: string; - export const npm_package_version: string; - export const XPC_SERVICE_NAME: string; - export const SHLVL: string; - export const HOME: string; - export const HOMEBREW_PREFIX: string; - export const npm_config_cache: string; - export const LESS: string; - export const LOGNAME: string; - export const npm_lifecycle_script: string; - export const LC_CTYPE: string; - export const npm_config_user_agent: string; - export const INFOPATH: string; - export const HOMEBREW_CELLAR: string; - export const npm_node_execpath: string; - export const npm_config_prefix: string; - export const NODE_ENV: string; -} - -/** - * 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. - * - * Values are replaced statically at build time. - * - * ```ts - * import { PUBLIC_BASE_URL } from '$env/static/public'; - * ``` - */ -declare module '$env/static/public' { - -} - -/** - * 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). - * - * This module cannot be imported into client-side code. - * - * Dynamic environment variables cannot be used during prerendering. - * - * ```ts - * import { env } from '$env/dynamic/private'; - * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE); - * ``` - * - * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. - */ -declare module '$env/dynamic/private' { - export const env: { - MANPATH: string; - TERM_PROGRAM: string; - NODE: string; - INIT_CWD: string; - NVM_CD_FLAGS: string; - SHELL: string; - TERM: string; - HOMEBREW_REPOSITORY: string; - TMPDIR: string; - npm_config_global_prefix: string; - TERM_PROGRAM_VERSION: string; - COLOR: string; - TERM_SESSION_ID: string; - npm_config_noproxy: string; - npm_config_local_prefix: string; - ZSH: string; - NVM_DIR: string; - USER: string; - npm_config_globalconfig: string; - SSH_AUTH_SOCK: string; - __CF_USER_TEXT_ENCODING: string; - npm_execpath: string; - PAGER: string; - LSCOLORS: string; - PATH: string; - npm_package_json: string; - _: string; - npm_config_userconfig: string; - npm_config_init_module: string; - __CFBundleIdentifier: string; - npm_command: string; - PWD: string; - npm_lifecycle_event: string; - EDITOR: string; - npm_package_name: string; - npm_config_npm_version: string; - XPC_FLAGS: string; - npm_config_node_gyp: string; - npm_package_version: string; - XPC_SERVICE_NAME: string; - SHLVL: string; - HOME: string; - HOMEBREW_PREFIX: string; - npm_config_cache: string; - LESS: string; - LOGNAME: string; - npm_lifecycle_script: string; - LC_CTYPE: string; - npm_config_user_agent: string; - INFOPATH: string; - HOMEBREW_CELLAR: string; - npm_node_execpath: string; - npm_config_prefix: string; - NODE_ENV: string; - [key: `PUBLIC_${string}`]: undefined; - [key: `${string}`]: string | undefined; - } -} - -/** - * 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. - * - * 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. - * - * Dynamic environment variables cannot be used during prerendering. - * - * ```ts - * import { env } from '$env/dynamic/public'; - * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE); - * ``` - */ -declare module '$env/dynamic/public' { - export const env: { - [key: `PUBLIC_${string}`]: string | undefined; - } -} diff --git a/.svelte-kit/generated/client/app.js b/.svelte-kit/generated/client/app.js deleted file mode 100644 index 4c3d2ee..0000000 --- a/.svelte-kit/generated/client/app.js +++ /dev/null @@ -1,23 +0,0 @@ -export { matchers } from './matchers.js'; - -export const nodes = [ - () => import('./nodes/0'), - () => import('./nodes/1'), - () => import('./nodes/2'), - () => import('./nodes/3') -]; - -export const server_loads = []; - -export const dictionary = { - "/": [2], - "/color_shihpo": [3] - }; - -export const hooks = { - handleError: (({ error }) => { console.error(error) }), - - reroute: (() => {}) -}; - -export { default as root } from '../root.svelte'; \ No newline at end of file diff --git a/.svelte-kit/generated/client/matchers.js b/.svelte-kit/generated/client/matchers.js deleted file mode 100644 index f6bd30a..0000000 --- a/.svelte-kit/generated/client/matchers.js +++ /dev/null @@ -1 +0,0 @@ -export const matchers = {}; \ No newline at end of file diff --git a/.svelte-kit/generated/client/nodes/0.js b/.svelte-kit/generated/client/nodes/0.js deleted file mode 100644 index 3a11335..0000000 --- a/.svelte-kit/generated/client/nodes/0.js +++ /dev/null @@ -1 +0,0 @@ -export { default as component } from "../../../../node_modules/@sveltejs/kit/src/runtime/components/layout.svelte"; \ No newline at end of file diff --git a/.svelte-kit/generated/client/nodes/1.js b/.svelte-kit/generated/client/nodes/1.js deleted file mode 100644 index 35bc24b..0000000 --- a/.svelte-kit/generated/client/nodes/1.js +++ /dev/null @@ -1 +0,0 @@ -export { default as component } from "../../../../node_modules/@sveltejs/kit/src/runtime/components/error.svelte"; \ No newline at end of file diff --git a/.svelte-kit/generated/client/nodes/2.js b/.svelte-kit/generated/client/nodes/2.js deleted file mode 100644 index 5b96126..0000000 --- a/.svelte-kit/generated/client/nodes/2.js +++ /dev/null @@ -1,3 +0,0 @@ -import * as universal from "../../../../src/routes/+page.js"; -export { universal }; -export { default as component } from "../../../../src/routes/+page.svelte"; \ No newline at end of file diff --git a/.svelte-kit/generated/client/nodes/3.js b/.svelte-kit/generated/client/nodes/3.js deleted file mode 100644 index 63a567f..0000000 --- a/.svelte-kit/generated/client/nodes/3.js +++ /dev/null @@ -1,3 +0,0 @@ -import * as universal from "../../../../src/routes/color_shihpo/+page.js"; -export { universal }; -export { default as component } from "../../../../src/routes/color_shihpo/+page.svelte"; \ No newline at end of file diff --git a/.svelte-kit/generated/root.svelte b/.svelte-kit/generated/root.svelte deleted file mode 100644 index 1172dda..0000000 --- a/.svelte-kit/generated/root.svelte +++ /dev/null @@ -1,57 +0,0 @@ - - - - -{#if constructors[1]} - - - -{:else} - -{/if} - -{#if mounted} -
- {#if navigated} - {title} - {/if} -
-{/if} \ No newline at end of file diff --git a/.svelte-kit/generated/server/internal.js b/.svelte-kit/generated/server/internal.js deleted file mode 100644 index ebd2c36..0000000 --- a/.svelte-kit/generated/server/internal.js +++ /dev/null @@ -1,34 +0,0 @@ - -import root from '../root.svelte'; -import { set_building, set_prerendering } from '__sveltekit/environment'; -import { set_assets } from '__sveltekit/paths'; -import { set_manifest, set_read_implementation } from '__sveltekit/server'; -import { set_private_env, set_public_env, set_safe_public_env } from '../../../node_modules/@sveltejs/kit/src/runtime/shared-server.js'; - -export const options = { - app_dir: "_app", - app_template_contains_nonce: false, - csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}}, - csrf_check_origin: true, - embedded: false, - env_public_prefix: 'PUBLIC_', - env_private_prefix: '', - hooks: null, // added lazily, via `get_hooks` - preload_strategy: "modulepreload", - root, - service_worker: false, - templates: { - app: ({ head, body, assets, nonce, env }) => "\n\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t" + head + "\n\t\n\t\n\t\t
" + body + "
\n\t\n\n", - error: ({ status, message }) => "\n\n\t\n\t\t\n\t\t" + message + "\n\n\t\t\n\t\n\t\n\t\t
\n\t\t\t" + status + "\n\t\t\t
\n\t\t\t\t

" + message + "

\n\t\t\t
\n\t\t
\n\t\n\n" - }, - version_hash: "xdlsdw" -}; - -export async function get_hooks() { - return { - - - }; -} - -export { set_assets, set_building, set_manifest, set_prerendering, set_private_env, set_public_env, set_read_implementation, set_safe_public_env }; diff --git a/.svelte-kit/non-ambient.d.ts b/.svelte-kit/non-ambient.d.ts deleted file mode 100644 index 46bd7fb..0000000 --- a/.svelte-kit/non-ambient.d.ts +++ /dev/null @@ -1,25 +0,0 @@ - -// this file is generated — do not edit it - - -declare module "svelte/elements" { - export interface HTMLAttributes { - 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null; - 'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null; - 'data-sveltekit-preload-code'?: - | true - | '' - | 'eager' - | 'viewport' - | 'hover' - | 'tap' - | 'off' - | undefined - | null; - 'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null; - 'data-sveltekit-reload'?: true | '' | 'off' | undefined | null; - 'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null; - } -} - -export {}; diff --git a/.svelte-kit/tsconfig.json b/.svelte-kit/tsconfig.json deleted file mode 100644 index 961a9fd..0000000 --- a/.svelte-kit/tsconfig.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "compilerOptions": { - "paths": { - "$lib": [ - "../src/lib" - ], - "$lib/*": [ - "../src/lib/*" - ] - }, - "rootDirs": [ - "..", - "./types" - ], - "verbatimModuleSyntax": true, - "isolatedModules": true, - "lib": [ - "esnext", - "DOM", - "DOM.Iterable" - ], - "moduleResolution": "bundler", - "module": "esnext", - "noEmit": true, - "target": "esnext" - }, - "include": [ - "ambient.d.ts", - "non-ambient.d.ts", - "./types/**/$types.d.ts", - "../vite.config.js", - "../vite.config.ts", - "../src/**/*.js", - "../src/**/*.ts", - "../src/**/*.svelte", - "../tests/**/*.js", - "../tests/**/*.ts", - "../tests/**/*.svelte" - ], - "exclude": [ - "../node_modules/**" - ] -} \ No newline at end of file