Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#203)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* chore: regenerate docs after dty-buddy update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dominikg <dominik.goepel@gmx.de>
  • Loading branch information
renovate[bot] and dominikg authored Jan 21, 2025
1 parent dcc0904 commit ec9cd06
Show file tree
Hide file tree
Showing 5 changed files with 603 additions and 638 deletions.
14 changes: 7 additions & 7 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @param options - options
* @returns absolute path to closest tsconfig.json or null if not found
*/
export function find(filename: string, options?: TSConfckFindOptions | undefined): Promise<string | null>;
export function find(filename: string, options?: TSConfckFindOptions): Promise<string | null>;
```

#### TSConfckFindOptions
Expand Down Expand Up @@ -61,7 +61,7 @@ export interface TSConfckFindOptions {
* @param filename - path to a tsconfig .json or a source file or directory (absolute or relative to cwd)
* @param options - options
* */
export function parse(filename: string, options?: TSConfckParseOptions | undefined): Promise<TSConfckParseResult>;
export function parse(filename: string, options?: TSConfckParseOptions): Promise<TSConfckParseResult>;
```

#### TSConfckParseOptions
Expand Down Expand Up @@ -144,7 +144,7 @@ export class TSConfckParseError extends Error {
* @param options - options
* @returns absolute path to closest tsconfig.json
*/
export function findNative(filename: string, options?: TSConfckFindOptions | undefined): Promise<string>;
export function findNative(filename: string, options?: TSConfckFindOptions): Promise<string>;
```

### parseNative
Expand All @@ -158,7 +158,7 @@ export function findNative(filename: string, options?: TSConfckFindOptions | und
* @param filename - path to a tsconfig .json or a source file (absolute or relative to cwd)
* @param options - options
* */
export function parseNative(filename: string, options?: TSConfckParseNativeOptions | undefined): Promise<TSConfckParseNativeResult>;
export function parseNative(filename: string, options?: TSConfckParseNativeOptions): Promise<TSConfckParseNativeResult>;
```

#### TSConfckParseNativeOptions
Expand Down Expand Up @@ -248,7 +248,7 @@ export class TSConfckParseNativeError extends Error {
* @param options - options
* @returns list of absolute paths to all found tsconfig.json files
*/
export function findAll(dir: string, options?: TSConfckFindAllOptions | undefined): Promise<string[]>;
export function findAll(dir: string, options?: TSConfckFindAllOptions): Promise<string[]>;
```

#### TSConfckFindAllOptions
Expand Down Expand Up @@ -293,12 +293,12 @@ export class TSConfckCache<T> {
/**
* has cached closest config for files in dir
* */
hasConfigPath(dir: string, configName?: string | undefined): boolean;
hasConfigPath(dir: string, configName?: string): boolean;
/**
* get cached closest tsconfig for files in dir
* @throws {unknown} if cached value is an error
*/
getConfigPath(dir: string, configName?: string | undefined): Promise<string | null> | string | null;
getConfigPath(dir: string, configName?: string): Promise<string | null> | string | null;
/**
* has parsed tsconfig for file
* */
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,33 @@
"bench": "node --expose-gc -max-old-space-size=4096 scripts/bench.js"
},
"devDependencies": {
"@changesets/cli": "^2.27.9",
"@eslint/js": "^9.12.0",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"dts-buddy": "^0.5.3",
"esbuild": "^0.24.0",
"eslint": "^9.12.0",
"@changesets/cli": "^2.27.11",
"@eslint/js": "^9.18.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"dts-buddy": "^0.5.4",
"esbuild": "^0.24.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-n": "^17.11.1",
"eslint-plugin-prettier": "^5.2.1",
"get-tsconfig": "^4.8.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"npm-run-all2": "^6.2.3",
"prettier": "^3.3.3",
"publint": "^0.2.11",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.3",
"get-tsconfig": "^4.10.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.1",
"npm-run-all2": "^6.2.6",
"prettier": "^3.4.2",
"publint": "^0.3.2",
"tiny-glob": "^0.2.9",
"tinybench": "^2.9.0",
"tsconfck": "workspace:^",
"tsconfck-2": "npm:tsconfck@^2.1.2",
"vitest": "^2.1.2"
"vitest": "^2.1.8"
},
"lint-staged": {
"*.{js,md}": "eslint --cache --fix",
"*": "prettier --cache --ignore-path .prettierignore --ignore-unknown --write"
},
"packageManager": "pnpm@9.12.1",
"packageManager": "pnpm@9.15.4",
"engines": {
"node": "^18 || >=20"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/tsconfck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
"devDependencies": {
"@tsconfig/node18": "^18.2.4",
"@tsconfig/strictest": "^2.0.5",
"@vitest/coverage-v8": "^2.1.2",
"esbuild": "^0.24.0",
"@vitest/coverage-v8": "^2.1.8",
"esbuild": "^0.24.2",
"isaacscript-tsconfig": "^6.0.0",
"tiny-glob": "^0.2.9",
"typescript": "^5.6.3",
"vitest": "^2.1.2"
"typescript": "^5.7.3",
"vitest": "^2.1.8"
},
"engines": {
"node": "^18 || >=20"
Expand Down
14 changes: 7 additions & 7 deletions packages/tsconfck/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ declare module 'tsconfck' {
/**
* has cached closest config for files in dir
* */
hasConfigPath(dir: string, configName?: string | undefined): boolean;
hasConfigPath(dir: string, configName?: string): boolean;
/**
* get cached closest tsconfig for files in dir
* @throws {unknown} if cached value is an error
*/
getConfigPath(dir: string, configName?: string | undefined): Promise<string | null> | string | null;
getConfigPath(dir: string, configName?: string): Promise<string | null> | string | null;
/**
* has parsed tsconfig for file
* */
Expand All @@ -157,15 +157,15 @@ declare module 'tsconfck' {
* @param options - options
* @returns absolute path to closest tsconfig.json or null if not found
*/
export function find(filename: string, options?: TSConfckFindOptions | undefined): Promise<string | null>;
export function find(filename: string, options?: TSConfckFindOptions): Promise<string | null>;
/**
* find all tsconfig.json files in dir
*
* @param dir - path to dir (absolute or relative to cwd)
* @param options - options
* @returns list of absolute paths to all found tsconfig.json files
*/
export function findAll(dir: string, options?: TSConfckFindAllOptions | undefined): Promise<string[]>;
export function findAll(dir: string, options?: TSConfckFindAllOptions): Promise<string[]>;
/**
* convert content of tsconfig.json to regular json
*
Expand All @@ -182,14 +182,14 @@ declare module 'tsconfck' {
* @param options - options
* @returns absolute path to closest tsconfig.json
*/
export function findNative(filename: string, options?: TSConfckFindOptions | undefined): Promise<string>;
export function findNative(filename: string, options?: TSConfckFindOptions): Promise<string>;
/**
* parse the closest tsconfig.json file
*
* @param filename - path to a tsconfig .json or a source file or directory (absolute or relative to cwd)
* @param options - options
* */
export function parse(filename: string, options?: TSConfckParseOptions | undefined): Promise<TSConfckParseResult>;
export function parse(filename: string, options?: TSConfckParseOptions): Promise<TSConfckParseResult>;
export class TSConfckParseError extends Error {
/**
*
Expand Down Expand Up @@ -220,7 +220,7 @@ declare module 'tsconfck' {
* @param filename - path to a tsconfig .json or a source file (absolute or relative to cwd)
* @param options - options
* */
export function parseNative(filename: string, options?: TSConfckParseNativeOptions | undefined): Promise<TSConfckParseNativeResult>;
export function parseNative(filename: string, options?: TSConfckParseNativeOptions): Promise<TSConfckParseNativeResult>;
export class TSConfckParseNativeError extends Error {
/**
*
Expand Down
Loading

0 comments on commit ec9cd06

Please # to comment.