Skip to content

Commit

Permalink
'bump'
Browse files Browse the repository at this point in the history
  • Loading branch information
tenbits committed Nov 11, 2024
1 parent e575e2f commit f8ed2e7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
11 changes: 8 additions & 3 deletions lib/0xweb.js
Original file line number Diff line number Diff line change
Expand Up @@ -47473,10 +47473,15 @@ class InitWorker {
return;
}
_console_1.$console.log(`Extending gray<package.json> with new dependencies: \n ${added.map(x => ` bold<${x}>`).join('\n')}`);
await filePackageCurrent.writeAsync(pkgCurrent);
_console_1.$console.log(`Starting gray<npm install>`);
// await filePackageCurrent.writeAsync(pkgCurrent);
// $console.log(`Starting gray<npm install>`);
// await run({
// command: 'npm install',
// cwd: this.directory.toLocalDir(),
// });
let pkgs = added.map(x => `${x}@latest`).join(' ');
await (0, shellbee_1.run)({
command: 'npm install',
command: `npm install ${pkgs}`,
cwd: this.directory.toLocalDir(),
});
}
Expand Down
11 changes: 8 additions & 3 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -47483,10 +47483,15 @@ class InitWorker {
return;
}
_console_1.$console.log(`Extending gray<package.json> with new dependencies: \n ${added.map(x => ` bold<${x}>`).join('\n')}`);
await filePackageCurrent.writeAsync(pkgCurrent);
_console_1.$console.log(`Starting gray<npm install>`);
// await filePackageCurrent.writeAsync(pkgCurrent);
// $console.log(`Starting gray<npm install>`);
// await run({
// command: 'npm install',
// cwd: this.directory.toLocalDir(),
// });
let pkgs = added.map(x => `${x}@latest`).join(' ');
await (0, shellbee_1.run)({
command: 'npm install',
command: `npm install ${pkgs}`,
cwd: this.directory.toLocalDir(),
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "0xweb",
"description": "Contract package manager and other web3 tools",
"version": "0.10.51",
"version": "0.10.52",
"main": "./lib/0xweb.js",
"types": "./lib/0xweb.d.ts",
"bin": {
Expand Down

0 comments on commit f8ed2e7

Please sign in to comment.