@crossdelta/platform-sdk 0.11.1 → 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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossdelta/platform-sdk",
|
|
3
|
-
"version": "0.11.
|
|
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",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"devtools"
|
|
17
17
|
],
|
|
18
18
|
"homepage": "https://www.npmjs.com/package/@crossdelta/platform-sdk",
|
|
19
|
-
"readme": "README.md",
|
|
20
19
|
"preferGlobal": true,
|
|
21
20
|
"bin": {
|
|
22
21
|
"pf": "./bin/cli.js"
|
|
@@ -50,132 +49,136 @@
|
|
|
50
49
|
},
|
|
51
50
|
"generatorConfig": {
|
|
52
51
|
"docs": {
|
|
53
|
-
"base": [
|
|
52
|
+
"base": [
|
|
53
|
+
"service.md",
|
|
54
|
+
"code-style.md",
|
|
55
|
+
"testing.md"
|
|
56
|
+
],
|
|
54
57
|
"frameworks": {
|
|
55
58
|
"hono": {
|
|
56
|
-
|
|
57
|
-
|
|
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
|
+
]
|
|
58
74
|
},
|
|
59
|
-
"nest":
|
|
75
|
+
"nest": {
|
|
76
|
+
"commandType": "nest-micro",
|
|
77
|
+
"entryPoint": "src/main.ts",
|
|
78
|
+
"skipFiles": [
|
|
79
|
+
"package.json",
|
|
80
|
+
"tsconfig.json",
|
|
81
|
+
"Dockerfile"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
60
84
|
}
|
|
61
85
|
},
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
"external": [
|
|
99
|
-
"@crossdelta/infrastructure",
|
|
100
|
-
"@faker-js/faker",
|
|
101
|
-
"@inquirer/prompts",
|
|
102
|
-
"ai",
|
|
103
|
-
"@ai-sdk/openai",
|
|
104
|
-
"@ai-sdk/anthropic",
|
|
105
|
-
"handlebars",
|
|
106
|
-
"listr2",
|
|
107
|
-
"enquirer",
|
|
108
|
-
"execa",
|
|
109
|
-
"globby",
|
|
110
|
-
"fs-extra",
|
|
111
|
-
"chalk",
|
|
112
|
-
"ora",
|
|
113
|
-
"jiti",
|
|
114
|
-
"zod",
|
|
115
|
-
"ts-morph",
|
|
116
|
-
"commander",
|
|
117
|
-
"chokidar"
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
"dependencies": {
|
|
121
|
-
"@ai-sdk/anthropic": "^2.0.53",
|
|
122
|
-
"@ai-sdk/openai": "^2.0.79",
|
|
123
|
-
"@angular-devkit/core": "^21.0.0",
|
|
124
|
-
"@faker-js/faker": "^9.8.0",
|
|
125
|
-
"@inquirer/prompts": "^7.5.0",
|
|
126
|
-
"@listr2/prompt-adapter-enquirer": "^2.0.15",
|
|
127
|
-
"ai": "^5.0.108",
|
|
128
|
-
"chalk": "^5.4.1",
|
|
129
|
-
"chokidar": "^5.0.0",
|
|
130
|
-
"cli-table3": "^0.6.5",
|
|
131
|
-
"commander": "^13.1.0",
|
|
132
|
-
"dotenv": "^17.2.3",
|
|
133
|
-
"enquirer": "^2.4.1",
|
|
134
|
-
"execa": "^9.5.2",
|
|
135
|
-
"fs-extra": "^11.3.0",
|
|
136
|
-
"globby": "^14.1.0",
|
|
137
|
-
"handlebars": "^4.7.8",
|
|
138
|
-
"jiti": "^2.6.1",
|
|
139
|
-
"listr2": "^8.3.2",
|
|
140
|
-
"ora": "^8.2.0",
|
|
141
|
-
"package-up": "^5.0.0",
|
|
142
|
-
"rimraf": "^6.1.2",
|
|
143
|
-
"terminal-link": "^4.0.0",
|
|
144
|
-
"ts-morph": "^27.0.0",
|
|
145
|
-
"zod": "^3.24.3"
|
|
146
|
-
},
|
|
147
|
-
"peerDependencies": {
|
|
148
|
-
"@crossdelta/cloudevents": "*",
|
|
149
|
-
"@crossdelta/infrastructure": "*",
|
|
150
|
-
"@nestjs/schematics": "^11.0.5",
|
|
151
|
-
"turbo": "^2.0.0"
|
|
152
|
-
},
|
|
153
|
-
"peerDependenciesMeta": {
|
|
154
|
-
"@crossdelta/cloudevents": {
|
|
155
|
-
"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
|
+
]
|
|
156
122
|
},
|
|
157
|
-
"
|
|
158
|
-
"
|
|
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"
|
|
159
149
|
},
|
|
160
|
-
"
|
|
161
|
-
"
|
|
150
|
+
"peerDependencies": {
|
|
151
|
+
"@crossdelta/cloudevents": "*",
|
|
152
|
+
"@crossdelta/infrastructure": "*",
|
|
153
|
+
"@nestjs/schematics": "^11.0.5",
|
|
154
|
+
"turbo": "^2.0.0"
|
|
162
155
|
},
|
|
163
|
-
"
|
|
164
|
-
"
|
|
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"
|
|
165
183
|
}
|
|
166
|
-
},
|
|
167
|
-
"devDependencies": {
|
|
168
|
-
"@angular-devkit/core": "^21.0.0",
|
|
169
|
-
"@angular-devkit/schematics": "^21.0.0",
|
|
170
|
-
"@angular-devkit/schematics-cli": "^19.2.10",
|
|
171
|
-
"@eslint/js": "^9.22.0",
|
|
172
|
-
"@nestjs/schematics": "^11.0.9",
|
|
173
|
-
"@types/fs-extra": "^11.0.4",
|
|
174
|
-
"bun-types": "^1.3.4",
|
|
175
|
-
"comment-json": "^4.4.1",
|
|
176
|
-
"esbuild": "^0.25.3",
|
|
177
|
-
"eslint": "^9.25.1",
|
|
178
|
-
"typescript": "^5.8.3",
|
|
179
|
-
"typescript-eslint": "^8.31.1"
|
|
180
|
-
}
|
|
181
184
|
}
|