This repository offers a default implementation of the .dcignore file and an automatic generator based on common .gitignore patterns found in https://github.com/github/gitignore
- Clone this repository
- Copy the
full.dcignorefile into the root of your project and rename it.dcignore
npm install @deepcode/dcignore- Import the module.
- Use the
DefaultDCIgnorestring to fill a standard .dcignore file. - Use the
CustomDCIgnorestring if you need to initialize an empty .dcignore with some content.
const { DefaultDCIgnore, CustomDCIgnore } = require('@deepcode/dcignore');import { DefaultDCIgnore, CustomDCIgnore } from "@deepcode/dcignore";