Skip to content

Commit

Permalink
chore: move esm to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed May 27, 2024
1 parent 46ea9cc commit c2bdd08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"docs:prod-build": "ng build koobiq-docs",
"docs:prod-build:aot": "ng build koobiq-docs --configuration production",
"docs:update-versions": "ts-node --project tools/update-doc-versions/tsconfig.json tools/update-doc-versions/update-doc-versions.ts",
"docs:api-gen": "TS_NODE_PROJECT=tools/api-gen/tsconfig.json node --loader ts-node/esm tools/api-gen/generate-api-docs.ts",
"docs:api-gen": "ts-node --project tools/api-gen/tsconfig.json tools/api-gen/generate-api-docs.ts",
"preinstall": "node tools/npm/check-npm.js",
"prepare": "husky",
"postinstall": "tsc -p tools/builders/tsconfig.json",
Expand Down
12 changes: 5 additions & 7 deletions tools/api-gen/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
"composite": true,
"lib": ["ES2021.String"],
"outDir": "./dist",
"types": [
"node",
"jasmine"
]
"types": ["node", "jasmine"]
},
"include": [
"**/*.ts"
]
"ts-node": {
"esm": true
},
"include": ["**/*.ts"]
}

0 comments on commit c2bdd08

Please sign in to comment.