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

Format the task runner #27256

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Format the task runner #27256

merged 1 commit into from
Jun 24, 2024

Conversation

mxdvl
Copy link
Contributor

@mxdvl mxdvl commented Jun 24, 2024

What is the value of this and can you measure success?

Make the ESM migration as smooth as possible in #27247

What does this change?

  • no --dev flag necessary, just explicit imports
  • runner is extensionless, so Prettier needs to be called explicitely on it

no --dev flag necessary, just explicit imports
runner is extensionless, so Prettier needs
to be called explicitely on it
@mxdvl mxdvl requested a review from a team as a code owner June 24, 2024 16:32
Comment on lines +63 to +65
.alias('h', 'help') // eslint-disable-line newline-per-chained-call
.version()
.alias('v', 'version').argv; // eslint-disable-line newline-per-chained-call
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these comments go now?

Copy link
Contributor Author

@mxdvl mxdvl Jun 24, 2024

Choose a reason for hiding this comment

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

They probably can, but easier to do once we’ve moved to ESM in the next PR. Here I’ve mostly just run prettier tools/task-runner/runner --write and updated IS_DEV part of getTasksFromModule

@mxdvl mxdvl merged commit e22e044 into main Jun 24, 2024
6 checks passed
@mxdvl mxdvl deleted the mxdvl/prepare-task-runner branch June 24, 2024 16:50
@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @mxdvl 10 minutes and 58 seconds ago)

@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @mxdvl 11 minutes and 17 seconds ago)

@mxdvl mxdvl mentioned this pull request Jun 24, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants