Skip to content

Commit

Permalink
update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Apr 22, 2024
1 parent c1da605 commit e0c4dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modelina-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modelina-cli/scripts/renameModelinaPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const modelinaPackageDir = path.resolve(__dirname, './modelina-package');
if (!fs.existsSync(modelinaPackageDir)){
fs.mkdirSync(modelinaPackageDir);
}

fs.renameSync(path.resolve(__dirname, `../asyncapi-modelina-${modelinaPkg.version}.tgz`), path.resolve(__dirname, `./modelina-package/asyncapi-modelina.tgz`));

spawnSync(`cd ${__dirname}/../ && npm install ./scripts/modelina-package/asyncapi-modelina.tgz`)
// Make sure we update the installed tarball as we will run into EINTEGRITY issues
spawnSync(`cd ${__dirname}/../ && npm update @asyncapi/modelina`)

0 comments on commit e0c4dd9

Please sign in to comment.