Skip to content

Commit

Permalink
fix: update TypeDoc configuration and imports to use path aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mherod committed Jan 3, 2025
1 parent 67457e0 commit 060ebe1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/core/browsers/CookieStoreQueryStrategy.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { Cookie, CookieJar, Store } from "tough-cookie";
import { z } from "zod";

import { cookieJarPromise } from "../../core/cookies/CookieStore";
import {
BrowserName,
CookieQueryStrategy,
CookieSpec,
CookieSpecSchema,
ExportedCookie,
ExportedCookieSchema,
} from "../../types/schemas";
import { SafeParseResult, isParseSuccess } from "../../types/ZodUtils";
import logger from "../../utils/logger";
import { stringToRegex } from "../../utils/stringToRegex";
} from "@/types/schemas";
import { SafeParseResult, isParseSuccess } from "@/types/ZodUtils";
import { cookieJarPromise } from "@core/cookies/CookieStore";
import logger from "@utils/logger";
import { stringToRegex } from "@utils/stringToRegex";

Check failure on line 15 in src/core/browsers/CookieStoreQueryStrategy.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Already included file name '/Users/runner/work/get-cookie/get-cookie/src/utils/stringToRegex.ts' differs from file name '/Users/runner/work/get-cookie/get-cookie/src/utils/StringToRegex.ts' only in casing.

Check failure on line 15 in src/core/browsers/CookieStoreQueryStrategy.ts

View workflow job for this annotation

GitHub Actions / build (22.x)

Already included file name '/Users/runner/work/get-cookie/get-cookie/src/utils/stringToRegex.ts' differs from file name '/Users/runner/work/get-cookie/get-cookie/src/utils/StringToRegex.ts' only in casing.

const consola = logger.withTag("CookieStoreQueryStrategy");

Expand Down
11 changes: 10 additions & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@
"includeVersion": true,
"categorizeByGroup": true,
"categoryOrder": ["Core", "Browsers", "CLI", "*"],
"tsconfig": "tsconfig.json"
"tsconfig": "tsconfig.json",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@core/*": ["src/core/*"],
"@utils/*": ["src/utils/*"],
"@browsers/*": ["src/browsers/*"],
"@cli/*": ["src/cli/*"],
"@types/*": ["src/types/*"]
}
}

0 comments on commit 060ebe1

Please sign in to comment.