mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* remove node12 stuff * bump minimum supported TS version to 3.8 to match DT * install source-map-support in register, not create * Remove ts.createIncrementalProgram fallback to ts.createEmitAndSemanticDiagnosticsBuilderProgram * Make enableExperimentalEsmLoaderInterop() on by default; remove conditional code * Remove deprecated `ts-script` bin * make bin.ts `main()` export @internal * change `nodeEval` function signature to accept `context: Context` instead of `: any` * fix version check * Add node18 @tsconfig/bases; remove node10 and node12; change dependencies to be wildcard; will respect whatever version you want to use * More stuff for bumping minimum supported node12 -> node14 * remove test workaround that avoided old bug in node nightly * fix test failing due to `lib` change in @tsconfig/bases node18 * merge fixes * fix
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
// This tsconfig.json drives Intellisense
|
|
{
|
|
"$schema": "./tsconfig.schemastore-schema.json",
|
|
"compilerOptions": {
|
|
// `target` and `lib` match @tsconfig/bases for node14, since that's the oldest node LTS, so it's the oldest node we support
|
|
"target": "es2020",
|
|
"lib": ["es2020"],
|
|
"rootDir": ".",
|
|
"outDir": "temp",
|
|
"tsBuildInfoFile": "temp/tsconfig.tsbuildinfo",
|
|
"noEmit": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"strict": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"types": ["node"],
|
|
"stripInternal": true,
|
|
"incremental": true,
|
|
"skipLibCheck": true,
|
|
"importsNotUsedAsValues": "error",
|
|
"allowJs": true,
|
|
|
|
// Enable to assist in sanity-checking your changes to JS files, but note you will see many unrelated type errors!
|
|
// "checkJs": true,
|
|
// "noImplicitAny": false
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"typedocOptions": {
|
|
"entryPoints": ["./src/index.ts"],
|
|
"readme": "none",
|
|
"out": "website/static/api",
|
|
"excludeTags": ["allof"],
|
|
"categorizeByGroup": false,
|
|
"categoryOrder": ["Basic", "REPL", "Transpiler", "ESM Loader", "Other"],
|
|
"defaultCategory": "Other"
|
|
}
|
|
}
|