- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
import { type UserOptionParser } from "./resolve-parser.js";
|
|
export type NormalizedParserOptions = {
|
|
parser?: UserOptionParser;
|
|
project?: string | string[] | null;
|
|
projectService?: unknown;
|
|
EXPERIMENTAL_useProjectService?: unknown;
|
|
ecmaVersion: number | "latest";
|
|
sourceType: "module" | "script";
|
|
ecmaFeatures?: {
|
|
globalReturn?: boolean | undefined;
|
|
impliedStrict?: boolean | undefined;
|
|
jsx?: boolean | undefined;
|
|
experimentalObjectRestSpread?: boolean | undefined;
|
|
[key: string]: any;
|
|
};
|
|
svelteFeatures?: {
|
|
runes?: boolean;
|
|
};
|
|
loc: boolean;
|
|
range: boolean;
|
|
raw: boolean;
|
|
tokens: boolean;
|
|
comment: boolean;
|
|
eslintVisitorKeys: boolean;
|
|
eslintScopeManager: boolean;
|
|
filePath?: string;
|
|
};
|
|
/** Normalize parserOptions */
|
|
export declare function normalizeParserOptions(options: any): NormalizedParserOptions;
|
|
export declare function isTypeScript(parserOptions: NormalizedParserOptions, lang: string | undefined): boolean;
|
|
/**
|
|
* Remove typing-related options from parser options.
|
|
*
|
|
* Allows the typescript-eslint parser to parse a file without
|
|
* trying to collect typing information from TypeScript.
|
|
*
|
|
* See https://typescript-eslint.io/packages/parser#withoutprojectparseroptionsparseroptions
|
|
*/
|
|
export declare function withoutProjectParserOptions(options: NormalizedParserOptions): NormalizedParserOptions;
|