@modern-js/upgrade 2.41.0 → 2.42.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- package/dist/locale/en.d.ts +9 -9
- package/dist/locale/index.d.ts +17 -17
- package/dist/locale/zh.d.ts +9 -9
- package/dist/upgrade.d.ts +6 -6
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
package/dist/locale/en.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
export declare const EN_LOCALE: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
};
|
2
|
+
command: {
|
3
|
+
describe: string;
|
4
|
+
distTag: string;
|
5
|
+
registry: string;
|
6
|
+
debug: string;
|
7
|
+
cwd: string;
|
8
|
+
noNeedInstall: string;
|
9
|
+
};
|
10
|
+
};
|
package/dist/locale/index.d.ts
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
import { I18n } from '@modern-js/plugin-i18n';
|
2
2
|
declare const i18n: I18n;
|
3
3
|
declare const localeKeys: {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
command: {
|
5
|
+
describe: string;
|
6
|
+
distTag: string;
|
7
|
+
registry: string;
|
8
|
+
debug: string;
|
9
|
+
noNeedInstall: string;
|
10
|
+
cwd: string;
|
11
|
+
};
|
12
12
|
} | {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
command: {
|
14
|
+
describe: string;
|
15
|
+
distTag: string;
|
16
|
+
registry: string;
|
17
|
+
debug: string;
|
18
|
+
cwd: string;
|
19
|
+
noNeedInstall: string;
|
20
|
+
};
|
21
21
|
};
|
22
|
-
export { i18n, localeKeys };
|
22
|
+
export { i18n, localeKeys };
|
package/dist/locale/zh.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
export declare const ZH_LOCALE: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
};
|
2
|
+
command: {
|
3
|
+
describe: string;
|
4
|
+
distTag: string;
|
5
|
+
registry: string;
|
6
|
+
debug: string;
|
7
|
+
noNeedInstall: string;
|
8
|
+
cwd: string;
|
9
|
+
};
|
10
|
+
};
|
package/dist/upgrade.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export interface Options {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
cwd?: string;
|
3
|
+
debug?: boolean;
|
4
|
+
distTag?: string;
|
5
|
+
registry?: string;
|
6
|
+
needInstall?: boolean;
|
7
7
|
}
|
8
|
-
export declare function upgradeAction(options: Options): Promise<void>;
|
8
|
+
export declare function upgradeAction(options: Options): Promise<void>;
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.42.1",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/index.d.ts",
|
21
21
|
"main": "./dist/index.js",
|
@@ -33,10 +33,10 @@
|
|
33
33
|
}
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@modern-js/codesmith": "2.3.
|
36
|
+
"@modern-js/codesmith": "2.3.1",
|
37
37
|
"@swc/helpers": "0.5.3",
|
38
|
-
"@modern-js/plugin-i18n": "2.
|
39
|
-
"@modern-js/utils": "2.
|
38
|
+
"@modern-js/plugin-i18n": "2.42.1",
|
39
|
+
"@modern-js/utils": "2.42.1"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
42
|
"@types/jest": "^29",
|
@@ -44,9 +44,9 @@
|
|
44
44
|
"jest": "^29",
|
45
45
|
"ts-node": "^10.9.1",
|
46
46
|
"typescript": "^5",
|
47
|
-
"@
|
48
|
-
"@scripts/
|
49
|
-
"@
|
47
|
+
"@modern-js/upgrade-generator": "3.3.2",
|
48
|
+
"@scripts/build": "2.42.1",
|
49
|
+
"@scripts/jest-config": "2.42.1"
|
50
50
|
},
|
51
51
|
"sideEffects": false,
|
52
52
|
"publishConfig": {
|