From afa87af01c79a9baa539f2992d32154d2a4739bd Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 14:46:37 -0800 Subject: task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq --- vanilla/node_modules/pathe/dist/utils.d.ts | 32 ------------------------------ 1 file changed, 32 deletions(-) delete mode 100644 vanilla/node_modules/pathe/dist/utils.d.ts (limited to 'vanilla/node_modules/pathe/dist/utils.d.ts') diff --git a/vanilla/node_modules/pathe/dist/utils.d.ts b/vanilla/node_modules/pathe/dist/utils.d.ts deleted file mode 100644 index af369d0..0000000 --- a/vanilla/node_modules/pathe/dist/utils.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Normalises alias mappings, ensuring that more specific aliases are resolved before less specific ones. - * This function also ensures that aliases do not resolve to themselves cyclically. - * - * @param _aliases - A set of alias mappings where each key is an alias and its value is the actual path it points to. - * @returns a set of normalised alias mappings. - */ -declare function normalizeAliases(_aliases: Record): Record; -/** - * Resolves a path string to its alias if applicable, otherwise returns the original path. - * This function normalises the path, resolves the alias and then joins it to the alias target if necessary. - * - * @param path - The path string to resolve. - * @param aliases - A set of alias mappings to use for resolution. - * @returns the resolved path as a string. - */ -declare function resolveAlias(path: string, aliases: Record): string; -/** - * Resolves a path string to its possible alias. - * - * Returns an array of possible alias resolutions (could be empty), sorted by specificity (longest first). - */ -declare function reverseResolveAlias(path: string, aliases: Record): string[]; -/** - * Extracts the filename from a given path, excluding any directory paths and the file extension. - * - * @param path - The full path of the file from which to extract the filename. - * @returns the filename without the extension, or `undefined` if the filename cannot be extracted. - */ -declare function filename(path: string): string | undefined; - -export { filename, normalizeAliases, resolveAlias, reverseResolveAlias }; -- cgit v1.2.3