@checkdigit/typescript-config 9.3.1 → 9.3.2-PR.84-f460
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/bin/builder.mjs +2 -2
 - package/dist-mjs/compile.mjs +3 -3
 - package/package.json +1 -94
 - package/src/compile.ts +2 -2
 
    
        package/bin/builder.mjs
    CHANGED
    
    | 
         @@ -104,9 +104,9 @@ const require = __createRequire(import.meta.url);`; 
     | 
|
| 
       104 
104 
     | 
    
         
             
            async function getFiles(directory) {
         
     | 
| 
       105 
105 
     | 
    
         
             
              const entries = await fs.readdir(directory, { withFileTypes: true });
         
     | 
| 
       106 
106 
     | 
    
         
             
              const files = await Promise.all(
         
     | 
| 
       107 
     | 
    
         
            -
                entries.map((entry) => {
         
     | 
| 
      
 107 
     | 
    
         
            +
                entries.map(async (entry) => {
         
     | 
| 
       108 
108 
     | 
    
         
             
                  const result = path.resolve(directory, entry.name);
         
     | 
| 
       109 
     | 
    
         
            -
                  return entry.isDirectory() ? getFiles(result) : result;
         
     | 
| 
      
 109 
     | 
    
         
            +
                  return entry.isDirectory() ? await getFiles(result) : result;
         
     | 
| 
       110 
110 
     | 
    
         
             
                })
         
     | 
| 
       111 
111 
     | 
    
         
             
              );
         
     | 
| 
       112 
112 
     | 
    
         
             
              return files.flat();
         
     | 
    
        package/dist-mjs/compile.mjs
    CHANGED
    
    | 
         @@ -14,9 +14,9 @@ const require = __createRequire(import.meta.url);`; 
     | 
|
| 
       14 
14 
     | 
    
         
             
            async function getFiles(directory) {
         
     | 
| 
       15 
15 
     | 
    
         
             
              const entries = await fs.readdir(directory, { withFileTypes: true });
         
     | 
| 
       16 
16 
     | 
    
         
             
              const files = await Promise.all(
         
     | 
| 
       17 
     | 
    
         
            -
                entries.map((entry) => {
         
     | 
| 
      
 17 
     | 
    
         
            +
                entries.map(async (entry) => {
         
     | 
| 
       18 
18 
     | 
    
         
             
                  const result = path.resolve(directory, entry.name);
         
     | 
| 
       19 
     | 
    
         
            -
                  return entry.isDirectory() ? getFiles(result) : result;
         
     | 
| 
      
 19 
     | 
    
         
            +
                  return entry.isDirectory() ? await getFiles(result) : result;
         
     | 
| 
       20 
20 
     | 
    
         
             
                })
         
     | 
| 
       21 
21 
     | 
    
         
             
              );
         
     | 
| 
       22 
22 
     | 
    
         
             
              return files.flat();
         
     | 
| 
         @@ -179,4 +179,4 @@ async function compile_default({ 
     | 
|
| 
       179 
179 
     | 
    
         
             
            export {
         
     | 
| 
       180 
180 
     | 
    
         
             
              compile_default as default
         
     | 
| 
       181 
181 
     | 
    
         
             
            };
         
     | 
| 
       182 
     | 
    
         
            -
            //# sourceMappingURL=data:application/json;base64, 
     | 
| 
      
 182 
     | 
    
         
            +
            //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2NvbXBpbGUudHMiXSwKICAibWFwcGluZ3MiOiAiO0FBRUEsU0FBUyxVQUFVLGNBQWM7QUFDakMsU0FBUyxZQUFZLFVBQVU7QUFDL0IsT0FBTyxVQUFVO0FBRWpCLE9BQU8sZ0JBQWdCO0FBQ3ZCLFNBQVMsYUFBK0I7QUFFeEMsT0FBTyxrQkFBa0IsbUJBQW1CLEtBQUssRUFBRSxNQUFNLE9BQU87QUFFaEUsSUFBTSw4QkFBOEI7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBb0hwQyxlQUFlLFNBQVMsV0FBc0M7QUFDNUQsUUFBTSxVQUFVLE1BQU0sR0FBRyxRQUFRLFdBQVcsRUFBRSxlQUFlLEtBQUssQ0FBQztBQUNuRSxRQUFNLFFBQVEsTUFBTSxRQUFRO0FBQUEsSUFDMUIsUUFBUSxJQUFJLE9BQU8sVUFBVTtBQUMzQixZQUFNLFNBQVMsS0FBSyxRQUFRLFdBQVcsTUFBTSxJQUFJO0FBQ2pELGFBQU8sTUFBTSxZQUFZLElBQUksTUFBTSxTQUFTLE1BQU0sSUFBSTtBQ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SxJQUFJLE1BQU0sa0JBQWtCLEtBQUssVUFBVSxRQUFRLENBQUMsRUFBRTtBQUFBLEVBQzlEO0FBRUEsU0FBTztBQUNUOyIsCiAgIm5hbWVzIjogW10KfQo=
         
     | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,94 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {
         
     | 
| 
       2 
     | 
    
         
            -
              "name": "@checkdigit/typescript-config",
         
     | 
| 
       3 
     | 
    
         
            -
              "version": "9.3.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-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: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-mjs": "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.1",
         
     | 
| 
       73 
     | 
    
         
            -
                "@eslint/js": "^9.32.0",
         
     | 
| 
       74 
     | 
    
         
            -
                "@eslint/json": "^0.13.1",
         
     | 
| 
       75 
     | 
    
         
            -
                "@eslint/markdown": "^7.1.0",
         
     | 
| 
       76 
     | 
    
         
            -
                "eslint": "^9.32.0",
         
     | 
| 
       77 
     | 
    
         
            -
                "eslint-config-prettier": "^10.1.8",
         
     | 
| 
       78 
     | 
    
         
            -
                "eslint-plugin-yml": "^1.18.0",
         
     | 
| 
       79 
     | 
    
         
            -
                "rimraf": "^6.0.1",
         
     | 
| 
       80 
     | 
    
         
            -
                "typescript-eslint": "^8.39.0"
         
     | 
| 
       81 
     | 
    
         
            -
              },
         
     | 
| 
       82 
     | 
    
         
            -
              "peerDependencies": {
         
     | 
| 
       83 
     | 
    
         
            -
                "@swc-node/register": "1.10.10",
         
     | 
| 
       84 
     | 
    
         
            -
                "@types/node": ">=22",
         
     | 
| 
       85 
     | 
    
         
            -
                "esbuild": "0.25.8",
         
     | 
| 
       86 
     | 
    
         
            -
                "typescript": ">=5.9.2 <6"
         
     | 
| 
       87 
     | 
    
         
            -
              },
         
     | 
| 
       88 
     | 
    
         
            -
              "optionalDependencies": {
         
     | 
| 
       89 
     | 
    
         
            -
                "@esbuild/linux-x64": "0.25.8"
         
     | 
| 
       90 
     | 
    
         
            -
              },
         
     | 
| 
       91 
     | 
    
         
            -
              "engines": {
         
     | 
| 
       92 
     | 
    
         
            -
                "node": ">=22.15"
         
     | 
| 
       93 
     | 
    
         
            -
              }
         
     | 
| 
       94 
     | 
    
         
            -
            }
         
     | 
| 
      
 1 
     | 
    
         
            +
            {"name":"@checkdigit/typescript-config","version":"9.3.2-PR.84-f460","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-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: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-mjs":"node --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\""},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/prettier-config":"^7.1.2","@eslint/js":"^9.36.0","@eslint/json":"^0.13.2","@eslint/markdown":"^7.3.0","eslint":"^9.36.0","eslint-config-prettier":"^10.1.8","eslint-plugin-yml":"^1.18.0","rimraf":"^6.0.1","typescript-eslint":"^8.45.0"},"peerDependencies":{"@swc-node/register":"1.11.1","@types/node":">=22","esbuild":"0.25.10","typescript":">=5.9.3 <6"},"engines":{"node":">=22.15"}}
         
     | 
    
        package/src/compile.ts
    CHANGED
    
    | 
         @@ -128,9 +128,9 @@ export interface CompileOptions { 
     | 
|
| 
       128 
128 
     | 
    
         
             
            async function getFiles(directory: string): Promise<string[]> {
         
     | 
| 
       129 
129 
     | 
    
         
             
              const entries = await fs.readdir(directory, { withFileTypes: true });
         
     | 
| 
       130 
130 
     | 
    
         
             
              const files = await Promise.all(
         
     | 
| 
       131 
     | 
    
         
            -
                entries.map((entry) => {
         
     | 
| 
      
 131 
     | 
    
         
            +
                entries.map(async (entry) => {
         
     | 
| 
       132 
132 
     | 
    
         
             
                  const result = path.resolve(directory, entry.name);
         
     | 
| 
       133 
     | 
    
         
            -
                  return entry.isDirectory() ? getFiles(result) : result;
         
     | 
| 
      
 133 
     | 
    
         
            +
                  return entry.isDirectory() ? await getFiles(result) : result;
         
     | 
| 
       134 
134 
     | 
    
         
             
                }),
         
     | 
| 
       135 
135 
     | 
    
         
             
              );
         
     | 
| 
       136 
136 
     | 
    
         
             
              return files.flat();
         
     |