30 Commits

Author SHA1 Message Date
Jason Jean
4c4826667e
fix(core): fix defaulting object properties to empty {} (#7288) 2021-10-08 13:15:37 -04:00
Jason Jean
5c1bc60de8
fix(core): fix validation of string length (#6741) 2021-08-17 02:42:22 +00:00
Jason Jean
d6cb7f9fdc
fix(core): parse aliases in target configuration and coerce aliased options (#6705) 2021-08-13 13:30:29 -04:00
Chau Tran
f7aeb99e58
fix(core): ensure to only passthrough verbose if isVerbose is true (#6607)
* fix(core): ensure to only passthrough verbose if isVerbose is true

ISSUES CLOSED: #6606

* fix(core): update applyVerbosity test

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-05 15:18:57 -04:00
Chau Tran
ffcd28348b
fix(core): apply verbose flag to combined options if the schema allows it (#6593)
`--verbose` flag is spliced from the command args upon invoking nx commands. This PR makes sure to
set the `verbose` property based on `isVerbose` flag if the Schema allows it

ISSUES CLOSED: #6520 #4160

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-08-03 19:39:47 +01:00
Jason Jean
e53e58bc83
fix(core): add better option validation (#6557) 2021-07-30 19:04:56 -04:00
Jason Jean
2c533ace36
fix(core): fix aliased args parsing (#5973) 2021-06-11 16:46:55 -04:00
Leosvel Pérez Espinosa
329bb25404
feat(core): warn when deprecated options are used in generators and executors (#5845) 2021-06-01 21:45:06 -04:00
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist (#5488) 2021-04-30 19:08:59 -04:00
Juri
b2d39060cc fix(core): value coercion for schemas with oneOf string enums 2021-02-03 09:04:05 -05:00
Victor Savkin
3fb9552ecb fix(core): only do type casting for string values when parsing command line args
Closes #4584
2021-01-22 21:37:57 -05:00
Victor Savkin
8a88fc8c71 feat(core): support schema properties without type 2021-01-11 14:12:30 -05:00
Ali Yusuf
872ebd89c4 fix(core): fix(core): validate options for oneOf rule with factorized type
ISSUES CLOSED: #4484
2021-01-11 09:20:24 -05:00
Victor Savkin
1cb152eee7 feat(core): set path property based on cwd when running generators 2020-12-29 20:10:15 -05:00
Victor Savkin
9923ce93d5 feat(core): support strict schemas with no additional properties
Fixes: 4255
2020-12-24 18:38:54 -05:00
Victor Savkin
463be216db fix(core): add a default provider setting project name 2020-12-18 11:11:36 -05:00
Victor Savkin
2651ff98f3 fix(core): fix coerceTypesInOptions for schemas with oneOf 2020-12-14 21:36:20 -05:00
victor savkin
8afc5c5bce feat(core): make older builders support new config formats 2020-12-01 15:46:00 -05:00
Victor Savkin
4a17b7339f feat(core): use the new schematics api for workspace schematics 2020-11-17 19:31:08 -05:00
Victor Savkin
428edb0c32 feat(core): implement basic support for schematics 2020-11-17 19:31:08 -05:00
Victor Savkin
68a4a7eb8c feat(core): add nx devkit builders 2020-11-17 19:31:08 -05:00
Jo Hanna Pearce
675000d7a6 feat(core): add lint target to tao and fix lint errors 2020-07-09 22:16:35 -04:00
Victor Savkin
d9536703f3 fix(core): alias conversion should not exclude unknown props for builders 2020-07-01 23:29:02 -04:00
Victor Savkin
23abfff579 fix(core): restore lost coerceTypes 2020-06-17 23:06:43 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
a6220f7b0a fix(core): handle passing arrays as arguments 2020-05-28 23:17:10 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jo Hanna Pearce
5a398a6870 feat(nx): add option validation to @nrwl/tao/generate with bonus levenshtein lookup 2019-10-15 15:34:05 -04:00
Jack Hsu
fa7c9a7c7f
feat(react): add --directory option for React components (#1729)
Also adds alias support to tao cli.

Closes #1702
2019-08-16 09:22:15 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00