362 Commits

Author SHA1 Message Date
Jason Jean
bfa06ce8b0
feat(misc): add generator for simple npm-package (#6784) 2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -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
Leosvel Pérez Espinosa
ce7441217f
cleanup(misc): refactor absolute imports to self (#6667) 2021-08-10 12:45:43 +01:00
Leosvel Pérez Espinosa
86a113c682
fix(core): fix prompt support for enum definitions (#6651) 2021-08-09 11:19:28 +01:00
Nrwl CI Machine
bc4ec52f53 cleanup(misc): avoid importing rxjs in the core path 2021-08-06 16:29:16 -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
Leosvel Pérez Espinosa
5037f2ca6e
feat(core): add devkit tree method to change the permissions of a file (#6598) 2021-08-04 16:49:41 +01: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
Leosvel Pérez Espinosa
595776db19
fix(core): flush changes using the tree write file options (#6592) 2021-08-03 13:52:40 -04:00
Jason Jean
e53e58bc83
fix(core): add better option validation (#6557) 2021-07-30 19:04:56 -04:00
Leosvel Pérez Espinosa
0af1780b81
fix(core): improve run-commands dx for ready-when (#6448) 2021-07-22 09:17:22 +01:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Leosvel Pérez Espinosa
3a18c4da0a
fix(core): validate pattern if specified for a schema property (#6395) 2021-07-16 16:27:22 +01:00
Craigory V Coppola
d32ac2bfd8
cleanup(misc): fix missing return statement in ngcli-adapter (#6380) 2021-07-15 10:58:34 -04:00
Craigory V Coppola
6ef8afbfd9
fix(core): wrapped angular schematics should be able to update newly created standalone projects (#6351)
* fix(core): wrapped angular schematics should be able to update newly created standalone projects

Wrapped angular schematics inside of generators should be able to update a newly created standalone
project configuration

ISSUES CLOSED: #6342

* fix(core): angular devkit schematics should normalize project paths before writing

Wrapped angular schematics inside of generators should be able to update a newly created
standalone
project configuration
ISSUES CLOSED: #6342

ISSUES CLOSED: #6353

* fix(core): wrapped angular-devkit schematics should pick up standaloneAsDefault

ISSUES CLOSED: #6354
2021-07-15 10:40:15 -04:00
Juri Strumpflohner
1670199115
fix(core): adjust logger to avoid errors when the passed object is not a string (#6320) 2021-07-09 17:41:39 +00:00
Kirils L
651b0d1f95
feat(core): migrations can add packages as dev dependencies (#6287) 2021-07-09 11:08:41 -04:00
Craigory V Coppola
651ba3649c
fix(core): project.json files are not being used with wrapAngularDevkitSchematic (#6276)
ISSUES CLOSED: #6271 #6272
2021-07-08 17:18:18 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Leosvel Pérez Espinosa
604242b58f
fix(angular): check for angular.json when converting config event path (#6170) 2021-06-29 18:02:53 +01:00
Jason Jean
8ac7519ada feat(core): introduce batch executors 2021-06-28 14:46:53 -04:00
Craigory V Coppola
7c7191a2f9
docs(core): docs for project.json files + associated generator (#6107)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-06-28 10:20:11 -04:00
Jason Jean
3093fd16fa fix(core): do not migrate nrwl packages that are not installed 2021-06-28 00:48:07 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Jason Jean
632d2f72ae fix(core): catch errors when cleaning up tmp dir during migrate 2021-06-25 16:48:42 -04:00
Craigory V Coppola
d3ba0caf7c
cleanup(core): misc cleanup for project.json files (#6112) 2021-06-24 10:16:00 -04:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Benjamin Cabanes
09fa02112b
docs(core): correctly format function comments for doc generation (#6055) 2021-06-17 18:32:06 +00:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Tine Kondo
e7f18a03c3 feat(core): allow setting file permissions while writing with Tree
Closes #5680
2021-06-16 13:58:21 -04:00
Leosvel Pérez Espinosa
668ed1c54f
fix(angular): override TSLint deprecation message to point to Nx ESLint conversion generator (#5893) 2021-06-14 13:33:27 -04:00
Jason Jean
702f15845e
fix(core): clean up tmp directories during migrate (#5971) 2021-06-11 19:46:14 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Jason Jean
2c533ace36
fix(core): fix aliased args parsing (#5973) 2021-06-11 16:46:55 -04:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Leosvel Pérez Espinosa
d3992e9453
fix(core): override isDirectory in wrapped angular schematics host (#5869) 2021-06-03 14:00:45 +01: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
Leosvel Pérez Espinosa
87cae06392
fix(core): list files from the tree in the ngcli-adapter (#5860) 2021-06-01 18:16:44 -04:00
Leosvel Pérez Espinosa
7a10cb4361
fix(angular): add workaround to prevent process from exiting early when building (#5807) 2021-05-27 16:13:30 +01:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
vsavkin
fe0dec1f99 fix(angular): adjust the adapter to work with angular 12 2021-05-18 11:07:11 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Emily Xiong
84db07c60e
feat(gatsby): update gatsby to 3.5.0 (#5516) 2021-05-13 14:02:35 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00