From de194676577207c4662373b7f1ed56a8855dab58 Mon Sep 17 00:00:00 2001 From: Nicolas Luck Date: Fri, 20 Dec 2024 00:16:06 +0100 Subject: [PATCH] set-version: add "workspace:" to ad4m dep in connect when changing versions --- setVersion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setVersion.js b/setVersion.js index 05d5a3349..fc0130264 100644 --- a/setVersion.js +++ b/setVersion.js @@ -59,7 +59,7 @@ fs.writeFileSync('cli/Cargo.toml', cli.newContent) const connect = JSON.parse(fs.readFileSync('connect/package.json', 'utf8')) console.log("Connect version: " + connect.version + " -> " + VERSION) connect.version = VERSION -connect.devDependencies["@coasys/ad4m"] = VERSION +connect.devDependencies["@coasys/ad4m"] = "workspace:" + VERSION fs.writeFileSync('connect/package.json', JSON.stringify(connect, null, 2) + '\n') const core = JSON.parse(fs.readFileSync('core/package.json', 'utf8'))