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
Gajus Kuizinas
78109764f7
chore: move ./fixtures folder under ./tests
2016-11-01 15:30:04 +00:00
Gajus Kuizinas
335152f0d4
chore: replace pragmatist with Mocha, ESLint, Babel
2016-11-01 15:27:12 +00:00
Gajus Kuizinas
858085656b
style: fix code style
2016-11-01 15:26:29 +00:00
Gajus Kuizinas
7990da993f
chore: define minimum node requirement v5
2016-11-01 14:55:36 +00:00
Gajus Kuizinas
057949b3db
chore: define .eslintrc
2016-11-01 14:43:19 +00:00
Gajus Kuizinas
9579637f8e
chore: enable tests for node.js 5, 6 and 7
2016-11-01 14:40:09 +00:00
Gajus Kuizinas
0fa96772a8
chore: define .editorconfig
2016-11-01 14:39:30 +00:00
Gajus Kuizinas
99fd807dfb
0.1.3
2016-04-10 18:03:22 +01:00
Gajus Kuizinas
67be5ec70c
Updated dependencies.
2016-04-10 18:03:16 +01:00
Gajus Kuizinas
a8a5332d5c
Code style preferences.
2016-03-19 13:01:04 +02:00
Gajus Kuizinas
329533a130
Use type assertions for tests.
2016-03-19 12:56:31 +02:00
Gajus Kuizinas
c5f0452f10
Updated dependencies.
2016-03-19 12:54:13 +02:00
Gajus Kuizinas
00c8312dc1
0.1.2
2016-01-29 21:40:21 +00:00
Gajus Kuizinas
36ea8228ee
Name can include an underscore character.
2016-01-29 21:40:16 +00:00
Gajus Kuizinas
f41753b978
Added example to the docs.
2016-01-29 13:22:39 +00:00
Gajus Kuizinas
a23c3ad866
0.1.1
2016-01-29 13:15:56 +00:00
Gajus Kuizinas
dc80afa816
Corrected dependencies.
2016-01-29 13:15:50 +00:00
Gajus Kuizinas
3cf860aa54
0.1.0
v0.1.0
2016-01-29 12:54:38 +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