Support independent project configuration files in Nx workspaces
See original GitHub issue🧩 Feature request
Description
In version 2 workspaces, project configurations can also be independent files, referenced by angular.json. For instance, an angular.json may contain projects configured as below.
https://nx.dev/latest/angular/core-concepts/configuration#projectjson
Currently, Scully doesn’t know how to deal with these configs not being directly present as an object in either angular.json
or workspace.json
.
Describe the solution you’d like
If the project in angular.json
or workspace.json
is a string and not an object Scully should take that path string and get the project config from the project.json
in the specified project path.
Describe alternatives you’ve considered
Not sure of any alternatives at the moment.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Project Configuration - Nx
json files are located in each project's folder. Nx merges the two files to get each project's configuration. The following configuration creates build...
Read more >Per-project configuration, Storybook support for Angular 12 ...
Project configurations can be independent files, referenced by workspace.json . For instance, a workspace.json may contain projects configured ...
Read more >Support for a workspace.js file. #6511 - nrwl/nx - GitHub
I'm interested in a dynamically generated config file, such as a workspace.js (versus .json ). I've got a repository that will eventually grow...
Read more >Configuring your Nx Workspace - YouTube
Brandon Roberts is joined by fellow Nrwlian and JavaScript Architect Ben Cabanes to discuss configuring and organizing your Nx workspace.
Read more >Decomposing a project using Nx - Part 1 - This Dot Labs
2 approaches for decomposing a project; How they can help you to better manage your project's codebase; What tools Nx Workspace provides us...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @sonicparke, adding
target: 'targets'
solved the issue, thanks!@daton89 Do you have
target: 'targets',
in your scully config file? By default, it looks forarchitect
so maybe that’s the difference?