Skip to content

Commit

Permalink
set-version: add "workspace:" to ad4m dep in connect when changing ve…
Browse files Browse the repository at this point in the history
…rsions
  • Loading branch information
lucksus committed Dec 19, 2024
1 parent 27a82a3 commit de19467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit de19467

Please sign in to comment.