22 "compilerOptions" : {
33 /* Visit https://aka.ms/tsconfig.json to read more about this file */
44 /* Basic Options */
5+ "module" : " Preserve" ,
56 "resolveJsonModule" : true ,
67 "incremental" : false /* Enable incremental compilation */ ,
78 "target" : " ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ ,
8- "module" : " ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ ,
99 // "lib": [], /* Specify library files to be included in the compilation. */
1010 // "allowJs": true, /* Allow javascript files to be compiled. */
1111 // "checkJs": true, /* Report errors in .js files. */
1212 "jsx" : " react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */ ,
13- "declaration" : true /* Generates corresponding '.d.ts' file. */ ,
13+ // "declaration": true /* Generates corresponding '.d.ts' file. */,
1414 // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1515 // "sourceMap": true, /* Generates corresponding '.map' file. */
1616 // "outFile": "./", /* Concatenate and emit output to single file. */
1717 // "rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
1818 // "composite": true, /* Enable project compilation */
1919 // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
2020 // "removeComments": true, /* Do not emit comments to output. */
21- // "noEmit": true, /* Do not emit outputs. */
21+ "noEmit" : true /* Do not emit outputs. */ ,
2222 "importHelpers" : true /* Import emit helpers from 'tslib'. */ ,
2323 // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2424 // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
3232 // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
3333 // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3434 /* Additional Checks */
35- "noUnusedLocals" : true , /* Report errors on unused locals. */
36- "noUnusedParameters" : true , /* Report errors on unused parameters. */
37- "noImplicitReturns" : true , /* Report error when not all code paths in function return a value. */
38- "noFallthroughCasesInSwitch" : true , /* Report errors for fallthrough cases in switch statement. */
39- "noUncheckedIndexedAccess" : true , /* Include 'undefined' in index signature results */
40- "noPropertyAccessFromIndexSignature" : true , /* Require undeclared properties from index signatures to use element accesses. */
41- "types" : [
42- " vitest/globals"
43- ],
35+ "noUnusedLocals" : true /* Report errors on unused locals. */ ,
36+ "noUnusedParameters" : true /* Report errors on unused parameters. */ ,
37+ "noImplicitReturns" : true /* Report error when not all code paths in function return a value. */ ,
38+ "noFallthroughCasesInSwitch" : true /* Report errors for fallthrough cases in switch statement. */ ,
39+ "noUncheckedIndexedAccess" : true /* Include 'undefined' in index signature results */ ,
40+ "noPropertyAccessFromIndexSignature" : true /* Require undeclared properties from index signatures to use element accesses. */ ,
41+ "types" : [" vitest/globals" ],
4442 /* Module Resolution Options */
4543 "moduleResolution" : " Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ ,
4644 "baseUrl" : " ." /* Base directory to resolve non-absolute module names. */ ,
4745 "paths" : {
48- "@commercelayer/react-components" : [
49- " src/index"
50- ],
51- "#components/*" : [
52- " src/components/*"
53- ],
54- "#components-utils/*" : [
55- " src/components/utils/*"
56- ],
57- "#reducers/*" : [
58- " src/reducers/*"
59- ],
60- "#context/*" : [
61- " src/context/*"
62- ],
63- "#typings/*" : [
64- " src/typings/*"
65- ],
66- "#typings" : [
67- " src/typings/index"
68- ],
69- "#utils/*" : [
70- " src/utils/*"
71- ],
72- "#config/*" : [
73- " src/config/*"
74- ],
75- "#hooks/*" : [
76- " src/hooks/*"
77- ]
46+ "@commercelayer/react-components" : [" src/index" ],
47+ "#components/*" : [" src/components/*" ],
48+ "#components-utils/*" : [" src/components/utils/*" ],
49+ "#reducers/*" : [" src/reducers/*" ],
50+ "#context/*" : [" src/context/*" ],
51+ "#typings/*" : [" src/typings/*" ],
52+ "#typings" : [" src/typings/index" ],
53+ "#utils/*" : [" src/utils/*" ],
54+ "#config/*" : [" src/config/*" ],
55+ "#hooks/*" : [" src/hooks/*" ]
7856 } /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ ,
7957 // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
8058 // "typeRoots": [], /* List of folders to include type definitions from. */
9573 "skipLibCheck" : true /* Skip type checking of declaration files. */ ,
9674 "forceConsistentCasingInFileNames" : true /* Disallow inconsistently-cased references to the same file. */
9775 },
98- "include" : [
99- " **/*.ts" ,
100- " **/*.tsx" ,
101- " vitest.config.mts"
102- ],
103- "exclude" : [
104- " node_modules"
105- ]
106- }
76+ "include" : [" **/*.ts" , " **/*.tsx" , " vitest.config.mts" ],
77+ "exclude" : [" node_modules" , " specs" ]
78+ }
0 commit comments