From 901fedcd18876dcdd001aa9796932c715f9afe45 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 20 Jan 2025 12:09:54 +0000 Subject: [PATCH] chore: fix asyncapi generation --- ...-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch | 13 +++++++++++++ packages/live-status-gateway/package.json | 2 +- packages/yarn.lock | 14 ++++++++++++-- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 packages/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch diff --git a/packages/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch b/packages/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch new file mode 100644 index 0000000000..720d289852 --- /dev/null +++ b/packages/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch @@ -0,0 +1,13 @@ +diff --git a/package.json b/package.json +index 396670e16d727c56277a0a5d3e5a1f4bcddca588..93787ca546e8b9be46d353d59078bea63949a6b4 100644 +--- a/package.json ++++ b/package.json +@@ -86,7 +86,7 @@ + "description": "Custom location of the AsyncAPI file that you provided as an input in generation. By default it is located in the root of the output directory" + } + }, +- "generator": ">=0.50.0 <2.0.0", ++ "generator": ">=0.50.0 <3.0.0", + "filters": [ + "@asyncapi/generator-filters" + ], diff --git a/packages/live-status-gateway/package.json b/packages/live-status-gateway/package.json index 23fc999504..c1dccc1c5c 100644 --- a/packages/live-status-gateway/package.json +++ b/packages/live-status-gateway/package.json @@ -68,7 +68,7 @@ "devDependencies": { "@asyncapi/generator": "^2.5.0", "@asyncapi/html-template": "^3.1.0", - "@asyncapi/nodejs-ws-template": "^0.9.36", + "@asyncapi/nodejs-ws-template": "patch:@asyncapi/nodejs-ws-template@npm%3A0.9.36#~/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch", "type-fest": "^4.32.0" }, "lint-staged": { diff --git a/packages/yarn.lock b/packages/yarn.lock index 5c179db5ee..8f6c1659f6 100644 --- a/packages/yarn.lock +++ b/packages/yarn.lock @@ -379,7 +379,7 @@ __metadata: languageName: node linkType: hard -"@asyncapi/nodejs-ws-template@npm:^0.9.36": +"@asyncapi/nodejs-ws-template@npm:0.9.36": version: 0.9.36 resolution: "@asyncapi/nodejs-ws-template@npm:0.9.36" dependencies: @@ -389,6 +389,16 @@ __metadata: languageName: node linkType: hard +"@asyncapi/nodejs-ws-template@patch:@asyncapi/nodejs-ws-template@npm%3A0.9.36#~/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch": + version: 0.9.36 + resolution: "@asyncapi/nodejs-ws-template@patch:@asyncapi/nodejs-ws-template@npm%3A0.9.36#~/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch::version=0.9.36&hash=b3b9ad" + dependencies: + "@asyncapi/generator-filters": "npm:^2.1.0" + "@asyncapi/generator-hooks": "npm:^0.1.0" + checksum: 10c0/3ad3f71ce82b71a42f3d7feeef727c3df9fd7b722fe09657c117a1fa3f07c28fda1a390f3b1280ac37d3618e598ed31801ebbc51ff983547295cabbc94aa0938 + languageName: node + linkType: hard + "@asyncapi/nunjucks-filters@npm:*": version: 2.1.0 resolution: "@asyncapi/nunjucks-filters@npm:2.1.0" @@ -18607,7 +18617,7 @@ asn1@evs-broadcast/node-asn1: dependencies: "@asyncapi/generator": "npm:^2.5.0" "@asyncapi/html-template": "npm:^3.1.0" - "@asyncapi/nodejs-ws-template": "npm:^0.9.36" + "@asyncapi/nodejs-ws-template": "patch:@asyncapi/nodejs-ws-template@npm%3A0.9.36#~/.yarn/patches/@asyncapi-nodejs-ws-template-npm-0.9.36-2652c2d6e5.patch" "@sofie-automation/blueprints-integration": "npm:1.52.0-in-development" "@sofie-automation/corelib": "npm:1.52.0-in-development" "@sofie-automation/server-core-integration": "npm:1.52.0-in-development"