@checkdigit/typescript-config 3.3.0-PR.30-e0ba → 3.3.0-PR.30-47e2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.ts +12 -0
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@checkdigit/typescript-config","version":"3.3.0-PR.30-
|
1
|
+
{"name":"@checkdigit/typescript-config","version":"3.3.0-PR.30-47e2","description":"Check Digit standard Typescript configuration","prettier":"@checkdigit/prettier-config","engines":{"node":">=16"},"peerDependencies":{"@types/node":">=16","typescript":">=5.0.4 <5.1"},"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","lint:fix":"eslint -f unix --ext .ts src --fix","lint":"eslint -f unix --ext .ts 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-tsc-cjs":"rimraf build-tsc-cjs && tsc --outDir build-tsc-cjs","build-esbuild-cjs":"rimraf build-esbuild-cjs && esbuild ./src/*.ts ./src/*/*.ts --platform=node --bundle --format=cjs --sourcemap=inline --sources-content=false --outdir=build-esbuild-cjs","build-esbuild-cjs-bundle":"rimraf build-esbuild-cjs-bundle && esbuild ./src/index.ts --bundle --platform=node --format=cjs --sourcemap=inline --sources-content=false --outfile=build-esbuild-cjs-bundle/index.cjs","build-esbuild-esm":"rimraf build-esbuild-esm && node builder.mjs --outDir=build-esbuild-esm","build-esbuild-esm-bundle":"rimraf build-esbuild-esm-bundle && esbuild ./src/index.ts --bundle --platform=node --format=esm --sourcemap=inline --sources-content=false --outfile=build-esbuild-esm-bundle/index.mjs","test-jest-cjs":"jest --coverage=false","test-jest-esm":"NODE_OPTIONS=\"--no-warnings --experimental-vm-modules\" jest --coverage=false","test-tsc-cjs":"node --test build-tsc-cjs/index.js","test-esbuild-cjs":"node --test build-esbuild-cjs/index.js","test-esbuild-cjs-bundle":"node --test build-esbuild-cjs-bundle/index.cjs","test-esbuild-esm":"node --test build-esbuild-esm/index.mjs","test-esbuild-esm-bundle":"echo 'node -test build-esbuild-esm-bundle/index.mjs'","ci:test":"npm run test-jest-cjs && npm run test-tsc-cjs && npm run test-esbuild-cjs && npm run test-esbuild-cjs-bundle && npm run test-esbuild-esm && npm run test-esbuild-esm-bundle","ci:compile":"npm run build-tsc-cjs && npm run build-esbuild-cjs && npm run build-esbuild-cjs-bundle && npm run build-esbuild-esm && npm run build-esbuild-esm-bundle","ci:lint":"npm run lint","ci:style":"npm run prettier"},"devDependencies":{"@checkdigit/prettier-config":"^3.4.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","@types/jest":"^29.5.0","esbuild":"^0.17.16","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","get-port":"^6.1.2","got":"11.8.6","jest":"^29.5.0","rimraf":"^5.0.0","ts-jest":"^29.1.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/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","sort-imports":"off","capitalized-comments":"off","line-comment-position":"off","no-inline-comments":"off","no-param-reassign":"off","id-length":"off","no-magic-numbers":"off","sort-keys":"off","func-style":"off","func-names":"off","no-undefined":"off","one-var":"off","no-ternary":"off","no-duplicate-imports":"off","symbol-description":"off"}},"jest":{"extensionsToTreatAsEsm":[".mts"],"transform":{"^.+\\.ts$":["ts-jest",{"isolatedModules":true,"diagnostics":false,"useESM":false}]},"collectCoverageFrom":["<rootDir>/src/**","!<rootDir>/src/**/*.spec.ts","!<rootDir>/src/**/*.test.ts"],"testMatch":["<rootDir>/src/**/*.spec.ts"]},"files":["tsconfig.json","SECURITY.md","/src/"]}
|
package/src/index.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
// index.ts
|
2
|
+
|
3
|
+
import './lib/es2023.spec';
|
4
|
+
import './lib/esnext.full.spec';
|
5
|
+
|
6
|
+
import './typescript-4.4.spec';
|
7
|
+
import './typescript-4.5.spec';
|
8
|
+
import './typescript-4.6.spec';
|
9
|
+
import './typescript-4.7.spec';
|
10
|
+
import './typescript-4.8.spec';
|
11
|
+
import './typescript-4.9.spec';
|
12
|
+
import './typescript-5.0.spec';
|