diff --git a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts index 1ab68e1db..4c45bdfb3 100644 --- a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts +++ b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts @@ -1,7 +1,7 @@ /*! Copyright [Amazon.com](http://amazon.com/), Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ import { NodePackageUtils } from "@aws/monorepo"; -import { IgnoreFile } from "projen"; +import { IgnoreFile, JsonFile } from "projen"; import { NodePackageManager } from "projen/lib/javascript"; import { TypeScriptProject } from "projen/lib/typescript"; import { Language } from "../../languages"; @@ -121,6 +121,22 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { this.preCompileTask.spawn(generateTask); + // Add compilation to ESM as well + const compileESMTask = this.addTask("compile-esm"); + compileESMTask.exec("tsc -p tsconfig.esm.json"); + new JsonFile(this, "tsconfig.esm.json", { + obj: { + extends: "./tsconfig.dev.json", + compilerOptions: { + module: "esnext", + moduleResolution: "nodenext", + outDir: "lib/esm", + }, + }, + }); + + this.compileTask.spawn(compileESMTask); + // Ignore all the generated code this.gitignore.addPatterns( "src", diff --git a/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap b/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap index 5f3b72a93..f42432ddf 100644 --- a/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap +++ b/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap @@ -2079,6 +2079,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -2122,6 +2123,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -2192,6 +2194,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -2230,6 +2233,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -2578,6 +2592,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -2629,6 +2644,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -6313,6 +6337,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -6356,6 +6381,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -6427,6 +6453,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -6465,6 +6492,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -6804,6 +6842,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -6839,6 +6878,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -6941,6 +6987,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -9394,6 +9449,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -9437,6 +9493,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -9507,6 +9564,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -9545,6 +9603,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -9893,6 +9962,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -9944,6 +10014,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -13533,6 +13612,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -13576,6 +13656,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -13647,6 +13728,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -13685,6 +13767,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -14024,6 +14117,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -14059,6 +14153,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -14161,6 +14262,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -16916,6 +17026,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -16959,6 +17070,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -17029,6 +17141,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -17067,6 +17180,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -17415,6 +17539,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -17466,6 +17591,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -21342,6 +21476,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -21385,6 +21520,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -21456,6 +21592,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -21494,6 +21631,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -21833,6 +21981,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -21868,6 +22017,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -21970,6 +22126,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -24295,6 +24460,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -24338,6 +24504,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -24408,6 +24575,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -24446,6 +24614,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -24794,6 +24973,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -24845,6 +25025,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -28787,6 +28976,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -28830,6 +29020,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -28900,6 +29091,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -28938,6 +29130,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -29286,6 +29489,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -29337,6 +29541,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -31797,6 +32010,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -31840,6 +32054,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -31910,6 +32125,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -31948,6 +32164,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -32296,6 +32523,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -32347,6 +32575,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -36124,6 +36361,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -36167,6 +36405,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -36238,6 +36477,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -36276,6 +36516,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -36615,6 +36866,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -36650,6 +36902,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -36752,6 +37011,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -38716,6 +38984,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -38759,6 +39028,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -38829,6 +39099,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -38867,6 +39138,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -39215,6 +39497,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -39266,6 +39549,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -42192,6 +42484,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". !/.gitattributes @@ -42234,6 +42527,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -42305,6 +42599,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -42343,6 +42638,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -42682,6 +42988,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -42717,6 +43024,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "npx projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -42819,6 +43133,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -44788,6 +45111,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -44831,6 +45155,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -44901,6 +45226,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -44939,6 +45265,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -45287,6 +45624,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -45338,6 +45676,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -48275,6 +48622,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /pnpm-lock.yaml linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". !/.gitattributes @@ -48317,6 +48665,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -48388,6 +48737,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -48426,6 +48776,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -48766,6 +49127,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -48801,6 +49163,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "pnpm exec projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -48903,6 +49272,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -51461,6 +51839,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -51504,6 +51883,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -51574,6 +51954,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -51612,6 +51993,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -51960,6 +52352,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -52011,6 +52404,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -55693,6 +56095,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -55736,6 +56139,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -55807,6 +56211,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -55845,6 +56250,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -56184,6 +56600,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -56219,6 +56636,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -56321,6 +56745,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -59169,6 +59602,7 @@ dev-dependencies = { } /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -59212,6 +59646,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -59282,6 +59717,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -59320,6 +59756,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -59668,6 +60115,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -59719,6 +60167,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -63688,6 +64145,7 @@ dev-dependencies = { } /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -63731,6 +64189,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -63802,6 +64261,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -63840,6 +64300,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -64179,6 +64650,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -64214,6 +64686,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -64316,6 +64795,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -66280,6 +66768,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -66323,6 +66812,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -66393,6 +66883,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -66431,6 +66922,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -66779,6 +67281,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -66830,6 +67333,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -69756,6 +70268,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -69799,6 +70312,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -69870,6 +70384,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -69908,6 +70423,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -70247,6 +70773,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -70282,6 +70809,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -70384,6 +70918,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -72348,6 +72891,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -72391,6 +72935,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -72461,6 +73006,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -72499,6 +73045,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -72847,6 +73404,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -72898,6 +73456,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, @@ -75828,6 +76395,7 @@ Each runtime project includes types from your API model, as well as type-safe cl /package.json linguist-generated /project.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", "packages/api/generated/runtime/typescript/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -75871,6 +76439,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -75942,6 +76511,7 @@ tsconfig.esm.json "openapitools.json", "project.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -75980,6 +76550,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -76319,6 +76900,7 @@ tsconfig.esm.json "scripts": { "build": "npx projen build", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "generate": "npx projen generate", "package": "npx projen package", @@ -76354,6 +76936,13 @@ tsconfig.esm.json "cwd": "packages/api/generated/runtime/typescript", }, }, + "compile-esm": { + "executor": "nx:run-commands", + "options": { + "command": "yarn exec projen compile-esm", + "cwd": "packages/api/generated/runtime/typescript", + }, + }, "default": { "executor": "nx:run-commands", "options": { @@ -76456,6 +77045,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "packages/api/generated/runtime/typescript/tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "packages/api/generated/runtime/typescript/tsconfig.json": { "compilerOptions": { "alwaysStrict": false, diff --git a/packages/type-safe-api/test/project/codegen/types/__snapshots__/generated-typescript-runtime-project.test.ts.snap b/packages/type-safe-api/test/project/codegen/types/__snapshots__/generated-typescript-runtime-project.test.ts.snap index 89b987938..2f1147985 100644 --- a/packages/type-safe-api/test/project/codegen/types/__snapshots__/generated-typescript-runtime-project.test.ts.snap +++ b/packages/type-safe-api/test/project/codegen/types/__snapshots__/generated-typescript-runtime-project.test.ts.snap @@ -23,6 +23,7 @@ exports[`Generated Typescript Runtime Unit Tests Synth 1`] = ` /openapitools.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated +/tsconfig.esm.json linguist-generated /tsconfig.json linguist-generated /yarn.lock linguist-generated", ".github/pull_request_template.md": "Fixes #", @@ -335,6 +336,7 @@ jspm_packages/ !/.npmignore !/.openapi-generator-ignore !/openapitools.json +!/tsconfig.esm.json src .npmignore README.md @@ -441,6 +443,7 @@ tsconfig.esm.json "LICENSE", "openapitools.json", "tsconfig.dev.json", + "tsconfig.esm.json", "tsconfig.json", ], }, @@ -531,6 +534,17 @@ tsconfig.esm.json { "exec": "tsc --build", }, + { + "spawn": "compile-esm", + }, + ], + }, + "compile-esm": { + "name": "compile-esm", + "steps": [ + { + "exec": "tsc -p tsconfig.esm.json", + }, ], }, "default": { @@ -933,6 +947,7 @@ tsconfig.esm.json "bump": "npx projen bump", "clobber": "npx projen clobber", "compile": "npx projen compile", + "compile-esm": "npx projen compile-esm", "default": "npx projen default", "eject": "npx projen eject", "generate": "npx projen generate", @@ -987,6 +1002,15 @@ tsconfig.esm.json "test/**/*.ts", ], }, + "tsconfig.esm.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "nodenext", + "outDir": "lib/esm", + }, + "extends": "./tsconfig.dev.json", + }, "tsconfig.json": { "compilerOptions": { "alwaysStrict": false,