Skip to content

Commit 17dd0dd

Browse files
committed
chore(release): v0.27.0
1 parent d9653f4 commit 17dd0dd

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ Each protocol has its own limitations, corner cases, and features; thus, each ha
5656

5757

5858

59+

docs/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,4 @@ What about MAJOR release? just add `!` to the prefix, like `fix!: ` or `refactor
136136
Prefix that follows specification is not enough though. Remember that the title must be clear and descriptive with usage of [imperative mood](https://chris.beams.io/posts/git-commit/#imperative).
137137

138138

139+

docs/usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $ npm install -g @the-codegen-project/cli
99
$ codegen COMMAND
1010
running command...
1111
$ codegen (--version)
12-
@the-codegen-project/cli/0.26.0 linux-x64 node-v18.20.5
12+
@the-codegen-project/cli/0.27.0 linux-x64 node-v18.20.5
1313
$ codegen --help [COMMAND]
1414
USAGE
1515
$ codegen COMMAND
@@ -81,7 +81,7 @@ DESCRIPTION
8181
Generate code based on your configuration, use `init` to get started.
8282
```
8383

84-
_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.26.0/src/commands/generate.ts)_
84+
_See code: [src/commands/generate.ts](https://github.com/the-codegen-project/cli/blob/v0.27.0/src/commands/generate.ts)_
8585

8686
## `codegen help [COMMAND]`
8787

@@ -139,7 +139,7 @@ DESCRIPTION
139139
Initialize The Codegen Project in your project
140140
```
141141

142-
_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.26.0/src/commands/init.ts)_
142+
_See code: [src/commands/init.ts](https://github.com/the-codegen-project/cli/blob/v0.27.0/src/commands/init.ts)_
143143

144144
## `codegen version`
145145

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@the-codegen-project/cli",
33
"description": "CLI to work with code generation in any environment",
4-
"version": "0.26.0",
4+
"version": "0.27.0",
55
"bin": {
66
"codegen": "./bin/run.mjs"
77
},

schemas/configuration-schema-0.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,14 @@
165165
"type": "string",
166166
"enum": [
167167
"nats",
168-
"kafka"
168+
"kafka",
169+
"mqtt"
169170
]
170171
},
171172
"default": [
172173
"nats",
173-
"kafka"
174+
"kafka",
175+
"mqtt"
174176
]
175177
},
176178
"parameterGeneratorId": {
@@ -212,6 +214,7 @@
212214
"nats_publish",
213215
"nats_request",
214216
"nats_reply",
217+
"mqtt_publish",
215218
"kafka_publish",
216219
"kafka_subscribe"
217220
]

src/codegen/generators/typescript/channels/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export const zodTypescriptChannelsGenerator = z.object({
2626
.default(['parameters-typescript', 'payloads-typescript']),
2727
preset: z.literal('channels').default('channels'),
2828
outputPath: z.string().default('src/__gen__/channels'),
29-
protocols: z.array(z.enum(['nats', 'kafka', 'mqtt'])).default(['nats', 'kafka', 'mqtt']),
29+
protocols: z
30+
.array(z.enum(['nats', 'kafka', 'mqtt']))
31+
.default(['nats', 'kafka', 'mqtt']),
3032
parameterGeneratorId: z
3133
.string()
3234
.optional()

0 commit comments

Comments
 (0)