Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Commit 228172b

Browse files
committed
build: adjust tsconfig
1 parent 781b505 commit 228172b

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

lambda-ioc/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coderspirit/lambda-ioc",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"main": "./dist/cjs/index.js",
55
"module": "./dist/esm/index.js",
66
"types": "./dist/cjs/index.d.ts",
@@ -9,6 +9,7 @@
99
"require": "./dist/cjs/index.js",
1010
"node": "./dist/cjs/index.js"
1111
},
12+
"description": "Pure functional (λ) dependency injection 💉 for TypeScript (inspired by Diddly)",
1213
"keywords": [
1314
"typescript",
1415
"functional",
@@ -52,7 +53,7 @@
5253
"typescript": "^4.5.5"
5354
},
5455
"engines": {
55-
"node": ">=12.0.0"
56+
"node": ">=14.0.0"
5657
},
5758
"settings": {
5859
"jest": {

lambda-ioc/tsconfig.base.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"checkJs": true, /* Report errors in .js files. */
1111
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1212
"declaration": true, /* Generates corresponding '.d.ts' file. */
13-
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
14-
// "sourceMap": true, /* Generates corresponding '.map' file. */
13+
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
14+
"sourceMap": true, /* Generates corresponding '.map' file. */
1515
// "outFile": "./", /* Concatenate and emit output to single file. */
1616
// "outDir": "./dist", /* Redirect output structure to the directory. */
1717
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
@@ -31,14 +31,20 @@
3131
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
3232
"strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
3333
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
34+
"useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
3435
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3536

3637
/* Additional Checks */
3738
"noUnusedLocals": true, /* Report errors on unused locals. */
3839
"noUnusedParameters": true, /* Report errors on unused parameters. */
40+
"exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
3941
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
4042
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
4143
"noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
44+
"noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
45+
"noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
46+
"allowUnusedLabels": false, /* Disable error reporting for unused labels. */
47+
"allowUnreachableCode": false, /* Disable error reporting for unreachable code. */
4248

4349
/* Module Resolution Options */
4450
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */

yarn.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -645,14 +645,14 @@
645645
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
646646

647647
"@types/node@*":
648-
version "17.0.13"
649-
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.13.tgz#5ed7ed7c662948335fcad6c412bb42d99ea754e3"
650-
integrity sha512-Y86MAxASe25hNzlDbsviXl8jQHb0RDvKt4c40ZJQ1Don0AAL0STLZSs4N+6gLEO55pedy7r2cLwS+ZDxPm/2Bw==
648+
version "17.0.14"
649+
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.14.tgz#33b9b94f789a8fedd30a68efdbca4dbb06b61f20"
650+
integrity sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==
651651

652652
"@types/node@^14.14.37":
653-
version "14.18.9"
654-
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.9.tgz#0e5944eefe2b287391279a19b407aa98bd14436d"
655-
integrity sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==
653+
version "14.18.10"
654+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.10.tgz#774f43868964f3cfe4ced1f5417fe15818a4eaea"
655+
integrity sha512-6iihJ/Pp5fsFJ/aEDGyvT4pHGmCpq7ToQ/yf4bl5SbVAvwpspYJ+v3jO7n8UyjhQVHTy+KNszOozDdv+O6sovQ==
656656

657657
"@types/prettier@^2.1.5":
658658
version "2.4.3"
@@ -1009,9 +1009,9 @@ camelcase@^6.2.0:
10091009
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
10101010

10111011
caniuse-lite@^1.0.30001286:
1012-
version "1.0.30001304"
1013-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz#38af55ed3fc8220cb13e35e6e7309c8c65a05559"
1014-
integrity sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==
1012+
version "1.0.30001305"
1013+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001305.tgz#02cd8031df07c4fcb117aa2ecc4899122681bd4c"
1014+
integrity sha512-p7d9YQMji8haf0f+5rbcv9WlQ+N5jMPfRAnUmZRlNxsNeBO3Yr7RYG6M2uTY1h9tCVdlkJg6YNNc4kiAiBLdWA==
10151015

10161016
chalk@^2.0.0:
10171017
version "2.4.2"
@@ -1216,9 +1216,9 @@ domexception@^2.0.1:
12161216
webidl-conversions "^5.0.0"
12171217

12181218
electron-to-chromium@^1.4.17:
1219-
version "1.4.58"
1220-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.58.tgz#cd980b08338210b591c25492857a518fe286b1d4"
1221-
integrity sha512-7LXwnKyqcEaMFVXOer+2JPfFs1D+ej7yRRrfZoIH1YlLQZ81OvBNwSCBBLtExVkoMQQgOWwO0FbZVge6U/8rhQ==
1219+
version "1.4.62"
1220+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.62.tgz#f97b643d206813b9154f1700b3c5b5b828ddc9ac"
1221+
integrity sha512-fWc/zAThqZzl7fbuLzar+x6bqZBWHrsBXQOqv//yrgdTLY/G3JGTPOWhPKIhbhynJJhqE9QNzKzlpCINUmUMoA==
12221222

12231223
emittery@^0.8.1:
12241224
version "0.8.1"
@@ -1609,9 +1609,9 @@ globals@^11.1.0:
16091609
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
16101610

16111611
globals@^13.6.0, globals@^13.9.0:
1612-
version "13.12.0"
1613-
resolved "https://registry.yarnpkg.com/globals/-/globals-13.12.0.tgz#4d733760304230a0082ed96e21e5c565f898089e"
1614-
integrity sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==
1612+
version "13.12.1"
1613+
resolved "https://registry.yarnpkg.com/globals/-/globals-13.12.1.tgz#ec206be932e6c77236677127577aa8e50bf1c5cb"
1614+
integrity sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==
16151615
dependencies:
16161616
type-fest "^0.20.2"
16171617

0 commit comments

Comments
 (0)