* feat(core): standalone project configuration is default
* chore(core): changes to e2e tests
* fix(core): intuit projects when inside their directories when using project.json files
* chore(core): e2e changes
* fix(core): standalone configurations work with npm-project generator
* chore(core): e2e tests should use standalone configurations
* chore(core): e2e fixes per review
* chore(core): fix some broken tests
* docs(core): update docs to represent master -> main
* chore(core): review changes
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* chore(core): add migration script for backwards-compat w/ main default.
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
Currently, we split on path.sep in normalizePath. This results in differing results based on if the host file system is unix or windows. I
would expect that normalizePath(...) should return the same result wether or not it was executed in windows.
devkit's generateFiles function excludes parsing binary files with the templating engine.
This
patch adds .tgz files to the list of binary files to ignore.
* feat(devkit): make nx.json optional (#5678)
Allow project configuration functions to work without nx.json configuration file, this is particulary handy for regular Angular CLI projects.
* docs(devkit): make `NxJsonConfiguration` partial
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
Add font file extensions to the list of extensions that should not be rendered with ejs
ISSUES CLOSED: #5213
Co-authored-by: egiroux <erika.giroux@ubisoft.com>
* 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
* fix(devkit): removeProjectConfiguration should remove path for project.json from workspace.json
When using standalone config files, removing a project's config should also remove its entry in the
workspace file.
* fix(misc): @nrwl/workspace:rm should work with standalone config files
When using standalone config files, removing a project's config should also remove its entry in
the
workspace file.
* 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