@auto-engineer/server-generator-nestjs 1.110.6 → 1.111.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/CHANGELOG.md CHANGED
@@ -1,5 +1,66 @@
1
1
  # @auto-engineer/server-generator-nestjs
2
2
 
3
+ ## 1.111.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bb1d999`](https://github.com/BeOnAuto/auto-engineer/commit/bb1d9993bf8e1759f510dc69fb29f29aa78551c6) Thanks [@osamanar](https://github.com/osamanar)! - - Improved overall system functionality and reliability
8
+ - Fixed configuration issues in the typical example setup
9
+ - Updated dependency lock file for consistency
10
+
11
+ - [`7ce6b69`](https://github.com/BeOnAuto/auto-engineer/commit/7ce6b69f51721efa94401226bdc1df746e2e923b) Thanks [@osamanar](https://github.com/osamanar)! - - Improvements across the project
12
+
13
+ ### Patch Changes
14
+
15
+ - [`7f19f4d`](https://github.com/BeOnAuto/auto-engineer/commit/7f19f4d1bbd91f0c5800aea47d726ba652d742ce) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: update ketchup plan — mark fixes 9-11 complete
16
+
17
+ - [`500ec1a`](https://github.com/BeOnAuto/auto-engineer/commit/500ec1a8101687408b91101f774dcc78c9c1b800) Thanks [@osamanar](https://github.com/osamanar)! - - Removed AI-generated comments from React component implementation output
18
+
19
+ - [`ffbbb2c`](https://github.com/BeOnAuto/auto-engineer/commit/ffbbb2cdf59ed184407886a58fb6fc7cacbefd92) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **global**: remove schema.graphql references from pipeline and app-implementer
20
+
21
+ - [`c17f465`](https://github.com/BeOnAuto/auto-engineer/commit/c17f465bd93fe614a64bf4dfd2e3bd2765d362f4) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **global**: npm install issue
22
+ - **global**: update biome command and add DEPS_PRE_WARMED check
23
+ - **global**: version packages
24
+
25
+ - [`02c8ded`](https://github.com/BeOnAuto/auto-engineer/commit/02c8ded9279b6a4017e09e1e0d0a48fd71f51b15) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: extract data.items events for command slices
26
+
27
+ - [`5143dc5`](https://github.com/BeOnAuto/auto-engineer/commit/5143dc57bbe4014d55e92b5d5c10bf37fc73b1c3) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: exclude custom input type args from enum imports
28
+
29
+ - [`ec342da`](https://github.com/BeOnAuto/auto-engineer/commit/ec342daf65ee36d33a510ad454ba3e908c8f8bad) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: remove slice-type guard from findEventSource data.items check
30
+
31
+ - [`d3e6002`](https://github.com/BeOnAuto/auto-engineer/commit/d3e60020228270c2cae2b8ac62ebc05362182ace) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-nestjs**: remove contextSchemaGraphQL from ServerGeneratedEvent
32
+
33
+ - [`2f49710`](https://github.com/BeOnAuto/auto-engineer/commit/2f49710dfd56279c2eee7f95178e7d9cefc5d680) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **global**: remove generate-schema template and update READMEs
34
+
35
+ - [`c651bb9`](https://github.com/BeOnAuto/auto-engineer/commit/c651bb9b7d2b9d413991d45e141e9420611ea2b1) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: remove misleading "valid" qualifier from test descriptions
36
+
37
+ - [`b74aa8b`](https://github.com/BeOnAuto/auto-engineer/commit/b74aa8b743678cba6150e180551bbe768f2e633f) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Fixed export ordering in app assembler to ensure consistent and deterministic output
38
+
39
+ - [`e3999db`](https://github.com/BeOnAuto/auto-engineer/commit/e3999db87041cc4368558bdb9a373bc158133ec2) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: update ketchup plan for round 3 fixes 9-11
40
+
41
+ - [`27388d5`](https://github.com/BeOnAuto/auto-engineer/commit/27388d556143ae2e33cf35ffd473150e72accae2) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed auto configuration in the typical example project
42
+
43
+ - [`720e9cd`](https://github.com/BeOnAuto/auto-engineer/commit/720e9cd32eead2a5af0c96dbcec8f2427f6c5676) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: map custom GraphQL input type args to GraphQLJSON
44
+
45
+ - [`3eb5840`](https://github.com/BeOnAuto/auto-engineer/commit/3eb58407bacfd13535ad2486caed1f1722a95d5c) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: remove GraphQL schema generation
46
+
47
+ - Updated dependencies [[`7f19f4d`](https://github.com/BeOnAuto/auto-engineer/commit/7f19f4d1bbd91f0c5800aea47d726ba652d742ce), [`500ec1a`](https://github.com/BeOnAuto/auto-engineer/commit/500ec1a8101687408b91101f774dcc78c9c1b800), [`ffbbb2c`](https://github.com/BeOnAuto/auto-engineer/commit/ffbbb2cdf59ed184407886a58fb6fc7cacbefd92), [`c17f465`](https://github.com/BeOnAuto/auto-engineer/commit/c17f465bd93fe614a64bf4dfd2e3bd2765d362f4), [`02c8ded`](https://github.com/BeOnAuto/auto-engineer/commit/02c8ded9279b6a4017e09e1e0d0a48fd71f51b15), [`5143dc5`](https://github.com/BeOnAuto/auto-engineer/commit/5143dc57bbe4014d55e92b5d5c10bf37fc73b1c3), [`ec342da`](https://github.com/BeOnAuto/auto-engineer/commit/ec342daf65ee36d33a510ad454ba3e908c8f8bad), [`d3e6002`](https://github.com/BeOnAuto/auto-engineer/commit/d3e60020228270c2cae2b8ac62ebc05362182ace), [`2f49710`](https://github.com/BeOnAuto/auto-engineer/commit/2f49710dfd56279c2eee7f95178e7d9cefc5d680), [`c651bb9`](https://github.com/BeOnAuto/auto-engineer/commit/c651bb9b7d2b9d413991d45e141e9420611ea2b1), [`b74aa8b`](https://github.com/BeOnAuto/auto-engineer/commit/b74aa8b743678cba6150e180551bbe768f2e633f), [`e3999db`](https://github.com/BeOnAuto/auto-engineer/commit/e3999db87041cc4368558bdb9a373bc158133ec2), [`27388d5`](https://github.com/BeOnAuto/auto-engineer/commit/27388d556143ae2e33cf35ffd473150e72accae2), [`720e9cd`](https://github.com/BeOnAuto/auto-engineer/commit/720e9cd32eead2a5af0c96dbcec8f2427f6c5676), [`bb1d999`](https://github.com/BeOnAuto/auto-engineer/commit/bb1d9993bf8e1759f510dc69fb29f29aa78551c6), [`3eb5840`](https://github.com/BeOnAuto/auto-engineer/commit/3eb58407bacfd13535ad2486caed1f1722a95d5c), [`7ce6b69`](https://github.com/BeOnAuto/auto-engineer/commit/7ce6b69f51721efa94401226bdc1df746e2e923b)]:
48
+ - @auto-engineer/narrative@1.111.0
49
+
50
+ ## 1.110.7
51
+
52
+ ### Patch Changes
53
+
54
+ - [`6a15824`](https://github.com/BeOnAuto/auto-engineer/commit/6a1582475305b998959a28c9fed730d52bc8941f) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed an npm install issue
55
+
56
+ - [`35a054d`](https://github.com/BeOnAuto/auto-engineer/commit/35a054dce282d69e97ab29cd08098d62f2dfc13d) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **typical**: add lodash-es dependency for improved functionality
57
+ - **global**: version packages
58
+
59
+ - [`55f4848`](https://github.com/BeOnAuto/auto-engineer/commit/55f48484122daaacbdf312720745c48a49a988ec) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Updated biome command configuration for improved linting
60
+ - Added dependency pre-warming check to optimize build performance
61
+ - Updated dependencies [[`6a15824`](https://github.com/BeOnAuto/auto-engineer/commit/6a1582475305b998959a28c9fed730d52bc8941f), [`35a054d`](https://github.com/BeOnAuto/auto-engineer/commit/35a054dce282d69e97ab29cd08098d62f2dfc13d), [`55f4848`](https://github.com/BeOnAuto/auto-engineer/commit/55f48484122daaacbdf312720745c48a49a988ec)]:
62
+ - @auto-engineer/narrative@1.110.7
63
+
3
64
  ## 1.110.6
4
65
 
5
66
  ### Patch Changes
package/README.md CHANGED
@@ -169,7 +169,6 @@ import type {
169
169
  modelPath: string;
170
170
  destination: string;
171
171
  serverDir: string;
172
- contextSchemaGraphQL?: string;
173
172
  }
174
173
  ```
175
174
 
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ts-node": "^10.9.2",
41
41
  "type-fest": "^4.41.0",
42
42
  "uuid": "^11.0.0",
43
- "@auto-engineer/narrative": "1.110.6"
43
+ "@auto-engineer/narrative": "1.111.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
@@ -52,9 +52,9 @@
52
52
  "tsx": "^4.19.2",
53
53
  "typescript": "^5.8.3",
54
54
  "vitest": "^3.2.4",
55
- "@auto-engineer/cli": "1.110.6"
55
+ "@auto-engineer/cli": "1.111.0"
56
56
  },
57
- "version": "1.110.6",
57
+ "version": "1.111.0",
58
58
  "scripts": {
59
59
  "generate:server": "tsx src/cli/index.ts",
60
60
  "-DISABLE-build": "tsc && tsx ../../scripts/fix-esm-imports.ts && rm -rf dist/src/codegen/templates && mkdir -p dist/src/codegen && cp -r src/codegen/templates dist/src/codegen/templates && cp -r src/shared dist/src",
@@ -42,7 +42,6 @@ export type ServerGeneratedEvent = Event<
42
42
  modelPath: string;
43
43
  destination: string;
44
44
  serverDir: string;
45
- contextSchemaGraphQL?: string;
46
45
  }
47
46
  >;
48
47
 
@@ -182,18 +181,13 @@ async function writeConfigurationFiles(serverDir: string, _absDest: string): Pro
182
181
  await writeGitignore(serverDir);
183
182
  }
184
183
 
185
- function createServerSuccessEvent(
186
- command: GenerateServerCommand,
187
- serverDir: string,
188
- absDest: string,
189
- ): ServerGeneratedEvent {
184
+ function createServerSuccessEvent(command: GenerateServerCommand, serverDir: string): ServerGeneratedEvent {
190
185
  return {
191
186
  type: 'ServerGenerated',
192
187
  data: {
193
188
  modelPath: deriveModelPath(command.data.destination),
194
189
  destination: command.data.destination,
195
190
  serverDir,
196
- contextSchemaGraphQL: join(absDest, '.context', 'schema.graphql'),
197
191
  },
198
192
  timestamp: new Date(),
199
193
  requestId: command.requestId,
@@ -283,7 +277,7 @@ export async function handleGenerateServerCommandInternal(
283
277
  debug('Server generation completed successfully');
284
278
  debug('Server directory: %s', serverDir);
285
279
 
286
- events.push(createServerSuccessEvent(command, serverDir, absDest));
280
+ events.push(createServerSuccessEvent(command, serverDir));
287
281
  return events;
288
282
  } catch (error) {
289
283
  events.push(createServerFailureEvent(command, error));
@@ -492,6 +486,10 @@ temp
492
486
  }
493
487
 
494
488
  async function installDependencies(serverDir: string): Promise<void> {
489
+ if (process.env.DEPS_PRE_WARMED === 'true') {
490
+ debugDeps('Skipping pnpm install (DEPS_PRE_WARMED)');
491
+ return;
492
+ }
495
493
  debugDeps('Installing dependencies...');
496
494
  debugDeps('Starting dependency installation in %s', serverDir);
497
495
  debugDeps('Hint: You can debug by manually running: cd server && pnpm install');