ssube
2ba2baceb6
fix tests to include mode in args
2021-07-29 23:52:44 -05:00
ssube
24d96a56d4
feat: switch output to es module, use c8 for coverage
...
BREAKING CHANGE: requires Node with stable ES modules. Consumers
targeting versions of Node or browsers without module support will
need to use a bundler to replace the imports.
2021-07-29 23:42:54 -05:00
ssube
c32ac312df
feat(config): load and validate config directly, without js-config lib
...
BREAKING CHANGE: this updates config loading to use the fs.promises
API and does not resolve paths from HOME or __dirname. Using an
absolute or relative path in the args option is still supported.
2021-07-15 19:41:02 -05:00
ssube
512112f4fb
fix(config): use extended schema with js-config
2021-04-04 16:05:18 -05:00
ssube
4e83723a2c
fix(build): include yargs in bundle
2021-04-03 11:03:15 -05:00
ssube
c2dbfff72b
update: js-yaml and js-yaml-schema
...
BREAKING CHANGE: includes all breaking changes from
js-yaml v4 and readonly include options from js-yaml-schema.
This is breaking because documents may parse differently,
but the API of this library has not changed.
2021-03-28 21:06:08 -05:00
ssube
2411adf90b
fix: use commonjs version of yargs to detect named exports
2021-03-28 09:18:23 -05:00
ssube
1f3cbac598
feat: add initial labels to project
2020-08-30 23:29:17 -05:00
ssube
0ea5791a8f
fix(test): cover config loading, graph styles
2020-08-30 22:41:48 -05:00
ssube
98391a9a47
fix(config): switch to js-config fully
2020-08-30 20:11:11 -05:00
ssube
b3669da930
fix(config): restore yargs exit behavior for now
2020-08-28 19:16:05 -05:00
ssube
040ad3c500
fix(remote): return created comment for gitlab, cover remaining endpoints
2020-08-28 18:51:46 -05:00
ssube
9e162b7573
lint: copy arrays before sorting, set index page lang
2020-08-27 22:16:43 -05:00
ssube
e3351fe344
feat(remote): implement issue, label update methods for gitlab, add dryrun support
2020-08-23 12:13:52 -05:00
ssube
2abe6b66c9
lint(config): default project colors to empty list, split remote into a ref
2020-08-22 17:49:05 -05:00
ssube
3935172126
fix(config): validate remote options
2020-08-22 17:28:24 -05:00
ssube
e6faf1ac69
fix(config): validate color values
2020-08-22 12:49:22 -05:00
ssube
545e5b979d
fix(test): use container for remotes
2020-08-22 10:44:14 -05:00
ssube
ceafdbab8a
fix(docs): describe running, CLI options
2020-08-22 09:58:13 -05:00
ssube
5947139274
fix(config): describe CLI options
2020-08-22 09:48:18 -05:00
ssube
505636f3dc
fix(config): match command names and docs, cover parts of sync
2020-08-20 17:20:59 -05:00
ssube
2feb5a3c60
feat(config): add project comment, state divider to config
2020-08-20 17:20:59 -05:00
ssube
ddc1d6b9c8
feat: add graphviz output mode
2020-08-20 17:20:59 -05:00
ssube
9a69044e18
fix(config): validate state changes
2020-08-15 18:58:19 -05:00
ssube
272a566acb
feat(config): validate using json schema, compare issue labels for update
2020-08-15 18:50:39 -05:00
ssube
686cb834bc
fix(sync): handle negative random indices
2020-08-15 16:53:33 -05:00
ssube
e4ab01ad10
feat(main): add project option, use to filter project sync
2020-08-15 09:52:08 -05:00
ssube
25b375d6ac
feat(logger): add bunyan without DI
2020-08-13 23:07:47 -05:00
ssube
4460c98e9b
feat(remote/github): add dry run option
2020-08-13 22:05:56 -05:00
ssube
e6857d7c73
feat(main): get config name from args
2020-08-13 18:56:28 -05:00
ssube
0edbdea7d1
feat: support multiple projects in one config
2020-08-12 00:12:57 -05:00
ssube
d510a3afb3
feat(main): wire up sync command stubs
2020-08-11 22:52:14 -05:00
ssube
8dd63f770a
feat(main): capture command as mode
2020-08-11 22:40:21 -05:00
ssube
1f641fc7ad
feat: add main function, arg parsing for CLI
2020-08-11 22:19:01 -05:00