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(js): ensure typescript-sync generator produces formatted references when no prettier is installed #29368

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

leosvelperez
Copy link
Member

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Dec 16, 2024
@leosvelperez leosvelperez requested a review from a team as a code owner December 16, 2024 12:30
Copy link

vercel bot commented Dec 16, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Dec 16, 2024 0:30am

@leosvelperez leosvelperez requested a review from jaysoo December 16, 2024 12:30
@@ -14,6 +14,7 @@ let projectGraph: ProjectGraph;
jest.mock('@nx/devkit', () => ({
...jest.requireActual('@nx/devkit'),
createProjectGraphAsync: jest.fn(() => Promise.resolve(projectGraph)),
formatFiles: jest.fn(() => Promise.resolve()),
Copy link
Member Author

Choose a reason for hiding this comment

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

Making formatFiles noop still produces the same results in the tests' expectations proving the changes produce the correct formatting.

Copy link

nx-cloud bot commented Dec 16, 2024

Your CI Pipeline Execution ↗ for commit f3a2ecf ⏳ is in progress.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 11m, 30s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 22s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 0s View ↗
nx-cloud record -- nx format:check --base=4cd64... ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 0s View ↗
nx documentation --no-dte ✅ Succeeded 0s View ↗

Last updated at 2024-12-16 13:26:27UTC

Sent with 💌 from NxCloud.

@leosvelperez leosvelperez merged commit 13ec93c into master Dec 16, 2024
6 checks passed
@leosvelperez leosvelperez deleted the js/ts-sync-format-no-prettier branch December 16, 2024 13:53
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 Dec 22, 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.

2 participants