You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: cannot use create-index for short folders (#51)
* feat: file cannot be started from _ and be one symbol
* test: add children-directories-short-name for readDirectory
feat: using writeIndex programatically was not respecting passed opti…
…ons configuration (#41)
* Create .gitattributes
* pass full options object to createIndexCode in writeIndex
feat: add ignore option (fix#31) (#37)
- Add functionality to ignore files based on provided
regular expressions
- Support writeIndex and writeIndexCli
- in index.js config must be specified as below
// @create-index {"ignore":["/foo.js"]}
feat: use es2015 syntax to re-export default export (#32)
BREAKING CHANGE:
This changes the output generated by create-index and can effect CI if it runs linting tests against create-index.
fix: update stopped working with banner (#22)
With the addition of `--banner` option index files no longer start with '// @create-index'
This new regex looks for '// @create-index' that are either at the beginning of the file (old behavior) or if it is followed by a newline.
Basically it just checks whether it exists in a file or not.
Added a test for it now.
# Conflicts:
# src/utilities/validateTargetDirectory.js