Skip to content

Commit

Permalink
2024-08-03
Browse files Browse the repository at this point in the history
  • Loading branch information
khasanshadiyarov committed Aug 3, 2024
1 parent bec7cc5 commit 3d4dc9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tailfront",
"version": "0.0.9",
"version": "0.0.10",
"description": "CLI client for distribution of Tailfront products.",
"bin": "./dist/index.js",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions src/commands/elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ const command = new Command()
initial: false,
});
if (!deps) {
log.info(`Automatic dependency install is skipped.\nPlease install ${chalk.blue('@require')} packages.`);
log.info(`Automatic dependency install is skipped.\nPlease install ${chalk.blue('@npm')} packages.`);
} else {
Pkg.install(
Pkg.extract(/@require\s+([^\r\n]*)/g, manifest),
Pkg.extract(/@npm\s+([^\r\n]*)/g, manifest),
Pkg.list(parse)
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace Pkg {
log.info(`Installing missing packages: ${miss}`);
for (const pkg of miss) {
try {
execSync(`npm i ${pkg} > /dev/null`, {stdio: 'inherit'});
execSync(`npm ${pkg} > /dev/null`, {stdio: 'inherit'});
log.ok(`Package installed: ${pkg}`);
} catch (error) {
log.failed(`Error installing package ${pkg}: ${error}`);
Expand Down

0 comments on commit 3d4dc9d

Please sign in to comment.