@modern-js/main-doc 0.0.0-next-1678289354233 → 0.0.0-next-1678332401690
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/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# @modern-js/main-doc
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-1678332401690
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- ea7bb41e3: feat: add custom web server docs
|
|
8
8
|
feat: 添加自定义 Web Server 文档
|
|
9
|
-
-
|
|
9
|
+
- 1104a9f18: feat: support start web service only
|
|
10
10
|
feat: 支持只启动 web 服务
|
|
11
|
-
-
|
|
11
|
+
- bd58566b3: Fix Typo
|
|
12
12
|
|
|
13
13
|
修复 Typo
|
|
14
14
|
|
|
15
|
-
- Updated dependencies [
|
|
16
|
-
- Updated dependencies [
|
|
17
|
-
- @modern-js/builder-doc@0.0.0-next-
|
|
15
|
+
- Updated dependencies [9736c6a43]
|
|
16
|
+
- Updated dependencies [2c1151271]
|
|
17
|
+
- @modern-js/builder-doc@0.0.0-next-1678332401690
|
|
@@ -7,8 +7,8 @@ import { Tabs, Tab as TabItem } from "@theme";
|
|
|
7
7
|
<TabItem value="express" label="Express.js" default>
|
|
8
8
|
|
|
9
9
|
```ts title="edenx.config.ts"
|
|
10
|
-
import expressPlugin from '@
|
|
11
|
-
import bffPlugin from '@
|
|
10
|
+
import expressPlugin from '@modern-js/plugin-express';
|
|
11
|
+
import bffPlugin from '@modern-js/plugin-bff';
|
|
12
12
|
|
|
13
13
|
export default defineConfig({
|
|
14
14
|
plugins: [expressPlugin(), bffPlugin()],
|
|
@@ -19,8 +19,8 @@ export default defineConfig({
|
|
|
19
19
|
<TabItem value="koa" label="Koa.js">
|
|
20
20
|
|
|
21
21
|
```ts title="edenx.config.ts"
|
|
22
|
-
import koaPlugin from '@
|
|
23
|
-
import bffPlugin from '@
|
|
22
|
+
import koaPlugin from '@modern-js/plugin-koa';
|
|
23
|
+
import bffPlugin from '@modern-js/plugin-bff';
|
|
24
24
|
|
|
25
25
|
export default defineConfig({
|
|
26
26
|
plugins: [koaPlugin(), bffPlugin()],
|
package/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-1678332401690",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
20
|
+
"@modern-js/builder-doc": "0.0.0-next-1678332401690"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"ts-node": "^10",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^10",
|
|
26
26
|
"@types/node": "^16",
|
|
27
27
|
"@types/fs-extra": "^9",
|
|
28
|
-
"@modern-js/builder-doc": "0.0.0-next-
|
|
28
|
+
"@modern-js/builder-doc": "0.0.0-next-1678332401690"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "npx ts-node ./scripts/sync.ts"
|
|
@@ -7,8 +7,8 @@ import { Tabs, Tab as TabItem } from "@theme";
|
|
|
7
7
|
<TabItem value="express" label="Express.js" default>
|
|
8
8
|
|
|
9
9
|
```ts title="edenx.config.ts"
|
|
10
|
-
import expressPlugin from '@
|
|
11
|
-
import bffPlugin from '@
|
|
10
|
+
import expressPlugin from '@modern-js/plugin-express';
|
|
11
|
+
import bffPlugin from '@modern-js/plugin-bff';
|
|
12
12
|
|
|
13
13
|
export default defineConfig({
|
|
14
14
|
plugins: [expressPlugin(), bffPlugin()],
|
|
@@ -19,8 +19,8 @@ export default defineConfig({
|
|
|
19
19
|
<TabItem value="koa" label="Koa.js">
|
|
20
20
|
|
|
21
21
|
```ts title="edenx.config.ts"
|
|
22
|
-
import koaPlugin from '@
|
|
23
|
-
import bffPlugin from '@
|
|
22
|
+
import koaPlugin from '@modern-js/plugin-koa';
|
|
23
|
+
import bffPlugin from '@modern-js/plugin-bff';
|
|
24
24
|
|
|
25
25
|
export default defineConfig({
|
|
26
26
|
plugins: [koaPlugin(), bffPlugin()],
|