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

Feature request: tidy executor #113

Closed
llucasshenrique opened this issue Mar 13, 2024 · 0 comments · Fixed by #117
Closed

Feature request: tidy executor #113

llucasshenrique opened this issue Mar 13, 2024 · 0 comments · Fixed by #117
Labels
type: feature New feature or request

Comments

@llucasshenrique
Copy link

llucasshenrique commented Mar 13, 2024

Request:

Create an tidy executor and migration to add it to projects using '@nx-go/nx-go'.

What it will do:

The executor will run go mod tidy on the application or library "projectRoot".
The migration will be used to add the 'tidy' executor to projects that are using '@nx-go/nx-go'.

Why we need:

Currently to tidy our packages we need to navigate to each project and run go mod tidy this create a problem when we want to split our code in various libraries.

This will open the ability to execute one command to tidy multiple projects using nx run-many -t tidy, or nx affected -t tidy.
Or to use in a single project with nx run project:tidy, or nx tidy project

Current known workarounds:

#107 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants