@checkdigit/typescript-config 9.0.0-PR.68-e44d → 9.0.0-PR.68-1d14
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/SECURITY.md +2 -2
- package/dist-mjs/index.mjs +1 -3
- package/dist-types/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/builder.ts +1 -1
- package/src/index.ts +4 -4
package/SECURITY.md
CHANGED
@@ -6,8 +6,8 @@ These versions of `@checkdigit/typescript-config` are currently being supported
|
|
6
6
|
|
7
7
|
| Version | Supported |
|
8
8
|
| ------- | ------------------ |
|
9
|
-
| \>=
|
10
|
-
| \<
|
9
|
+
| \>= 9.x | :white_check_mark: |
|
10
|
+
| \< 9.0 | :x: |
|
11
11
|
|
12
12
|
## Reporting a Vulnerability
|
13
13
|
|
package/dist-mjs/index.mjs
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
// src/index.ts
|
2
|
-
export * from "./analyze.mjs";
|
3
|
-
export * from "./compile.mjs";
|
4
2
|
import { default as default2 } from "./analyze.mjs";
|
5
3
|
import { default as default3 } from "./compile.mjs";
|
6
4
|
export {
|
7
5
|
default2 as analyze,
|
8
6
|
default3 as compile
|
9
7
|
};
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzIl0sCiAgIm1hcHBpbmdzIjogIjtBQUtBLFNBQW9CLFdBQVhBLGdCQUEwQjtBQUNuQyxTQUFvQixXQUFYQSxnQkFBMEI7IiwKICAibmFtZXMiOiBbImRlZmF1bHQiXQp9Cg==
|
package/dist-types/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './analyze';
|
2
|
-
export * from './compile';
|
3
|
-
export { default as analyze } from './analyze';
|
4
|
-
export { default as compile } from './compile';
|
1
|
+
export type * from './analyze.ts';
|
2
|
+
export type * from './compile.ts';
|
3
|
+
export { default as analyze } from './analyze.ts';
|
4
|
+
export { default as compile } from './compile.ts';
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@checkdigit/typescript-config","version":"9.0.0-PR.68-
|
1
|
+
{"name":"@checkdigit/typescript-config","version":"9.0.0-PR.68-1d14","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":{"@checkdigit/prettier-config":"^5.5.1","@eslint/js":"^9.15.0","@eslint/json":"^0.7.0","@eslint/markdown":"^6.2.1","@jest/globals":"^29.7.0","@types/uuid":"^10.0.0","@typescript-eslint/parser":"^8.15.0","eslint":"^9.15.0","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-yml":"^1.15.0","jest":"^29.7.0","rimraf":"^6.0.1","ts-jest":"^29.2.5","typescript-eslint":"^8.15.0","uuid":"^11.0.3"},"peerDependencies":{"@types/node":">=22","esbuild":"0.24.0","typescript":"5.7.1-rc"},"engines":{"node":">=22.11"},"overrides":{"typescript":"5.7.1-rc"}}
|
package/src/builder.ts
CHANGED
@@ -5,7 +5,7 @@ import { promises as fs } from 'node:fs';
|
|
5
5
|
import path from 'node:path';
|
6
6
|
import { parseArgs } from 'node:util';
|
7
7
|
|
8
|
-
import { analyze, compile } from './index';
|
8
|
+
import { analyze, compile } from './index.ts';
|
9
9
|
|
10
10
|
const {
|
11
11
|
values: { type, inDir, outDir, entryPoint, outFile, external, minify, sourceMap },
|
package/src/index.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
// index.ts
|
2
2
|
|
3
|
-
export * from './analyze';
|
4
|
-
export * from './compile';
|
3
|
+
export type * from './analyze.ts';
|
4
|
+
export type * from './compile.ts';
|
5
5
|
|
6
|
-
export { default as analyze } from './analyze';
|
7
|
-
export { default as compile } from './compile';
|
6
|
+
export { default as analyze } from './analyze.ts';
|
7
|
+
export { default as compile } from './compile.ts';
|