@js-toolkit/configs 3.94.3 → 3.95.0
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/babel/env.babelrc.d.ts +2 -2
- package/babel/getInstalledPlugin.d.ts +1 -0
- package/buildConfigDefaults.d.ts +1 -0
- package/package.json +4 -5
- package/ts/bundler.tsconfig.json +1 -1
- package/ts/common.tsconfig.json +0 -1
- package/types/assets/_index.ts_ +19 -0
- package/types/index.d.ts +1 -1
- package/types/index.js +1 -1
- package/types/assets/index.d.ts +0 -16
- package/types/assets/index.js +0 -1
package/babel/env.babelrc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
presets: (string | [string, AnyObject] | undefined)[];
|
|
3
|
-
plugins: (string | [string, AnyObject] | undefined)[];
|
|
2
|
+
presets: (string | [string, import("../types").AnyObject] | undefined)[];
|
|
3
|
+
plugins: (string | [string, import("../types").AnyObject] | undefined)[];
|
|
4
4
|
};
|
|
5
5
|
export default config;
|
package/buildConfigDefaults.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@js-toolkit/configs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.95.0",
|
|
4
4
|
"description": "Preconfigured configurations",
|
|
5
5
|
"author": "VZH",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "./",
|
|
8
7
|
"repository": {
|
|
9
8
|
"type": "git",
|
|
10
9
|
"url": "https://github.com/js-toolkit/configs"
|
|
@@ -37,13 +36,13 @@
|
|
|
37
36
|
"eslint-plugin-promise": "^7.2.1",
|
|
38
37
|
"eslint-plugin-react": "^7.37.5",
|
|
39
38
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
40
|
-
"globals": "^16.
|
|
39
|
+
"globals": "^16.2.0",
|
|
41
40
|
"html-webpack-plugin": "^5.6.3",
|
|
42
41
|
"prettier": "^3.5.3",
|
|
43
42
|
"rimraf": "^6.0.1",
|
|
44
43
|
"typescript": "^5.8.3",
|
|
45
|
-
"typescript-eslint": "^8.
|
|
46
|
-
"webpack": "^5.99.
|
|
44
|
+
"typescript-eslint": "^8.33.0",
|
|
45
|
+
"webpack": "^5.99.9",
|
|
47
46
|
"webpack-dev-server": "^5.2.1",
|
|
48
47
|
"webpack-node-externals": "^3.0.0"
|
|
49
48
|
}
|
package/ts/bundler.tsconfig.json
CHANGED
package/ts/common.tsconfig.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare module '*.svg' {
|
|
2
|
+
const path: string;
|
|
3
|
+
export default path;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module '*.jpg' {
|
|
7
|
+
const path: string;
|
|
8
|
+
export default path;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.png' {
|
|
12
|
+
const path: string;
|
|
13
|
+
export default path;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '*.mp3' {
|
|
17
|
+
const path: string;
|
|
18
|
+
export default path;
|
|
19
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
type AnyObject = Record<string, any>;
|
|
1
|
+
export type AnyObject = Record<string, any>;
|
package/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
package/types/assets/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare module '*.svg' {
|
|
2
|
-
const path: string;
|
|
3
|
-
export default path;
|
|
4
|
-
}
|
|
5
|
-
declare module '*.jpg' {
|
|
6
|
-
const path: string;
|
|
7
|
-
export default path;
|
|
8
|
-
}
|
|
9
|
-
declare module '*.png' {
|
|
10
|
-
const path: string;
|
|
11
|
-
export default path;
|
|
12
|
-
}
|
|
13
|
-
declare module '*.mp3' {
|
|
14
|
-
const path: string;
|
|
15
|
-
export default path;
|
|
16
|
-
}
|
package/types/assets/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|