@modern-js/core 1.4.5 → 1.4.6

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,16 @@
1
1
  # @modern-js/core
2
2
 
3
+ ## 1.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - cc5e8001: fix: load plugins
8
+ - 2520ea86: fix: garfish schema
9
+ - e81fd9b7: fix: update "server.metrics" type
10
+ - 1c411e71: fix: mergeConfig util function
11
+ - Updated dependencies [db43dce6]
12
+ - @modern-js/utils@1.3.4
13
+
3
14
  ## 1.4.4
4
15
 
5
16
  ### Patch Changes
@@ -155,10 +155,10 @@ export const server = {
155
155
  instanceof: 'Function'
156
156
  },
157
157
  logger: {
158
- type: 'object'
158
+ type: ['object', 'boolean']
159
159
  },
160
160
  metrics: {
161
- type: 'object'
161
+ type: ['object', 'boolean']
162
162
  },
163
163
  proxy: {
164
164
  type: 'object'
@@ -163,10 +163,10 @@ const server = {
163
163
  instanceof: 'Function'
164
164
  },
165
165
  logger: {
166
- type: 'object'
166
+ type: ['object', 'boolean']
167
167
  },
168
168
  metrics: {
169
- type: 'object'
169
+ type: ['object', 'boolean']
170
170
  },
171
171
  proxy: {
172
172
  type: 'object'
@@ -380,10 +380,10 @@ export declare const patchSchema: (pluginSchemas: Array<PluginValidateSchema | P
380
380
  instanceof: string;
381
381
  };
382
382
  logger: {
383
- type: string;
383
+ type: string[];
384
384
  };
385
385
  metrics: {
386
- type: string;
386
+ type: string[];
387
387
  };
388
388
  proxy: {
389
389
  type: string;
@@ -167,10 +167,10 @@ export declare const server: {
167
167
  instanceof: string;
168
168
  };
169
169
  logger: {
170
- type: string;
170
+ type: string[];
171
171
  };
172
172
  metrics: {
173
- type: string;
173
+ type: string[];
174
174
  };
175
175
  proxy: {
176
176
  type: string;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.4.5",
14
+ "version": "1.4.6",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -44,7 +44,7 @@
44
44
  "@babel/runtime": "^7",
45
45
  "@modern-js/load-config": "^1.2.2",
46
46
  "@modern-js/plugin": "^1.2.1",
47
- "@modern-js/utils": "^1.3.3",
47
+ "@modern-js/utils": "^1.3.4",
48
48
  "address": "^1.1.2",
49
49
  "ajv": "^8.6.2",
50
50
  "ajv-keywords": "^5.0.0",
@@ -82,8 +82,7 @@
82
82
  },
83
83
  "publishConfig": {
84
84
  "registry": "https://registry.npmjs.org/",
85
- "access": "public",
86
- "types": "./dist/types/index.d.ts"
85
+ "access": "public"
87
86
  },
88
87
  "scripts": {
89
88
  "new": "modern new",