@checkdigit/typescript-config 7.1.2 → 7.1.3-PR.64-9fc8

Sign up to get free protection for your applications and to get access to all the features.
package/bin/builder.mjs CHANGED
@@ -208,7 +208,6 @@ async function compile_default({
208
208
  }
209
209
  });
210
210
  messages.push(...buildResult.errors.map((error) => `esbuild error: ${error.text}`));
211
- messages.push(...buildResult.warnings.map((warning) => `esbuild warning: ${warning.text}`));
212
211
  if (messages.length > 0) {
213
212
  throw new Error(`esbuild failed ${JSON.stringify(messages)}`);
214
213
  }
@@ -230,7 +229,7 @@ var {
230
229
  sourceMap: { type: "boolean", short: "s", default: false }
231
230
  }
232
231
  });
233
- assert3.ok(type === "module" || type === "types", "type must be types or module");
232
+ assert3.ok(type === "module" || type === "types" || type === "commonjs", "type must be types or module");
234
233
  assert3.ok(inDir !== void 0, "inDir is required");
235
234
  assert3.ok(outDir !== void 0, "outDir is required");
236
235
  var compileResult = await compile_default({
@@ -18,7 +18,7 @@ var {
18
18
  sourceMap: { type: "boolean", short: "s", default: false }
19
19
  }
20
20
  });
21
- assert.ok(type === "module" || type === "types", "type must be types or module");
21
+ assert.ok(type === "module" || type === "types" || type === "commonjs", "type must be types or module");
22
22
  assert.ok(inDir !== void 0, "inDir is required");
23
23
  assert.ok(outDir !== void 0, "outDir is required");
24
24
  var compileResult = await compile({
@@ -44,4 +44,4 @@ if (compileResult.metafile !== void 0) {
44
44
  `${outFile}: src ${analysis.sourceBytes}, node_modules ${analysis.moduleBytes}, total ${analysis.totalBytes}`
45
45
  );
46
46
  }
47
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2J1aWxkZXIudHMiXSwKICAibWFwcGluZ3MiOiAiO0FBRUEsU0FBUyxVQUFVLGNBQWM7QUFDakMsU0FBUyxZQUFZLFVBQVU7QUFDL0IsT0FBTyxVQUFVO0FBQ2pCLFNBQVMsaUJBQWlCO0FBRTFCLFNBQVMsU0FBUyxlQUFlO0FBRWpDLElBQU07QU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E7QUFBQSxFQUNaLGNBQWMsWUFBWSxJQUFJLE9BQU8sU0FBUztBQUM1QyxVQUFNLEdBQUcsTUFBTSxLQUFLLEtBQUssS0FBSyxRQUFRLEtBQUssSUFBSSxDQUFDLEdBQUcsRUFBRSxXQUFXLEtBQUssQ0FBQztBQUN0RSxVQUFNLEdBQUcsVUFBVSxLQUFLLE1BQU0sS0FBSyxJQUFJO0FBQUEsRUFDekMsQ0FBQztBQUNIO0FBR0EsSUFBSSxjQUFjLGFBQWEsUUFBVztBQUN4QyxRQUFNLFdBQVcsUUFBUSxjQUFjLFFBQVE7QUFDL0MsUUFBTSxHQUFHLFVBQVUsS0FBSyxLQUFLLFFBQVEsZUFBZSxHQUFHLEtBQUssVUFBVSxjQUFjLFVBQVUsUUFBVyxDQUFDLENBQUM7QUFHM0csVUFBUTtBQUFBLElBQ04sR0FBRyxPQUFPLFNBQVMsU0FBUyxXQUFXLGtCQUFrQixTQUFTLFdBQVcsV0FBVyxTQUFTLFVBQVU7QUFBQSxFQUM3RztBQUNGOyIsCiAgIm5hbWVzIjogW10KfQo=
@@ -174,7 +174,6 @@ async function compile_default({
174
174
  }
175
175
  });
176
176
  messages.push(...buildResult.errors.map((error) => `esbuild error: ${error.text}`));
177
- messages.push(...buildResult.warnings.map((warning) => `esbuild warning: ${warning.text}`));
178
177
  if (messages.length > 0) {
179
178
  throw new Error(`esbuild failed ${JSON.stringify(messages)}`);
180
179
  }
@@ -183,4 +182,4 @@ async function compile_default({
183
182
  export {
184
183
  compile_default as default
185
184
  };
186
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2NvbXBpbGUudHMiXSwKICAibWFwcGluZ3MiOiAiO0FBRUEsU0FBUyxVQUFVLGNBQWM7QUFDakMsU0FBUyxZQUFZLFVBQVU7QUFDL0IsT0FBTyxVQUFVO0FBRWpCLE9BQU8sZ0JBQWdCO0FBQ3ZCLFNBQTJCLGFBQWE7Q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FhLFNBQVM7QUFBQSxJQUN0QixPQUFPO0FBQUEsSUFDUCxVQUFVLFlBQVk7QUFBQSxJQUN0QixnQkFBZ0I7QUFBQSxJQUNoQixRQUNFLFNBQVMsWUFBWSxZQUFZLFNBQzdCO0FBQUEsTUFDRSxJQUFJO0FBQUEsSUFDTixJQUNBLENBQUM7QUFBQSxJQUNQLFdBQVcsWUFBWSxXQUFXO0FBQUEsSUFDbEMsR0FBSSxZQUFZLFNBQ1o7QUFBQTtBQUFBLE1BRUUsUUFBUTtBQUFBLE1BQ1IsY0FBYyxFQUFFLE9BQU8sT0FBTztBQUFBLE1BQzlCLFNBQVM7QUFBQSxRQUNQO0FBQUEsVUFDRSxNQUFNO0FBQUEsVUFDTixPQUFPLHVCQUF1QjtBQUFBLFFBQ2hDO0FBQUEsTUFDRjtBQUFBLElBQ0YsSUFDQTtBQUFBO0FBQUEsTUFFRSxTQUFTLEtBQUssS0FBSyxRQUFRLE9BQU87QUFBQSxNQUNsQyxlQUFlO0FBQUEsTUFDZjtBQUFBLE1BQ0EsU0FBUztBQUFBLFFBQ1A7QUFBQSxVQUNFLE1BQU07QUFBQSxVQUNOLE9BQU8sa0JBQWtCLGVBQWU7QUFBQSxRQUMxQztBQUFBLE1BQ0Y7QUFBQSxJQUNGO0FBQUEsRUFDTixDQUFDO0FBRUQsV0FBUyxLQUFLLEdBQUcsWUFBWSxPQUFPLElBQUksQ0FBQyxVQUFVLGtCQUFrQixNQUFNLElBQUksRUFBRSxDQUFDO0FBRWxGLE1BQUksU0FBUyxTQUFTLEdBQUc7QUFDdkIsVUFBTSxJQUFJLE1BQU0sa0JBQWtCLEtBQUssVUFBVSxRQUFRLENBQUMsRUFBRTtBQUFBLEVBQzlEO0FBRUEsU0FBTztBQUNUOyIsCiAgIm5hbWVzIjogW10KfQo=
@@ -37,7 +37,7 @@ export interface CompileOptions {
37
37
  /**
38
38
  * whether to produce Typescript types or ESM code
39
39
  */
40
- type: 'module' | 'types';
40
+ type: 'module' | 'types' | 'commonjs';
41
41
  /**
42
42
  * the entry point for the bundle, relative to the inDir. if not provided, the files in the inDir will be processed
43
43
  * as individual unbundled files
package/package.json CHANGED
@@ -1,125 +1 @@
1
- {
2
- "name": "@checkdigit/typescript-config",
3
- "version": "7.1.2",
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=test/index.ts --outFile=test/index.mjs",
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
- "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",
64
- "test:jest-mjs": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false",
65
- "test:mjs": "node --test build-mjs/test/index.mjs",
66
- "test:mjs-bundle": "node --test build-mjs-bundle/test/index.mjs",
67
- "test:mjs-bundle-minify": "node --test build-mjs-bundle-minify/test/index.mjs",
68
- "test:mjs-bundle-no-external": "node --test build-mjs-bundle-no-external/test/index.mjs"
69
- },
70
- "prettier": "@checkdigit/prettier-config",
71
- "jest": {
72
- "collectCoverageFrom": [
73
- "<rootDir>/src/**"
74
- ],
75
- "extensionsToTreatAsEsm": [
76
- ".ts"
77
- ],
78
- "moduleFileExtensions": [
79
- "js",
80
- "mjs",
81
- "cjs",
82
- "ts",
83
- "json",
84
- "node"
85
- ],
86
- "testMatch": [
87
- "<rootDir>/src/**/*.spec.ts"
88
- ],
89
- "transform": {
90
- "^.+\\.ts$": [
91
- "ts-jest",
92
- {
93
- "isolatedModules": true,
94
- "diagnostics": false,
95
- "useESM": true
96
- }
97
- ]
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"
121
- },
122
- "overrides": {
123
- "eslint": "9.7.0"
124
- }
125
- }
1
+ {"name":"@checkdigit/typescript-config","version":"7.1.3-PR.64-9fc8","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=test/index.ts --outFile=test/index.mjs","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","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","build:types":"rimraf build-types && bin/builder.mjs --type=types --outDir=build-types","ci:compile":"tsc --noEmit","ci:lint":"npm run lint","ci:style":"npm run prettier","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","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","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:jest-mjs":"NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false","test:mjs":"node --test build-mjs/test/index.mjs","test:mjs-bundle":"node --test build-mjs-bundle/test/index.mjs","test:mjs-bundle-minify":"node --test build-mjs-bundle-minify/test/index.mjs","test:mjs-bundle-no-external":"node --test build-mjs-bundle-no-external/test/index.mjs"},"prettier":"@checkdigit/prettier-config","jest":{"collectCoverageFrom":["<rootDir>/src/**"],"extensionsToTreatAsEsm":[".ts"],"moduleFileExtensions":["js","mjs","cjs","ts","json","node"],"testMatch":["<rootDir>/src/**/*.spec.ts"],"transform":{"^.+\\.ts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":true}]}},"devDependencies":{"@apidevtools/json-schema-ref-parser":"^11.6.4","@checkdigit/prettier-config":"^5.5.0","@eslint/js":"^9.7.0","@jest/globals":"^29.7.0","@types/uuid":"^10.0.0","eslint":"9.7.0","eslint-config-prettier":"^9.1.0","jest":"^29.7.0","rimraf":"^6.0.1","ts-jest":"^29.2.2","typescript-eslint":"^7.16.1","uuid":"^10.0.0"},"peerDependencies":{"@types/node":">=20.14","esbuild":"0.23.0","typescript":">=5.5.3 <5.6.0"},"engines":{"node":">=20.14"},"overrides":{"eslint":"9.7.0"}}
package/src/builder.ts CHANGED
@@ -22,7 +22,7 @@ const {
22
22
  },
23
23
  });
24
24
 
25
- assert.ok(type === 'module' || type === 'types', 'type must be types or module');
25
+ assert.ok(type === 'module' || type === 'types' || type === 'commonjs', 'type must be types or module');
26
26
  assert.ok(inDir !== undefined, 'inDir is required');
27
27
  assert.ok(outDir !== undefined, 'outDir is required');
28
28
 
package/src/compile.ts CHANGED
@@ -74,7 +74,7 @@ export interface CompileOptions {
74
74
  /**
75
75
  * whether to produce Typescript types or ESM code
76
76
  */
77
- type: 'module' | 'types';
77
+ type: 'module' | 'types' | 'commonjs';
78
78
 
79
79
  /**
80
80
  * the entry point for the bundle, relative to the inDir. if not provided, the files in the inDir will be processed
@@ -317,7 +317,7 @@ export default async function ({
317
317
  });
318
318
 
319
319
  messages.push(...buildResult.errors.map((error) => `esbuild error: ${error.text}`));
320
- messages.push(...buildResult.warnings.map((warning) => `esbuild warning: ${warning.text}`));
320
+ // messages.push(...buildResult.warnings.map((warning) => `esbuild warning: ${warning.text}`));
321
321
  if (messages.length > 0) {
322
322
  throw new Error(`esbuild failed ${JSON.stringify(messages)}`);
323
323
  }