@ttoss/config 1.35.12 → 1.37.2
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/dist/esm/index.js +1 -1
- package/dist/index.d.mts +18 -5
- package/dist/index.d.ts +18 -5
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/tsconfig.json +15 -4
package/dist/esm/index.js
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -27,9 +27,21 @@ declare const lintstagedConfig: (config?: any, deepmergeConfig?: {
|
|
|
27
27
|
arrayMerge: "append" | "overwrite";
|
|
28
28
|
} | undefined) => any;
|
|
29
29
|
|
|
30
|
-
declare const prettierConfig: (config?:
|
|
30
|
+
declare const prettierConfig: (config?: {
|
|
31
|
+
arrowParens: string;
|
|
32
|
+
printWidth: number;
|
|
33
|
+
semi: boolean;
|
|
34
|
+
singleQuote: boolean;
|
|
35
|
+
trailingComma: string;
|
|
36
|
+
}, deepmergeConfig?: {
|
|
31
37
|
arrayMerge: "append" | "overwrite";
|
|
32
|
-
} | undefined) =>
|
|
38
|
+
} | undefined) => {
|
|
39
|
+
arrowParens: string;
|
|
40
|
+
printWidth: number;
|
|
41
|
+
semi: boolean;
|
|
42
|
+
singleQuote: boolean;
|
|
43
|
+
trailingComma: string;
|
|
44
|
+
};
|
|
33
45
|
|
|
34
46
|
declare const syncpackConfig: (config?: any, deepmergeConfig?: {
|
|
35
47
|
arrayMerge: "append" | "overwrite";
|
|
@@ -45,10 +57,11 @@ declare const tsupConfig: (config?: any, deepmergeConfig?: {
|
|
|
45
57
|
} | undefined) => any;
|
|
46
58
|
|
|
47
59
|
/**
|
|
48
|
-
* `target` to `
|
|
49
|
-
*
|
|
60
|
+
* `target` to `es2024` because Node.js 24 supports ES2024 features and
|
|
61
|
+
* esbuild does not yet support `es2025` as a target.
|
|
62
|
+
* https://node.green/#ES2024
|
|
50
63
|
*/
|
|
51
|
-
declare const target = "
|
|
64
|
+
declare const target = "es2024";
|
|
52
65
|
|
|
53
66
|
declare const typescriptConfig_target: typeof target;
|
|
54
67
|
declare namespace typescriptConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -27,9 +27,21 @@ declare const lintstagedConfig: (config?: any, deepmergeConfig?: {
|
|
|
27
27
|
arrayMerge: "append" | "overwrite";
|
|
28
28
|
} | undefined) => any;
|
|
29
29
|
|
|
30
|
-
declare const prettierConfig: (config?:
|
|
30
|
+
declare const prettierConfig: (config?: {
|
|
31
|
+
arrowParens: string;
|
|
32
|
+
printWidth: number;
|
|
33
|
+
semi: boolean;
|
|
34
|
+
singleQuote: boolean;
|
|
35
|
+
trailingComma: string;
|
|
36
|
+
}, deepmergeConfig?: {
|
|
31
37
|
arrayMerge: "append" | "overwrite";
|
|
32
|
-
} | undefined) =>
|
|
38
|
+
} | undefined) => {
|
|
39
|
+
arrowParens: string;
|
|
40
|
+
printWidth: number;
|
|
41
|
+
semi: boolean;
|
|
42
|
+
singleQuote: boolean;
|
|
43
|
+
trailingComma: string;
|
|
44
|
+
};
|
|
33
45
|
|
|
34
46
|
declare const syncpackConfig: (config?: any, deepmergeConfig?: {
|
|
35
47
|
arrayMerge: "append" | "overwrite";
|
|
@@ -45,10 +57,11 @@ declare const tsupConfig: (config?: any, deepmergeConfig?: {
|
|
|
45
57
|
} | undefined) => any;
|
|
46
58
|
|
|
47
59
|
/**
|
|
48
|
-
* `target` to `
|
|
49
|
-
*
|
|
60
|
+
* `target` to `es2024` because Node.js 24 supports ES2024 features and
|
|
61
|
+
* esbuild does not yet support `es2025` as a target.
|
|
62
|
+
* https://node.green/#ES2024
|
|
50
63
|
*/
|
|
51
|
-
declare const target = "
|
|
64
|
+
declare const target = "es2024";
|
|
52
65
|
|
|
53
66
|
declare const typescriptConfig_target: typeof target;
|
|
54
67
|
declare namespace typescriptConfig {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.2",
|
|
4
4
|
"description": "Default configuration for packages.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@jest/types": "^30.0.1",
|
|
40
40
|
"@types/jest": "^30.0.0",
|
|
41
|
-
"@types/node": "^
|
|
41
|
+
"@types/node": "^24.10.13",
|
|
42
42
|
"esbuild": "^0.27.0",
|
|
43
43
|
"jest": "^30.2.0",
|
|
44
44
|
"tsup": "^8.5.1"
|
package/tsconfig.json
CHANGED
|
@@ -17,10 +17,15 @@
|
|
|
17
17
|
"moduleResolution": "Bundler",
|
|
18
18
|
"module": "ESNext",
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* Explicitly include `node` types because TypeScript 6 changed the default
|
|
21
|
+
* `types` to `[]`, no longer auto-including installed `@types/*` packages.
|
|
22
22
|
*/
|
|
23
|
-
"
|
|
23
|
+
"types": ["node"],
|
|
24
|
+
/**
|
|
25
|
+
* `target` to `es2024` because Node.js 24 supports ES2024 features.
|
|
26
|
+
* https://node.green/#ES2024
|
|
27
|
+
*/
|
|
28
|
+
"target": "es2024",
|
|
24
29
|
"declaration": true,
|
|
25
30
|
"sourceMap": true,
|
|
26
31
|
"strict": true,
|
|
@@ -49,7 +54,13 @@
|
|
|
49
54
|
* property initializer.
|
|
50
55
|
* https://chatgpt.com/share/66f55e86-c3ec-8002-bf29-ba18c3af3d0e
|
|
51
56
|
*/
|
|
52
|
-
"strictPropertyInitialization": true
|
|
57
|
+
"strictPropertyInitialization": true,
|
|
58
|
+
/**
|
|
59
|
+
* Set `ignoreDeprecations` to suppress errors for deprecated options that
|
|
60
|
+
* are injected by build tools (e.g., tsup injects `baseUrl`).
|
|
61
|
+
* These deprecations will stop functioning in TypeScript 7.0.
|
|
62
|
+
*/
|
|
63
|
+
"ignoreDeprecations": "6.0"
|
|
53
64
|
},
|
|
54
65
|
"exclude": ["tests"]
|
|
55
66
|
}
|