@modern-js/core 1.0.0-rc.20 → 1.0.0-rc.21

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,23 @@
1
1
  # @modern-js/core
2
2
 
3
+ ## 1.0.0-rc.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 224f7fe: fix server route match
8
+ - 30ac27c: feat: add generator package description
9
+ - 0fd196e: feat: fix bugs
10
+ - 204c626: feat: initial
11
+ - 63be0a5: fix: #118 #104
12
+ - Updated dependencies [224f7fe]
13
+ - Updated dependencies [30ac27c]
14
+ - Updated dependencies [0fd196e]
15
+ - Updated dependencies [204c626]
16
+ - Updated dependencies [63be0a5]
17
+ - @modern-js/load-config@1.0.0-rc.26
18
+ - @modern-js/plugin@1.0.0-rc.21
19
+ - @modern-js/utils@1.0.0-rc.21
20
+
3
21
  ## 1.0.0-rc.20
4
22
 
5
23
  ### Patch Changes
@@ -5,7 +5,6 @@ import { output } from "./output";
5
5
  import { server } from "./server";
6
6
  import { deploy } from "./deploy";
7
7
  import { tools } from "./tools";
8
- import { bff } from "./bff";
9
8
  const debug = createDebugger('validate-schema');
10
9
  const plugins = {
11
10
  type: 'array',
@@ -31,7 +30,6 @@ export const patchSchema = pluginSchemas => {
31
30
  source,
32
31
  output,
33
32
  server,
34
- bff,
35
33
  deploy,
36
34
  plugins,
37
35
  dev,
@@ -19,8 +19,6 @@ var _deploy = require("./deploy");
19
19
 
20
20
  var _tools = require("./tools");
21
21
 
22
- var _bff = require("./bff");
23
-
24
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
23
 
26
24
  const debug = (0, _utils.createDebugger)('validate-schema');
@@ -49,7 +47,6 @@ const patchSchema = pluginSchemas => {
49
47
  source: _source.source,
50
48
  output: _output.output,
51
49
  server: _server.server,
52
- bff: _bff.bff,
53
50
  deploy: _deploy.deploy,
54
51
  plugins,
55
52
  dev,
@@ -393,19 +393,6 @@ export declare const patchSchema: (pluginSchemas: Array<PluginValidateSchema | P
393
393
  };
394
394
  };
395
395
  };
396
- bff: {
397
- type: string;
398
- additionalProperties: boolean;
399
- properties: {
400
- prefix: {
401
- type: string;
402
- };
403
- proxy: {
404
- type: string;
405
- };
406
- };
407
- required: never[];
408
- };
409
396
  deploy: {
410
397
  type: string;
411
398
  properties: {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@modern-js/core",
3
- "version": "1.0.0-rc.20",
3
+ "description": "Modern.js core package",
4
+ "version": "1.0.0-rc.21",
4
5
  "jsnext:source": "./src/index.ts",
5
6
  "types": "./dist/types/index.d.ts",
6
7
  "main": "./dist/js/node/index.js",
@@ -27,9 +28,9 @@
27
28
  "dependencies": {
28
29
  "@babel/code-frame": "^7.14.5",
29
30
  "@babel/runtime": "^7",
30
- "@modern-js/load-config": "^1.0.0-rc.24",
31
- "@modern-js/plugin": "^1.0.0-rc.20",
32
- "@modern-js/utils": "^1.0.0-rc.20",
31
+ "@modern-js/load-config": "^1.0.0-rc.26",
32
+ "@modern-js/plugin": "^1.0.0-rc.21",
33
+ "@modern-js/utils": "^1.0.0-rc.21",
33
34
  "address": "^1.1.2",
34
35
  "ajv": "^8.6.2",
35
36
  "ajv-keywords": "^5.0.0",
@@ -46,7 +47,7 @@
46
47
  },
47
48
  "devDependencies": {
48
49
  "@types/babel__code-frame": "^7.0.3",
49
- "@modern-js/types": "^1.0.0-rc.20",
50
+ "@modern-js/types": "^1.0.0-rc.21",
50
51
  "@types/jest": "^26",
51
52
  "@types/lodash.clonedeep": "^4.5.6",
52
53
  "@types/lodash.mergewith": "^4.6.6",
@@ -55,8 +56,8 @@
55
56
  "@types/react-dom": "^17",
56
57
  "@types/signale": "^1.4.2",
57
58
  "typescript": "^4",
58
- "@modern-js/plugin-testing": "^1.0.0-rc.20",
59
- "@modern-js/module-tools": "^1.0.0-rc.20"
59
+ "@modern-js/plugin-testing": "^1.0.0-rc.21",
60
+ "@modern-js/module-tools": "^1.0.0-rc.21"
60
61
  },
61
62
  "sideEffects": false,
62
63
  "modernConfig": {
@@ -6,7 +6,6 @@ import { output } from './output';
6
6
  import { server } from './server';
7
7
  import { deploy } from './deploy';
8
8
  import { tools } from './tools';
9
- import { bff } from './bff'
10
9
 
11
10
  const debug = createDebugger('validate-schema');
12
11
 
@@ -40,7 +39,6 @@ export const patchSchema = (
40
39
  source,
41
40
  output,
42
41
  server,
43
- bff,
44
42
  deploy,
45
43
  plugins,
46
44
  dev,
@@ -1,13 +0,0 @@
1
- export const bff = {
2
- type: 'object',
3
- additionalProperties: false,
4
- properties: {
5
- prefix: {
6
- type: 'string'
7
- },
8
- proxy: {
9
- type: 'object'
10
- }
11
- },
12
- required: []
13
- };
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.bff = void 0;
7
- const bff = {
8
- type: 'object',
9
- additionalProperties: false,
10
- properties: {
11
- prefix: {
12
- type: 'string'
13
- },
14
- proxy: {
15
- type: 'object'
16
- }
17
- },
18
- required: []
19
- };
20
- exports.bff = bff;
@@ -1,13 +0,0 @@
1
- export declare const bff: {
2
- type: string;
3
- additionalProperties: boolean;
4
- properties: {
5
- prefix: {
6
- type: string;
7
- };
8
- proxy: {
9
- type: string;
10
- };
11
- };
12
- required: never[];
13
- };
@@ -1,9 +0,0 @@
1
- export const bff = {
2
- type: 'object',
3
- additionalProperties: false,
4
- properties: {
5
- prefix: { type: 'string' },
6
- proxy: { type: 'object'}
7
- },
8
- required: [],
9
- }