@modern-js/generator-common 3.3.0 → 3.3.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.
@@ -1 +1 @@
1
- export * from './project';
1
+ export * from './project';
@@ -2,5 +2,5 @@ import { Schema } from '@modern-js/codesmith-formily';
2
2
  import { PackageManager } from '../common';
3
3
  export declare const getBaseSchema: (extra?: Record<string, any>) => Schema;
4
4
  export declare const BaseDefaultConfig: {
5
- packageManager: PackageManager;
6
- };
5
+ packageManager: PackageManager;
6
+ };
@@ -1,7 +1,7 @@
1
1
  import { SchemaEnum } from '@modern-js/codesmith-formily';
2
2
  export declare enum BooleanConfig {
3
- NO = "no",
4
- YES = "yes",
3
+ NO = "no",
4
+ YES = "yes"
5
5
  }
6
6
  export declare const BooleanConfigName: Record<string, () => string>;
7
- export declare const getBooleanSchemas: () => SchemaEnum<string>;
7
+ export declare const getBooleanSchemas: () => SchemaEnum<string>;
@@ -3,4 +3,4 @@ export * from './solution';
3
3
  export * from './language';
4
4
  export * from './packageManager';
5
5
  export * from './packageName';
6
- export * from './packagePath';
6
+ export * from './packagePath';
@@ -1,6 +1,6 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  export declare enum Language {
3
- TS = "ts",
4
- JS = "js",
3
+ TS = "ts",
4
+ JS = "js"
5
5
  }
6
- export declare const getLanguageSchema: (_extra?: Record<string, any>) => Schema;
6
+ export declare const getLanguageSchema: (_extra?: Record<string, any>) => Schema;
@@ -1,8 +1,8 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  export declare enum PackageManager {
3
- Pnpm = "pnpm",
4
- Yarn = "yarn",
5
- Npm = "npm",
3
+ Pnpm = "pnpm",
4
+ Yarn = "yarn",
5
+ Npm = "npm"
6
6
  }
7
7
  export declare const PackageManagerName: Record<string, string>;
8
- export declare const getPackageManagerSchema: (extra?: Record<string, any>) => Schema;
8
+ export declare const getPackageManagerSchema: (extra?: Record<string, any>) => Schema;
@@ -1,2 +1,2 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
- export declare const getPackageNameSchema: (extra?: Record<string, any>) => Schema;
2
+ export declare const getPackageNameSchema: (extra?: Record<string, any>) => Schema;
@@ -1,3 +1,3 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  export declare const PackagePathRegex: RegExp;
3
- export declare const getPackagePathSchema: (extra: Record<string, any>) => Schema;
3
+ export declare const getPackagePathSchema: (extra: Record<string, any>) => Schema;
@@ -1,12 +1,12 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  export declare enum Solution {
3
- MWA = "mwa",
4
- Module = "module",
5
- Monorepo = "monorepo",
3
+ MWA = "mwa",
4
+ Module = "module",
5
+ Monorepo = "monorepo"
6
6
  }
7
7
  export declare enum SubSolution {
8
- MWA = "mwa",
9
- Module = "module",
8
+ MWA = "mwa",
9
+ Module = "module"
10
10
  }
11
11
  export declare const SolutionText: Record<Solution, () => string>;
12
12
  export declare const SubSolutionText: Record<SubSolution, () => string>;
@@ -20,4 +20,4 @@ export declare const SolutionGenerator: Record<Solution, string>;
20
20
  export declare const SubSolutionGenerator: Record<SubSolution, string>;
21
21
  export declare const ChangesetGenerator = "@modern-js/changeset-generator";
22
22
  export declare const DependenceGenerator = "@modern-js/dependence-generator";
23
- export declare const EntryGenerator = "@modern-js/entry-generator";
23
+ export declare const EntryGenerator = "@modern-js/entry-generator";
@@ -3,6 +3,6 @@ import { Language, PackageManager } from '../common';
3
3
  export declare const getGeneratorSchemaProperties: (extra?: Record<string, any>) => Schema['properties'];
4
4
  export declare const getGeneratorSchema: (extra?: Record<string, any>) => Schema;
5
5
  export declare const GeneratorDefaultConfig: {
6
- packageManager: PackageManager;
7
- language: Language;
8
- };
6
+ packageManager: PackageManager;
7
+ language: Language;
8
+ };
@@ -1 +1 @@
1
- export * from './generator';
1
+ export * from './generator';
@@ -9,4 +9,4 @@ export * from './monorepo';
9
9
  export * from './expand';
10
10
  export * from './base';
11
11
  export declare const SolutionDefaultConfig: Record<Solution, Record<string, string>>;
12
- export declare const SolutionSchemas: Record<Solution | 'custom', (extra?: Record<string, string>) => Schema>;
12
+ export declare const SolutionSchemas: Record<Solution | 'custom', (extra?: Record<string, string>) => Schema>;
@@ -1,97 +1,97 @@
1
1
  export declare const EN_LOCALE: {
2
- solution: {
3
- self: string;
4
- mwa: string;
5
- module: string;
6
- monorepo: string;
7
- custom: string;
8
- default: string;
9
- };
10
- scenes: {
11
- self: string;
12
- };
13
- sub_solution: {
14
- self: string;
15
- mwa: string;
16
- module: string;
17
- monorepo: string;
18
- };
19
- action: {
20
- self: string;
21
- function: {
22
- self: string;
23
- question: string;
24
- tailwindcss: string;
25
- bff: string;
26
- micro_frontend: string;
27
- i18n: string;
28
- test: string;
29
- e2e_test: string;
30
- storybook: string;
31
- storybookV7: string;
32
- runtime_api: string;
33
- mwa_storybook: string;
34
- ssg: string;
35
- polyfill: string;
36
- proxy: string;
37
- swc: string;
38
- rspack: string;
39
- module_doc: string;
2
+ solution: {
3
+ self: string;
4
+ mwa: string;
5
+ module: string;
6
+ monorepo: string;
7
+ custom: string;
8
+ default: string;
40
9
  };
41
- element: {
42
- self: string;
43
- question: string;
44
- entry: string;
45
- server: string;
10
+ scenes: {
11
+ self: string;
46
12
  };
47
- refactor: {
48
- self: string;
49
- question: string;
50
- react_router_5: string;
13
+ sub_solution: {
14
+ self: string;
15
+ mwa: string;
16
+ module: string;
17
+ monorepo: string;
51
18
  };
52
- };
53
- boolean: {
54
- yes: string;
55
- no: string;
56
- };
57
- language: {
58
- self: string;
59
- };
60
- packageManager: {
61
- self: string;
62
- };
63
- entry: {
64
- name: string;
65
- no_empty: string;
66
- no_pages: string;
67
- };
68
- packageName: {
69
- self: string;
70
- sub_name: string;
71
- no_empty: string;
72
- };
73
- packagePath: {
74
- self: string;
75
- no_empty: string;
76
- format: string;
77
- };
78
- framework: {
79
- self: string;
80
- egg: string;
81
- express: string;
82
- koa: string;
83
- nest: string;
84
- };
85
- bff: {
86
- bffType: {
87
- self: string;
88
- func: string;
89
- framework: string;
19
+ action: {
20
+ self: string;
21
+ function: {
22
+ self: string;
23
+ question: string;
24
+ tailwindcss: string;
25
+ bff: string;
26
+ micro_frontend: string;
27
+ i18n: string;
28
+ test: string;
29
+ e2e_test: string;
30
+ storybook: string;
31
+ storybookV7: string;
32
+ runtime_api: string;
33
+ mwa_storybook: string;
34
+ ssg: string;
35
+ polyfill: string;
36
+ proxy: string;
37
+ swc: string;
38
+ rspack: string;
39
+ module_doc: string;
40
+ };
41
+ element: {
42
+ self: string;
43
+ question: string;
44
+ entry: string;
45
+ server: string;
46
+ };
47
+ refactor: {
48
+ self: string;
49
+ question: string;
50
+ react_router_5: string;
51
+ };
90
52
  };
91
- };
92
- buildTools: {
93
- self: string;
94
- webpack: string;
95
- rspack: string;
96
- };
97
- };
53
+ boolean: {
54
+ yes: string;
55
+ no: string;
56
+ };
57
+ language: {
58
+ self: string;
59
+ };
60
+ packageManager: {
61
+ self: string;
62
+ };
63
+ entry: {
64
+ name: string;
65
+ no_empty: string;
66
+ no_pages: string;
67
+ };
68
+ packageName: {
69
+ self: string;
70
+ sub_name: string;
71
+ no_empty: string;
72
+ };
73
+ packagePath: {
74
+ self: string;
75
+ no_empty: string;
76
+ format: string;
77
+ };
78
+ framework: {
79
+ self: string;
80
+ egg: string;
81
+ express: string;
82
+ koa: string;
83
+ nest: string;
84
+ };
85
+ bff: {
86
+ bffType: {
87
+ self: string;
88
+ func: string;
89
+ framework: string;
90
+ };
91
+ };
92
+ buildTools: {
93
+ self: string;
94
+ webpack: string;
95
+ rspack: string;
96
+ };
97
+ };
@@ -1,195 +1,195 @@
1
1
  import { I18n } from '@modern-js/plugin-i18n';
2
2
  declare const i18n: I18n;
3
3
  declare const localeKeys: {
4
- solution: {
5
- self: string;
6
- mwa: string;
7
- module: string;
8
- monorepo: string;
9
- custom: string;
10
- default: string;
11
- };
12
- scenes: {
13
- self: string;
14
- };
15
- sub_solution: {
16
- self: string;
17
- mwa: string;
18
- module: string;
19
- };
20
- action: {
21
- self: string;
22
- function: {
23
- self: string;
24
- question: string;
25
- tailwindcss: string;
26
- bff: string;
27
- micro_frontend: string;
28
- i18n: string;
29
- test: string;
30
- e2e_test: string;
31
- storybook: string;
32
- storybookV7: string;
33
- runtime_api: string;
34
- mwa_storybook: string;
35
- ssg: string;
36
- polyfill: string;
37
- proxy: string;
38
- swc: string;
39
- rspack: string;
40
- module_doc: string;
41
- };
42
- element: {
43
- self: string;
44
- question: string;
45
- entry: string;
46
- server: string;
47
- };
48
- refactor: {
49
- self: string;
50
- question: string;
51
- react_router_5: string;
52
- };
53
- };
54
- boolean: {
55
- yes: string;
56
- no: string;
57
- };
58
- language: {
59
- self: string;
60
- };
61
- packageManager: {
62
- self: string;
63
- };
64
- entry: {
65
- name: string;
66
- no_empty: string;
67
- no_pages: string;
68
- };
69
- packageName: {
70
- self: string;
71
- sub_name: string;
72
- no_empty: string;
73
- };
74
- packagePath: {
75
- self: string;
76
- no_empty: string;
77
- format: string;
78
- };
79
- framework: {
80
- self: string;
81
- egg: string;
82
- express: string;
83
- koa: string;
84
- nest: string;
85
- };
86
- bff: {
87
- bffType: {
88
- self: string;
89
- func: string;
90
- framework: string;
91
- };
92
- };
93
- buildTools: {
94
- self: string;
95
- webpack: string;
96
- rspack: string;
97
- };
4
+ solution: {
5
+ self: string;
6
+ mwa: string;
7
+ module: string;
8
+ monorepo: string;
9
+ custom: string;
10
+ default: string;
11
+ };
12
+ scenes: {
13
+ self: string;
14
+ };
15
+ sub_solution: {
16
+ self: string;
17
+ mwa: string;
18
+ module: string;
19
+ };
20
+ action: {
21
+ self: string;
22
+ function: {
23
+ self: string;
24
+ question: string;
25
+ tailwindcss: string;
26
+ bff: string;
27
+ micro_frontend: string;
28
+ i18n: string;
29
+ test: string;
30
+ e2e_test: string;
31
+ storybook: string;
32
+ storybookV7: string;
33
+ runtime_api: string;
34
+ mwa_storybook: string;
35
+ ssg: string;
36
+ polyfill: string;
37
+ proxy: string;
38
+ swc: string;
39
+ rspack: string;
40
+ module_doc: string;
41
+ };
42
+ element: {
43
+ self: string;
44
+ question: string;
45
+ entry: string;
46
+ server: string;
47
+ };
48
+ refactor: {
49
+ self: string;
50
+ question: string;
51
+ react_router_5: string;
52
+ };
53
+ };
54
+ boolean: {
55
+ yes: string;
56
+ no: string;
57
+ };
58
+ language: {
59
+ self: string;
60
+ };
61
+ packageManager: {
62
+ self: string;
63
+ };
64
+ entry: {
65
+ name: string;
66
+ no_empty: string;
67
+ no_pages: string;
68
+ };
69
+ packageName: {
70
+ self: string;
71
+ sub_name: string;
72
+ no_empty: string;
73
+ };
74
+ packagePath: {
75
+ self: string;
76
+ no_empty: string;
77
+ format: string;
78
+ };
79
+ framework: {
80
+ self: string;
81
+ egg: string;
82
+ express: string;
83
+ koa: string;
84
+ nest: string;
85
+ };
86
+ bff: {
87
+ bffType: {
88
+ self: string;
89
+ func: string;
90
+ framework: string;
91
+ };
92
+ };
93
+ buildTools: {
94
+ self: string;
95
+ webpack: string;
96
+ rspack: string;
97
+ };
98
98
  } | {
99
- solution: {
100
- self: string;
101
- mwa: string;
102
- module: string;
103
- monorepo: string;
104
- custom: string;
105
- default: string;
106
- };
107
- scenes: {
108
- self: string;
109
- };
110
- sub_solution: {
111
- self: string;
112
- mwa: string;
113
- module: string;
114
- monorepo: string;
115
- };
116
- action: {
117
- self: string;
118
- function: {
119
- self: string;
120
- question: string;
121
- tailwindcss: string;
122
- bff: string;
123
- micro_frontend: string;
124
- i18n: string;
125
- test: string;
126
- e2e_test: string;
127
- storybook: string;
128
- storybookV7: string;
129
- runtime_api: string;
130
- mwa_storybook: string;
131
- ssg: string;
132
- polyfill: string;
133
- proxy: string;
134
- swc: string;
135
- rspack: string;
136
- module_doc: string;
137
- };
138
- element: {
139
- self: string;
140
- question: string;
141
- entry: string;
142
- server: string;
143
- };
144
- refactor: {
145
- self: string;
146
- question: string;
147
- react_router_5: string;
148
- };
149
- };
150
- boolean: {
151
- yes: string;
152
- no: string;
153
- };
154
- language: {
155
- self: string;
156
- };
157
- packageManager: {
158
- self: string;
159
- };
160
- entry: {
161
- name: string;
162
- no_empty: string;
163
- no_pages: string;
164
- };
165
- packageName: {
166
- self: string;
167
- sub_name: string;
168
- no_empty: string;
169
- };
170
- packagePath: {
171
- self: string;
172
- no_empty: string;
173
- format: string;
174
- };
175
- framework: {
176
- self: string;
177
- egg: string;
178
- express: string;
179
- koa: string;
180
- nest: string;
181
- };
182
- bff: {
183
- bffType: {
184
- self: string;
185
- func: string;
186
- framework: string;
187
- };
188
- };
189
- buildTools: {
190
- self: string;
191
- webpack: string;
192
- rspack: string;
193
- };
99
+ solution: {
100
+ self: string;
101
+ mwa: string;
102
+ module: string;
103
+ monorepo: string;
104
+ custom: string;
105
+ default: string;
106
+ };
107
+ scenes: {
108
+ self: string;
109
+ };
110
+ sub_solution: {
111
+ self: string;
112
+ mwa: string;
113
+ module: string;
114
+ monorepo: string;
115
+ };
116
+ action: {
117
+ self: string;
118
+ function: {
119
+ self: string;
120
+ question: string;
121
+ tailwindcss: string;
122
+ bff: string;
123
+ micro_frontend: string;
124
+ i18n: string;
125
+ test: string;
126
+ e2e_test: string;
127
+ storybook: string;
128
+ storybookV7: string;
129
+ runtime_api: string;
130
+ mwa_storybook: string;
131
+ ssg: string;
132
+ polyfill: string;
133
+ proxy: string;
134
+ swc: string;
135
+ rspack: string;
136
+ module_doc: string;
137
+ };
138
+ element: {
139
+ self: string;
140
+ question: string;
141
+ entry: string;
142
+ server: string;
143
+ };
144
+ refactor: {
145
+ self: string;
146
+ question: string;
147
+ react_router_5: string;
148
+ };
149
+ };
150
+ boolean: {
151
+ yes: string;
152
+ no: string;
153
+ };
154
+ language: {
155
+ self: string;
156
+ };
157
+ packageManager: {
158
+ self: string;
159
+ };
160
+ entry: {
161
+ name: string;
162
+ no_empty: string;
163
+ no_pages: string;
164
+ };
165
+ packageName: {
166
+ self: string;
167
+ sub_name: string;
168
+ no_empty: string;
169
+ };
170
+ packagePath: {
171
+ self: string;
172
+ no_empty: string;
173
+ format: string;
174
+ };
175
+ framework: {
176
+ self: string;
177
+ egg: string;
178
+ express: string;
179
+ koa: string;
180
+ nest: string;
181
+ };
182
+ bff: {
183
+ bffType: {
184
+ self: string;
185
+ func: string;
186
+ framework: string;
187
+ };
188
+ };
189
+ buildTools: {
190
+ self: string;
191
+ webpack: string;
192
+ rspack: string;
193
+ };
194
194
  };
195
- export { i18n, localeKeys };
195
+ export { i18n, localeKeys };
@@ -1,96 +1,96 @@
1
1
  export declare const ZH_LOCALE: {
2
- solution: {
3
- self: string;
4
- mwa: string;
5
- module: string;
6
- monorepo: string;
7
- custom: string;
8
- default: string;
9
- };
10
- scenes: {
11
- self: string;
12
- };
13
- sub_solution: {
14
- self: string;
15
- mwa: string;
16
- module: string;
17
- };
18
- action: {
19
- self: string;
20
- function: {
21
- self: string;
22
- question: string;
23
- tailwindcss: string;
24
- bff: string;
25
- micro_frontend: string;
26
- i18n: string;
27
- test: string;
28
- e2e_test: string;
29
- storybook: string;
30
- storybookV7: string;
31
- runtime_api: string;
32
- mwa_storybook: string;
33
- ssg: string;
34
- polyfill: string;
35
- proxy: string;
36
- swc: string;
37
- rspack: string;
38
- module_doc: string;
2
+ solution: {
3
+ self: string;
4
+ mwa: string;
5
+ module: string;
6
+ monorepo: string;
7
+ custom: string;
8
+ default: string;
39
9
  };
40
- element: {
41
- self: string;
42
- question: string;
43
- entry: string;
44
- server: string;
10
+ scenes: {
11
+ self: string;
45
12
  };
46
- refactor: {
47
- self: string;
48
- question: string;
49
- react_router_5: string;
13
+ sub_solution: {
14
+ self: string;
15
+ mwa: string;
16
+ module: string;
50
17
  };
51
- };
52
- boolean: {
53
- yes: string;
54
- no: string;
55
- };
56
- language: {
57
- self: string;
58
- };
59
- packageManager: {
60
- self: string;
61
- };
62
- entry: {
63
- name: string;
64
- no_empty: string;
65
- no_pages: string;
66
- };
67
- packageName: {
68
- self: string;
69
- sub_name: string;
70
- no_empty: string;
71
- };
72
- packagePath: {
73
- self: string;
74
- no_empty: string;
75
- format: string;
76
- };
77
- framework: {
78
- self: string;
79
- egg: string;
80
- express: string;
81
- koa: string;
82
- nest: string;
83
- };
84
- bff: {
85
- bffType: {
86
- self: string;
87
- func: string;
88
- framework: string;
18
+ action: {
19
+ self: string;
20
+ function: {
21
+ self: string;
22
+ question: string;
23
+ tailwindcss: string;
24
+ bff: string;
25
+ micro_frontend: string;
26
+ i18n: string;
27
+ test: string;
28
+ e2e_test: string;
29
+ storybook: string;
30
+ storybookV7: string;
31
+ runtime_api: string;
32
+ mwa_storybook: string;
33
+ ssg: string;
34
+ polyfill: string;
35
+ proxy: string;
36
+ swc: string;
37
+ rspack: string;
38
+ module_doc: string;
39
+ };
40
+ element: {
41
+ self: string;
42
+ question: string;
43
+ entry: string;
44
+ server: string;
45
+ };
46
+ refactor: {
47
+ self: string;
48
+ question: string;
49
+ react_router_5: string;
50
+ };
89
51
  };
90
- };
91
- buildTools: {
92
- self: string;
93
- webpack: string;
94
- rspack: string;
95
- };
96
- };
52
+ boolean: {
53
+ yes: string;
54
+ no: string;
55
+ };
56
+ language: {
57
+ self: string;
58
+ };
59
+ packageManager: {
60
+ self: string;
61
+ };
62
+ entry: {
63
+ name: string;
64
+ no_empty: string;
65
+ no_pages: string;
66
+ };
67
+ packageName: {
68
+ self: string;
69
+ sub_name: string;
70
+ no_empty: string;
71
+ };
72
+ packagePath: {
73
+ self: string;
74
+ no_empty: string;
75
+ format: string;
76
+ };
77
+ framework: {
78
+ self: string;
79
+ egg: string;
80
+ express: string;
81
+ koa: string;
82
+ nest: string;
83
+ };
84
+ bff: {
85
+ bffType: {
86
+ self: string;
87
+ func: string;
88
+ framework: string;
89
+ };
90
+ };
91
+ buildTools: {
92
+ self: string;
93
+ webpack: string;
94
+ rspack: string;
95
+ };
96
+ };
@@ -1 +1 @@
1
- export * from './project';
1
+ export * from './project';
@@ -3,6 +3,6 @@ import { Language, PackageManager } from '../common';
3
3
  export declare const getModuleSchemaProperties: (extra: Record<string, any>) => Schema['properties'];
4
4
  export declare const getModuleSchema: (extra?: Record<string, any>) => Schema;
5
5
  export declare const ModuleDefaultConfig: {
6
- language: Language;
7
- packageManager: PackageManager;
8
- };
6
+ language: Language;
7
+ packageManager: PackageManager;
8
+ };
@@ -1 +1 @@
1
- export * from './project';
1
+ export * from './project';
@@ -2,5 +2,5 @@ import { Schema } from '@modern-js/codesmith-formily';
2
2
  import { PackageManager } from '../common';
3
3
  export declare const getMonorepoSchema: (extra?: Record<string, any>) => Schema;
4
4
  export declare const MonorepoDefaultConfig: {
5
- packageManager: PackageManager;
6
- };
5
+ packageManager: PackageManager;
6
+ };
@@ -1,13 +1,13 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  import { Framework } from './common';
3
3
  export declare enum BFFType {
4
- Func = "func",
5
- Framework = "framework",
4
+ Func = "func",
5
+ Framework = "framework"
6
6
  }
7
7
  export declare const getBFFTypeSchema: (_extra?: Record<string, any>) => Schema;
8
8
  export declare const getBFFchemaProperties: (extra: Record<string, any>) => Schema['properties'];
9
9
  export declare const getBFFSchema: (extra?: Record<string, any>) => Schema;
10
10
  export declare const MWADefaultBffConfig: {
11
- bffType: BFFType;
12
- frameWork: Framework;
13
- };
11
+ bffType: BFFType;
12
+ frameWork: Framework;
13
+ };
@@ -1,12 +1,12 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  export declare enum Framework {
3
- Express = "express",
4
- Koa = "koa",
3
+ Express = "express",
4
+ Koa = "koa"
5
5
  }
6
6
  export declare enum BuildTools {
7
- Webpack = "webpack",
8
- Rspack = "rspack",
7
+ Webpack = "webpack",
8
+ Rspack = "rspack"
9
9
  }
10
10
  export declare const getFrameworkSchema: (_extra?: Record<string, any>) => Schema;
11
11
  export declare const getBuildToolsSchema: (_extra?: Record<string, any>) => Schema;
12
- export declare const FrameworkAppendTypeContent: Record<Framework, string>;
12
+ export declare const FrameworkAppendTypeContent: Record<Framework, string>;
@@ -4,5 +4,5 @@ export declare const getEntryNameSchema: (extra?: Record<string, any>) => Schema
4
4
  export declare const getEntrySchemaProperties: (extra: Record<string, any>) => Schema['properties'];
5
5
  export declare const getEntrySchema: (extra?: Record<string, any>) => Schema;
6
6
  export declare const MWADefaultEntryConfig: {
7
- needModifyMWAConfig: BooleanConfig;
8
- };
7
+ needModifyMWAConfig: BooleanConfig;
8
+ };
@@ -1,4 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './entry';
3
3
  export * from './bff';
4
- export * from './project';
4
+ export * from './project';
@@ -4,8 +4,8 @@ import { BuildTools } from './common';
4
4
  export declare const getMWASchemaProperties: (extra: Record<string, any>) => Schema['properties'];
5
5
  export declare const getMWASchema: (extra?: Record<string, any>) => Schema;
6
6
  export declare const MWADefaultConfig: {
7
- language: Language;
8
- packageManager: PackageManager;
9
- needModifyMWAConfig: BooleanConfig;
10
- buildTools: BuildTools;
11
- };
7
+ language: Language;
8
+ packageManager: PackageManager;
9
+ needModifyMWAConfig: BooleanConfig;
10
+ buildTools: BuildTools;
11
+ };
@@ -1,35 +1,35 @@
1
1
  export declare enum ActionType {
2
- Function = "function",
3
- Element = "element",
4
- Refactor = "refactor",
2
+ Function = "function",
3
+ Element = "element",
4
+ Refactor = "refactor"
5
5
  }
6
6
  export declare enum ActionElement {
7
- Entry = "entry",
8
- Server = "server",
7
+ Entry = "entry",
8
+ Server = "server"
9
9
  }
10
10
  export declare enum ActionFunction {
11
- TailwindCSS = "tailwindcss",
12
- BFF = "bff",
13
- MicroFrontend = "micro_frontend",
14
- I18n = "i18n",
15
- Test = "test",
16
- E2ETest = "e2e_test",
17
- Storybook = "storybook",
18
- StorybookV7 = "storybookV7",
19
- RuntimeApi = "runtimeApi",
20
- SSG = "ssg",
21
- Polyfill = "polyfill",
22
- Proxy = "proxy",
23
- SWC = "swc",
24
- Rspack = "rspack",
25
- ModuleDoc = "module_doc",
11
+ TailwindCSS = "tailwindcss",
12
+ BFF = "bff",
13
+ MicroFrontend = "micro_frontend",
14
+ I18n = "i18n",
15
+ Test = "test",
16
+ E2ETest = "e2e_test",
17
+ Storybook = "storybook",
18
+ StorybookV7 = "storybookV7",
19
+ RuntimeApi = "runtimeApi",
20
+ SSG = "ssg",
21
+ Polyfill = "polyfill",
22
+ Proxy = "proxy",
23
+ SWC = "swc",
24
+ Rspack = "rspack",
25
+ ModuleDoc = "module_doc"
26
26
  }
27
27
  export declare enum ActionRefactor {
28
- ReactRouter5 = "react_router_5",
28
+ ReactRouter5 = "react_router_5"
29
29
  }
30
30
  export declare const ActionTypeText: Record<ActionType, () => string>;
31
31
  export declare const ActionTypeQuestionText: Record<ActionType, () => string>;
32
32
  export declare const ActionElementText: Record<ActionElement, () => string>;
33
33
  export declare const ActionFunctionText: Record<ActionFunction, () => string>;
34
34
  export declare const ActionRefactorText: Record<ActionRefactor, () => string>;
35
- export declare const ActionTypeTextMap: Record<ActionType, Record<string, () => string>>;
35
+ export declare const ActionTypeTextMap: Record<ActionType, Record<string, () => string>>;
@@ -1,4 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './mwa';
3
3
  export * from './module';
4
- export * from './monorepo';
4
+ export * from './monorepo';
@@ -10,4 +10,4 @@ export declare const ModuleActionFunctionsPeerDependencies: Partial<Record<Actio
10
10
  export declare const ModuleActionFunctionsDependencies: Partial<Record<ActionFunction, string>>;
11
11
  export declare const ModuleNewActionGenerators: Partial<Record<ActionType, Record<string, string>>>;
12
12
  export declare const ModuleNewActionPluginName: Partial<Record<ActionType, Record<string, string>>>;
13
- export declare const ModuleNewActionPluginDependence: Partial<Record<ActionType, Record<string, string>>>;
13
+ export declare const ModuleNewActionPluginDependence: Partial<Record<ActionType, Record<string, string>>>;
@@ -1,4 +1,4 @@
1
1
  import { Schema } from '@modern-js/codesmith-formily';
2
2
  import { SubSolution } from '../../common';
3
3
  export declare const getMonorepoNewActionSchema: (extra?: Record<string, any>) => Schema;
4
- export declare const MonorepoNewActionConfig: Record<SubSolution, Record<string, unknown>>;
4
+ export declare const MonorepoNewActionConfig: Record<SubSolution, Record<string, unknown>>;
@@ -16,4 +16,4 @@ export declare const MWANewActionGenerators: Record<ActionType, Record<string, s
16
16
  export declare const MWANewActionPluginName: Record<ActionType, Record<string, string>>;
17
17
  export declare const MWANewActionPluginDependence: Record<ActionType, Record<string, string>>;
18
18
  export declare const BFFPluginName: Record<Framework, string>;
19
- export declare const BFFPluginDependence: Record<Framework, string>;
19
+ export declare const BFFPluginDependence: Record<Framework, string>;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.3.0",
18
+ "version": "3.3.2",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -31,20 +31,20 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@modern-js/codesmith-formily": "2.3.0",
34
+ "@modern-js/codesmith-formily": "2.3.1",
35
35
  "@swc/helpers": "0.5.3",
36
- "@modern-js/plugin-i18n": "2.41.0"
36
+ "@modern-js/plugin-i18n": "2.42.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@modern-js/codesmith": "2.3.0",
40
- "@modern-js/codesmith-api-app": "2.3.0",
39
+ "@modern-js/codesmith": "2.3.1",
40
+ "@modern-js/codesmith-api-app": "2.3.1",
41
41
  "@types/jest": "^29",
42
42
  "@types/node": "^14",
43
43
  "jest": "^29",
44
44
  "typescript": "^5",
45
- "@modern-js/utils": "2.41.0",
46
- "@scripts/jest-config": "2.41.0",
47
- "@scripts/build": "2.41.0"
45
+ "@modern-js/utils": "2.42.1",
46
+ "@scripts/build": "2.42.1",
47
+ "@scripts/jest-config": "2.42.1"
48
48
  },
49
49
  "sideEffects": false,
50
50
  "publishConfig": {