@modern-js/upgrade 2.41.0 → 2.42.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ import type { Options } from './upgrade';
3
3
  export type { Options };
4
4
  export declare function defineCommand(program: Command): void;
5
5
  declare const _default: () => void;
6
- export default _default;
6
+ export default _default;
@@ -1,10 +1,10 @@
1
1
  export declare const EN_LOCALE: {
2
- command: {
3
- describe: string;
4
- distTag: string;
5
- registry: string;
6
- debug: string;
7
- cwd: string;
8
- noNeedInstall: string;
9
- };
10
- };
2
+ command: {
3
+ describe: string;
4
+ distTag: string;
5
+ registry: string;
6
+ debug: string;
7
+ cwd: string;
8
+ noNeedInstall: string;
9
+ };
10
+ };
@@ -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
- command: {
5
- describe: string;
6
- distTag: string;
7
- registry: string;
8
- debug: string;
9
- noNeedInstall: string;
10
- cwd: string;
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
- command: {
14
- describe: string;
15
- distTag: string;
16
- registry: string;
17
- debug: string;
18
- cwd: string;
19
- noNeedInstall: string;
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 };
@@ -1,10 +1,10 @@
1
1
  export declare const ZH_LOCALE: {
2
- command: {
3
- describe: string;
4
- distTag: string;
5
- registry: string;
6
- debug: string;
7
- noNeedInstall: string;
8
- cwd: string;
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
- cwd?: string;
3
- debug?: boolean;
4
- distTag?: string;
5
- registry?: string;
6
- needInstall?: boolean;
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.41.0",
18
+ "version": "2.42.0",
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.0",
36
+ "@modern-js/codesmith": "2.3.1",
37
37
  "@swc/helpers": "0.5.3",
38
- "@modern-js/plugin-i18n": "2.41.0",
39
- "@modern-js/utils": "2.41.0"
38
+ "@modern-js/plugin-i18n": "2.42.0",
39
+ "@modern-js/utils": "2.42.0"
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
- "@scripts/build": "2.41.0",
48
- "@scripts/jest-config": "2.41.0",
49
- "@modern-js/upgrade-generator": "3.3.0"
47
+ "@modern-js/upgrade-generator": "3.3.1",
48
+ "@scripts/build": "2.42.0",
49
+ "@scripts/jest-config": "2.42.0"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "publishConfig": {