@modern-js/new-action 2.21.1 → 2.22.1

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @modern-js/new-action
2
2
 
3
+ ## 2.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e2848a2]
8
+ - Updated dependencies [d4045ed]
9
+ - @modern-js/utils@2.22.1
10
+ - @modern-js/generator-common@3.1.21
11
+ - @modern-js/generator-utils@3.1.21
12
+
13
+ ## 2.22.0
14
+
15
+ ### Patch Changes
16
+
17
+ - b647c68: chore(generator): update codesmith version
18
+
19
+ chore(generator): 更新 codesmith 版本
20
+
21
+ - Updated dependencies [3d48836]
22
+ - Updated dependencies [5050e8e]
23
+ - Updated dependencies [b647c68]
24
+ - Updated dependencies [3c3d1e2]
25
+ - @modern-js/utils@2.22.0
26
+ - @modern-js/generator-common@3.1.20
27
+ - @modern-js/generator-utils@3.1.20
28
+
3
29
  ## 2.21.1
4
30
 
5
31
  ### Patch Changes
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "ModuleNewAction", {
6
6
  enumerable: true,
7
- get: () => ModuleNewAction
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");
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "MonorepoNewAction", {
6
6
  enumerable: true,
7
- get: () => MonorepoNewAction
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: () => MWANewAction
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");
@@ -10,10 +10,18 @@ function _export(target, all) {
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- alreadyRepo: () => alreadyRepo,
14
- readJson: () => readJson,
15
- hasEnabledFunction: () => hasEnabledFunction,
16
- getGeneratorPath: () => getGeneratorPath
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.21.1",
18
+ "version": "2.22.1",
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.3",
34
- "@modern-js/codesmith-formily": "2.2.3",
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.19",
37
- "@modern-js/generator-utils": "3.1.19",
38
- "@modern-js/utils": "2.21.1"
36
+ "@modern-js/generator-common": "3.1.21",
37
+ "@modern-js/generator-utils": "3.1.21",
38
+ "@modern-js/utils": "2.22.1"
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.21.1",
46
- "@scripts/jest-config": "2.21.1"
45
+ "@scripts/build": "2.22.1",
46
+ "@scripts/jest-config": "2.22.1"
47
47
  },
48
48
  "sideEffects": false,
49
49
  "modernConfig": {