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(core): add ability to add metadata to projects #22299

Merged
merged 1 commit into from Mar 19, 2024

Conversation

FrozenPandaz
Copy link
Collaborator

@FrozenPandaz FrozenPandaz commented Mar 13, 2024

Current Behavior

There is no official API for adding metadata to Project Nodes

Expected Behavior

During the createNodes process, plugins will be able to add metadata to Project Nodes.

2 of these fields will be handled in the future by the nx graph app and Nx Cloud:

  1. technologies
    a. Type: string[]
    b. An array of technologies which the project utilizes
    c. ex. React, Angular, Gradle, Cypress
  2. targetGroups
    a. Type: Record<string, string[]>
    b. A map of target groups which will be grouped by the project details view as well as Nx Cloud
    c. ex. e2e-ci

The cypress plugin has been updated to update cypress nodes

Related Issue(s)

Fixes #

Copy link

vercel bot commented Mar 13, 2024

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Mar 18, 2024 4:14pm

@FrozenPandaz FrozenPandaz merged commit 5a9671b into nrwl:master Mar 19, 2024
6 checks passed
arekkubaczkowski pushed a commit to arekkubaczkowski/nx that referenced this pull request Mar 19, 2024
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 Mar 27, 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.

None yet

3 participants