@crossdelta/platform-sdk 0.11.2 → 0.11.3

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.
@@ -11,7 +11,7 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@crossdelta/cloudevents": "^0.5.1",
14
+ "@crossdelta/cloudevents": "^0.5.2",
15
15
  "zod": "^4.0.0"
16
16
  },
17
17
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Platform toolkit for event-driven microservices — keeping code and infrastructure in lockstep.",
5
5
  "keywords": [
6
6
  "cli",
@@ -49,132 +49,136 @@
49
49
  },
50
50
  "generatorConfig": {
51
51
  "docs": {
52
- "base": ["service.md", "code-style.md", "testing.md"],
52
+ "base": [
53
+ "service.md",
54
+ "code-style.md",
55
+ "testing.md"
56
+ ],
53
57
  "frameworks": {
54
58
  "hono": {
55
- "bun": "hono-bun.md",
56
- "node": "hono-node.md"
59
+ "bun": "hono-bun.md",
60
+ "node": "hono-node.md"
61
+ },
62
+ "nest": "nest.md"
63
+ }
64
+ },
65
+ "serviceTypes": {
66
+ "hono": {
67
+ "commandType": "hono-micro",
68
+ "entryPoint": "src/index.ts",
69
+ "skipFiles": [
70
+ "package.json",
71
+ "tsconfig.json",
72
+ "Dockerfile"
73
+ ]
57
74
  },
58
- "nest": "nest.md"
75
+ "nest": {
76
+ "commandType": "nest-micro",
77
+ "entryPoint": "src/main.ts",
78
+ "skipFiles": [
79
+ "package.json",
80
+ "tsconfig.json",
81
+ "Dockerfile"
82
+ ]
83
+ }
59
84
  }
60
85
  },
61
- "serviceTypes": {
62
- "hono": {
63
- "commandType": "hono-micro",
64
- "entryPoint": "src/index.ts",
65
- "skipFiles": [
66
- "package.json",
67
- "tsconfig.json",
68
- "Dockerfile"
69
- ]
70
- },
71
- "nest": {
72
- "commandType": "nest-micro",
73
- "entryPoint": "src/main.ts",
74
- "skipFiles": [
75
- "package.json",
76
- "tsconfig.json",
77
- "Dockerfile"
78
- ]
79
- }
80
- }
81
- },
82
- "scripts": {
83
- "start:dev": "node esbuild.config.mjs --watch",
84
- "build:cli": "node esbuild.config.mjs",
85
- "build:cli:copy": "cp cli/integration.collection.json bin/integration.collection.json && rm -rf bin/templates && mkdir -p bin/templates && cp -r cli/src/commands/create/workspace/templates bin/templates/workspace && cp -r cli/src/commands/create/hono-microservice/templates bin/templates/hono-microservice && cp -r cli/src/commands/create/nest-microservice/templates bin/templates/nest-microservice && mkdir -p bin/docs/generators && cp -r docs/generators/* bin/docs/generators/",
86
- "build:schematics:transpile": "tsc --project tsconfig.schematics.json",
87
- "build:schematics:copy": "cp -R schematics/* dist/schematics && find dist/schematics -name '*.ts' -delete",
88
- "build:schematics": "npm run build:schematics:transpile && npm run build:schematics:copy",
89
- "build": "npm run build:cli && npm run build:schematics && npm run build:cli:copy",
90
- "prepublishOnly": "npm run build",
91
- "lint": "biome lint --fix",
92
- "test": "bun test",
93
- "test:watch": "bun test --watch"
94
- },
95
- "schematics": "./dist/schematics/collection.json",
96
- "esbuild": {
97
- "external": [
98
- "@crossdelta/infrastructure",
99
- "@faker-js/faker",
100
- "@inquirer/prompts",
101
- "ai",
102
- "@ai-sdk/openai",
103
- "@ai-sdk/anthropic",
104
- "handlebars",
105
- "listr2",
106
- "enquirer",
107
- "execa",
108
- "globby",
109
- "fs-extra",
110
- "chalk",
111
- "ora",
112
- "jiti",
113
- "zod",
114
- "ts-morph",
115
- "commander",
116
- "chokidar"
117
- ]
118
- },
119
- "dependencies": {
120
- "@ai-sdk/anthropic": "^2.0.53",
121
- "@ai-sdk/openai": "^2.0.79",
122
- "@angular-devkit/core": "^21.0.0",
123
- "@faker-js/faker": "^9.8.0",
124
- "@inquirer/prompts": "^7.5.0",
125
- "@listr2/prompt-adapter-enquirer": "^2.0.15",
126
- "ai": "^5.0.108",
127
- "chalk": "^5.4.1",
128
- "chokidar": "^5.0.0",
129
- "cli-table3": "^0.6.5",
130
- "commander": "^13.1.0",
131
- "dotenv": "^17.2.3",
132
- "enquirer": "^2.4.1",
133
- "execa": "^9.5.2",
134
- "fs-extra": "^11.3.0",
135
- "globby": "^14.1.0",
136
- "handlebars": "^4.7.8",
137
- "jiti": "^2.6.1",
138
- "listr2": "^8.3.2",
139
- "ora": "^8.2.0",
140
- "package-up": "^5.0.0",
141
- "rimraf": "^6.1.2",
142
- "terminal-link": "^4.0.0",
143
- "ts-morph": "^27.0.0",
144
- "zod": "^3.24.3"
145
- },
146
- "peerDependencies": {
147
- "@crossdelta/cloudevents": "*",
148
- "@crossdelta/infrastructure": "*",
149
- "@nestjs/schematics": "^11.0.5",
150
- "turbo": "^2.0.0"
151
- },
152
- "peerDependenciesMeta": {
153
- "@crossdelta/cloudevents": {
154
- "optional": true
86
+ "scripts": {
87
+ "start:dev": "node esbuild.config.mjs --watch",
88
+ "build:cli": "node esbuild.config.mjs",
89
+ "build:cli:copy": "cp cli/integration.collection.json bin/integration.collection.json && rm -rf bin/templates && mkdir -p bin/templates && cp -r cli/src/commands/create/workspace/templates bin/templates/workspace && cp -r cli/src/commands/create/hono-microservice/templates bin/templates/hono-microservice && cp -r cli/src/commands/create/nest-microservice/templates bin/templates/nest-microservice && mkdir -p bin/docs/generators && cp -r docs/generators/* bin/docs/generators/",
90
+ "build:schematics:transpile": "tsc --project tsconfig.schematics.json",
91
+ "build:schematics:copy": "cp -R schematics/* dist/schematics && find dist/schematics -name '*.ts' -delete",
92
+ "build:schematics": "npm run build:schematics:transpile && npm run build:schematics:copy",
93
+ "build": "npm run build:cli && npm run build:schematics && npm run build:cli:copy",
94
+ "prepublishOnly": "npm run build",
95
+ "lint": "biome lint --fix",
96
+ "test": "bun test",
97
+ "test:watch": "bun test --watch"
98
+ },
99
+ "schematics": "./dist/schematics/collection.json",
100
+ "esbuild": {
101
+ "external": [
102
+ "@crossdelta/infrastructure",
103
+ "@faker-js/faker",
104
+ "@inquirer/prompts",
105
+ "ai",
106
+ "@ai-sdk/openai",
107
+ "@ai-sdk/anthropic",
108
+ "handlebars",
109
+ "listr2",
110
+ "enquirer",
111
+ "execa",
112
+ "globby",
113
+ "fs-extra",
114
+ "chalk",
115
+ "ora",
116
+ "jiti",
117
+ "zod",
118
+ "ts-morph",
119
+ "commander",
120
+ "chokidar"
121
+ ]
155
122
  },
156
- "@crossdelta/infrastructure": {
157
- "optional": true
123
+ "dependencies": {
124
+ "@ai-sdk/anthropic": "^2.0.53",
125
+ "@ai-sdk/openai": "^2.0.79",
126
+ "@angular-devkit/core": "^21.0.0",
127
+ "@faker-js/faker": "^9.8.0",
128
+ "@inquirer/prompts": "^7.5.0",
129
+ "@listr2/prompt-adapter-enquirer": "^2.0.15",
130
+ "ai": "^5.0.108",
131
+ "chalk": "^5.4.1",
132
+ "chokidar": "^5.0.0",
133
+ "cli-table3": "^0.6.5",
134
+ "commander": "^13.1.0",
135
+ "dotenv": "^17.2.3",
136
+ "enquirer": "^2.4.1",
137
+ "execa": "^9.5.2",
138
+ "fs-extra": "^11.3.0",
139
+ "globby": "^14.1.0",
140
+ "handlebars": "^4.7.8",
141
+ "jiti": "^2.6.1",
142
+ "listr2": "^8.3.2",
143
+ "ora": "^8.2.0",
144
+ "package-up": "^5.0.0",
145
+ "rimraf": "^6.1.2",
146
+ "terminal-link": "^4.0.0",
147
+ "ts-morph": "^27.0.0",
148
+ "zod": "^3.24.3"
158
149
  },
159
- "@nestjs/schematics": {
160
- "optional": true
150
+ "peerDependencies": {
151
+ "@crossdelta/cloudevents": "*",
152
+ "@crossdelta/infrastructure": "*",
153
+ "@nestjs/schematics": "^11.0.5",
154
+ "turbo": "^2.0.0"
161
155
  },
162
- "turbo": {
163
- "optional": true
156
+ "peerDependenciesMeta": {
157
+ "@crossdelta/cloudevents": {
158
+ "optional": true
159
+ },
160
+ "@crossdelta/infrastructure": {
161
+ "optional": true
162
+ },
163
+ "@nestjs/schematics": {
164
+ "optional": true
165
+ },
166
+ "turbo": {
167
+ "optional": true
168
+ }
169
+ },
170
+ "devDependencies": {
171
+ "@angular-devkit/core": "^21.0.0",
172
+ "@angular-devkit/schematics": "^21.0.0",
173
+ "@angular-devkit/schematics-cli": "^19.2.10",
174
+ "@eslint/js": "^9.22.0",
175
+ "@nestjs/schematics": "^11.0.9",
176
+ "@types/fs-extra": "^11.0.4",
177
+ "bun-types": "^1.3.4",
178
+ "comment-json": "^4.4.1",
179
+ "esbuild": "^0.25.3",
180
+ "eslint": "^9.25.1",
181
+ "typescript": "^5.8.3",
182
+ "typescript-eslint": "^8.31.1"
164
183
  }
165
- },
166
- "devDependencies": {
167
- "@angular-devkit/core": "^21.0.0",
168
- "@angular-devkit/schematics": "^21.0.0",
169
- "@angular-devkit/schematics-cli": "^19.2.10",
170
- "@eslint/js": "^9.22.0",
171
- "@nestjs/schematics": "^11.0.9",
172
- "@types/fs-extra": "^11.0.4",
173
- "bun-types": "^1.3.4",
174
- "comment-json": "^4.4.1",
175
- "esbuild": "^0.25.3",
176
- "eslint": "^9.25.1",
177
- "typescript": "^5.8.3",
178
- "typescript-eslint": "^8.31.1"
179
- }
180
184
  }