@checkdigit/typescript-config 7.1.1 → 7.1.2

Sign up to get free protection for your applications and to get access to all the features.
package/bin/builder.mjs CHANGED
@@ -117,13 +117,6 @@ async function compile_default({
117
117
  removeComments: false,
118
118
  noLib: false,
119
119
  noEmitOnError: true,
120
- /*
121
- * skipLibCheck is different between tsconfig.json and the compiler:
122
- * 1) it is not the job of the builder to enforce the type-correctness of external 3rd party libraries.
123
- * This should be caught by the initial `tsc` compilation.
124
- * 2) this check might be overridden by the user in their own tsconfig.json,
125
- * if an external type issue is not resolvable.
126
- */
127
120
  skipLibCheck: true,
128
121
  strict: true,
129
122
  preserveConstEnums: true,
@@ -83,13 +83,6 @@ async function compile_default({
83
83
  removeComments: false,
84
84
  noLib: false,
85
85
  noEmitOnError: true,
86
- /*
87
- * skipLibCheck is different between tsconfig.json and the compiler:
88
- * 1) it is not the job of the builder to enforce the type-correctness of external 3rd party libraries.
89
- * This should be caught by the initial `tsc` compilation.
90
- * 2) this check might be overridden by the user in their own tsconfig.json,
91
- * if an external type issue is not resolvable.
92
- */
93
86
  skipLibCheck: true,
94
87
  strict: true,
95
88
  preserveConstEnums: true,
@@ -190,4 +183,4 @@ async function compile_default({
190
183
  export {
191
184
  compile_default as default
192
185
  };
193
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2NvbXBpbGUudHMiXSwKICAibWFwcGluZ3MiOiAiO0FBRUEsU0FBUyxVQUFVLGNBQWM7QUFDakMsU0FBUyxZQUFZLFVBQVU7QUFDL0IsT0FBTyxVQUFVO0FBRWpCLE9BQU8sZ0JBQWdCO0FBQ3ZCLFNBQTJCLGFBQWE7QUFFeEMsSUFBTSw4QkFBOEI7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBb0hwQyxlQUFlLFNBQVMsV0FBc0M7QUFDNUQsUUFBTSxVQUFVLE1BQU0sR0FBRyxRQUFRLFdBQVcsRUFBRSxlQUFlLEtBQUssQ0FBQzt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": "Check Digit standard Typescript configuration",
5
- "prettier": "@checkdigit/prettier-config",
6
- "engines": {
7
- "node": ">=20.13"
5
+ "homepage": "https://github.com/checkdigit/typescript-config#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/checkdigit/typescript-config/issues"
8
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",
9
15
  "type": "module",
10
16
  "exports": {
11
17
  ".": {
@@ -17,63 +23,58 @@
17
23
  "bin": {
18
24
  "builder": "./bin/builder.mjs"
19
25
  },
20
- "peerDependencies": {
21
- "@types/node": ">=20.13",
22
- "esbuild": "0.21.5",
23
- "typescript": ">=5.5.2 <5.6.0"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://github.com/checkdigit/typescript-config.git"
28
- },
29
- "author": "Check Digit, LLC",
30
- "license": "MIT",
31
- "bugs": {
32
- "url": "https://github.com/checkdigit/typescript-config/issues"
33
- },
34
- "homepage": "https://github.com/checkdigit/typescript-config#readme",
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
+ ],
35
43
  "scripts": {
36
- "prepare": "",
37
- "prepublishOnly": "npm run build:builder && npm run build:dist-types && npm run build:dist-mjs",
38
- "lint:fix": "eslint . --fix",
39
- "lint": "eslint --max-warnings 0 .",
40
- "prettier": "prettier --ignore-path .gitignore --list-different .",
41
- "prettier:fix": "prettier --ignore-path .gitignore --write .",
42
- "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
43
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",
44
- "build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types",
45
- "build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
46
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",
47
- "build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
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
48
  "build:mjs": "rimraf build-mjs && bin/builder.mjs --type=module --outDir=build-mjs",
49
49
  "build:mjs-bundle": "rimraf build-mjs-bundle && bin/builder.mjs --type=module --outDir=build-mjs-bundle --entryPoint=test/index.ts --outFile=test/index.mjs",
50
50
  "build:mjs-bundle-minify": "rimraf build-mjs-bundle-minify && bin/builder.mjs --type=module --minify --outDir=build-mjs-bundle-minify --entryPoint=test/index.ts --outFile=test/index.mjs",
51
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=test/index.ts --outFile=test/index.mjs --minify",
52
+ "build:types": "rimraf build-types && bin/builder.mjs --type=types --outDir=build-types",
53
+ "ci:compile": "tsc --noEmit",
54
+ "ci:lint": "npm run lint",
55
+ "ci:style": "npm run prettier",
56
+ "ci:test": "npm run build && npm run test:jest-mjs && 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",
52
64
  "test:jest-mjs": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false",
53
65
  "test:mjs": "node --test build-mjs/test/index.mjs",
54
66
  "test:mjs-bundle": "node --test build-mjs-bundle/test/index.mjs",
55
67
  "test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/test/index.mjs",
56
- "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/test/index.mjs",
57
- "ci:test": "npm run build && npm run test:jest-mjs && npm run test:mjs && npm run test:mjs-bundle && npm run test:mjs-bundle-no-external",
58
- "ci:compile": "tsc --noEmit",
59
- "ci:lint": "npm run lint",
60
- "ci:style": "npm run prettier"
61
- },
62
- "devDependencies": {
63
- "@apidevtools/json-schema-ref-parser": "^11.6.4",
64
- "@checkdigit/prettier-config": "^5.4.1",
65
- "@eslint/js": "^9.5.0",
66
- "@jest/globals": "^29.7.0",
67
- "@types/uuid": "^10.0.0",
68
- "eslint": "9.5.0",
69
- "eslint-config-prettier": "^9.1.0",
70
- "jest": "^29.7.0",
71
- "rimraf": "^5.0.7",
72
- "ts-jest": "^29.1.5",
73
- "typescript-eslint": "^7.14.1",
74
- "uuid": "^10.0.0"
68
+ "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/test/index.mjs"
75
69
  },
70
+ "prettier": "@checkdigit/prettier-config",
76
71
  "jest": {
72
+ "collectCoverageFrom": [
73
+ "<rootDir>/src/**"
74
+ ],
75
+ "extensionsToTreatAsEsm": [
76
+ ".ts"
77
+ ],
77
78
  "moduleFileExtensions": [
78
79
  "js",
79
80
  "mjs",
@@ -82,8 +83,8 @@
82
83
  "json",
83
84
  "node"
84
85
  ],
85
- "extensionsToTreatAsEsm": [
86
- ".ts"
86
+ "testMatch": [
87
+ "<rootDir>/src/**/*.spec.ts"
87
88
  ],
88
89
  "transform": {
89
90
  "^.+\\.ts$": [
@@ -94,32 +95,31 @@
94
95
  "useESM": true
95
96
  }
96
97
  ]
97
- },
98
- "collectCoverageFrom": [
99
- "<rootDir>/src/**"
100
- ],
101
- "testMatch": [
102
- "<rootDir>/src/**/*.spec.ts"
103
- ]
98
+ }
99
+ },
100
+ "devDependencies": {
101
+ "@apidevtools/json-schema-ref-parser": "^11.6.4",
102
+ "@checkdigit/prettier-config": "^5.5.0",
103
+ "@eslint/js": "^9.7.0",
104
+ "@jest/globals": "^29.7.0",
105
+ "@types/uuid": "^10.0.0",
106
+ "eslint": "9.7.0",
107
+ "eslint-config-prettier": "^9.1.0",
108
+ "jest": "^29.7.0",
109
+ "rimraf": "^6.0.1",
110
+ "ts-jest": "^29.2.2",
111
+ "typescript-eslint": "^7.16.1",
112
+ "uuid": "^10.0.0"
113
+ },
114
+ "peerDependencies": {
115
+ "@types/node": ">=20.14",
116
+ "esbuild": "0.23.0",
117
+ "typescript": ">=5.5.3 <5.6.0"
118
+ },
119
+ "engines": {
120
+ "node": ">=20.14"
104
121
  },
105
- "files": [
106
- "bin",
107
- "tsconfig.json",
108
- "src",
109
- "dist-types",
110
- "dist-mjs",
111
- "!src/**/test/**",
112
- "!src/**/*.test.ts",
113
- "!src/**/*.spec.ts",
114
- "!dist-types/**/test/**",
115
- "!dist-types/**/*.test.d.ts",
116
- "!dist-types/**/*.spec.d.ts",
117
- "!dist-mjs/**/test/**",
118
- "!dist-mjs/**/*.test.mjs",
119
- "!dist-mjs/**/*.spec.mjs",
120
- "SECURITY.md"
121
- ],
122
122
  "overrides": {
123
- "eslint": "9.5.0"
123
+ "eslint": "9.7.0"
124
124
  }
125
125
  }
package/src/compile.ts CHANGED
@@ -214,13 +214,6 @@ export default async function ({
214
214
  removeComments: false,
215
215
  noLib: false,
216
216
  noEmitOnError: true,
217
- /*
218
- * skipLibCheck is different between tsconfig.json and the compiler:
219
- * 1) it is not the job of the builder to enforce the type-correctness of external 3rd party libraries.
220
- * This should be caught by the initial `tsc` compilation.
221
- * 2) this check might be overridden by the user in their own tsconfig.json,
222
- * if an external type issue is not resolvable.
223
- */
224
217
  skipLibCheck: true,
225
218
  strict: true,
226
219
  preserveConstEnums: true,
package/tsconfig.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "removeComments": false,
10
10
  "noLib": false,
11
11
  "noEmitOnError": false,
12
- "skipLibCheck": false,
12
+ "skipLibCheck": true,
13
13
  "types": ["node"],
14
14
  "strict": true,
15
15
  "preserveConstEnums": true,