Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option: --ignore #79

Open
bertyhell opened this issue Feb 13, 2024 · 0 comments
Open

Add option: --ignore #79

bertyhell opened this issue Feb 13, 2024 · 0 comments

Comments

@bertyhell
Copy link

bertyhell commented Feb 13, 2024

Could you add an option to ignore certain folders. eg:

ep --ignore=node_modules,dist,.git
const defaultIgnores = ['.git', 'node_modules', '.yarn'];

module.exports = function each(command, args, options, callback) {
  let depth = typeof options.depth === 'undefined' ? Infinity : options.depth;
  if (depth !== Infinity) depth++; // depth is relative to first level of packages
  const ignores = options.ignore ? options.ignore.split(',') : defaultIgnores;

i tried it here, but the build failed for me:
#80

error was:

> tsds build

invalid type: unit value, expected a boolean

Process finished with exit code -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant