From f8ed2e722e2a405f8b0fecc7148025a64de11185 Mon Sep 17 00:00:00 2001 From: Alex Kit Date: Mon, 11 Nov 2024 10:32:42 +0100 Subject: [PATCH] 'bump' --- lib/0xweb.js | 11 ++++++++--- lib/cli.js | 11 ++++++++--- package.json | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/lib/0xweb.js b/lib/0xweb.js index 1830e5f..c3d8934 100644 --- a/lib/0xweb.js +++ b/lib/0xweb.js @@ -47473,10 +47473,15 @@ class InitWorker { return; } _console_1.$console.log(`Extending gray with new dependencies: \n ${added.map(x => ` bold<${x}>`).join('\n')}`); - await filePackageCurrent.writeAsync(pkgCurrent); - _console_1.$console.log(`Starting gray`); + // await filePackageCurrent.writeAsync(pkgCurrent); + // $console.log(`Starting gray`); + // 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(), }); } diff --git a/lib/cli.js b/lib/cli.js index b6a8716..604fb33 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -47483,10 +47483,15 @@ class InitWorker { return; } _console_1.$console.log(`Extending gray with new dependencies: \n ${added.map(x => ` bold<${x}>`).join('\n')}`); - await filePackageCurrent.writeAsync(pkgCurrent); - _console_1.$console.log(`Starting gray`); + // await filePackageCurrent.writeAsync(pkgCurrent); + // $console.log(`Starting gray`); + // 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(), }); } diff --git a/package.json b/package.json index 976b571..f831a12 100644 --- a/package.json +++ b/package.json @@ -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": {