@modern-js/runtime 1.0.1 → 1.1.2

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,18 +1,54 @@
1
1
  # @modern-js/runtime
2
2
 
3
- ## 1.0.1
3
+ ## 1.1.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - release 1.0.1
8
- - Updated dependencies [undefined]
9
- - @modern-js/core@1.0.1
10
- - @modern-js/plugin-router@1.0.1
11
- - @modern-js/plugin-ssr@1.0.1
12
- - @modern-js/plugin-state@1.0.1
13
- - @modern-js/runtime-core@1.0.1
14
- - @modern-js/bff-runtime@1.0.1
15
- - @modern-js/utils@1.0.1
7
+ - e51b1db3: feat: support custom sdk, interceptor, headers for bff request
8
+ - Updated dependencies [e51b1db3]
9
+ - Updated dependencies [4a281912]
10
+ - Updated dependencies [4a281912]
11
+ - Updated dependencies [b7fb82ec]
12
+ - Updated dependencies [eb026119]
13
+ - @modern-js/plugin-ssr@1.1.3
14
+ - @modern-js/create-request@1.1.2
15
+ - @modern-js/runtime-core@1.1.3
16
+ - @modern-js/plugin-router@1.1.2
17
+ - @modern-js/plugin-state@1.1.4
18
+ - @modern-js/utils@1.1.6
19
+
20
+ ## 1.1.1
21
+
22
+ ### Patch Changes
23
+
24
+ - 0fa83663: support more .env files
25
+ - Updated dependencies [6f7fe574]
26
+ - Updated dependencies [0fa83663]
27
+ - Updated dependencies [f594fbc8]
28
+ - @modern-js/core@1.1.2
29
+ - @modern-js/plugin-state@1.1.2
30
+ - @modern-js/runtime-core@1.1.1
31
+ - @modern-js/bff-runtime@1.1.1
32
+ - @modern-js/utils@1.1.2
33
+ - @modern-js/plugin-router@1.1.1
34
+ - @modern-js/plugin-ssr@1.1.1
35
+
36
+ ## 1.1.0
37
+
38
+ ### Minor Changes
39
+
40
+ - 96119db2: Relese v1.1.0
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [96119db2]
45
+ - @modern-js/core@1.1.0
46
+ - @modern-js/plugin-router@1.1.0
47
+ - @modern-js/plugin-ssr@1.1.0
48
+ - @modern-js/plugin-state@1.1.0
49
+ - @modern-js/runtime-core@1.1.0
50
+ - @modern-js/bff-runtime@1.1.0
51
+ - @modern-js/utils@1.1.0
16
52
 
17
53
  ## 1.0.0
18
54
 
@@ -0,0 +1 @@
1
+ export { configure } from '@modern-js/create-request';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "configure", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _createRequest.configure;
10
+ }
11
+ });
12
+
13
+ var _createRequest = require("@modern-js/create-request");
@@ -0,0 +1 @@
1
+ export { configure } from '@modern-js/create-request';
@@ -0,0 +1 @@
1
+ export { configure } from '@modern-js/create-request';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.0.1",
14
+ "version": "1.1.2",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./type.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -50,6 +50,10 @@
50
50
  "node": "./dist/js/node/exports/model.js",
51
51
  "default": "./dist/js/treeshaking/exports/model.js"
52
52
  },
53
+ "./request": {
54
+ "node": "./dist/js/node/exports/request.js",
55
+ "default": "./dist/js/treeshaking/exports/request.js"
56
+ },
53
57
  "./cli": "./dist/js/node/cli/index.js"
54
58
  },
55
59
  "typesVersions": {
@@ -75,6 +79,9 @@
75
79
  "router": [
76
80
  "./dist/types/exports/router.d.ts"
77
81
  ],
82
+ "request": [
83
+ "./dist/types/exports/request.d.ts"
84
+ ],
78
85
  "model": [
79
86
  "./types/model.d.ts"
80
87
  ]
@@ -83,12 +90,13 @@
83
90
  "dependencies": {
84
91
  "@babel/runtime": "^7",
85
92
  "@loadable/component": "^5.15.0",
86
- "@modern-js/bff-runtime": "^1.0.1",
87
- "@modern-js/plugin-router": "^1.0.1",
88
- "@modern-js/plugin-ssr": "^1.0.1",
89
- "@modern-js/plugin-state": "^1.0.1",
90
- "@modern-js/runtime-core": "^1.0.1",
91
- "@modern-js/utils": "^1.0.1",
93
+ "@modern-js/bff-runtime": "^1.1.1",
94
+ "@modern-js/create-request": "^1.1.2",
95
+ "@modern-js/plugin-router": "^1.1.2",
96
+ "@modern-js/plugin-ssr": "^1.1.3",
97
+ "@modern-js/plugin-state": "^1.1.4",
98
+ "@modern-js/runtime-core": "^1.1.3",
99
+ "@modern-js/utils": "^1.1.6",
92
100
  "@types/loadable__component": "^5.13.4",
93
101
  "@types/react-helmet": "^6.1.2",
94
102
  "@types/styled-components": "^5.1.13",
@@ -96,17 +104,17 @@
96
104
  "styled-components": "^5.3.1"
97
105
  },
98
106
  "devDependencies": {
107
+ "@modern-js/core": "^1.1.2",
108
+ "@modern-js/module-tools": "^1.1.4",
109
+ "@modern-js/plugin-testing": "^1.2.2",
99
110
  "@types/jest": "^26",
100
111
  "@types/node": "^14",
101
112
  "@types/react": "^17",
102
113
  "@types/react-dom": "^17",
103
- "typescript": "^4",
104
- "@modern-js/core": "^1.0.1",
105
- "@modern-js/plugin-testing": "^1.0.2",
106
- "@modern-js/module-tools": "^1.0.2"
114
+ "typescript": "^4"
107
115
  },
108
116
  "peerDependencies": {
109
- "@modern-js/core": "^1.0.1"
117
+ "@modern-js/core": "^1.1.2"
110
118
  },
111
119
  "sideEffects": false,
112
120
  "modernConfig": {},
@@ -118,5 +126,6 @@
118
126
  "new": "modern new",
119
127
  "build": "modern build",
120
128
  "test": "modern test --passWithNoTests"
121
- }
129
+ },
130
+ "readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
122
131
  }
@@ -0,0 +1 @@
1
+ export { configure } from '@modern-js/create-request';