dcignore
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
CLI usage
- Clone this repository
- Copy the
full.dcignore
file into the root of your project and rename it .dcignore
Module usage
npm install @deepcode/dcignore
- Import the module.
- Use the
DefaultDCIgnore
string to fill a standard .dcignore file. - Use the
CustomDCIgnore
string if you need to initialize an empty .dcignore with some content.
Javascript
const { DefaultDCIgnore, CustomDCIgnore } = require('@deepcode/dcignore');
Typescript
import { DefaultDCIgnore, CustomDCIgnore } from "@deepcode/dcignore";