19 Commits

Author SHA1 Message Date
ZachJW34
dd52f3cdca fix(nx): filter non-existing files during format (#1087)
Formatting of uncommitted files errors when the only change is the deletion of files. Checking if
the file exists before writing solves this issue.
2019-02-19 12:40:57 -05:00
Jason Jean
0bca0a7273 enhancement(schematics): incrementally update dependencies with only files changed 2018-12-12 19:29:42 -05:00
--get
e7e9fac7d9 feat(schematics): update prettier to 1.15 and format html 2018-11-18 14:47:11 -05:00
--get
f8ac8e1569 feat(schematics): add generic affected 2018-11-12 14:30:25 -05:00
Hernan Magrini
5ccaef93d4 feat(schematics): add SCSS/CSS support via Prettier 2018-08-29 13:36:06 -04:00
ben
84686d94c4 fix(command-line): format split in chunks patterns
The format command now splits all the array containing all the urls and patterns given, in smaller chunks arrays, executing the command on each chunks. This prevent to have too long argument on the command for the terminal, which can lead to error on specific OS. The chaining of command is transparent for the user.

close #511
2018-08-23 12:29:52 -04:00
Victor Savkin
bc559575f5 feat(schematics): add support for workspace-specific schematics 2018-04-05 15:44:15 -04:00
FrozenPandaz
87d8592a70 fix(nx): fix formatting for paths with space 2018-03-25 10:57:04 -04:00
vsavkin
fcec9dc1c0 reformat code with printWidth=80 2018-03-16 15:38:28 -04:00
James Henry
56a6611575 feat(schematics): Allow users to set prettier config, add relevant migration 2018-03-11 14:34:40 -04:00
vsavkin
feeaba1a4b fix(schematics): fix format:write --libs-and-apps 2018-02-28 12:36:34 -05:00
vsavkin
58e99ab04d fix(schematics): change format to default to format-all when no patterns are detected 2018-02-28 10:36:46 -05:00
Emilio
9128fa8be1 fix(schematics): ammend command in script errors 2018-02-19 10:42:05 -05:00
vsavkin
9609fc6750 fix(command-line): make affected and format windows-friendly 2018-01-20 18:06:38 -05:00
vsavkin
2c49c30295 fix(schematics): avoid relative paths to node modules 2018-01-16 19:27:27 -05:00
vsavkin
878784ae81 feat(schematics): improve error messages 2018-01-03 15:04:50 -05:00
vsavkin
5794a5d4f3 feat(schematics): add an option to format:check to "round up" to the closest lib/app 2018-01-03 11:13:56 -05:00
vsavkin
2a892b7a41 fix(schematics): fix format command to handle large number of files 2018-01-03 09:34:27 -05:00
vsavkin
826a0b1056 feat(schematics): add format:check and format:write commands 2018-01-02 15:51:44 -05:00