@checkdigit/typescript-config 3.5.0 → 3.6.0-PR.38-eb05
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/package.json +1 -197
    
        package/package.json
    CHANGED
    
    | @@ -1,197 +1 @@ | |
| 1 | 
            -
            {
         | 
| 2 | 
            -
              "name": "@checkdigit/typescript-config",
         | 
| 3 | 
            -
              "version": "3.5.0",
         | 
| 4 | 
            -
              "description": "Check Digit standard Typescript configuration",
         | 
| 5 | 
            -
              "prettier": "@checkdigit/prettier-config",
         | 
| 6 | 
            -
              "engines": {
         | 
| 7 | 
            -
                "node": ">=16"
         | 
| 8 | 
            -
              },
         | 
| 9 | 
            -
              "bin": {
         | 
| 10 | 
            -
                "builder": "./bin/builder.mjs"
         | 
| 11 | 
            -
              },
         | 
| 12 | 
            -
              "peerDependencies": {
         | 
| 13 | 
            -
                "@types/node": ">=16",
         | 
| 14 | 
            -
                "esbuild": "0.17.19",
         | 
| 15 | 
            -
                "typescript": ">=5.0.4 <5.1"
         | 
| 16 | 
            -
              },
         | 
| 17 | 
            -
              "repository": {
         | 
| 18 | 
            -
                "type": "git",
         | 
| 19 | 
            -
                "url": "git+https://github.com/checkdigit/typescript-config.git"
         | 
| 20 | 
            -
              },
         | 
| 21 | 
            -
              "author": "Check Digit, LLC",
         | 
| 22 | 
            -
              "license": "MIT",
         | 
| 23 | 
            -
              "bugs": {
         | 
| 24 | 
            -
                "url": "https://github.com/checkdigit/typescript-config/issues"
         | 
| 25 | 
            -
              },
         | 
| 26 | 
            -
              "homepage": "https://github.com/checkdigit/typescript-config#readme",
         | 
| 27 | 
            -
              "scripts": {
         | 
| 28 | 
            -
                "preversion": "npm test",
         | 
| 29 | 
            -
                "postversion": "git push && git push --tags",
         | 
| 30 | 
            -
                "prepare": "npm run build-builder",
         | 
| 31 | 
            -
                "lint:fix": "eslint -f unix --ext .ts,.mts src --fix",
         | 
| 32 | 
            -
                "lint": "eslint -f unix --ext .ts,.mts src",
         | 
| 33 | 
            -
                "prettier": "prettier --ignore-path .gitignore --list-different .",
         | 
| 34 | 
            -
                "prettier:fix": "prettier --ignore-path .gitignore --write .",
         | 
| 35 | 
            -
                "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
         | 
| 36 | 
            -
                "build-builder": "esbuild src/builder/index.mts --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",
         | 
| 37 | 
            -
                "build-types": "rimraf build-types && npx builder --type=types --outDir=build-types",
         | 
| 38 | 
            -
                "build-cjs": "rimraf build-cjs && npx builder --type=commonjs --outDir=build-cjs",
         | 
| 39 | 
            -
                "build-cjs-bundle": "rimraf build-cjs-bundle && npx builder --type=commonjs --entryPoint=test/index.test.ts --outDir=build-cjs-bundle --outFile=test/index.test.cjs --minify --sourceMap",
         | 
| 40 | 
            -
                "build-cjs-bundle-no-external": "rimraf build-cjs-bundle-no-external && npx builder --type=commonjs --external=./node_modules/* --entryPoint=test/index.test.ts --outDir=build-cjs-bundle-no-external --outFile=test/index.test.cjs",
         | 
| 41 | 
            -
                "build-esm": "rimraf build-esm && npx builder --type=module --outDir=build-esm",
         | 
| 42 | 
            -
                "build-esm-bundle": "rimraf build-esm-bundle && npx builder --type=module --outDir=build-esm-bundle --entryPoint=test/index.test.ts --outFile=test/index.test.mjs",
         | 
| 43 | 
            -
                "build-esm-bundle-no-external": "rimraf build-esm-bundle-no-external && npx builder --type=module --external=./node_modules/* --outDir=build-esm-bundle-no-external --entryPoint=test/index.test.ts --outFile=test/index.test.mjs --minify",
         | 
| 44 | 
            -
                "test-jest-esm": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage=false src/*.mts src/*/*.mts src/*/*/*.mts",
         | 
| 45 | 
            -
                "test-jest-cjs": "jest --coverage=false src/*.ts src/*/*.ts src/*/*/*.ts",
         | 
| 46 | 
            -
                "test-cjs": "node --test build-cjs/test/index.test.cjs",
         | 
| 47 | 
            -
                "test-cjs-bundle": "node --test build-cjs-bundle/test/index.test.cjs",
         | 
| 48 | 
            -
                "test-cjs-bundle-no-external": "node --test build-cjs-bundle-no-external/test/index.test.cjs",
         | 
| 49 | 
            -
                "test-esm": "node --test build-esm/test/index.test.mjs",
         | 
| 50 | 
            -
                "test-esm-bundle": "echo \"node --test build-esm-bundle/test/index.test.mjs\"",
         | 
| 51 | 
            -
                "test-esm-bundle-no-external": "node --test build-esm-bundle-no-external/test/index.test.mjs",
         | 
| 52 | 
            -
                "ci:test": "npm run test-jest-cjs && npm run test-jest-esm && npm run test-cjs && npm run test-cjs-bundle && npm run test-cjs-bundle-no-external && npm run test-esm && npm run test-esm-bundle && npm run test-esm-bundle-no-external",
         | 
| 53 | 
            -
                "ci:compile": "npm run build-builder && npm run build-types && npm run build-cjs && npm run build-cjs-bundle && npm run build-cjs-bundle-no-external && npm run build-esm && npm run build-esm-bundle && npm run build-esm-bundle-no-external",
         | 
| 54 | 
            -
                "ci:lint": "npm run lint",
         | 
| 55 | 
            -
                "ci:style": "npm run prettier"
         | 
| 56 | 
            -
              },
         | 
| 57 | 
            -
              "devDependencies": {
         | 
| 58 | 
            -
                "@checkdigit/prettier-config": "^3.4.0",
         | 
| 59 | 
            -
                "@types/debug": "^4.1.8",
         | 
| 60 | 
            -
                "@types/jest": "^29.5.1",
         | 
| 61 | 
            -
                "@types/uuid": "^9.0.1",
         | 
| 62 | 
            -
                "@typescript-eslint/eslint-plugin": "^5.59.7",
         | 
| 63 | 
            -
                "@typescript-eslint/parser": "^5.59.7",
         | 
| 64 | 
            -
                "debug": "^4.3.4",
         | 
| 65 | 
            -
                "eslint": "^8.41.0",
         | 
| 66 | 
            -
                "eslint-config-prettier": "^8.8.0",
         | 
| 67 | 
            -
                "get-port": "^6.1.2",
         | 
| 68 | 
            -
                "got": "^11.8.6",
         | 
| 69 | 
            -
                "jest": "^29.5.0",
         | 
| 70 | 
            -
                "rimraf": "^5.0.1",
         | 
| 71 | 
            -
                "ts-jest": "^29.1.0",
         | 
| 72 | 
            -
                "uuid": "^9.0.0"
         | 
| 73 | 
            -
              },
         | 
| 74 | 
            -
              "eslintConfig": {
         | 
| 75 | 
            -
                "parser": "@typescript-eslint/parser",
         | 
| 76 | 
            -
                "plugins": [
         | 
| 77 | 
            -
                  "@typescript-eslint"
         | 
| 78 | 
            -
                ],
         | 
| 79 | 
            -
                "parserOptions": {
         | 
| 80 | 
            -
                  "project": "./tsconfig.json"
         | 
| 81 | 
            -
                },
         | 
| 82 | 
            -
                "extends": [
         | 
| 83 | 
            -
                  "eslint:all",
         | 
| 84 | 
            -
                  "plugin:@typescript-eslint/recommended",
         | 
| 85 | 
            -
                  "plugin:@typescript-eslint/recommended-requiring-type-checking",
         | 
| 86 | 
            -
                  "plugin:@typescript-eslint/strict",
         | 
| 87 | 
            -
                  "prettier"
         | 
| 88 | 
            -
                ],
         | 
| 89 | 
            -
                "rules": {
         | 
| 90 | 
            -
                  "@typescript-eslint/non-nullable-type-assertion-style": "error",
         | 
| 91 | 
            -
                  "capitalized-comments": "off",
         | 
| 92 | 
            -
                  "one-var": "off",
         | 
| 93 | 
            -
                  "sort-keys": "off",
         | 
| 94 | 
            -
                  "sort-imports": "off",
         | 
| 95 | 
            -
                  "func-style": [
         | 
| 96 | 
            -
                    "error",
         | 
| 97 | 
            -
                    "declaration",
         | 
| 98 | 
            -
                    {
         | 
| 99 | 
            -
                      "allowArrowFunctions": true
         | 
| 100 | 
            -
                    }
         | 
| 101 | 
            -
                  ],
         | 
| 102 | 
            -
                  "no-magic-numbers": [
         | 
| 103 | 
            -
                    "error",
         | 
| 104 | 
            -
                    {
         | 
| 105 | 
            -
                      "ignore": [
         | 
| 106 | 
            -
                        0,
         | 
| 107 | 
            -
                        1,
         | 
| 108 | 
            -
                        2
         | 
| 109 | 
            -
                      ]
         | 
| 110 | 
            -
                    }
         | 
| 111 | 
            -
                  ],
         | 
| 112 | 
            -
                  "no-undefined": "off",
         | 
| 113 | 
            -
                  "no-ternary": "off"
         | 
| 114 | 
            -
                },
         | 
| 115 | 
            -
                "overrides": [
         | 
| 116 | 
            -
                  {
         | 
| 117 | 
            -
                    "files": [
         | 
| 118 | 
            -
                      "*.spec.mts",
         | 
| 119 | 
            -
                      "*.test.mts",
         | 
| 120 | 
            -
                      "*.spec.ts",
         | 
| 121 | 
            -
                      "*.test.ts"
         | 
| 122 | 
            -
                    ],
         | 
| 123 | 
            -
                    "rules": {
         | 
| 124 | 
            -
                      "@typescript-eslint/non-nullable-type-assertion-style": "off",
         | 
| 125 | 
            -
                      "@typescript-eslint/ban-types": "off",
         | 
| 126 | 
            -
                      "@typescript-eslint/require-await": "off",
         | 
| 127 | 
            -
                      "@typescript-eslint/consistent-type-definitions": "off",
         | 
| 128 | 
            -
                      "@typescript-eslint/ban-ts-comment": "off",
         | 
| 129 | 
            -
                      "@typescript-eslint/no-unnecessary-condition": "off",
         | 
| 130 | 
            -
                      "@typescript-eslint/consistent-indexed-object-style": "off",
         | 
| 131 | 
            -
                      "@typescript-eslint/no-unused-vars": "off",
         | 
| 132 | 
            -
                      "@typescript-eslint/no-unsafe-member-access": "off",
         | 
| 133 | 
            -
                      "line-comment-position": "off",
         | 
| 134 | 
            -
                      "no-inline-comments": "off",
         | 
| 135 | 
            -
                      "no-param-reassign": "off",
         | 
| 136 | 
            -
                      "id-length": "off",
         | 
| 137 | 
            -
                      "no-magic-numbers": "off",
         | 
| 138 | 
            -
                      "func-names": "off",
         | 
| 139 | 
            -
                      "no-duplicate-imports": "off",
         | 
| 140 | 
            -
                      "symbol-description": "off",
         | 
| 141 | 
            -
                      "no-invalid-this": "off",
         | 
| 142 | 
            -
                      "max-lines-per-function": "off",
         | 
| 143 | 
            -
                      "max-lines": "off",
         | 
| 144 | 
            -
                      "max-statements": "off",
         | 
| 145 | 
            -
                      "no-await-in-loop": "off"
         | 
| 146 | 
            -
                    }
         | 
| 147 | 
            -
                  }
         | 
| 148 | 
            -
                ]
         | 
| 149 | 
            -
              },
         | 
| 150 | 
            -
              "jest": {
         | 
| 151 | 
            -
                "moduleFileExtensions": [
         | 
| 152 | 
            -
                  "js",
         | 
| 153 | 
            -
                  "mjs",
         | 
| 154 | 
            -
                  "cjs",
         | 
| 155 | 
            -
                  "ts",
         | 
| 156 | 
            -
                  "mts",
         | 
| 157 | 
            -
                  "json",
         | 
| 158 | 
            -
                  "node"
         | 
| 159 | 
            -
                ],
         | 
| 160 | 
            -
                "extensionsToTreatAsEsm": [
         | 
| 161 | 
            -
                  ".mts"
         | 
| 162 | 
            -
                ],
         | 
| 163 | 
            -
                "transform": {
         | 
| 164 | 
            -
                  "^.+\\.mts$": [
         | 
| 165 | 
            -
                    "ts-jest",
         | 
| 166 | 
            -
                    {
         | 
| 167 | 
            -
                      "isolatedModules": true,
         | 
| 168 | 
            -
                      "diagnostics": false,
         | 
| 169 | 
            -
                      "useESM": true
         | 
| 170 | 
            -
                    }
         | 
| 171 | 
            -
                  ],
         | 
| 172 | 
            -
                  "^.+\\.ts$": [
         | 
| 173 | 
            -
                    "ts-jest",
         | 
| 174 | 
            -
                    {
         | 
| 175 | 
            -
                      "isolatedModules": true,
         | 
| 176 | 
            -
                      "diagnostics": false,
         | 
| 177 | 
            -
                      "useESM": false
         | 
| 178 | 
            -
                    }
         | 
| 179 | 
            -
                  ]
         | 
| 180 | 
            -
                },
         | 
| 181 | 
            -
                "collectCoverageFrom": [
         | 
| 182 | 
            -
                  "<rootDir>/src/**",
         | 
| 183 | 
            -
                  "!<rootDir>/src/**/*.spec.mts",
         | 
| 184 | 
            -
                  "!<rootDir>/src/**/*.test.mts",
         | 
| 185 | 
            -
                  "!<rootDir>/src/**/*.spec.ts",
         | 
| 186 | 
            -
                  "!<rootDir>/src/**/*.test.ts"
         | 
| 187 | 
            -
                ],
         | 
| 188 | 
            -
                "testMatch": [
         | 
| 189 | 
            -
                  "<rootDir>/src/**/*.spec.ts",
         | 
| 190 | 
            -
                  "<rootDir>/src/**/*.spec.mts"
         | 
| 191 | 
            -
                ]
         | 
| 192 | 
            -
              },
         | 
| 193 | 
            -
              "files": [
         | 
| 194 | 
            -
                "tsconfig.json",
         | 
| 195 | 
            -
                "SECURITY.md"
         | 
| 196 | 
            -
              ]
         | 
| 197 | 
            -
            }
         | 
| 1 | 
            +
            {"name":"@checkdigit/typescript-config","version":"3.6.0-PR.38-eb05","description":"Check Digit standard Typescript configuration","prettier":"@checkdigit/prettier-config","engines":{"node":">=16"},"bin":{"builder":"./bin/builder.mjs"},"peerDependencies":{"@types/node":">=16","esbuild":"0.17.19","typescript":">=5.1.3 <5.2"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/typescript-config.git"},"author":"Check Digit, LLC","license":"MIT","bugs":{"url":"https://github.com/checkdigit/typescript-config/issues"},"homepage":"https://github.com/checkdigit/typescript-config#readme","scripts":{"preversion":"npm test","postversion":"git push && git push --tags","prepare":"npm run build-builder","lint:fix":"eslint -f unix --ext .ts,.mts src --fix","lint":"eslint -f unix --ext .ts,.mts src","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","build-builder":"esbuild src/builder/index.mts --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-types":"rimraf build-types && npx builder --type=types --outDir=build-types","build-cjs":"rimraf build-cjs && npx builder --type=commonjs --outDir=build-cjs","build-cjs-bundle":"rimraf build-cjs-bundle && npx builder --type=commonjs --entryPoint=test/index.test.ts --outDir=build-cjs-bundle --outFile=test/index.test.cjs --minify --sourceMap","build-cjs-bundle-no-external":"rimraf build-cjs-bundle-no-external && npx builder --type=commonjs --external=./node_modules/* --entryPoint=test/index.test.ts --outDir=build-cjs-bundle-no-external --outFile=test/index.test.cjs","build-esm":"rimraf build-esm && npx builder --type=module --outDir=build-esm","build-esm-bundle":"rimraf build-esm-bundle && npx builder --type=module --outDir=build-esm-bundle --entryPoint=test/index.test.ts --outFile=test/index.test.mjs","build-esm-bundle-no-external":"rimraf build-esm-bundle-no-external && npx builder --type=module --external=./node_modules/* --outDir=build-esm-bundle-no-external --entryPoint=test/index.test.ts --outFile=test/index.test.mjs --minify","test-jest-esm":"NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage=false src/*.mts src/*/*.mts src/*/*/*.mts","test-jest-cjs":"jest --coverage=false src/*.ts src/*/*.ts src/*/*/*.ts","test-cjs":"node --test build-cjs/test/index.test.cjs","test-cjs-bundle":"node --test build-cjs-bundle/test/index.test.cjs","test-cjs-bundle-no-external":"node --test build-cjs-bundle-no-external/test/index.test.cjs","test-esm":"node --test build-esm/test/index.test.mjs","test-esm-bundle":"echo \"node --test build-esm-bundle/test/index.test.mjs\"","test-esm-bundle-no-external":"node --test build-esm-bundle-no-external/test/index.test.mjs","ci:test":"npm run test-jest-cjs && npm run test-jest-esm && npm run test-cjs && npm run test-cjs-bundle && npm run test-cjs-bundle-no-external && npm run test-esm && npm run test-esm-bundle && npm run test-esm-bundle-no-external","ci:compile":"npm run build-builder && npm run build-types && npm run build-cjs && npm run build-cjs-bundle && npm run build-cjs-bundle-no-external && npm run build-esm && npm run build-esm-bundle && npm run build-esm-bundle-no-external","ci:lint":"npm run lint","ci:style":"npm run prettier"},"devDependencies":{"@checkdigit/prettier-config":"^3.4.0","@types/debug":"^4.1.8","@types/jest":"^29.5.2","@types/uuid":"^9.0.1","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","debug":"^4.3.4","eslint":"^8.42.0","eslint-config-prettier":"^8.8.0","get-port":"^7.0.0","got":"^11.8.6","jest":"^29.5.0","rimraf":"^5.0.1","ts-jest":"^29.1.0","uuid":"^9.0.0"},"eslintConfig":{"parser":"@typescript-eslint/parser","plugins":["@typescript-eslint"],"parserOptions":{"project":"./tsconfig.json"},"extends":["eslint:all","plugin:@typescript-eslint/recommended","plugin:@typescript-eslint/recommended-requiring-type-checking","plugin:@typescript-eslint/strict","prettier"],"rules":{"@typescript-eslint/non-nullable-type-assertion-style":"error","capitalized-comments":"off","one-var":"off","sort-keys":"off","sort-imports":"off","func-style":["error","declaration",{"allowArrowFunctions":true}],"no-magic-numbers":["error",{"ignore":[0,1,2]}],"no-undefined":"off","no-ternary":"off"},"overrides":[{"files":["*.spec.mts","*.test.mts","*.spec.ts","*.test.ts"],"rules":{"@typescript-eslint/non-nullable-type-assertion-style":"off","@typescript-eslint/ban-types":"off","@typescript-eslint/require-await":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-unnecessary-condition":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/no-unsafe-member-access":"off","line-comment-position":"off","no-inline-comments":"off","no-param-reassign":"off","id-length":"off","no-magic-numbers":"off","func-names":"off","no-duplicate-imports":"off","symbol-description":"off","no-invalid-this":"off","max-lines-per-function":"off","max-lines":"off","max-statements":"off","no-await-in-loop":"off"}}]},"jest":{"moduleFileExtensions":["js","mjs","cjs","ts","mts","json","node"],"extensionsToTreatAsEsm":[".mts"],"transform":{"^.+\\.mts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":true}],"^.+\\.ts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":false}]},"collectCoverageFrom":["<rootDir>/src/**","!<rootDir>/src/**/*.spec.mts","!<rootDir>/src/**/*.test.mts","!<rootDir>/src/**/*.spec.ts","!<rootDir>/src/**/*.test.ts"],"testMatch":["<rootDir>/src/**/*.spec.ts","<rootDir>/src/**/*.spec.mts"]},"files":["tsconfig.json","SECURITY.md"]}
         |