@bleedingdev/modern-js-main-doc 3.2.0-ultramodern.4 → 3.2.0-ultramodern.8
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.
|
@@ -107,5 +107,13 @@ When `--bff` or `--bff-runtime effect` is enabled, `modern.config.ts` enables `@
|
|
|
107
107
|
When `--bff-runtime hono` is enabled, `modern.config.ts` enables `@modern-js/plugin-bff`, generates `api/lambda/hello.ts`, and sets `bff.runtimeFramework` to `hono`.
|
|
108
108
|
When `--workspace` is enabled, `@modern-js/*` dependencies use `workspace:*` versions for local monorepo linkage.
|
|
109
109
|
|
|
110
|
-
If you want the public
|
|
111
|
-
|
|
110
|
+
If you want the public UltraModern.js SuperApp path, use the BleedingDev create
|
|
111
|
+
package. It defaults to the canonical Effect + TanStack + SSR + Micro Verticals
|
|
112
|
+
workspace and published BleedingDev package aliases:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
pnpm dlx @bleedingdev/modern-js-create myapp
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
The lower-level `--ultramodern-*` flags are reserved for release engineering
|
|
119
|
+
and local package-source testing.
|
|
@@ -9,7 +9,8 @@ import NodeVersion from '@site-docs-en/components/nodeVersion.mdx';
|
|
|
9
9
|
It is recommended to use [pnpm](https://pnpm.io/installation) to manage dependencies:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
12
|
+
corepack enable pnpm
|
|
13
|
+
corepack prepare pnpm@11.1.2 --activate
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
:::note
|
|
@@ -107,5 +107,11 @@ npx @modern-js/create@latest myapp --router tanstack --bff-runtime effect --work
|
|
|
107
107
|
当启用 `--bff-runtime hono` 时,会在 `modern.config.ts` 中启用 `@modern-js/plugin-bff`,生成 `api/lambda/hello.ts`,并将 `bff.runtimeFramework` 设置为 `hono`。
|
|
108
108
|
当启用 `--workspace` 时,`@modern-js/*` 依赖会使用 `workspace:*` 版本,便于本地 monorepo 联调。
|
|
109
109
|
|
|
110
|
-
如果你需要公开的 UltraModern
|
|
111
|
-
|
|
110
|
+
如果你需要公开的 UltraModern.js SuperApp 路径,请使用 BleedingDev create 包。
|
|
111
|
+
它默认生成规范的 Effect + TanStack + SSR + Micro Verticals workspace,并使用已发布的 BleedingDev 包别名:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
pnpm dlx @bleedingdev/modern-js-create myapp
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
底层 `--ultramodern-*` 参数只保留给发布工程和本地包源测试使用。
|
package/package.json
CHANGED
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"modern",
|
|
19
19
|
"modern.js"
|
|
20
20
|
],
|
|
21
|
-
"version": "3.2.0-ultramodern.
|
|
21
|
+
"version": "3.2.0-ultramodern.8",
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"registry": "https://registry.npmjs.org/",
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"mermaid": "^11.15.0",
|
|
28
|
-
"@modern-js/sandpack-react": "npm:@bleedingdev/modern-js-sandpack-react@3.2.0-ultramodern.
|
|
28
|
+
"@modern-js/sandpack-react": "npm:@bleedingdev/modern-js-sandpack-react@3.2.0-ultramodern.8"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@rsbuild/plugin-sass": "1.5.2",
|