Daniel Perez Alvarez and Gajus Kuizinas
c9d4fa2471
fix trailing comma
2020-05-18 10:01:37 -07:00
Daniel Perez Alvarez and Gajus Kuizinas
5b496536c6
update and fixes
2020-05-18 10:01:37 -07:00
Daniel Perez Alvarez and Gajus Kuizinas
bc314be2a1
update
2020-05-18 10:01:37 -07:00
Daniel Perez Alvarez and Gajus Kuizinas
64af79d428
docs: update yargs and readme
2020-05-18 10:01:37 -07:00
Andrei Miulescu and Gajus Kuizinas
38c4094655
feat: add outputFile for typescript etc
2020-05-18 10:01:37 -07:00
beraliv and Gajus Kuizinas
1f87f9a8b3
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
2019-10-27 13:37:12 +00:00
Joe Whittles and Gajus Kuizinas
6aac149a8b
feat: add option to exclude directories from index.js ( #50 )
...
* Add option to exclude directories from index.js
* Update readDirectory.js
* Update writeIndexCli.js
* Update readDirectory.js
* Update README
2019-01-25 17:49:18 +00:00
James Lewis and Gajus Kuizinas
ed8e1d0699
feat: using writeIndex programatically was not respecting passed options configuration ( #41 )
...
* Create .gitattributes
* pass full options object to createIndexCode in writeIndex
2017-12-08 15:15:38 +00:00
Dawid Karabin and Gajus Kuizinas
bf45925380
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"]}
2017-03-13 20:42:46 +00:00
Guillaume Boddaert and Gajus Kuizinas
5fea5e63d7
feat: add --extension/-x parameter overwrite default .js extension parser ( #35 )
2017-01-30 09:56:50 +00:00
Guillaume Boddaert and Gajus Kuizinas
65892e3bb8
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.
2017-01-27 14:44:07 +00:00
Raidok and Gajus Kuizinas
893d9931d4
fix: correct a copy-paste error in a log message ( #29 )
2017-01-24 11:56:57 +00:00
laggingreflex and Gajus Kuizinas
2bafc5bb85
chore: fix typo ( #25 )
2016-11-30 15:47:42 +00:00
laggingreflex and Gajus Kuizinas
219f546c67
feat: add --resursive and --ignore options ( #24 )
...
`--resursive`: Create/update index files recursively. Halts on any unsafe "index.js" files.
`--ignore-unsafe`: Ignores unsafe "index.js" files instead of halting.
2016-11-30 05:30:34 +00:00
Gajus Kuizinas
1f0a517797
style: fix style issues
2016-11-29 17:49:05 +00:00
Gajus Kuizinas
9cfc2ad367
Merge branch 'master' of github.com:gajus/create-index
2016-11-29 17:45:58 +00:00
Gajus Kuizinas
ab6c399241
fix: correct all the references to @create-index
2016-11-29 17:45:54 +00:00
laggingreflex and Gajus Kuizinas
fdb17d0179
feat: ability to add banner ( #20 )
...
Lets you add a custom banner.
```sh
create-index src -u --banner "/* eslint-disable */"
```
```js
/* eslint-disable */
// @create-index
import xxx ...
```
2016-11-29 17:45:23 +00:00
laggingreflex and Gajus Kuizinas
d7e2528999
fix: rename --update-index to --update ( fixes #10 ) ( #15 )
2016-11-28 15:36:37 +00:00
laggingreflex and Gajus Kuizinas
974142c38c
fix: use comment to target files ( fixes #5 ) ( #17 )
2016-11-28 15:35:43 +00:00
Gajus Kuizinas
91c2e4eae3
feat: use comment to target files ( fixes #5 )
2016-11-01 15:58:31 +00:00
Gajus Kuizinas
d05b635834
feat: add alias -u to --update ( fixes #10 )
2016-11-01 15:50:18 +00:00
Gajus Kuizinas
9278b25dcd
feat: rename --update-index to --update ( fixes #10 )
2016-11-01 15:50:02 +00:00
Gajus Kuizinas
858085656b
style: fix code style
2016-11-01 15:26:29 +00:00
Gajus Kuizinas
a8a5332d5c
Code style preferences.
2016-03-19 13:01:04 +02:00
Gajus Kuizinas
36ea8228ee
Name can include an underscore character.
2016-01-29 21:40:16 +00:00
Gajus Kuizinas
31df6215a7
Scan all descending directories for index.js with 'create index'; ( fixes #2 )
2016-01-29 12:54:31 +00:00
Gajus Kuizinas
03d68cbe7a
More descriptive bin program output ( fixes #1 )
2016-01-29 11:21:04 +00:00
Gajus Kuizinas
69825b59c6
Change the index file format to use "export ... from" ( fixes #3 )
2016-01-29 09:40:35 +00:00
Gajus Kuizinas
a91f9b8ead
Missing files.
2016-01-06 17:55:09 +00:00
Gajus Kuizinas
25097cc509
First version.
2016-01-06 17:54:19 +00:00
Gajus Kuizinas
8d9475c610
first commit
2016-01-06 13:53:54 +00:00