Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
npm-debug.log
tmp
.DS_Store
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
src/
node_modules/
.vscode/
*.log
tsconfig.json
tslint.json
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# load-grunt-parent-tasks

> Loads de-duped grunt tasks from parent or sibling modules.
> Loads de-duped grunt tasks from parent or sibling modules, or for hoisted monorepos.

## TL;DR

Expand All @@ -25,7 +25,7 @@ look like this:
│   │   ├── Gruntfile.js
│   │   ├── node_modules
│   │   │   └── Z
│   │   └── package.json (has depencencies X,Y,Z)
│   │   └── package.json (has dependencies X,Y,Z)
│   ├── X
│   └── Y
└── package.json (has dependencies A,X,Y)
Expand All @@ -49,7 +49,7 @@ a new module which contains project A's package.json with the addition of a
│   │   │   ├── grunt-collection
│   │   │   │   └── package.json (has dependencies X,Y,Z and 'keywords: ["gruntcollection"]')
│   │   │   └── Z
│   │   └── package.json (has depencencies X,Y,Z)
│   │   └── package.json (has dependencies X,Y,Z)
│   ├── X
│   └── Y
└── package.json (has dependencies A,X,Y)
Expand Down Expand Up @@ -150,6 +150,14 @@ Default: `'grunt-collection'`

The `module` option can be changed in case `grunt-collection` ever conflicts with any other package name.

### alwaysCreate

Type: `boolean`
Default: `'false'`

Will create the fake package in node_modules even if the cwd is root (this should be set if
you want to hoist grunt tasks in a monorepo)

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

Expand Down
140 changes: 0 additions & 140 deletions index.js

This file was deleted.

Loading