Add generator option for standalone projects#71
Add generator option for standalone projects#71AgentEnder merged 11 commits intonx-dotnet:masterfrom
Conversation
Update nx to get access to the standalone project feature
Add a generator option for app, lib, and test to make standalone projects
Migrate all projects away from workspace.json for a cleaner workspace
Remove calls to the now-undefined global function
Nx Cloud ReportCI ran the following commands for commit 8b04b57. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
Replace the Windows separator with a Unix separator for better interoperability.
Update syntax to the current version of jest to fix compile errors
|
@bcallaghan-et Looking into failing tests, this should help fix targets:
import * as fs from 'fs';
jest.mock('fs', () => ({
...(jest.requireActual('fs') as typeof fs),
stat: (path: string, cb: (err: unknown, stats: unknown) => void) =>
cb(null, {}),
}));
I think this one should be fixed in 12.6, but quick enough fix for us 😄 |
Add actual fs module to avoid runtime errors in test
Remove done parameter to match jest's requirements
Add target dependency to ensure builds occur before e2e tests run
|
@AgentEnder The e2e tests fail locally as well. Do you have any guidance why yarn would fail, or why |
|
Hey, yeah. Make sure to run the e2e with |
|
I tried |
chore: fix e2e tests
|
Kudos, SonarCloud Quality Gate passed!
|
# [0.15.0](v0.14.0...v0.15.0) (2021-07-12) ### Features * **core:** Add generator option for standalone projects ([#71](#71)) ([8db11d4](8db11d4)) Jul 12, 2021, 8:29 PM
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Add a new option to the app, lib, and test generators to build standalone
project.jsonfiles instead of placing all configuration inworkspace.json. Update the local workspace to use the new standalone project configurations.Resolves #70