Owen Melbourne
d833174b4e
Allowed the 'build' cli command to fallback to some defaults if no input file is specified.
2020-05-30 17:53:30 +01:00
mattstypa
26e4007428
Few CLI tweaks
2019-03-20 08:17:56 -05:00
Matt Stypa
6c461706c6
Moved constants and used it for hardcoded paths
2019-03-15 07:08:34 -05:00
Matt Stypa
7ec4b11d73
Ripped out the code no longer needed
2019-03-14 20:24:31 -05:00
Matt Stypa
9e4f54a17f
Merging in changes from upstream
2019-03-14 18:07:29 -05:00
Matt Stypa
9e835e4546
Fixed failing tests and added additional coverage
2019-03-14 16:51:36 -05:00
mattstypa
92b3b0c0a1
Updated CLI init commend
2019-03-14 15:51:21 -05:00
Adam Wathan
c6449f8fa8
Make container plugin a core plugin, configured in theme
2019-03-14 14:36:28 -04:00
Adam Wathan
195cdec89e
Don't skip CLI tests
2019-02-01 12:32:50 -05:00
Adam Wathan
ec1bdd27ec
Move screens into theme config
2019-02-01 12:32:50 -05:00
Adam Wathan
3d2a598c0e
Don't test for presence of defaultConfig in defaultConfig
2019-02-01 12:32:50 -05:00
Adam Wathan
2f9172cf8d
Update every plugin to accept its config as a parameter
2019-02-01 12:32:50 -05:00
Adam Wathan
d2faab515b
Return expectation promise in CLI test cases
2019-01-31 20:12:13 -05:00
Adam Wathan
d8df647fa0
Add option to disable autoprefixer in CLI
2018-11-05 08:53:51 -05:00
mattstypa
9e26fd84e3
CLI. Added --no-comments option to init commend
2018-09-24 15:44:36 -05:00
Matt Stypa
eb4da80ede
Code style updates
2018-09-24 07:55:24 -05:00
Matt Stypa
1b1ae8abc9
When no output file is specified for the build command, the result will be piped to stdout
2018-09-23 22:00:50 -05:00
mattstypa
d91eea88fb
Reverted changes to processTailwindFeatures that would impact Webpack watch ability. As a result all commands also became Promise based
2018-09-14 11:07:23 -05:00
Matt Stypa
b71cfe711e
CLI tool rewrite
2018-09-13 21:37:10 -05:00
David Mosher
862bce837e
add test harness for cli.js and stdout bugfix
...
- when used on the CLI, lib/cli.js was writing the output of log
statements to STDOUT; this caused consumers of the CLI who wanted to
pipe the processed output (css) to other unix utilities to end up with
invalid CSS due to the log messages appearing at the start and end of
the files
- this commit fixes this by replacing `console.log` with `console.warn`
and `console.error`, which both write output to STDERR
2018-05-03 13:42:45 -04:00