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

feat(ng-dev/format): support mjs and cjs files with prettier and clang-format #274

Closed

Conversation

devversion
Copy link
Member

Adds support for mjs and cjs files with prettier and clang-format in the
ng-dev format command. These files will appear more often in the future
due to us using ESM for heavily.

@devversion devversion added action: merge The PR is ready for merge by the caretaker action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 21, 2021
…g-format

Adds support for mjs and cjs files with prettier and clang-format in the
ng-dev format command. These files will appear more often in the future
due to us using ESM for heavily.
…gular#259)"

This reverts commit 4fee007.

Commit is reverted because the nvmrc file does not work due to
recent changes in `rules_nodejs`. The Bazel NodeJS rules need to
compute the Node version at analysis time within Starlark as otherwise
the proper toolchains would not be configured, and the fallback Node 14
version would be used.
@devversion devversion force-pushed the feat/support-format-mjs-cjs-files branch from 400b89e to 6f12358 Compare October 21, 2021 21:15
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 25, 2021
@josephperrott
Copy link
Member

This PR was merged into the repository by commit 9277822.

josephperrott pushed a commit that referenced this pull request Oct 25, 2021
…)" (#274)

This reverts commit 4fee007.

Commit is reverted because the nvmrc file does not work due to
recent changes in `rules_nodejs`. The Bazel NodeJS rules need to
compute the Node version at analysis time within Starlark as otherwise
the proper toolchains would not be configured, and the fallback Node 14
version would be used.

PR Close #274
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants