@checkdigit/typescript-config 10.0.1 → 10.1.0-PR.90-28ac

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2021-2025 Check Digit, LLC
3
+ Copyright (c) 2021-2026 Check Digit, LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![MIT License](https://img.shields.io/github/license/checkdigit/typescript-config)](https://github.com/checkdigit/typescript-config/blob/master/LICENSE.txt)
4
4
 
5
- Copyright © 2021–2025 [Check Digit, LLC](https://checkdigit.com)
5
+ Copyright © 2021–2026 [Check Digit, LLC](https://checkdigit.com)
6
6
 
7
7
  ## Introduction
8
8
 
@@ -10,7 +10,7 @@ This module contains the standard Check Digit TypeScript configuration, along wi
10
10
 
11
11
  ## TypeScript Configuration
12
12
 
13
- - currently requires Node 24.11 or above.
13
+ - currently requires Node 24.13 or above.
14
14
  - emits `esnext`, with the default libraries, to avoid down-leveling. It is intended that application spec tests pick
15
15
  up any issues with using newer features unavailable in a particular environment. Browsers and Node.js are fast-moving
16
16
  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,
@@ -67,7 +66,6 @@ var tsconfig_default = {
67
66
  noEmit: true,
68
67
  skipLibCheck: false,
69
68
  types: ["node"],
70
- strict: true,
71
69
  preserveConstEnums: true,
72
70
  noImplicitReturns: true,
73
71
  noUnusedLocals: true,
@@ -78,7 +76,6 @@ var tsconfig_default = {
78
76
  emitDecoratorMetadata: true,
79
77
  experimentalDecorators: true,
80
78
  resolveJsonModule: true,
81
- esModuleInterop: true,
82
79
  noUncheckedIndexedAccess: true,
83
80
  noPropertyAccessFromIndexSignature: true,
84
81
  allowUnusedLabels: false,
@@ -88,9 +85,9 @@ var tsconfig_default = {
88
85
  exactOptionalPropertyTypes: true,
89
86
  isolatedDeclarations: true,
90
87
  allowImportingTsExtensions: true,
91
- noUncheckedSideEffectImports: true,
92
88
  erasableSyntaxOnly: true,
93
- libReplacement: false
89
+ stableTypeOrdering: true,
90
+ rootDir: "./src"
94
91
  }
95
92
  };
96
93
 
package/package.json CHANGED
@@ -1,92 +1 @@
1
- {
2
- "name": "@checkdigit/typescript-config",
3
- "version": "10.0.1",
4
- "description": "Check Digit standard Typescript configuration",
5
- "homepage": "https://github.com/checkdigit/typescript-config#readme",
6
- "bugs": {
7
- "url": "https://github.com/checkdigit/typescript-config/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/checkdigit/typescript-config.git"
12
- },
13
- "license": "MIT",
14
- "author": "Check Digit, LLC",
15
- "type": "module",
16
- "exports": {
17
- ".": {
18
- "types": "./dist-types/index.d.ts",
19
- "import": "./dist-mjs/index.mjs",
20
- "default": "./tsconfig.json"
21
- }
22
- },
23
- "bin": {
24
- "builder": "./bin/builder.mjs"
25
- },
26
- "files": [
27
- "bin",
28
- "tsconfig.json",
29
- "src",
30
- "dist-types",
31
- "dist-mjs",
32
- "!src/**/test/**",
33
- "!src/**/*.test.ts",
34
- "!src/**/*.spec.ts",
35
- "!dist-types/**/test/**",
36
- "!dist-types/**/*.test.d.ts",
37
- "!dist-types/**/*.spec.d.ts",
38
- "!dist-mjs/**/test/**",
39
- "!dist-mjs/**/*.test.mjs",
40
- "!dist-mjs/**/*.spec.mjs",
41
- "SECURITY.md"
42
- ],
43
- "scripts": {
44
- "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",
45
- "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",
46
- "build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
47
- "build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types",
48
- "build:mjs": "rimraf build-mjs && bin/builder.mjs --type=module --outDir=build-mjs",
49
- "build:mjs-bundle": "rimraf build-mjs-bundle && bin/builder.mjs --type=module --outDir=build-mjs-bundle --entryPoint=index.test.ts --outFile=index.test.mjs",
50
- "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",
51
- "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",
52
- "build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
53
- "ci:compile": "tsc --noEmit --rootDir src",
54
- "ci:lint": "npm run lint",
55
- "ci:style": "npm run prettier",
56
- "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",
57
- "lint": "eslint --max-warnings 0 .",
58
- "lint:fix": "eslint . --fix",
59
- "prepare": "",
60
- "prepublishOnly": "npm run build:builder && npm run build:dist-types && npm run build:dist-mjs",
61
- "prettier": "prettier --ignore-path .gitignore --list-different .",
62
- "prettier:fix": "prettier --ignore-path .gitignore --write .",
63
- "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
64
- "test:mjs": "node --test build-mjs/test/index.mjs",
65
- "test:mjs-bundle": "node --test build-mjs-bundle/index.test.mjs",
66
- "test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/index.test.mjs",
67
- "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/index.test.mjs",
68
- "test:node": "node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\""
69
- },
70
- "prettier": "@checkdigit/prettier-config",
71
- "devDependencies": {
72
- "@checkdigit/prettier-config": "^7.1.2",
73
- "@eslint/js": "^9.39.1",
74
- "@eslint/json": "^0.14.0",
75
- "@eslint/markdown": "^7.5.1",
76
- "eslint": "^9.39.1",
77
- "eslint-config-prettier": "^10.1.8",
78
- "eslint-plugin-yml": "^1.19.0",
79
- "rimraf": "^6.1.2",
80
- "typescript-eslint": "^8.49.0"
81
- },
82
- "peerDependencies": {
83
- "@swc-node/register": "1.11.1",
84
- "@types/node": ">=24",
85
- "esbuild": "0.27.1",
86
- "oxc-resolver": "11.13.2",
87
- "typescript": ">=5.9.3 <6"
88
- },
89
- "engines": {
90
- "node": ">=24.11"
91
- }
92
- }
1
+ {"name":"@checkdigit/typescript-config","version":"10.1.0-PR.90-28ac","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"},"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":"tsc --noEmit --rootDir src","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","lint:fix":"eslint . --fix --concurrency=auto","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","overrides":{"typescript":">=6.0.2 <7"},"devDependencies":{"@checkdigit/prettier-config":"^8.0.0","@eslint/js":"^10.0.1","@eslint/json":"^1.2.0","@eslint/markdown":"^7.5.1","eslint":"^10.1.0","eslint-config-prettier":"^10.1.8","eslint-plugin-yml":"^3.3.1","rimraf":"^6.1.3","typescript-eslint":"^8.57.2"},"peerDependencies":{"@swc-node/register":"1.11.1","@types/node":">=24","esbuild":"0.27.4","typescript":">=6.0.2 <7"},"engines":{"node":">=24.13"}}
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,
@@ -11,7 +10,6 @@
11
10
  "noEmit": true,
12
11
  "skipLibCheck": false,
13
12
  "types": ["node"],
14
- "strict": true,
15
13
  "preserveConstEnums": true,
16
14
  "noImplicitReturns": true,
17
15
  "noUnusedLocals": true,
@@ -22,7 +20,6 @@
22
20
  "emitDecoratorMetadata": true,
23
21
  "experimentalDecorators": true,
24
22
  "resolveJsonModule": true,
25
- "esModuleInterop": true,
26
23
  "noUncheckedIndexedAccess": true,
27
24
  "noPropertyAccessFromIndexSignature": true,
28
25
  "allowUnusedLabels": false,
@@ -32,8 +29,8 @@
32
29
  "exactOptionalPropertyTypes": true,
33
30
  "isolatedDeclarations": true,
34
31
  "allowImportingTsExtensions": true,
35
- "noUncheckedSideEffectImports": true,
36
32
  "erasableSyntaxOnly": true,
37
- "libReplacement": false
33
+ "stableTypeOrdering": true,
34
+ "rootDir": "./src"
38
35
  }
39
36
  }