* 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
* feat(linter): optimize containsFile function
related to #5210
* feat(linter): optimize find project function
related to #5210
* feat(core): cleanup target project locator
* fix(core): fix false positive match on resolvedModule
* chore(core): mark old code for removal
* feat(linter): move npm check before expensive typescript resolution
* feat(linter): improve performance of extension removal
* feat(linter): improve I/O operations
* feat(linter): read ts config only once in project locator
* feat(linter): remove double path normalization from rule
normalization is already part of getSourceFilePath function
* feat(linter): run find source only once
* feat(linter): defer source file path calculation will after whitelist check
* feat(linter): map project graph node files to hash map
* fix(linter): map projectGraph only once per runtime
* feat(linter): introduce mapped project graph type
* cleanup(core): normalized usage of fs-extra and updated fs-extra
* cleanup(misc): use fs over fs-extra when possible
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>