@modern-js/generator-cases 3.4.17 → 3.5.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/dist/cjs/index.js CHANGED
@@ -30,7 +30,6 @@ var src_exports = {};
30
30
  __export(src_exports, {
31
31
  BFFTypeValues: () => BFFTypeValues,
32
32
  BooleanConfigValues: () => BooleanConfigValues,
33
- BuildToolsValues: () => BuildToolsValues,
34
33
  FrameworkValues: () => FrameworkValues,
35
34
  LanguageValues: () => LanguageValues,
36
35
  MWABFFValueMap: () => MWABFFValueMap,
@@ -53,11 +52,9 @@ const PackageManagerValues = Object.values(import_generator_common.PackageManage
53
52
  const BooleanConfigValues = Object.values(import_generator_common.BooleanConfig);
54
53
  const FrameworkValues = Object.values(import_generator_common.Framework);
55
54
  const BFFTypeValues = Object.values(import_generator_common.BFFType);
56
- const BuildToolsValues = Object.values(import_generator_common.BuildTools);
57
55
  const MWAValueMap = {
58
56
  language: LanguageValues,
59
- packageManager: PackageManagerValues,
60
- buildTools: BuildToolsValues
57
+ packageManager: PackageManagerValues
61
58
  };
62
59
  const ModuleValueMap = {
63
60
  language: LanguageValues,
@@ -166,7 +163,6 @@ const ModuleSubProjectValueMap = {
166
163
  0 && (module.exports = {
167
164
  BFFTypeValues,
168
165
  BooleanConfigValues,
169
- BuildToolsValues,
170
166
  FrameworkValues,
171
167
  LanguageValues,
172
168
  MWABFFValueMap,
package/dist/esm/index.js CHANGED
@@ -1,18 +1,16 @@
1
1
  import { _ as _define_property } from "@swc/helpers/_/_define_property";
2
2
  import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
3
3
  import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
4
- import { ActionElement, ActionFunction, BFFType, BooleanConfig, BuildTools, Framework, Language, MWAActionTypes, MWAActionTypesMap, ModuleActionTypes, ModuleActionTypesMap, PackageManager, Solution } from "@modern-js/generator-common";
4
+ import { ActionElement, ActionFunction, BFFType, BooleanConfig, Framework, Language, MWAActionTypes, MWAActionTypesMap, ModuleActionTypes, ModuleActionTypesMap, PackageManager, Solution } from "@modern-js/generator-common";
5
5
  import make from "covertable";
6
6
  var LanguageValues = Object.values(Language);
7
7
  var PackageManagerValues = Object.values(PackageManager);
8
8
  var BooleanConfigValues = Object.values(BooleanConfig);
9
9
  var FrameworkValues = Object.values(Framework);
10
10
  var BFFTypeValues = Object.values(BFFType);
11
- var BuildToolsValues = Object.values(BuildTools);
12
11
  var MWAValueMap = {
13
12
  language: LanguageValues,
14
- packageManager: PackageManagerValues,
15
- buildTools: BuildToolsValues
13
+ packageManager: PackageManagerValues
16
14
  };
17
15
  var ModuleValueMap = {
18
16
  language: LanguageValues,
@@ -111,7 +109,6 @@ var ModuleSubProjectValueMap = {
111
109
  export {
112
110
  BFFTypeValues,
113
111
  BooleanConfigValues,
114
- BuildToolsValues,
115
112
  FrameworkValues,
116
113
  LanguageValues,
117
114
  MWABFFValueMap,
@@ -1,15 +1,13 @@
1
- import { ActionElement, ActionFunction, BFFType, BooleanConfig, BuildTools, Framework, Language, MWAActionTypes, MWAActionTypesMap, ModuleActionTypes, ModuleActionTypesMap, PackageManager, Solution } from "@modern-js/generator-common";
1
+ import { ActionElement, ActionFunction, BFFType, BooleanConfig, Framework, Language, MWAActionTypes, MWAActionTypesMap, ModuleActionTypes, ModuleActionTypesMap, PackageManager, Solution } from "@modern-js/generator-common";
2
2
  import make from "covertable";
3
3
  const LanguageValues = Object.values(Language);
4
4
  const PackageManagerValues = Object.values(PackageManager);
5
5
  const BooleanConfigValues = Object.values(BooleanConfig);
6
6
  const FrameworkValues = Object.values(Framework);
7
7
  const BFFTypeValues = Object.values(BFFType);
8
- const BuildToolsValues = Object.values(BuildTools);
9
8
  const MWAValueMap = {
10
9
  language: LanguageValues,
11
- packageManager: PackageManagerValues,
12
- buildTools: BuildToolsValues
10
+ packageManager: PackageManagerValues
13
11
  };
14
12
  const ModuleValueMap = {
15
13
  language: LanguageValues,
@@ -117,7 +115,6 @@ const ModuleSubProjectValueMap = {
117
115
  export {
118
116
  BFFTypeValues,
119
117
  BooleanConfigValues,
120
- BuildToolsValues,
121
118
  FrameworkValues,
122
119
  LanguageValues,
123
120
  MWABFFValueMap,
@@ -1,10 +1,9 @@
1
- import { BFFType, BooleanConfig, BuildTools, Framework, Language, PackageManager, Solution } from '@modern-js/generator-common';
1
+ import { BFFType, BooleanConfig, Framework, Language, PackageManager, Solution } from '@modern-js/generator-common';
2
2
  export declare const LanguageValues: Language[];
3
3
  export declare const PackageManagerValues: PackageManager[];
4
4
  export declare const BooleanConfigValues: BooleanConfig[];
5
5
  export declare const FrameworkValues: Framework[];
6
6
  export declare const BFFTypeValues: BFFType[];
7
- export declare const BuildToolsValues: BuildTools[];
8
7
  export declare const MWAValueMap: Record<string, string[]>;
9
8
  export declare const ModuleValueMap: Record<string, string[]>;
10
9
  export declare const getMWACases: (length?: number) => {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.4.17",
18
+ "version": "3.5.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -33,15 +33,15 @@
33
33
  "dependencies": {
34
34
  "@swc/helpers": "0.5.3",
35
35
  "covertable": "^2.2.2",
36
- "@modern-js/generator-common": "3.4.17"
36
+ "@modern-js/generator-common": "3.5.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "^29",
40
40
  "@types/node": "^14",
41
41
  "jest": "^29",
42
42
  "typescript": "^5",
43
- "@scripts/build": "2.58.3",
44
- "@scripts/jest-config": "2.58.3"
43
+ "@scripts/jest-config": "2.59.0",
44
+ "@scripts/build": "2.59.0"
45
45
  },
46
46
  "sideEffects": false,
47
47
  "publishConfig": {