From 60e4e6041dd8cee696b09fe7ea6d3a76d85be22b Mon Sep 17 00:00:00 2001 From: Erik Slovak Date: Fri, 7 Feb 2025 19:23:46 +0100 Subject: [PATCH 1/2] chore: sync boilerplate changes --- .nvmrc | 2 +- .watchmanconfig | 2 +- __tests__/tsconfig.json | 7 +++++++ jest.config.js | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.nvmrc b/.nvmrc index b009dfb..d5b283a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/* +22.13.1 diff --git a/.watchmanconfig b/.watchmanconfig index 9e26dfe..0967ef4 100644 --- a/.watchmanconfig +++ b/.watchmanconfig @@ -1 +1 @@ -{} \ No newline at end of file +{} diff --git a/__tests__/tsconfig.json b/__tests__/tsconfig.json index 64ee340..3b6da38 100644 --- a/__tests__/tsconfig.json +++ b/__tests__/tsconfig.json @@ -1,6 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "paths": { + "Config/*": [ "./__tests__/Config/*" ], + "Data/*": [ "./__tests__/Data/*" ], + "Utils/*": [ "./__tests__/Utils/*" ], + "src": [ "./src" ], + "src/*": [ "./src/*" ] + } }, "include": [ "./**/*.ts" diff --git a/jest.config.js b/jest.config.js index 76b7177..349e129 100644 --- a/jest.config.js +++ b/jest.config.js @@ -31,5 +31,5 @@ export default { tsconfig: '/__tests__/tsconfig.json' }] }, - moduleNameMapper: pathsToModuleNameMapper(tsconfig.compilerOptions.paths ?? {}, { prefix: '/' }), + moduleNameMapper: pathsToModuleNameMapper(tsconfig.compilerOptions.paths, { prefix: '/' }), } From 3f31b9277ce7d6d76297585bed40e50be1f3c799 Mon Sep 17 00:00:00 2001 From: Erik Slovak Date: Fri, 7 Feb 2025 19:24:58 +0100 Subject: [PATCH 2/2] chore: update boilerplate version --- .boilerplate-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.boilerplate-version b/.boilerplate-version index 5ed7835..dd55e23 100644 --- a/.boilerplate-version +++ b/.boilerplate-version @@ -1 +1 @@ -813c05c22fe6ab819ad616e30ae2c8f86efadb35 +d769f2d57af542dd1ef245dc3594d9e5ac6e31dc