@modern-js/repo-generator 0.0.0-next-20240515062531 → 0.0.0-next-20240516080418

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -84126,6 +84126,10 @@ var MWAActionFunctionsDependencies = {
84126
84126
  [ActionFunction.TailwindCSS]: "@modern-js/plugin-tailwindcss",
84127
84127
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill"
84128
84128
  };
84129
+ var MWAActionFunctionsAppendTypeContent = {
84130
+ [ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/types' />`,
84131
+ [ActionFunction.Test]: `/// <reference types='@modern-js/plugin-testing/types' />`
84132
+ };
84129
84133
  var MWAActionRefactorDependencies = {
84130
84134
  [ActionRefactor.ReactRouter5]: "@modern-js/plugin-router-v5"
84131
84135
  };
@@ -85872,7 +85876,7 @@ var MWANewAction = async (options) => {
85872
85876
  dependencies: dependency ? {
85873
85877
  [dependency]: `${await getMwaPluginVersion(dependency)}`
85874
85878
  } : {},
85875
- appendTypeContent: MWAActionReactorAppendTypeContent[action2],
85879
+ appendTypeContent: MWAActionFunctionsAppendTypeContent[action2] || MWAActionReactorAppendTypeContent[action2],
85876
85880
  pluginName: MWANewActionPluginName[actionType][action2],
85877
85881
  pluginDependence: MWANewActionPluginDependence[actionType][action2],
85878
85882
  shouldUsePluginNameExport
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20240515062531",
18
+ "version": "0.0.0-next-20240516080418",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,7 +23,7 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "dependencies": {
26
- "@modern-js/utils": "0.0.0-next-20240515062531"
26
+ "@modern-js/utils": "0.0.0-next-20240516080418"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.5",
@@ -32,15 +32,15 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/base-generator": "0.0.0-next-20240515062531",
36
- "@modern-js/generator-common": "0.0.0-next-20240515062531",
37
- "@modern-js/generator-plugin": "0.0.0-next-20240515062531",
38
- "@modern-js/generator-utils": "0.0.0-next-20240515062531",
39
- "@modern-js/module-generator": "0.0.0-next-20240515062531",
40
- "@modern-js/monorepo-generator": "0.0.0-next-20240515062531",
41
- "@modern-js/mwa-generator": "0.0.0-next-20240515062531",
42
- "@scripts/build": "0.0.0-next-20240515062531",
43
- "@scripts/jest-config": "0.0.0-next-20240515062531"
35
+ "@modern-js/base-generator": "0.0.0-next-20240516080418",
36
+ "@modern-js/generator-plugin": "0.0.0-next-20240516080418",
37
+ "@modern-js/module-generator": "0.0.0-next-20240516080418",
38
+ "@modern-js/generator-common": "0.0.0-next-20240516080418",
39
+ "@modern-js/generator-utils": "0.0.0-next-20240516080418",
40
+ "@modern-js/mwa-generator": "0.0.0-next-20240516080418",
41
+ "@scripts/build": "0.0.0-next-20240516080418",
42
+ "@scripts/jest-config": "0.0.0-next-20240516080418",
43
+ "@modern-js/monorepo-generator": "0.0.0-next-20240516080418"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "publishConfig": {