@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.
@@ -1,13 +1,13 @@
1
1
  {
2
- "commit": "fcf7c83cffa37b09db88481833e7ccc0dd2fbe0f",
2
+ "commit": "26365f7c8acaa98bc48f360886055d0fe45c593d",
3
3
  "files": {
4
4
  "build-test-gate.mjs": "865bf1b9dd28151f53b9f2dfe4c3c46d29b9303fb1c2f497ce0e3136bcd37d71",
5
- "check.mjs": "fed669a625b56d907ab2e3693c2e5797a877c460588bd79f89249d88c568c178",
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.13.1",
10
+ "ref": "v3.14.1",
11
11
  "repository": "lenneTech/lt-monorepo",
12
- "version": "3.13.1"
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
- ## Test & debug the NestServer package in this project
95
- Use [yalc](https://github.com/wclr/yalc) to include the NestJS server in the project.
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
- 1. clone [NestServer](https://github.com/lenneTech/nest-server): `git clone https://github.com/lenneTech/nest-server.git`
98
- 2. go to the nest-server folder (`cd nest-server`), install the packages via `npm i` and start the nest server in watch & yalc mode: `npm run watch`
99
- 3. link the nest server live package to this project via `npm run link:nest-server` and start the server: `npm start`
100
- 4. unlink the nest-server live package and use the normal package again when you are done: `npm run unlink:nest-server`
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.49.0",
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
  ],