@lenne.tech/cli 1.49.0 → 1.50.1
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 +27 -10
- package/build/commands/dev/down.js +48 -5
- package/build/commands/dev/status.js +32 -8
- package/build/commands/dev/up.js +59 -21
- package/build/extensions/server.js +1 -1
- package/build/lib/caddy.js +17 -10
- package/build/lib/check-template-sync.js +1 -1
- package/build/lib/dev-env-bridge.js +7 -0
- package/build/lib/dev-env.js +44 -4
- package/build/lib/dev-log-tail.js +91 -0
- package/build/lib/dev-patches.js +15 -5
- package/build/lib/dev-process.js +362 -127
- package/build/lib/dev-project.js +14 -1
- package/build/lib/dev-prune.js +15 -5
- package/build/lib/dev-service.js +29 -15
- package/build/lib/dev-state.js +40 -4
- package/build/lib/dev-test-session.js +58 -36
- package/build/lib/dev-ticket.js +13 -1
- package/build/lib/hoist-workspace-pnpm-config.js +17 -6
- package/build/lib/platform.js +53 -1
- package/build/templates/check/check.mjs +74 -21
- package/build/templates/check/lt-monorepo-pin.json +4 -4
- package/build/templates/nest-server-starter/README.md.ejs +13 -6
- package/package.json +4 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
2
|
+
"commit": "26365f7c8acaa98bc48f360886055d0fe45c593d",
|
|
3
3
|
"files": {
|
|
4
4
|
"build-test-gate.mjs": "865bf1b9dd28151f53b9f2dfe4c3c46d29b9303fb1c2f497ce0e3136bcd37d71",
|
|
5
|
-
"check.mjs": "
|
|
5
|
+
"check.mjs": "6be5506f5fb63f53c65ea438c67d810de1afe1f3299828ef4531c37cc2457d4b",
|
|
6
6
|
"lib/ansi.mjs": "f997ee6e9bf1c7ee54ab612d4040fcc778064ec160eae19bf5c3960a75a6e2ff",
|
|
7
7
|
"lib/audit-report.mjs": "503825c3342dec1ee5d8d70e5af21b73e798faee320426b2492190cde0801df2",
|
|
8
8
|
"lib/workspace-packages.mjs": "ccdd133622a88186c924bc8271d35cf1f8357dc26d4a607998ca5e91fce5bf88"
|
|
9
9
|
},
|
|
10
|
-
"ref": "v3.
|
|
10
|
+
"ref": "v3.14.1",
|
|
11
11
|
"repository": "lenneTech/lt-monorepo",
|
|
12
|
-
"version": "3.
|
|
12
|
+
"version": "3.14.1"
|
|
13
13
|
}
|
|
@@ -91,14 +91,21 @@ JavaScript file: src/main.ts
|
|
|
91
91
|
see [Debug.run.xml](.run/Debug.run.xml)
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
<% if (props.vendor) { -%>
|
|
95
|
+
## Working on the framework core
|
|
96
|
+
This project runs in vendor mode: the `@lenne.tech/nest-server` core is part of the source tree under `src/core/`, not an npm package, so there is nothing to link.
|
|
97
|
+
|
|
98
|
+
- Read `src/core/VENDOR.md` first. It records the upstream baseline and every local change to the core.
|
|
99
|
+
- Put project-specific code outside `src/core/`: extend, inherit from or override the core, never patch it for one project.
|
|
100
|
+
- Pull in upstream changes with `/lt-dev:backend:update-nest-server-core`, and propose generally useful core fixes upstream with `/lt-dev:backend:contribute-nest-server-core`.
|
|
96
101
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
<% } else { -%>
|
|
103
|
+
## Test & debug the NestServer package in this project
|
|
104
|
+
1. Clone [NestServer](https://github.com/lenneTech/nest-server): `git clone https://github.com/lenneTech/nest-server.git`
|
|
105
|
+
2. Link it into this project with `pnpm run link:nest-server` and start the server: `pnpm start`
|
|
106
|
+
3. Switch back to the published package when you are done: `pnpm run unlink:nest-server`
|
|
101
107
|
|
|
108
|
+
<% } -%>
|
|
102
109
|
## Deployment with deploy.party
|
|
103
110
|
|
|
104
111
|
This project is prepared for deployment with deploy.party.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.1",
|
|
4
4
|
"description": "lenne.Tech CLI: lt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lenne.Tech",
|
|
@@ -134,6 +134,9 @@
|
|
|
134
134
|
"rootDir": "__tests__",
|
|
135
135
|
"testTimeout": 60000,
|
|
136
136
|
"workerIdleMemoryLimit": "512MB",
|
|
137
|
+
"setupFilesAfterEnv": [
|
|
138
|
+
"<rootDir>/support/signal-guard.ts"
|
|
139
|
+
],
|
|
137
140
|
"testMatch": [
|
|
138
141
|
"<rootDir>/*.test.ts"
|
|
139
142
|
],
|