diff --git a/.tp-config.json b/.tp-config.json deleted file mode 100644 index 5fbba2a67..000000000 --- a/.tp-config.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "supportedProtocols": ["kafka", "amqp", "mqtt"], - "nonRenderableFiles": [ - "**/*.jar" - ], - "parameters": { - "listenerPollTimeout": { - "description": "Only for Kafka. Timeout to use when polling the consumer.", - "default": 3000, - "required": false - }, - "listenerConcurrency": { - "description": "Only for Kafka. Number of threads to run in the listener containers.", - "default": 3, - "required": false - }, - "asyncapiFileDir": { - "description": "Parameter of @asyncapi/generator-hooks#createAsyncapiFile, allows to specify where original AsyncAPI file will be stored.", - "default": "src/main/resources/api/", - "required": false - } - }, - "generator": ">=0.47.0 <2.0.0", - "filters": [ - "@asyncapi/generator-filters" - ], - "hooks": { - "@asyncapi/generator-hooks": "createAsyncapiFile" - } -} diff --git a/package.json b/package.json index cc3d5e595..60376c310 100644 --- a/package.json +++ b/package.json @@ -60,5 +60,35 @@ "@semantic-release/npm", "@semantic-release/github" ] - } + }, + "generator": { + "supportedProtocols": ["kafka", "amqp", "mqtt"], + "nonRenderableFiles": [ + "**/*.jar" + ], + "parameters": { + "listenerPollTimeout": { + "description": "Only for Kafka. Timeout to use when polling the consumer.", + "default": 3000, + "required": false + }, + "listenerConcurrency": { + "description": "Only for Kafka. Number of threads to run in the listener containers.", + "default": 3, + "required": false + }, + "asyncapiFileDir": { + "description": "Parameter of @asyncapi/generator-hooks#createAsyncapiFile, allows to specify where original AsyncAPI file will be stored.", + "default": "src/main/resources/api/", + "required": false + } + }, + "generator": ">=0.50.0 <2.0.0", + "filters": [ + "@asyncapi/generator-filters" + ], + "hooks": { + "@asyncapi/generator-hooks": "createAsyncapiFile" + } + } }