Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json ( #6642 )
...
* feat(core): consolidate settings between workspace.json + nx.json
workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.
* chore(core): fix angular unit tests w/ new config
* chore(core): fix failing tests
* chore(core): fix formatting
* chore(core): fix more tests
* chore(core): normalize-nx-json feedback
* chore(core): Fix more unit tests
* chore(core): fix remaining tests in workspace
* chore(linter): fix remaining linter tests
* chore(core): fix remaining spec + build issues
* chore(core): formatting fixes
* feat(core): migration script to move config options to new locations
* chore(core): fix e2e tests
* chore(core): run format
* chore(react-native): fix failing tests
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* feat(core): move properties to new location during format step
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* feat(core): initial pass on ngcli-adapter for property consolidation
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(misc): fix tests
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* docs(core): update docs with changes
* chore(misc): fix tests
* chore(core): code review changes
updateWorkspaceJson -> updateWorkspace, no longer uses updater function
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): fix bug in ngcli impl
* fix(core): fix bug in ngcli-adapter
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* fix(core): fix ngcli-adapter
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): fix workspace e2e
* chore(core): fix nx-plugin e2e
* fix(core): move defaultProject to nx.json
* chore(core): fix broken workspace test
* chore(core): formatting
* chore(core): fix workspace format
* chore(core): add nxJson to ExecutorContext
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): remove all references ot `NxProjectConfiguration` from our code
* chore(core): Review Changes
* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Leosvel Pérez Espinosa
301e11660a
fix(core): ensure workspace version format is respected when making changes to it ( #7043 )
2021-10-12 15:05:16 -04:00
Victor Savkin
18c8e371ad
feat(core): compute all workspace files incrementally
2021-10-12 12:10:13 -04:00
Victor Savkin
a81fbbac1b
feat(core): clean up daemon server
2021-10-11 12:56:43 -04:00
Craigory Coppola
8435bdfb6f
feat(core): shift from 'master' to 'main' as default branch and base ( #7111 )
...
* 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>
2021-10-08 16:48:02 -04:00
Benjamin Cabanes
5ae45b63dd
docs(core): add categories typed comment for nxdevk ( #7286 )
2021-10-08 12:09:53 -04:00
Leosvel Pérez Espinosa
c21835d40a
fix(devkit): move files to a directory using normalized paths to handle windows correctly ( #7264 )
2021-10-06 17:42:36 +01:00
Juri Strumpflohner
83a6ffb47a
fix(nxdev): verify whether srcFolder passed to generateFiles exists ( #7219 )
2021-10-04 11:30:02 -04:00
AgentEnder
3a9910e311
fix(devkit): normalizePath should not be dependant on host OS
...
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.
2021-09-28 11:37:03 -04:00
Victor Savkin
d79bba3630
chore(repo): update to nx 12.10
2021-09-20 16:39:13 -04:00
AgentEnder
8f9da7c762
fix(core): read v2 workspace format in converted nx generators
...
closes #6452
2021-09-15 11:54:03 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json ( #6973 )
2021-09-15 11:53:08 -04:00
Russell Ormes
26f82b9059
fix(devkit): add '.tgz' to binaryExts array ( #6930 )
...
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.
2021-09-03 11:04:35 -05:00
Jason Jean
12ed2d3437
fix(devkit): normalizing paths when moving files ( #6877 )
2021-08-27 18:08:44 -04:00
Nrwl CI Machine
8cc41de22a
fix(core): updateWorkspaceConfiguration does not respect extends
2021-08-23 10:51:19 -04:00
Jason Jean
4d6b5ff7af
fix(core): fix reading project config when nx.json doesn't have projects ( #6802 )
2021-08-20 20:19:02 -06:00
AgentEnder
c9c8fa7f1c
chore(core): project.json should not be included in builds
...
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Nrwl CI Machine
5f02a10ac9
feat(core): add an ability to extend nx.json config
2021-08-17 14:44:41 -04:00
Nrwl CI Machine
bc4ec52f53
cleanup(misc): avoid importing rxjs in the core path
2021-08-06 16:29:16 -04:00
Leosvel Pérez Espinosa
3fb591fbd9
fix(misc): read settings in .editorconfig when formatting files in generators ( #6616 )
2021-08-05 16:02:45 +01: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
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher ( #6550 )
2021-08-04 09:45:07 -04:00
Edouard Bozon
5a9303784c
feat(devkit): make nx.json optional ( #6398 )
...
* 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>
2021-07-29 17:02:07 -04:00
erikagiroux
9f1e530cef
fix(devkit): add font file extensions to binaryExts in generate-files.ts ( #6439 )
...
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>
2021-07-29 15:51:24 -04:00
Jason Jean
89a4ac29b2
cleanup(devkit): rename all variable names of host to tree ( #6541 )
2021-07-29 15:46:41 -04:00
Leosvel Pérez Espinosa
7d6837ce41
fix(misc): fix moving projects with standalone configuration ( #6521 )
2021-07-29 14:15:02 -04:00
vsavkin
0e52c43665
feat(core): store file deps and only reanalyze changed files
2021-07-16 20:21:45 -04:00
Jason Jean
769758d9cf
fix(devkit): do not update unknown properties to workspace configuration ( #6388 )
2021-07-15 23:53:05 +00: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
Craigory V Coppola
84b40c8b85
fix(misc): @nrwl/workspace:rm generator should work with standalone configs ( #6348 )
...
* 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.
2021-07-15 10:36:48 -04:00
Huynh Ninh Binh
ec1ab55f80
fix(devkit): module of classname should be capitalized when generated with special characters in a directory ( #6283 )
...
ISSUES CLOSED : #6281
2021-07-12 10:51:03 -04:00
Craigory V Coppola
23e21d0995
fix(core): project.json split should be remembered if all projects utilize it ( #6180 )
2021-07-08 23:35:57 +00: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
Kyle Bastien
9be7a101d9
chore(core): add missing dependencies to devkit and jest package.json ( #6233 )
2021-07-05 16:49:38 -04:00
Colum Ferry
dd51c18d12
feat(angular): init mfe generator ( #6209 )
...
Add generator to scaffold Module Federation configuration for a given Angular application
2021-07-02 13:45:36 +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
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
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
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
d8cd8621a2
fix(devkit): include targetDependencies and plugins when updating workspace config ( #5898 )
2021-06-10 10:37:58 -04:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils ( #5859 )
2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit ( #5927 )
2021-06-09 10:35:09 +01:00
Phillip Barta
6c6e8b36b7
feat(devkit): refactoring for stricter types and better performance
2021-05-27 13:37:29 -04:00
Leosvel Pérez Espinosa
d0afa3dd89
feat(angular): add executor which allows to delegate the build to another target ( #5715 )
2021-05-20 12:29:46 +01:00
vsavkin
f82344d63a
chore(repo): refine the tag line
2021-05-18 20:55:40 -04:00