Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"@types/node": "^26.4.0",
"tsx": "^4.23.12",
"turbo": "^2.10.12",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
}
}
4 changes: 4 additions & 0 deletions packages/example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"include": ["src/*.ts", "src/**/*.test.ts"],
"compilerOptions": {
"rootDir": "./src",
"target": "es2020",
"types": ["@types/node"],
Comment thread
ajeetdsouza marked this conversation as resolved.
Outdated
"moduleResolution": "Node10",
// moduleResolution=node10 is deprecated in TypeScript 6.0.
"ignoreDeprecations": "6.0",
Comment thread
ajeetdsouza marked this conversation as resolved.
Outdated
"strict": true,
"forceConsistentCasingInFileNames": true
}
Expand Down
5 changes: 4 additions & 1 deletion packages/protovalidate-bench/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"include": ["src/**/*"],
"extends": "../../tsconfig.base.json"
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src"
}
}
5 changes: 4 additions & 1 deletion packages/protovalidate-testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"include": ["src/**/*"],
"extends": "../../tsconfig.base.json"
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src"
}
}
2 changes: 1 addition & 1 deletion packages/protovalidate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"typecheck": "tsc --project tsconfig.test.json",
"prebuild": "rm -rf ./dist/*",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:cjs": "tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --ignoreDeprecations 6.0 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
Comment thread
ajeetdsouza marked this conversation as resolved.
"build:esm": "tsc --project tsconfig.json --outDir ./dist/esm",
"update-readme": "update-readme README.md",
"format": "biome format --write",
Expand Down
1 change: 1 addition & 0 deletions packages/protovalidate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"include": ["src/index.ts"],
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"lib": [
// For Error.cause in error.ts
"ES2022.Error"
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"lib": ["ES2020"],
"declaration": true,
"types": ["@types/node"],
// We don't have dependencies that require interop
"esModuleInterop": false,
// As strict as possible
"strict": true,
"forceConsistentCasingInFileNames": true,
Expand Down
Loading