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(nx-plugin): add convert-to-inverred generator #770

Open
4 tasks
BioPhoton opened this issue Jul 25, 2024 · 0 comments
Open
4 tasks

feat(nx-plugin): add convert-to-inverred generator #770

BioPhoton opened this issue Jul 25, 2024 · 0 comments
Labels
➕ enhancement new feature or request 🧩 nx-plugin

Comments

@BioPhoton
Copy link
Collaborator

BioPhoton commented Jul 25, 2024

Preconditions:

User story

As a existing user of code-pushup in an Nx monorepo I want to be able to convert my configuration to a deferred setup.

Acceptance criteria

Convert existing CodePushup project(s) using @code-pushup/nx-plugin:autorun executor to use @code-pushup/nx-plugin.

nx generate convert-to-inferred
By default, Nx will search for convert-to-inferred in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:
nx g @code-pushup/nx-plugin:convert-to-inferred

Show what will be generated without writing to disk:
nx g convert-to-inferred --dry-run

The project to convert from using the @code-pushup/nx-plugint:autorun executor to use @code-pushup/nx-plugin. If not provided, all projects using the @code-pushup/nx-plugin executor will be converted.

  • running the commend will refactor all projects in the monorepo to use inferred tasks for code-pushup
    • it will also refactor to existing options inside a given target
  • add docs
  • add tests

Implementation details

No response

@BioPhoton BioPhoton added 🧩 nx-plugin ➕ enhancement new feature or request labels Jul 25, 2024
@BioPhoton BioPhoton changed the title feat(nx-plugin): add convert-to-invered generator feat(nx-plugin): add convert-to-inverred generator Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
➕ enhancement new feature or request 🧩 nx-plugin
Projects
None yet
Development

No branches or pull requests

1 participant