@auto-engineer/pipeline 1.40.0 → 1.41.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +44 -0
- package/package.json +3 -3
- package/src/builder/define.specs.ts +11 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/pipeline@1.
|
|
2
|
+
> @auto-engineer/pipeline@1.40.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/
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/pipeline@1.
|
|
2
|
+
> @auto-engineer/pipeline@1.40.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
|
[2m Test Files [22m [1m[32m27 passed[39m[22m[90m (27)[39m
|
|
11
11
|
[2m Tests [22m [1m[32m478 passed[39m[22m[90m (478)[39m
|
|
12
|
-
[2m Start at [22m
|
|
13
|
-
[2m Duration [22m
|
|
12
|
+
[2m Start at [22m 04:05:44
|
|
13
|
+
[2m Duration [22m 24.42s[2m (transform 5.64s, setup 0ms, collect 9.95s, tests 19.39s, environment 9ms, prepare 16.91s)[22m
|
|
14
14
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @auto-engineer/pipeline
|
|
2
2
|
|
|
3
|
+
## 1.41.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`849fa10`](https://github.com/BeOnAuto/auto-engineer/commit/849fa106edffe48f2ac58f2fdb6ca66062fcebe7) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: wire InitializeServer into COMMANDS and pipeline
|
|
8
|
+
|
|
9
|
+
- [`8d37de6`](https://github.com/BeOnAuto/auto-engineer/commit/8d37de62e624d74be42f327d17386d79be005e57) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: preserve health resolver after cleanServerDir
|
|
10
|
+
|
|
11
|
+
- [`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
|
|
12
|
+
- **pipeline**: don't die when processes die
|
|
13
|
+
- **global**: version packages
|
|
14
|
+
- enforce Biome as sole formatter in VSCode
|
|
15
|
+
- **typical**: add convenience dev script
|
|
16
|
+
|
|
17
|
+
- [`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
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [`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
|
|
22
|
+
|
|
23
|
+
- [`e8137a5`](https://github.com/BeOnAuto/auto-engineer/commit/e8137a584cb6fd7abe224ed57b37d2689d5554bf) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: verify InitializeServer idempotency
|
|
24
|
+
|
|
25
|
+
- [`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
|
|
26
|
+
|
|
27
|
+
- [`37c049c`](https://github.com/BeOnAuto/auto-engineer/commit/37c049c33910fc9aa99e239ea856e513259e2700) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: mark InitializeServer bursts done in ketchup plan
|
|
28
|
+
|
|
29
|
+
- [`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
|
|
30
|
+
|
|
31
|
+
- [`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
|
|
32
|
+
|
|
33
|
+
- [`d02b74d`](https://github.com/BeOnAuto/auto-engineer/commit/d02b74d3dfaa12a7ee99fe92e1ab5268c440080b) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: update ketchup plan for InitializeServer separation
|
|
34
|
+
|
|
35
|
+
- [`699bd34`](https://github.com/BeOnAuto/auto-engineer/commit/699bd34a6775df9ffcc9c821b3a20778b3c1a285) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **lint**: biome lint fixes
|
|
36
|
+
|
|
37
|
+
- [`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
|
|
38
|
+
|
|
39
|
+
- [`2f32055`](https://github.com/BeOnAuto/auto-engineer/commit/2f320556fa559b8a8b79f925cf09aa032a1622fb) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: verify ServerInitializationFailed on error
|
|
40
|
+
|
|
41
|
+
- [`0354304`](https://github.com/BeOnAuto/auto-engineer/commit/0354304528ddeabd6c35ad9c7a274327e257f871) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **server-generator**: export config-writing functions from generate-server
|
|
42
|
+
|
|
43
|
+
- 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)]:
|
|
44
|
+
- @auto-engineer/file-store@1.41.0
|
|
45
|
+
- @auto-engineer/message-bus@1.41.0
|
|
46
|
+
|
|
3
47
|
## 1.40.0
|
|
4
48
|
|
|
5
49
|
### 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/
|
|
17
|
-
"@auto-engineer/
|
|
16
|
+
"@auto-engineer/message-bus": "1.41.0",
|
|
17
|
+
"@auto-engineer/file-store": "1.41.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.
|
|
26
|
+
"version": "1.41.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(['
|
|
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: ['
|
|
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(['
|
|
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:
|
|
554
|
+
{ id: 'cmd:ImplementComponent', type: 'command', label: 'ImplementComponent' },
|
|
555
555
|
]);
|
|
556
|
-
expect(graph.edges).toEqual([{ from: 'cmd:ProcessJobGraph', to: 'cmd:
|
|
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(['
|
|
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: ['
|
|
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(['
|
|
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: ['
|
|
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(['
|
|
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: ['
|
|
606
|
+
accepts: ['ImplementComponent'],
|
|
607
607
|
});
|
|
608
608
|
});
|
|
609
609
|
});
|