@modern-js/plugin-garfish 2.39.1 → 2.40.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.
@@ -50,36 +50,6 @@ const garfishPlugin = ({ pluginName = "@modern-js/plugin-garfish", runtimePlugin
50
50
  setup: ({ useAppContext, useResolvedConfigContext, useConfigContext }) => {
51
51
  let pluginsExportsUtils;
52
52
  return {
53
- validateSchema() {
54
- return [
55
- {
56
- target: "runtime.masterApp",
57
- schema: {
58
- type: [
59
- "boolean",
60
- "object"
61
- ]
62
- }
63
- },
64
- {
65
- target: "dev.withMasterApp",
66
- schema: {
67
- type: [
68
- "object"
69
- ]
70
- }
71
- },
72
- {
73
- target: "deploy.microFrontend",
74
- schema: {
75
- type: [
76
- "boolean",
77
- "object"
78
- ]
79
- }
80
- }
81
- ];
82
- },
83
53
  resolvedConfig: async (config) => {
84
54
  const { resolved } = config;
85
55
  const { masterApp, router } = (0, import_utils2.getRuntimeConfig)(resolved);
@@ -29,36 +29,6 @@ var garfishPlugin = function() {
29
29
  var useAppContext = param.useAppContext, useResolvedConfigContext = param.useResolvedConfigContext, useConfigContext = param.useConfigContext;
30
30
  var pluginsExportsUtils;
31
31
  return {
32
- validateSchema: function validateSchema() {
33
- return [
34
- {
35
- target: "runtime.masterApp",
36
- schema: {
37
- type: [
38
- "boolean",
39
- "object"
40
- ]
41
- }
42
- },
43
- {
44
- target: "dev.withMasterApp",
45
- schema: {
46
- type: [
47
- "object"
48
- ]
49
- }
50
- },
51
- {
52
- target: "deploy.microFrontend",
53
- schema: {
54
- type: [
55
- "boolean",
56
- "object"
57
- ]
58
- }
59
- }
60
- ];
61
- },
62
32
  resolvedConfig: function() {
63
33
  var _ref2 = _async_to_generator(function(config) {
64
34
  var resolved, _getRuntimeConfig, masterApp, router, nConfig, _useConfig_server, _router_historyOptions, useConfig, baseUrl;
@@ -24,36 +24,6 @@ const garfishPlugin = ({ pluginName = "@modern-js/plugin-garfish", runtimePlugin
24
24
  setup: ({ useAppContext, useResolvedConfigContext, useConfigContext }) => {
25
25
  let pluginsExportsUtils;
26
26
  return {
27
- validateSchema() {
28
- return [
29
- {
30
- target: "runtime.masterApp",
31
- schema: {
32
- type: [
33
- "boolean",
34
- "object"
35
- ]
36
- }
37
- },
38
- {
39
- target: "dev.withMasterApp",
40
- schema: {
41
- type: [
42
- "object"
43
- ]
44
- }
45
- },
46
- {
47
- target: "deploy.microFrontend",
48
- schema: {
49
- type: [
50
- "boolean",
51
- "object"
52
- ]
53
- }
54
- }
55
- ];
56
- },
57
27
  resolvedConfig: async (config) => {
58
28
  const { resolved } = config;
59
29
  const { masterApp, router } = getRuntimeConfig(resolved);
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.39.1",
18
+ "version": "2.40.0",
19
19
  "jsnext:source": "./src/cli/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "typesVersions": {
@@ -70,10 +70,10 @@
70
70
  "hoist-non-react-statics": "^3.3.2",
71
71
  "react-loadable": "^5.5.0",
72
72
  "@swc/helpers": "0.5.1",
73
- "@modern-js/utils": "2.39.1"
73
+ "@modern-js/utils": "2.40.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@modern-js/runtime": "^2.39.1",
76
+ "@modern-js/runtime": "^2.40.0",
77
77
  "react": ">=17",
78
78
  "react-dom": ">=17"
79
79
  },
@@ -91,13 +91,13 @@
91
91
  "react-dom": "^18",
92
92
  "react-router-dom": "6.17.0",
93
93
  "typescript": "^5",
94
- "@modern-js/app-tools": "2.39.1",
95
- "@modern-js/core": "2.39.1",
96
- "@modern-js/plugin-router-v5": "2.39.1",
97
- "@modern-js/runtime": "2.39.1",
98
- "@modern-js/types": "2.39.1",
99
- "@scripts/build": "2.39.1",
100
- "@scripts/jest-config": "2.39.1"
94
+ "@modern-js/app-tools": "2.40.0",
95
+ "@modern-js/core": "2.40.0",
96
+ "@modern-js/plugin-router-v5": "2.40.0",
97
+ "@modern-js/runtime": "2.40.0",
98
+ "@modern-js/types": "2.40.0",
99
+ "@scripts/build": "2.40.0",
100
+ "@scripts/jest-config": "2.40.0"
101
101
  },
102
102
  "sideEffects": false,
103
103
  "publishConfig": {