Gorji
061c645544
dit
2021-06-03 08:36:23 +04:30
Gorji
80189f9972
fix import inde files
2021-06-03 08:31:40 +04:30
Gajus Kuizinas
76c6d4b5ee
fix: update dependencies
v2.6.0
2020-05-18 10:11:25 -07:00
Gajus Kuizinas
017b834393
Merge branch 'danielpza-master'
2020-05-18 10:02:12 -07:00
Gajus Kuizinas
669e36fe67
chore: remove unused script
2020-05-18 10:02:11 -07:00
Daniel Perez Alvarez and Gajus Kuizinas
1a50178f71
docs: recover -x footer
2020-05-18 10:01:37 -07:00
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
0dbb06ecc6
chore: add prepare script
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
v2.5.0
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
v2.4.0
2019-01-25 17:49:18 +00:00
Gajus Kuizinas and GitHub
1efd1c6c7b
chore: update .editorconfig
2018-11-12 23:43:25 +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
v2.3.0
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"]}
v2.2.0
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 )
v2.1.0
2017-01-30 09:56:50 +00:00
Guillaume Boddaert and Gajus Kuizinas
7353f04394
docs: apply current export format in README after 2.0.0 release ( #34 )
2017-01-29 14:05:09 +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.
v2.0.0
2017-01-27 14:44:07 +00:00
Raidok and Gajus Kuizinas
893d9931d4
fix: correct a copy-paste error in a log message ( #29 )
v1.2.2
2017-01-24 11:56:57 +00:00
laggingreflex and Gajus Kuizinas
9113572a43
chore: add cross-env to scripts for cross platform support ( #23 )
2016-12-08 06:41:03 +00:00
Gajus Kuizinas
cedb893e7c
1.1.0
2016-11-30 15:48:22 +00:00
laggingreflex and Gajus Kuizinas
2bafc5bb85
chore: fix typo ( #25 )
2016-11-30 15:47:42 +00:00
laggingreflex and Gajus Kuizinas
5839536cf0
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
v1.2.1
2016-11-30 13:20:50 +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.
v1.2.0
2016-11-30 05:30:34 +00:00
Gajus Kuizinas
2450b7202e
chore: use semantic-release
v1.1.0
2016-11-29 17:51:38 +00:00
Gajus Kuizinas
707ae70240
style: sort properties alphabetically
2016-11-29 17:50:16 +00:00
Gajus Kuizinas
c6952fa1e1
chore: add a precommit hook
2016-11-29 17:49:57 +00:00
Gajus Kuizinas
e6ebaec387
chore: setup env when running scripts
2016-11-29 17:49:44 +00:00
Gajus Kuizinas
1f0a517797
style: fix style issues
2016-11-29 17:49:05 +00:00
Gajus Kuizinas
7867b8f8c7
chore: use default travis test script
2016-11-29 17:48:50 +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
be0e6fdc75
1.0.0
v1.0.0
2016-11-01 15:59:44 +00:00
Gajus Kuizinas
91c2e4eae3
feat: use comment to target files ( fixes #5 )
2016-11-01 15:58:31 +00:00
Gajus Kuizinas
c41edde1cd
docs: update documentation to reflect new option names ( fixes #10 )
2016-11-01 15:57:08 +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
3c5e96f8c0
chore: ignore ./test instead of ./tests
2016-11-01 15:46:36 +00:00
Gajus Kuizinas
696b817ce4
chore: add missing babel plugins
2016-11-01 15:45:29 +00:00
Gajus Kuizinas
2faeba74b3
chore: fix the build script
2016-11-01 15:36:19 +00:00
Gajus Kuizinas
eac728be0b
chore: add missing babel plugins
2016-11-01 15:36:09 +00:00
Gajus Kuizinas
2fa0d6635f
chore: update dependencies
2016-11-01 15:33:28 +00:00
Gajus Kuizinas
08b9abc45a
chore: define .travis.yml test scripts
2016-11-01 15:33:05 +00:00
Gajus Kuizinas
a61cb3a14e
chore: add .eslintignore
2016-11-01 15:31:41 +00:00
Gajus Kuizinas
272a836c96
chore: rename ./tests to ./test
2016-11-01 15:31:00 +00:00