@lenne.tech/cli 1.43.0 → 1.45.0
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/build/commands/dev/doctor.js +30 -7
- package/build/commands/fullstack/add-api.js +6 -1
- package/build/commands/fullstack/add-app.js +6 -1
- package/build/commands/fullstack/init.js +7 -1
- package/build/commands/fullstack/update.js +24 -1
- package/build/config/vendor-runtime-deps.json +2 -3
- package/build/extensions/server.js +19 -8
- package/build/lib/heal-check-wrapper.js +189 -27
- package/build/lib/hoist-workspace-pnpm-config.js +284 -6
- package/build/lib/workspace-integration.js +36 -1
- package/build/templates/check/build-test-gate.mjs +107 -0
- package/build/templates/check/check.mjs +422 -52
- package/docs/commands.md +2 -2
- package/package.json +1 -1
package/docs/commands.md
CHANGED
|
@@ -1167,7 +1167,7 @@ lt fullstack add-api [options]
|
|
|
1167
1167
|
- `projects/api/` already exists → suggests `lt fullstack init` in a fresh directory
|
|
1168
1168
|
- no workspace detected at the target path → asks the user to run `lt fullstack init` first
|
|
1169
1169
|
|
|
1170
|
-
**Side effects:** writes `projects/api/lt.config.json` with the resolved `apiMode` + `frameworkMode`, hoists workspace-scoped `pnpm.overrides` from sub-projects to the root, runs `pnpm install` + `oxfmt` on the new sub-project (unless `--skip-install` is set).
|
|
1170
|
+
**Side effects:** writes `projects/api/lt.config.json` with the resolved `apiMode` + `frameworkMode`, hoists workspace-scoped `pnpm.overrides` from sub-projects to the root, runs `pnpm install` + `oxfmt` on the new sub-project (unless `--skip-install` is set). It warns (`[workspace] …`) when two sources set the same pnpm key to different values, when hoisting widens the audit suppressions workspace-wide, or when it overwrites a value an earlier run hoisted from the other sub-project; the warnings do not change the exit code and are repeated at the end of the run.
|
|
1171
1171
|
|
|
1172
1172
|
**Configuration:** Reads `commands.fullstack.*` (same keys as `lt fullstack init`).
|
|
1173
1173
|
|
|
@@ -1200,7 +1200,7 @@ lt fullstack add-app [options]
|
|
|
1200
1200
|
- `projects/app/` already exists → suggests `lt fullstack init` in a fresh directory
|
|
1201
1201
|
- no workspace detected at the target path → asks the user to run `lt fullstack init` first
|
|
1202
1202
|
|
|
1203
|
-
**Side effects:** patches `projects/app/.env` with a project-specific `NUXT_PUBLIC_STORAGE_PREFIX`, optionally vendorizes `nuxt-extensions` into `app/core/`, hoists workspace-scoped `pnpm.overrides`, runs `pnpm install` + `oxfmt` on the new sub-project (unless `--skip-install` is set).
|
|
1203
|
+
**Side effects:** patches `projects/app/.env` with a project-specific `NUXT_PUBLIC_STORAGE_PREFIX`, optionally vendorizes `nuxt-extensions` into `app/core/`, hoists workspace-scoped `pnpm.overrides`, runs `pnpm install` + `oxfmt` on the new sub-project (unless `--skip-install` is set). It warns (`[workspace] …`) when two sources set the same pnpm key to different values, when hoisting widens the audit suppressions workspace-wide, or when it overwrites a value an earlier run hoisted from the other sub-project; the warnings do not change the exit code and are repeated at the end of the run.
|
|
1204
1204
|
|
|
1205
1205
|
**Configuration:** Reads `commands.fullstack.*` (same keys as `lt fullstack init`).
|
|
1206
1206
|
|