diff --git a/package.json b/package.json index 24fe3c3..a7766a6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@subsquid/cli", "description": "squid cli tool", - "version": "2.8.5", + "version": "2.8.6", "license": "GPL-3.0-or-later", "repository": "git@github.com:subsquid/squid-cli.git", "publishConfig": { diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index b1e7886..9d6750a 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -193,8 +193,12 @@ export default class Deploy extends DeployCommand { ignore: (name) => { const relativePath = path.relative(path.resolve(squidDir), path.resolve(name)); + if (relativePath.includes(`node_modules`)) { + this.log(chalk.dim(`-- ignoring ${relativePath}`)); + return true; + } + switch (relativePath) { - case 'node_modules': case 'builds': case 'lib': case 'Dockerfile': @@ -213,6 +217,7 @@ export default class Deploy extends DeployCommand { }, }, }); + CliUx.ux.action.stop(`${filesCount} file(s) ✔️`); if (filesCount === 0) { return this.error(`0 files were found in ${squidDir}. Please check the squid source, looks like it is empty`);