create-auto-app 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-auto-app",
3
- "version": "1.40.0",
3
+ "version": "1.42.0",
4
4
  "description": "Create Auto Engineer apps with no configuration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "fs-extra": "^11.2.0",
34
34
  "inquirer": "^9.2.15",
35
35
  "ora": "^8.0.1",
36
- "@auto-engineer/id": "1.40.0"
36
+ "@auto-engineer/id": "1.42.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/fs-extra": "^11.0.4",
@@ -1,3 +1,3 @@
1
1
  .context
2
- # server*
2
+ server*
3
3
  client*
@@ -18,18 +18,20 @@ export const plugins = [
18
18
 
19
19
  export const pipeline = define("typical-example")
20
20
  .on("PipelineStarted")
21
- // should have a generate skeleton server here
22
- .emit("InstallServerDependencies", () => ({}))
23
- .emit("GenerateReactClient", () => ({
21
+ .emit("InitializeServer", () => ({ destination: resolvePath(".") }))
22
+ .emit("InitializeClient", () => ({
24
23
  targetDir: resolvePath("./client"),
25
24
  }))
26
25
 
26
+ .on("ServerInitialized")
27
+ .emit("InstallServerDependencies", () => ({}))
28
+
27
29
  .on("ServerDependenciesInstalled")
28
30
  .emit("StartServer", () => ({
29
31
  serverDirectory: resolvePath("./server"),
30
32
  }))
31
33
 
32
- .on("ReactClientGenerated")
34
+ .on("ClientInitialized")
33
35
  .emit("InstallClientDependencies", () => ({}))
34
36
 
35
37
  .on("ClientDependenciesInstalled")
@@ -42,7 +44,7 @@ export const pipeline = define("typical-example")
42
44
  }))
43
45
 
44
46
  .on("StorybookStarted")
45
- .emit("BuildComponentDB", () => ({
47
+ .emit("RebuildComponentDB", () => ({
46
48
  baseDir: resolvePath("./client"),
47
49
  }))
48
50
 
@@ -104,25 +106,25 @@ export const pipeline = define("typical-example")
104
106
  })
105
107
 
106
108
  .declare("ProcessJobGraph")
107
- .accepts(["ImplementReactComponent"])
109
+ .accepts(["ImplementComponent"])
108
110
 
109
- .on("ReactComponentImplemented")
110
- .emit("BuildComponentDB", () => ({
111
+ .on("ComponentImplemented")
112
+ .emit("RebuildComponentDB", () => ({
111
113
  baseDir: resolvePath("./client"),
112
114
  }))
113
115
 
114
- .on("ReactComponentImplementationFailed")
115
- .emit("BuildComponentDB", () => ({
116
+ .on("ComponentImplementationFailed")
117
+ .emit("RebuildComponentDB", () => ({
116
118
  baseDir: resolvePath("./client"),
117
119
  }))
118
120
 
119
121
  .on("GraphProcessed")
120
- .emit("ImplementReactApp", () => ({
122
+ .emit("ImplementClient", () => ({
121
123
  clientDir: resolvePath("./client"),
122
124
  modelPath: resolvePath("./.context/schema.json"),
123
125
  }))
124
126
 
125
- .on("ReactAppImplemented")
127
+ .on("ClientImplemented")
126
128
  .emit("CheckTypes", () => ({
127
129
  targetDirectory: resolvePath("./client"),
128
130
  scope: "project",
@@ -1,30 +0,0 @@
1
- {
2
- "name": "generated-server",
3
- "version": "0.0.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "start": "tsx --no-deprecation src/server.ts",
8
- "type-check": "tsc --noEmit",
9
- "test": "vitest run",
10
- "dev": "tsx --no-deprecation src/server.ts",
11
- "postinstall": "npm rebuild sqlite3 2>/dev/null || true"
12
- },
13
- "dependencies": {
14
- "@event-driven-io/emmett": "^0.38.2",
15
- "@event-driven-io/emmett-sqlite": "^0.38.5",
16
- "type-graphql": "^2.0.0-rc.2",
17
- "graphql-type-json": "^0.3.2",
18
- "graphql": "^16.11.0",
19
- "fast-glob": "^3.3.3",
20
- "reflect-metadata": "^0.2.2",
21
- "apollo-server": "^3.13.0",
22
- "uuid": "^11.0.0",
23
- "sqlite3": "^5.1.7"
24
- },
25
- "devDependencies": {
26
- "typescript": "^5.8.3",
27
- "vitest": "^3.2.4",
28
- "tsx": "^4.19.2"
29
- }
30
- }