@modern-js/generator-cases 3.0.7 → 3.0.9
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/CHANGELOG.md +15 -0
- package/dist/cjs/index.js +9 -1
- package/dist/esm/index.js +5 -3
- package/dist/esm-node/index.js +6 -2
- package/dist/types/index.d.ts +2 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @modern-js/generator-cases
|
|
2
2
|
|
|
3
|
+
## 3.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7fff9020e1]
|
|
8
|
+
- Updated dependencies [1eea234fdd]
|
|
9
|
+
- @modern-js/generator-common@3.0.9
|
|
10
|
+
|
|
11
|
+
## 3.0.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [b2ea17b]
|
|
16
|
+
- @modern-js/generator-common@3.0.8
|
|
17
|
+
|
|
3
18
|
## 3.0.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -25,6 +29,7 @@ var src_exports = {};
|
|
|
25
29
|
__export(src_exports, {
|
|
26
30
|
BFFTypeValues: () => BFFTypeValues,
|
|
27
31
|
BooleanConfigValues: () => BooleanConfigValues,
|
|
32
|
+
BuildToolsValues: () => BuildToolsValues,
|
|
28
33
|
FrameworkValues: () => FrameworkValues,
|
|
29
34
|
LanguageValues: () => LanguageValues,
|
|
30
35
|
MWABFFValueMap: () => MWABFFValueMap,
|
|
@@ -50,9 +55,11 @@ const PackageManagerValues = Object.values(import_generator_common.PackageManage
|
|
|
50
55
|
const BooleanConfigValues = Object.values(import_generator_common.BooleanConfig);
|
|
51
56
|
const FrameworkValues = Object.values(import_generator_common.Framework);
|
|
52
57
|
const BFFTypeValues = Object.values(import_generator_common.BFFType);
|
|
58
|
+
const BuildToolsValues = Object.values(import_generator_common.BuildTools);
|
|
53
59
|
const MWAValueMap = {
|
|
54
60
|
language: LanguageValues,
|
|
55
|
-
packageManager: PackageManagerValues
|
|
61
|
+
packageManager: PackageManagerValues,
|
|
62
|
+
buildTools: BuildToolsValues
|
|
56
63
|
};
|
|
57
64
|
const ModuleValueMap = {
|
|
58
65
|
language: LanguageValues,
|
|
@@ -193,6 +200,7 @@ const getMonorepoNewCases = (length) => {
|
|
|
193
200
|
0 && (module.exports = {
|
|
194
201
|
BFFTypeValues,
|
|
195
202
|
BooleanConfigValues,
|
|
203
|
+
BuildToolsValues,
|
|
196
204
|
FrameworkValues,
|
|
197
205
|
LanguageValues,
|
|
198
206
|
MWABFFValueMap,
|
package/dist/esm/index.js
CHANGED
|
@@ -76,15 +76,17 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
76
76
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
77
77
|
}
|
|
78
78
|
import make from "covertable";
|
|
79
|
-
import { Solution, PackageManager, Language, BooleanConfig, MWAActionTypes, MWAActionTypesMap, Framework, BFFType, ActionElement, ActionFunction, ModuleActionTypes, ModuleActionTypesMap, SubSolution } from "@modern-js/generator-common";
|
|
79
|
+
import { Solution, PackageManager, Language, BooleanConfig, MWAActionTypes, MWAActionTypesMap, Framework, BFFType, ActionElement, ActionFunction, ModuleActionTypes, ModuleActionTypesMap, SubSolution, BuildTools } from "@modern-js/generator-common";
|
|
80
80
|
var LanguageValues = Object.values(Language);
|
|
81
81
|
var PackageManagerValues = Object.values(PackageManager);
|
|
82
82
|
var BooleanConfigValues = Object.values(BooleanConfig);
|
|
83
83
|
var FrameworkValues = Object.values(Framework);
|
|
84
84
|
var BFFTypeValues = Object.values(BFFType);
|
|
85
|
+
var BuildToolsValues = Object.values(BuildTools);
|
|
85
86
|
var MWAValueMap = {
|
|
86
87
|
language: LanguageValues,
|
|
87
|
-
packageManager: PackageManagerValues
|
|
88
|
+
packageManager: PackageManagerValues,
|
|
89
|
+
buildTools: BuildToolsValues
|
|
88
90
|
};
|
|
89
91
|
var ModuleValueMap = {
|
|
90
92
|
language: LanguageValues,
|
|
@@ -223,4 +225,4 @@ var getMonorepoNewCases = function(length) {
|
|
|
223
225
|
var cases = _toConsumableArray(getMWASubProjectCases(false, length)).concat(_toConsumableArray(getMWASubProjectCases(true, length)), _toConsumableArray(getModuleSubProjectCases(false, length)), _toConsumableArray(getModuleSubProjectCases(true, length)));
|
|
224
226
|
return cases;
|
|
225
227
|
};
|
|
226
|
-
export { BFFTypeValues, BooleanConfigValues, FrameworkValues, LanguageValues, MWABFFValueMap, MWAServerValueMap, MWASubProjectValueMap, MWAValueMap, ModuleSubProjectValueMap, ModuleValueMap, MonorepoValueMap, PackageManagerValues, getMWACases, getMWANewCases, getModuleCases, getModuleNewCases, getMonorepoCases, getMonorepoNewCases };
|
|
228
|
+
export { BFFTypeValues, BooleanConfigValues, BuildToolsValues, FrameworkValues, LanguageValues, MWABFFValueMap, MWAServerValueMap, MWASubProjectValueMap, MWAValueMap, ModuleSubProjectValueMap, ModuleValueMap, MonorepoValueMap, PackageManagerValues, getMWACases, getMWANewCases, getModuleCases, getModuleNewCases, getMonorepoCases, getMonorepoNewCases };
|
package/dist/esm-node/index.js
CHANGED
|
@@ -12,16 +12,19 @@ import {
|
|
|
12
12
|
ActionFunction,
|
|
13
13
|
ModuleActionTypes,
|
|
14
14
|
ModuleActionTypesMap,
|
|
15
|
-
SubSolution
|
|
15
|
+
SubSolution,
|
|
16
|
+
BuildTools
|
|
16
17
|
} from "@modern-js/generator-common";
|
|
17
18
|
const LanguageValues = Object.values(Language);
|
|
18
19
|
const PackageManagerValues = Object.values(PackageManager);
|
|
19
20
|
const BooleanConfigValues = Object.values(BooleanConfig);
|
|
20
21
|
const FrameworkValues = Object.values(Framework);
|
|
21
22
|
const BFFTypeValues = Object.values(BFFType);
|
|
23
|
+
const BuildToolsValues = Object.values(BuildTools);
|
|
22
24
|
const MWAValueMap = {
|
|
23
25
|
language: LanguageValues,
|
|
24
|
-
packageManager: PackageManagerValues
|
|
26
|
+
packageManager: PackageManagerValues,
|
|
27
|
+
buildTools: BuildToolsValues
|
|
25
28
|
};
|
|
26
29
|
const ModuleValueMap = {
|
|
27
30
|
language: LanguageValues,
|
|
@@ -161,6 +164,7 @@ const getMonorepoNewCases = (length) => {
|
|
|
161
164
|
export {
|
|
162
165
|
BFFTypeValues,
|
|
163
166
|
BooleanConfigValues,
|
|
167
|
+
BuildToolsValues,
|
|
164
168
|
FrameworkValues,
|
|
165
169
|
LanguageValues,
|
|
166
170
|
MWABFFValueMap,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Solution, PackageManager, Language, BooleanConfig, Framework, BFFType } from '@modern-js/generator-common';
|
|
1
|
+
import { Solution, PackageManager, Language, BooleanConfig, Framework, BFFType, BuildTools } 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[];
|
|
7
8
|
export declare const MWAValueMap: Record<string, string[]>;
|
|
8
9
|
export declare const ModuleValueMap: Record<string, string[]>;
|
|
9
10
|
export declare const MonorepoValueMap: Record<string, string[]>;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "3.0.
|
|
14
|
+
"version": "3.0.9",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime": "^7.18.0",
|
|
31
31
|
"covertable": "^2.2.2",
|
|
32
|
-
"@modern-js/generator-common": "3.0.
|
|
32
|
+
"@modern-js/generator-common": "3.0.9"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/jest": "^27",
|
|
36
36
|
"@types/node": "^14",
|
|
37
37
|
"typescript": "^4",
|
|
38
38
|
"jest": "^27",
|
|
39
|
-
"@scripts/build": "2.
|
|
40
|
-
"@scripts/jest-config": "2.
|
|
39
|
+
"@scripts/build": "2.7.0",
|
|
40
|
+
"@scripts/jest-config": "2.7.0"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|