@checkdigit/typescript-config 11.0.0-PR.82-5be1 → 11.0.0-PR.82-9f85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/bin/builder.mjs +1 -4
- package/package.json +1 -1
- package/tsconfig.json +1 -4
package/README.md
CHANGED
|
@@ -10,7 +10,8 @@ This module contains the standard Check Digit TypeScript configuration, along wi
|
|
|
10
10
|
|
|
11
11
|
## TypeScript Configuration
|
|
12
12
|
|
|
13
|
-
- currently
|
|
13
|
+
- currently supports Node 24.14.1 up to, but not including, Node 25, or Node 26 and above.
|
|
14
|
+
- Node 25 is intentionally not part of the support contract.
|
|
14
15
|
- emits `esnext`, with the default libraries, to avoid down-leveling. It is intended that application spec tests pick
|
|
15
16
|
up any issues with using newer features unavailable in a particular environment. Browsers and Node.js are fast-moving
|
|
16
17
|
targets, and can add language features at any time.
|
package/bin/builder.mjs
CHANGED
|
@@ -56,7 +56,6 @@ import { build } from "esbuild";
|
|
|
56
56
|
// tsconfig.json
|
|
57
57
|
var tsconfig_default = {
|
|
58
58
|
compilerOptions: {
|
|
59
|
-
module: "esnext",
|
|
60
59
|
target: "esnext",
|
|
61
60
|
moduleResolution: "bundler",
|
|
62
61
|
sourceMap: true,
|
|
@@ -78,7 +77,6 @@ var tsconfig_default = {
|
|
|
78
77
|
emitDecoratorMetadata: true,
|
|
79
78
|
experimentalDecorators: true,
|
|
80
79
|
resolveJsonModule: true,
|
|
81
|
-
esModuleInterop: true,
|
|
82
80
|
noUncheckedIndexedAccess: true,
|
|
83
81
|
noPropertyAccessFromIndexSignature: true,
|
|
84
82
|
allowUnusedLabels: false,
|
|
@@ -88,9 +86,8 @@ var tsconfig_default = {
|
|
|
88
86
|
exactOptionalPropertyTypes: true,
|
|
89
87
|
isolatedDeclarations: true,
|
|
90
88
|
allowImportingTsExtensions: true,
|
|
91
|
-
noUncheckedSideEffectImports: true,
|
|
92
89
|
erasableSyntaxOnly: true,
|
|
93
|
-
|
|
90
|
+
stableTypeOrdering: true
|
|
94
91
|
}
|
|
95
92
|
};
|
|
96
93
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@checkdigit/typescript-config","version":"11.0.0-PR.82-
|
|
1
|
+
{"name":"@checkdigit/typescript-config","version":"11.0.0-PR.82-9f85","description":"Check Digit standard Typescript configuration","homepage":"https://github.com/checkdigit/typescript-config#readme","bugs":{"url":"https://github.com/checkdigit/typescript-config/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/typescript-config.git"},"license":"MIT","author":"Check Digit, LLC","type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./tsconfig.json"}},"bin":{"builder":"./bin/builder.mjs","tsc":"./node_modules/.bin/tscgo"},"files":["bin","tsconfig.json","src","dist-types","dist-mjs","!src/**/test/**","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/test/**","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/test/**","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"],"scripts":{"build":"npm run build:builder && npm run build:types && npm run build:mjs && npm run build:mjs-bundle && npm run build:mjs-bundle-minify && npm run build:mjs-bundle-no-external","build:builder":"esbuild src/builder.ts --bundle --platform=node --format=esm --external:typescript --external:esbuild --outfile=build-builder/builder.mjs && mkdir -p bin && { echo '#!/usr/bin/env node'; cat build-builder/builder.mjs; } > bin/builder.mjs && chmod +x bin/builder.mjs","build:dist-mjs":"rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"rimraf dist-types && npx builder --type=types --outDir=dist-types","build:mjs":"rimraf build-mjs && bin/builder.mjs --type=module --outDir=build-mjs","build:mjs-bundle":"rimraf build-mjs-bundle && bin/builder.mjs --type=module --outDir=build-mjs-bundle --entryPoint=index.test.ts --outFile=index.test.mjs","build:mjs-bundle-minify":"rimraf build-mjs-bundle-minify && bin/builder.mjs --type=module --minify --outDir=build-mjs-bundle-minify --entryPoint=index.test.ts --outFile=index.test.mjs","build:mjs-bundle-no-external":"rimraf build-mjs-bundle-no-external && bin/builder.mjs --type=module --external=./node_modules/* --outDir=build-mjs-bundle-no-external --entryPoint=index.test.ts --outFile=index.test.mjs --minify","build:types":"rimraf build-types && bin/builder.mjs --type=types --outDir=build-types","ci:compile":"time tsgo && time tsc","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"npm run build && npm run test:node && npm run test:mjs && npm run test:mjs-bundle && npm run test:mjs-bundle-no-external","lint":"eslint . --max-warnings=0 --concurrency=auto --flag unstable_native_nodejs_ts_config","lint:fix":"eslint . --fix --concurrency=auto --flag unstable_native_nodejs_ts_config","prepare":"","prepublishOnly":"npm run build:builder && npm run build:dist-types && npm run build:dist-mjs","prettier":"prettier --ignore-path .gitignore --list-different .","prettier:fix":"prettier --ignore-path .gitignore --write .","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style","test:mjs":"node --test build-mjs/test/index.mjs","test:mjs-bundle":"node --test build-mjs-bundle/index.test.mjs","test:mjs-bundle-minify":"node --test build-mjs-bundle-minify/index.test.mjs","test:mjs-bundle-no-external":"node --test build-mjs-bundle-no-external/index.test.mjs","test:node":"node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\""},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/prettier-config":"^8.0.0","@eslint/js":"^10.0.1","@eslint/json":"^1.2.0","@eslint/markdown":"^8.0.1","eslint":"^10.3.0","eslint-config-prettier":"^10.1.8","eslint-plugin-yml":"^3.3.2","rimraf":"^6.1.3","typescript-eslint":"^8.59.2"},"peerDependencies":{"@swc-node/register":"1.11.1","@types/node":">=24","@typescript/native-preview":"7.0.0-dev.20260511.1","esbuild":"0.28.0","typescript":">=6.0.3 <7"},"engines":{"node":">=24.14.1 <25 || >=26"}}
|
package/tsconfig.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"module": "esnext",
|
|
4
3
|
"target": "esnext",
|
|
5
4
|
"moduleResolution": "bundler",
|
|
6
5
|
"sourceMap": true,
|
|
@@ -22,7 +21,6 @@
|
|
|
22
21
|
"emitDecoratorMetadata": true,
|
|
23
22
|
"experimentalDecorators": true,
|
|
24
23
|
"resolveJsonModule": true,
|
|
25
|
-
"esModuleInterop": true,
|
|
26
24
|
"noUncheckedIndexedAccess": true,
|
|
27
25
|
"noPropertyAccessFromIndexSignature": true,
|
|
28
26
|
"allowUnusedLabels": false,
|
|
@@ -32,8 +30,7 @@
|
|
|
32
30
|
"exactOptionalPropertyTypes": true,
|
|
33
31
|
"isolatedDeclarations": true,
|
|
34
32
|
"allowImportingTsExtensions": true,
|
|
35
|
-
"noUncheckedSideEffectImports": true,
|
|
36
33
|
"erasableSyntaxOnly": true,
|
|
37
|
-
"
|
|
34
|
+
"stableTypeOrdering": true
|
|
38
35
|
}
|
|
39
36
|
}
|