@auto-engineer/pipeline 1.40.0 → 1.42.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @auto-engineer/pipeline@1.39.0 build /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
2
+ > @auto-engineer/pipeline@1.41.0 build /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
3
3
  > tsc && tsx ../../scripts/fix-esm-imports.ts
4
4
 
5
5
  Fixed ESM imports in dist/
@@ -1,5 +1,5 @@
1
1
 
2
- > @auto-engineer/pipeline@1.39.0 test /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
2
+ > @auto-engineer/pipeline@1.41.0 test /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
3
3
  > vitest run --reporter=dot
4
4
 
5
5
 
@@ -9,6 +9,6 @@
9
9
 
10
10
   Test Files  27 passed (27)
11
11
   Tests  478 passed (478)
12
-  Start at  00:02:34
13
-  Duration  26.49s (transform 7.65s, setup 0ms, collect 11.67s, tests 23.18s, environment 8ms, prepare 17.28s)
12
+  Start at  04:44:14
13
+  Duration  25.39s (transform 5.89s, setup 0ms, collect 10.28s, tests 22.05s, environment 50ms, prepare 16.99s)
14
14
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @auto-engineer/pipeline@1.39.0 type-check /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
2
+ > @auto-engineer/pipeline@1.41.0 type-check /home/runner/work/auto-engineer/auto-engineer/packages/pipeline
3
3
  > tsc --noEmit
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,75 @@
1
1
  # @auto-engineer/pipeline
2
2
 
3
+ ## 1.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`04880b4`](https://github.com/BeOnAuto/auto-engineer/commit/04880b40289edb0fb86ad60d9080392b418267bd) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **file-upload**: add direct http PUT mode and no-op when unconfigured
8
+
9
+ - [`65818ec`](https://github.com/BeOnAuto/auto-engineer/commit/65818ec3ec4b66cb07376d3b6222453cc35813da) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **file-upload**: uploadFile writes to local path via file:// URL
10
+
11
+ - [`8f6b02b`](https://github.com/BeOnAuto/auto-engineer/commit/8f6b02b75c71f2b8aca7460254fc8d7eab3cd673) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **server-generator**: preserve health resolver after cleanServerDir
12
+ - **server-generator**: wire InitializeServer into COMMANDS and pipeline
13
+ - **server-generator**: add InitializeServer command that creates bare runnable server
14
+ - **lint**: biome lint fixes
15
+ - **server-generator**: use explicit ESM import paths in generated server.ts
16
+
17
+ - [`c75bdac`](https://github.com/BeOnAuto/auto-engineer/commit/c75bdacab0548b5a1c46b6285f3602140fd2e7b0) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **generate-react-client**: call uploadFile after building components-db.json
18
+
19
+ - [`28385df`](https://github.com/BeOnAuto/auto-engineer/commit/28385df9c38e8fb0f0cd0afc2b6a94f14896f549) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **file-upload**: uploadFile signer mode POSTs for presigned URL then PUTs
20
+
21
+ ### Patch Changes
22
+
23
+ - [`bf57097`](https://github.com/BeOnAuto/auto-engineer/commit/bf57097f6560f946c7baf0deb637453164c6e100) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **file-upload**: scaffold package with package.json and tsconfig
24
+
25
+ - Updated dependencies [[`04880b4`](https://github.com/BeOnAuto/auto-engineer/commit/04880b40289edb0fb86ad60d9080392b418267bd), [`65818ec`](https://github.com/BeOnAuto/auto-engineer/commit/65818ec3ec4b66cb07376d3b6222453cc35813da), [`8f6b02b`](https://github.com/BeOnAuto/auto-engineer/commit/8f6b02b75c71f2b8aca7460254fc8d7eab3cd673), [`c75bdac`](https://github.com/BeOnAuto/auto-engineer/commit/c75bdacab0548b5a1c46b6285f3602140fd2e7b0), [`bf57097`](https://github.com/BeOnAuto/auto-engineer/commit/bf57097f6560f946c7baf0deb637453164c6e100), [`28385df`](https://github.com/BeOnAuto/auto-engineer/commit/28385df9c38e8fb0f0cd0afc2b6a94f14896f549)]:
26
+ - @auto-engineer/file-store@1.42.0
27
+ - @auto-engineer/message-bus@1.42.0
28
+
29
+ ## 1.41.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [`849fa10`](https://github.com/BeOnAuto/auto-engineer/commit/849fa106edffe48f2ac58f2fdb6ca66062fcebe7) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: wire InitializeServer into COMMANDS and pipeline
34
+
35
+ - [`8d37de6`](https://github.com/BeOnAuto/auto-engineer/commit/8d37de62e624d74be42f327d17386d79be005e57) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: preserve health resolver after cleanServerDir
36
+
37
+ - [`68df8c9`](https://github.com/BeOnAuto/auto-engineer/commit/68df8c92ea0f15f9cd225e9a313be54ae9eaa301) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **generate-react-client**: add HMR stability settings to prevent rebuild loops
38
+ - **pipeline**: don't die when processes die
39
+ - **global**: version packages
40
+ - enforce Biome as sole formatter in VSCode
41
+ - **typical**: add convenience dev script
42
+
43
+ - [`cc8fe3c`](https://github.com/BeOnAuto/auto-engineer/commit/cc8fe3c016246a1828435911097ccf1da2670d5a) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: add InitializeServer command that creates bare runnable server
44
+
45
+ ### Patch Changes
46
+
47
+ - [`8ea4131`](https://github.com/BeOnAuto/auto-engineer/commit/8ea41315267bc53329d30349e43b45c2a1dbb26d) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Removed server from typical example configuration since it now gets initialized automatically
48
+
49
+ - [`e8137a5`](https://github.com/BeOnAuto/auto-engineer/commit/e8137a584cb6fd7abe224ed57b37d2689d5554bf) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: verify InitializeServer idempotency
50
+
51
+ - [`53ebdbe`](https://github.com/BeOnAuto/auto-engineer/commit/53ebdbe093fc643a738b3eb0f4e82e657f33120e) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: use explicit ESM import paths in generated server.ts
52
+
53
+ - [`37c049c`](https://github.com/BeOnAuto/auto-engineer/commit/37c049c33910fc9aa99e239ea856e513259e2700) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: mark InitializeServer bursts done in ketchup plan
54
+
55
+ - [`7f2fba6`](https://github.com/BeOnAuto/auto-engineer/commit/7f2fba647565031da4045bd487c41c0670d36284) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed import formatting and interface property alignment in the Apollo Emmett server generator
56
+
57
+ - [`931a1a9`](https://github.com/BeOnAuto/auto-engineer/commit/931a1a9e47c146ef77053555d7e0f3c13b0b2b9e) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed import formatting and aligned interface property definitions in the Apollo Emmett server generator
58
+
59
+ - [`d02b74d`](https://github.com/BeOnAuto/auto-engineer/commit/d02b74d3dfaa12a7ee99fe92e1ab5268c440080b) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: update ketchup plan for InitializeServer separation
60
+
61
+ - [`699bd34`](https://github.com/BeOnAuto/auto-engineer/commit/699bd34a6775df9ffcc9c821b3a20778b3c1a285) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **lint**: biome lint fixes
62
+
63
+ - [`271c1c1`](https://github.com/BeOnAuto/auto-engineer/commit/271c1c10d5a333dddb0f8e6a4e8ee77e04d16374) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Renamed pipeline commands and events across the codebase for improved consistency and clarity
64
+
65
+ - [`2f32055`](https://github.com/BeOnAuto/auto-engineer/commit/2f320556fa559b8a8b79f925cf09aa032a1622fb) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: verify ServerInitializationFailed on error
66
+
67
+ - [`0354304`](https://github.com/BeOnAuto/auto-engineer/commit/0354304528ddeabd6c35ad9c7a274327e257f871) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: export config-writing functions from generate-server
68
+
69
+ - Updated dependencies [[`8ea4131`](https://github.com/BeOnAuto/auto-engineer/commit/8ea41315267bc53329d30349e43b45c2a1dbb26d), [`849fa10`](https://github.com/BeOnAuto/auto-engineer/commit/849fa106edffe48f2ac58f2fdb6ca66062fcebe7), [`e8137a5`](https://github.com/BeOnAuto/auto-engineer/commit/e8137a584cb6fd7abe224ed57b37d2689d5554bf), [`8d37de6`](https://github.com/BeOnAuto/auto-engineer/commit/8d37de62e624d74be42f327d17386d79be005e57), [`53ebdbe`](https://github.com/BeOnAuto/auto-engineer/commit/53ebdbe093fc643a738b3eb0f4e82e657f33120e), [`37c049c`](https://github.com/BeOnAuto/auto-engineer/commit/37c049c33910fc9aa99e239ea856e513259e2700), [`7f2fba6`](https://github.com/BeOnAuto/auto-engineer/commit/7f2fba647565031da4045bd487c41c0670d36284), [`931a1a9`](https://github.com/BeOnAuto/auto-engineer/commit/931a1a9e47c146ef77053555d7e0f3c13b0b2b9e), [`68df8c9`](https://github.com/BeOnAuto/auto-engineer/commit/68df8c92ea0f15f9cd225e9a313be54ae9eaa301), [`d02b74d`](https://github.com/BeOnAuto/auto-engineer/commit/d02b74d3dfaa12a7ee99fe92e1ab5268c440080b), [`699bd34`](https://github.com/BeOnAuto/auto-engineer/commit/699bd34a6775df9ffcc9c821b3a20778b3c1a285), [`271c1c1`](https://github.com/BeOnAuto/auto-engineer/commit/271c1c10d5a333dddb0f8e6a4e8ee77e04d16374), [`2f32055`](https://github.com/BeOnAuto/auto-engineer/commit/2f320556fa559b8a8b79f925cf09aa032a1622fb), [`cc8fe3c`](https://github.com/BeOnAuto/auto-engineer/commit/cc8fe3c016246a1828435911097ccf1da2670d5a), [`0354304`](https://github.com/BeOnAuto/auto-engineer/commit/0354304528ddeabd6c35ad9c7a274327e257f871)]:
70
+ - @auto-engineer/file-store@1.41.0
71
+ - @auto-engineer/message-bus@1.41.0
72
+
3
73
  ## 1.40.0
4
74
 
5
75
  ### Minor Changes
package/package.json CHANGED
@@ -13,8 +13,8 @@
13
13
  "get-port": "^7.1.0",
14
14
  "jose": "^5.9.6",
15
15
  "nanoid": "^5.0.0",
16
- "@auto-engineer/file-store": "1.40.0",
17
- "@auto-engineer/message-bus": "1.40.0"
16
+ "@auto-engineer/file-store": "1.42.0",
17
+ "@auto-engineer/message-bus": "1.42.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/cors": "^2.8.17",
@@ -23,7 +23,7 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "version": "1.40.0",
26
+ "version": "1.42.0",
27
27
  "scripts": {
28
28
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
29
29
  "test": "vitest run --reporter=dot",
@@ -534,26 +534,26 @@ describe('handle() - Custom Handlers', () => {
534
534
 
535
535
  describe('declare().accepts()', () => {
536
536
  it('should create AcceptsDescriptor in handlers', () => {
537
- const pipeline = define('test').declare('ProcessJobGraph').accepts(['ImplementReactComponent']).build();
537
+ const pipeline = define('test').declare('ProcessJobGraph').accepts(['ImplementComponent']).build();
538
538
 
539
539
  expect(pipeline.descriptor.handlers).toHaveLength(1);
540
540
  const handler = pipeline.descriptor.handlers[0] as AcceptsDescriptor;
541
541
  expect(handler).toEqual({
542
542
  type: 'accepts',
543
543
  commandType: 'ProcessJobGraph',
544
- accepts: ['ImplementReactComponent'],
544
+ accepts: ['ImplementComponent'],
545
545
  });
546
546
  });
547
547
 
548
548
  it('should produce cmd-to-cmd edges in toGraph()', () => {
549
- const pipeline = define('test').declare('ProcessJobGraph').accepts(['ImplementReactComponent']).build();
549
+ const pipeline = define('test').declare('ProcessJobGraph').accepts(['ImplementComponent']).build();
550
550
 
551
551
  const graph = pipeline.toGraph();
552
552
  expect(graph.nodes).toEqual([
553
553
  { id: 'cmd:ProcessJobGraph', type: 'command', label: 'ProcessJobGraph' },
554
- { id: 'cmd:ImplementReactComponent', type: 'command', label: 'ImplementReactComponent' },
554
+ { id: 'cmd:ImplementComponent', type: 'command', label: 'ImplementComponent' },
555
555
  ]);
556
- expect(graph.edges).toEqual([{ from: 'cmd:ProcessJobGraph', to: 'cmd:ImplementReactComponent' }]);
556
+ expect(graph.edges).toEqual([{ from: 'cmd:ProcessJobGraph', to: 'cmd:ImplementComponent' }]);
557
557
  });
558
558
 
559
559
  it('should chain declare() from EmitChain', () => {
@@ -561,7 +561,7 @@ describe('declare().accepts()', () => {
561
561
  .on('EventA')
562
562
  .emit('CmdA', {})
563
563
  .declare('ProcessJobGraph')
564
- .accepts(['ImplementReactComponent'])
564
+ .accepts(['ImplementComponent'])
565
565
  .build();
566
566
 
567
567
  expect(pipeline.descriptor.handlers).toHaveLength(2);
@@ -569,7 +569,7 @@ describe('declare().accepts()', () => {
569
569
  expect(pipeline.descriptor.handlers[1]).toEqual({
570
570
  type: 'accepts',
571
571
  commandType: 'ProcessJobGraph',
572
- accepts: ['ImplementReactComponent'],
572
+ accepts: ['ImplementComponent'],
573
573
  });
574
574
  });
575
575
 
@@ -578,7 +578,7 @@ describe('declare().accepts()', () => {
578
578
  .settled(['A'])
579
579
  .dispatch({ dispatches: [] }, () => {})
580
580
  .declare('ProcessJobGraph')
581
- .accepts(['ImplementReactComponent'])
581
+ .accepts(['ImplementComponent'])
582
582
  .build();
583
583
 
584
584
  expect(pipeline.descriptor.handlers).toHaveLength(2);
@@ -586,7 +586,7 @@ describe('declare().accepts()', () => {
586
586
  expect(pipeline.descriptor.handlers[1]).toEqual({
587
587
  type: 'accepts',
588
588
  commandType: 'ProcessJobGraph',
589
- accepts: ['ImplementReactComponent'],
589
+ accepts: ['ImplementComponent'],
590
590
  });
591
591
  });
592
592
 
@@ -595,7 +595,7 @@ describe('declare().accepts()', () => {
595
595
  .on('EventA')
596
596
  .handle(async () => {})
597
597
  .declare('ProcessJobGraph')
598
- .accepts(['ImplementReactComponent'])
598
+ .accepts(['ImplementComponent'])
599
599
  .build();
600
600
 
601
601
  expect(pipeline.descriptor.handlers).toHaveLength(2);
@@ -603,7 +603,7 @@ describe('declare().accepts()', () => {
603
603
  expect(pipeline.descriptor.handlers[1]).toEqual({
604
604
  type: 'accepts',
605
605
  commandType: 'ProcessJobGraph',
606
- accepts: ['ImplementReactComponent'],
606
+ accepts: ['ImplementComponent'],
607
607
  });
608
608
  });
609
609
  });