@modern-js/new-action 2.21.0 → 2.22.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/CHANGELOG.md +24 -0
- package/dist/cjs/module.js +3 -1
- package/dist/cjs/monorepo.js +3 -1
- package/dist/cjs/mwa.js +3 -1
- package/dist/cjs/utils/index.js +12 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @modern-js/new-action
|
|
2
2
|
|
|
3
|
+
## 2.22.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b647c68: chore(generator): update codesmith version
|
|
8
|
+
|
|
9
|
+
chore(generator): 更新 codesmith 版本
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [3d48836]
|
|
12
|
+
- Updated dependencies [5050e8e]
|
|
13
|
+
- Updated dependencies [b647c68]
|
|
14
|
+
- Updated dependencies [3c3d1e2]
|
|
15
|
+
- @modern-js/utils@2.22.0
|
|
16
|
+
- @modern-js/generator-common@3.1.20
|
|
17
|
+
- @modern-js/generator-utils@3.1.20
|
|
18
|
+
|
|
19
|
+
## 2.21.1
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- @modern-js/utils@2.21.1
|
|
24
|
+
- @modern-js/generator-common@3.1.19
|
|
25
|
+
- @modern-js/generator-utils@3.1.19
|
|
26
|
+
|
|
3
27
|
## 2.21.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/cjs/module.js
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
Object.defineProperty(exports, "ModuleNewAction", {
|
|
6
6
|
enumerable: true,
|
|
7
|
-
get: ()
|
|
7
|
+
get: function() {
|
|
8
|
+
return ModuleNewAction;
|
|
9
|
+
}
|
|
8
10
|
});
|
|
9
11
|
const _lodash = require("@modern-js/utils/lodash");
|
|
10
12
|
const _codesmith = require("@modern-js/codesmith");
|
package/dist/cjs/monorepo.js
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
Object.defineProperty(exports, "MonorepoNewAction", {
|
|
6
6
|
enumerable: true,
|
|
7
|
-
get: ()
|
|
7
|
+
get: function() {
|
|
8
|
+
return MonorepoNewAction;
|
|
9
|
+
}
|
|
8
10
|
});
|
|
9
11
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
10
12
|
const _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
package/dist/cjs/mwa.js
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
Object.defineProperty(exports, "MWANewAction", {
|
|
6
6
|
enumerable: true,
|
|
7
|
-
get: ()
|
|
7
|
+
get: function() {
|
|
8
|
+
return MWANewAction;
|
|
9
|
+
}
|
|
8
10
|
});
|
|
9
11
|
const _lodash = require("@modern-js/utils/lodash");
|
|
10
12
|
const _codesmith = require("@modern-js/codesmith");
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -10,10 +10,18 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
alreadyRepo: ()
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
alreadyRepo: function() {
|
|
14
|
+
return alreadyRepo;
|
|
15
|
+
},
|
|
16
|
+
readJson: function() {
|
|
17
|
+
return readJson;
|
|
18
|
+
},
|
|
19
|
+
hasEnabledFunction: function() {
|
|
20
|
+
return hasEnabledFunction;
|
|
21
|
+
},
|
|
22
|
+
getGeneratorPath: function() {
|
|
23
|
+
return getGeneratorPath;
|
|
24
|
+
}
|
|
17
25
|
});
|
|
18
26
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
19
27
|
const _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.22.0",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@modern-js/codesmith": "2.2.
|
|
34
|
-
"@modern-js/codesmith-formily": "2.2.
|
|
33
|
+
"@modern-js/codesmith": "2.2.5",
|
|
34
|
+
"@modern-js/codesmith-formily": "2.2.5",
|
|
35
35
|
"@swc/helpers": "0.5.1",
|
|
36
|
-
"@modern-js/generator-common": "3.1.
|
|
37
|
-
"@modern-js/generator-utils": "3.1.
|
|
38
|
-
"@modern-js/utils": "2.
|
|
36
|
+
"@modern-js/generator-common": "3.1.20",
|
|
37
|
+
"@modern-js/generator-utils": "3.1.20",
|
|
38
|
+
"@modern-js/utils": "2.22.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/jest": "^29",
|
|
42
42
|
"@types/node": "^14",
|
|
43
43
|
"jest": "^29",
|
|
44
44
|
"typescript": "^5",
|
|
45
|
-
"@scripts/build": "2.
|
|
46
|
-
"@scripts/jest-config": "2.
|
|
45
|
+
"@scripts/build": "2.22.0",
|
|
46
|
+
"@scripts/jest-config": "2.22.0"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": false,
|
|
49
49
|
"modernConfig": {
|