Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #182

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm lint-staged --concurrent false
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,15 @@ export class TSConfckParseNativeError extends Error {
* @param tsconfigFile - file that errored
* @param result - parsed result, if any
*/
constructor(diagnostic: any, tsconfigFile: string, result: any | null);
constructor(diagnostic: TSDiagnosticError, tsconfigFile: string, result: any | null);
/**
* code of typescript diagnostic, prefixed with "TS "
* */
code: string;
/**
* full ts diagnostic that caused this error
* */
diagnostic: any;
diagnostic: TSDiagnosticError;
/**
* native result if present, contains all errors in result.errors
* */
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
"generate:types": "pnpm --dir packages/tsconfck run dts-buddy",
"generate:docs": "node scripts/generate-api-docs.js",
"release": "pnpm changeset publish",
"prepare": "husky install",
"prepare": "husky",
"bench": "node --expose-gc -max-old-space-size=4096 scripts/bench.js"
},
"devDependencies": {
"@changesets/cli": "^2.27.5",
"@eslint/js": "^9.4.0",
"@changesets/cli": "^2.27.7",
"@eslint/js": "^9.9.0",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"dts-buddy": "^0.5.1",
"esbuild": "^0.21.5",
"eslint": "^9.4.0",
"dts-buddy": "^0.5.2",
"esbuild": "^0.23.1",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-markdown": "^5.0.0",
"eslint-plugin-n": "^17.8.1",
"eslint-plugin-prettier": "^5.1.3",
"get-tsconfig": "^4.7.5",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"npm-run-all2": "^6.2.0",
"prettier": "^3.3.1",
"publint": "^0.2.8",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"get-tsconfig": "^4.7.6",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"npm-run-all2": "^6.2.2",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"tiny-glob": "^0.2.9",
"tinybench": "^2.8.0",
"tinybench": "^2.9.0",
"tsconfck": "workspace:^",
"tsconfck-2": "npm:tsconfck@^2.1.2",
"vitest": "^2.0.5"
Expand All @@ -46,7 +46,7 @@
"*.{js,md}": "eslint --cache --fix",
"*": "prettier --cache --ignore-path .prettierignore --ignore-unknown --write"
},
"packageManager": "pnpm@9.3.0",
"packageManager": "pnpm@9.8.0",
"engines": {
"node": "^18 || >=20"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/tsconfck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
"devDependencies": {
"@tsconfig/node18": "^18.2.4",
"@vitest/coverage-v8": "^2.0.5",
"esbuild": "^0.21.5",
"esbuild": "^0.23.1",
"tiny-glob": "^0.2.9",
"typescript": "^5.4.5",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"engines": {
Expand Down
13 changes: 11 additions & 2 deletions packages/tsconfck/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ declare module 'tsconfck' {
* @param tsconfigFile - file that errored
* @param result - parsed result, if any
*/
constructor(diagnostic: any, tsconfigFile: string, result: any | null);
constructor(diagnostic: TSDiagnosticError, tsconfigFile: string, result: any | null);
/**
* code of typescript diagnostic, prefixed with "TS "
* */
code: string;
/**
* full ts diagnostic that caused this error
* */
diagnostic: any;
diagnostic: TSDiagnosticError;
/**
* native result if present, contains all errors in result.errors
* */
Expand All @@ -126,6 +126,15 @@ declare module 'tsconfck' {
* */
tsconfigFile: string;
}
/**
* {
* code: number;
* category: number;
* messageText: string;
* start?: number;
* } TSDiagnosticError
*/
type TSDiagnosticError = any;
interface TSConfckFindOptions {
/**
* A cache to improve performance for multiple calls in the same project
Expand Down
5 changes: 4 additions & 1 deletion packages/tsconfck/types/index.d.ts.map
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"TSConfckParseError",
"parseNative",
"TSConfckParseNativeError",
"TSDiagnosticError",
"TSConfckFindOptions",
"TSConfckParseOptions",
"TSConfckFindAllOptions",
Expand All @@ -26,6 +27,7 @@
"../src/cache.js",
"../src/parse.js",
"../src/parse-native.js",
"../src/parse-native.d.ts",
"../src/public.d.ts"
],
"sourcesContent": [
Expand All @@ -36,8 +38,9 @@
null,
null,
null,
null,
null
],
"mappings": ";;;;;;;;iBAUsBA,IAAIA;;;;;;;;iBCYJC,OAAOA;;;;;;;iBCTbC,MAAMA;;;;;;;;;;iBCDAC,UAAUA;cCXnBC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC2BJC,KAAKA;cA6VdC,kBAAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC7VTC,WAAWA;cAkOpBC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;WC5PpBC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCnBC,oBAAoBA;;;;WAIpBC,sBAAsBA;;;;;;;;;;;;;;;WAetBC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BnBC,0BAA0BA;;;;;;;;;;;;WAY1BC,yBAAyBA",
"mappings": ";;;;;;;;iBAUsBA,IAAIA;;;;;;;;iBCYJC,OAAOA;;;;;;;iBCTbC,MAAMA;;;;;;;;;;iBCDAC,UAAUA;cCXnBC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC2BJC,KAAKA;cA6VdC,kBAAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBC7VTC,WAAWA;cAkOpBC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MC9MzBC,iBAAiBA;WC9CZC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCnBC,oBAAoBA;;;;WAIpBC,sBAAsBA;;;;;;;;;;;;;;;WAetBC,mBAAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BnBC,0BAA0BA;;;;;;;;;;;;WAY1BC,yBAAyBA",
"ignoreList": []
}
Loading