Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix init logging and package.json updates #22843

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

FrozenPandaz
Copy link
Collaborator

Current Behavior

The "final" message for the init flow is not always at the bottom of the logs. For the new init flow, it gets covered up by all the init logs. Also, for npm monorepos, all package.json files have nx: {} added which should not be the case for any package.json files in the case of a monorepo.

Expected Behavior

The final message for the init flow appears at the bottom of the logs. All the package.json files are also not touched for a npm workspace case.

Related Issue(s)

Fixes #

Copy link

vercel bot commented Apr 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 7:58pm

'- Enabled computation caching!',
`- Run "${pmc.exec} nx run-many --t build" to run the build target for every project in the workspace. Run it again to replay the cached computation.`,
` - https://nx.dev/features/cache-task-results`,
`- Run "${pmc.exec} nx graph" to see the graph of the monorepo. It will show tasks that you can run with Nx.`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

graph of the monorepo - it may be a standalone workspace

Maybe reword to `Run "${pmc.exec} nx graph" to explore the projects and tasks in your workspace.

@FrozenPandaz FrozenPandaz force-pushed the fix-init branch 2 times, most recently from 13afdd7 to 26a67d1 Compare April 16, 2024 18:49
@FrozenPandaz FrozenPandaz force-pushed the fix-init branch 2 times, most recently from 3db1865 to 3be666a Compare April 16, 2024 19:55
@FrozenPandaz FrozenPandaz enabled auto-merge (squash) April 16, 2024 20:06
@FrozenPandaz FrozenPandaz merged commit 801a22b into nrwl:master Apr 16, 2024
6 checks passed
AgentEnder pushed a commit to AgentEnder/nx that referenced this pull request Apr 23, 2024
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants