Skip to content
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
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"test": "recommended"
},
"rules": {
"recommended": true,
"preset": "recommended",
"complexity": {
"noForEach": "error"
},
Expand Down
2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/express": "^5.0.6",
"@types/koa": "^3.0.3",
"expect": "^30.4.1",
"typescript": "catalog:",
"typescript": "catalog:typescript7",
"vitest": "catalog:"
}
}
3 changes: 2 additions & 1 deletion e2e/src/generated/server/koa/index.ts

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

11 changes: 3 additions & 8 deletions e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"extends": "../tsconfig.base.json",
"extends": "../tsconfig.integration.base.json",
"compilerOptions": {
"composite": false,
"outDir": "./dist",
"rootDir": "./src",
"module": "NodeNext",
"target": "ESNext",
"verbatimModuleSyntax": true,
"rewriteRelativeImportExtensions": true
},
"include": ["src/**/*"]
"verbatimModuleSyntax": true
}
}
2 changes: 1 addition & 1 deletion integration-tests/typescript-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@angular/cli": "catalog:",
"@angular/compiler-cli": "catalog:",
"jsdom": "^29.1.1",
"typescript": "catalog:",
"typescript": "catalog:typescript6",
"vitest": "catalog:"
}
}
2 changes: 1 addition & 1 deletion integration-tests/typescript-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"@types/node": "^22.20.0",
"typescript": "catalog:"
"typescript": "catalog:typescript7"
}
}
5 changes: 1 addition & 4 deletions integration-tests/typescript-axios/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.integration.base.json",
"compilerOptions": {
"composite": false,
"outDir": "./dist",
"rootDir": "./src",
/* exercise the code path where exactOptionalPropertyTypes is enabled */
"exactOptionalPropertyTypes": true,
"noUnusedLocals": true
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/typescript-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
},
"devDependencies": {
"@types/express": "^5.0.6",
"typescript": "catalog:"
"typescript": "catalog:typescript7"
}
}
5 changes: 1 addition & 4 deletions integration-tests/typescript-express/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.integration.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"types": [],
/* exercise the code path where exactOptionalPropertyTypes is enabled */
"exactOptionalPropertyTypes": true,
"verbatimModuleSyntax": true,
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/typescript-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"@types/node": "^22.20.0",
"typescript": "catalog:"
"typescript": "catalog:typescript7"
}
}
5 changes: 1 addition & 4 deletions integration-tests/typescript-fetch/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.integration.base.json",
"compilerOptions": {
"composite": false,
"outDir": "./dist",
"rootDir": "./src",
/* exercise the code path where exactOptionalPropertyTypes is disabled */
"exactOptionalPropertyTypes": false,
"noUnusedLocals": true,
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/typescript-koa/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "typescript-koa",
"name": "@integration/typescript-koa",
"version": "0.0.1",
"main": "./dist/index.js",
"author": "Michael Nahkies",
Expand All @@ -19,6 +19,6 @@
},
"devDependencies": {
"@types/koa": "^3.0.3",
"typescript": "catalog:"
"typescript": "catalog:typescript7"
}
}

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

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

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

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

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

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

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

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

6 changes: 1 addition & 5 deletions integration-tests/typescript-koa/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.integration.base.json",
"compilerOptions": {
"composite": false,
"outDir": "./dist",
"rootDir": "./src",
"types": [],
/* exercise the code path where exactOptionalPropertyTypes is disabled */
"exactOptionalPropertyTypes": false,
"noUnusedLocals": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"publint": "^0.3.21",
"remark": "^15.0.1",
"remark-toc": "^9.0.0",
"typescript": "catalog:",
"typescript": "catalog:typescript7",
"vitest": "catalog:"
},
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/react-dom": "^19.2.3",
"gh-pages": "^6.3.0",
"tsx": "catalog:",
"typescript": "catalog:"
"typescript": "catalog:typescript6"
},
"engines": {
"node": ">=22"
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-code-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"json5": "^2.2.3",
"lodash": "^4.18.1",
"tslib": "^2.8.1",
"typescript": "catalog:",
"typescript": "catalog:typescript6",
"zod": "^4.3.6"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export class KoaServerBuilder implements ICompilable {
this.imports
.from("@nahkies/typescript-koa-runtime/server")
.add("startServer")
.addType("ServerConfig")
.addType("ServerConfig", "StartedServer")
}

toString(): string {
return `
export async function bootstrap(config: ServerConfig) {
export async function bootstrap(config: ServerConfig): Promise<StartedServer> {
// ${this.name}
return startServer(config)
}
Expand Down
6 changes: 0 additions & 6 deletions packages/openapi-code-generator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"references": [
{
"path": "../typescript-common-runtime"
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-axios-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@nahkies/typescript-common-runtime": "workspace:^",
"axios": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"typescript": "catalog:typescript7",
"vitest": "catalog:"
},
"files": [
Expand Down
6 changes: 0 additions & 6 deletions packages/typescript-axios-runtime/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"references": [
{
"path": "../typescript-common-runtime"
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-common-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"devDependencies": {
"tsdown": "catalog:",
"typescript": "catalog:",
"typescript": "catalog:typescript7",
"vitest": "catalog:"
},
"files": [
Expand Down
6 changes: 0 additions & 6 deletions packages/typescript-common-runtime/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"references": []
}
2 changes: 1 addition & 1 deletion packages/typescript-express-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"body-parser": "catalog:",
"joi": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"typescript": "catalog:typescript7",
"vitest": "catalog:",
"zod": "^4.3.6"
},
Expand Down
6 changes: 0 additions & 6 deletions packages/typescript-express-runtime/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"references": [
{
"path": "../typescript-common-runtime"
Expand Down
Loading