fabrique 0.2.5 → 0.3.3
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/.yarn/releases/{yarn-4.6.0.cjs → yarn-4.7.0.cjs} +292 -291
- package/.yarnrc.yml +1 -1
- package/README.md +13 -11
- package/package.json +6 -6
- package/src/actions/refactor.js +10 -11
- package/src/helpers/cmd.js +1 -0
- package/src/helpers/fs/explore-directory-sequentially.js +19 -0
- package/templates/lib/.prettierrc +1 -1
- package/templates/lib/.yarn/releases/{yarn-4.6.0.cjs → yarn-4.7.0.cjs} +292 -291
- package/templates/lib/.yarnrc.yml +1 -1
- package/templates/lib/CONTRIBUTING.md +2 -2
- package/templates/lib/LICENSE +1 -1
- package/templates/lib/README.md +5 -0
- package/templates/lib/fabrique/actions/build.js +205 -71
- package/templates/lib/fabrique/actions/publish.js +4 -3
- package/templates/lib/fabrique/constants/root-path.constant.js +4 -0
- package/templates/lib/fabrique/helpers/cmd.js +1 -0
- package/templates/lib/fabrique/helpers/explore-directory.js +5 -2
- package/templates/lib/fabrique/test/tools.ts +9 -1
- package/templates/lib/package.json +9 -4
- package/templates/lib/tsconfig.build.json +6 -11
- package/templates/lib/tsconfig.json +46 -19
- package/templates/lib/typedoc.json +12 -0
- package/templates/lib/vitest.config.ts +12 -1
- package/templates/lib/yarn.lock +0 -1734
|
@@ -1,37 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"alwaysStrict": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
3
|
+
/* Build */
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "NodeNext",
|
|
8
6
|
"lib": [
|
|
9
7
|
"ESNext",
|
|
10
8
|
"DOM"
|
|
11
9
|
],
|
|
12
|
-
"
|
|
10
|
+
"types": [
|
|
11
|
+
"node"
|
|
12
|
+
],
|
|
13
|
+
"typeRoots": [
|
|
14
|
+
"node_modules/@types"
|
|
15
|
+
],
|
|
16
|
+
"useDefineForClassFields": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"declaration": false,
|
|
19
|
+
"experimentalDecorators": true,
|
|
20
|
+
"emitDecoratorMetadata": false,
|
|
21
|
+
"importHelpers": false,
|
|
22
|
+
"noEmitHelpers": false,
|
|
23
|
+
"pretty": true,
|
|
24
|
+
"removeComments": false,
|
|
25
|
+
"downlevelIteration": false,
|
|
26
|
+
"resolveJsonModule": true,
|
|
27
|
+
"sourceMap": true,
|
|
28
|
+
"stripInternal": false,
|
|
29
|
+
"preserveConstEnums": false,
|
|
30
|
+
"alwaysStrict": true,
|
|
31
|
+
|
|
32
|
+
/* Mode */
|
|
33
|
+
"esModuleInterop": true,
|
|
13
34
|
"moduleResolution": "NodeNext",
|
|
14
|
-
"
|
|
35
|
+
"allowImportingTsExtensions": false,
|
|
36
|
+
"isolatedModules": false,
|
|
37
|
+
"moduleDetection": "force",
|
|
38
|
+
"noEmit": false,
|
|
39
|
+
"allowSyntheticDefaultImports": true,
|
|
40
|
+
|
|
41
|
+
/* Linting */
|
|
42
|
+
"strict": true,
|
|
43
|
+
"noUnusedLocals": true,
|
|
44
|
+
"noUnusedParameters": true,
|
|
45
|
+
"noFallthroughCasesInSwitch": true,
|
|
46
|
+
"noUncheckedSideEffectImports": true,
|
|
47
|
+
"allowUnreachableCode": false,
|
|
48
|
+
"allowUnusedLabels": false,
|
|
49
|
+
"forceConsistentCasingInFileNames": true,
|
|
50
|
+
"noImplicitOverride": true,
|
|
15
51
|
"noImplicitAny": true,
|
|
16
52
|
"noImplicitReturns": true,
|
|
17
53
|
"noImplicitThis": true,
|
|
18
54
|
"noImplicitUseStrict": false,
|
|
19
|
-
"
|
|
20
|
-
"
|
|
55
|
+
"noLib": false,
|
|
56
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
21
57
|
"strictFunctionTypes": true,
|
|
22
58
|
"strictNullChecks": true,
|
|
23
59
|
"strictPropertyInitialization": true,
|
|
24
|
-
"stripInternal": false,
|
|
25
|
-
"target": "esnext",
|
|
26
|
-
"typeRoots": [
|
|
27
|
-
"node_modules/@types"
|
|
28
|
-
]
|
|
29
60
|
},
|
|
30
61
|
"include": [
|
|
31
|
-
"src
|
|
32
|
-
],
|
|
33
|
-
"exclude": [
|
|
34
|
-
"src/**/*.spec.ts",
|
|
35
|
-
"src/**/*.test.ts",
|
|
62
|
+
"src/**/*.ts"
|
|
36
63
|
]
|
|
37
64
|
}
|
|
@@ -2,6 +2,17 @@ import { defineConfig } from 'vitest/config';
|
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
test: {
|
|
5
|
-
|
|
5
|
+
dir: 'src',
|
|
6
|
+
coverage: {
|
|
7
|
+
provider: 'istanbul',
|
|
8
|
+
include: ['src/**/*.ts'],
|
|
9
|
+
exclude: [
|
|
10
|
+
'src/**/*.{test,bench,protected,private}.ts',
|
|
11
|
+
'src/**/*.{protected,private}/**/*.ts',
|
|
12
|
+
],
|
|
13
|
+
thresholds: {
|
|
14
|
+
100: true,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
6
17
|
},
|
|
7
18
|
});
|