{
"root": "packages/react-components/react-card/library",
"name": "react-card",
"tags": [
"npm:public",
"vNext",
"platform:web"
],
"metadata": {
"targetGroups": {
"NPM Scripts": [
"build",
"bundle-size",
"clean",
"code-style",
"e2e",
"e2e:local",
"just",
"lint",
"start",
"test",
"storybook",
"type-check",
"generate-api",
"build",
"bundle-size",
"clean",
"code-style",
"e2e",
"e2e:local",
"just",
"lint",
"start",
"test",
"storybook",
"type-check",
"generate-api"
]
},
"description": "Card container components for Fluent UI React."
},
"targets": {
"build": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts build",
"runCommand": "yarn build"
},
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
],
"cache": true,
"options": {
"script": "build"
},
"configurations": {}
},
"bundle-size": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "monosize measure",
"runCommand": "yarn bundle-size"
},
"dependsOn": [
"^build"
],
"cache": true,
"options": {
"script": "bundle-size"
},
"configurations": {}
},
"clean": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts clean",
"runCommand": "yarn clean"
},
"options": {
"script": "clean"
},
"configurations": {}
},
"code-style": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts code-style",
"runCommand": "yarn code-style"
},
"options": {
"script": "code-style"
},
"configurations": {}
},
"e2e": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "cypress run --component",
"runCommand": "yarn e2e"
},
"dependsOn": [],
"cache": true,
"inputs": [
"default",
"{projectRoot}/cypress.config.ts",
"!{projectRoot}/**/?(*.)+cy.[jt]s?(x)?"
],
"options": {
"script": "e2e"
},
"configurations": {}
},
"e2e:local": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "cypress open --component",
"runCommand": "yarn e2e:local"
},
"options": {
"script": "e2e:local"
},
"configurations": {}
},
"just": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts",
"runCommand": "yarn just"
},
"options": {
"script": "just"
},
"configurations": {}
},
"lint": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts lint",
"runCommand": "yarn lint"
},
"dependsOn": [
"build"
],
"cache": true,
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js"
],
"options": {
"script": "lint"
},
"configurations": {}
},
"start": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "yarn storybook",
"runCommand": "yarn start"
},
"options": {
"script": "start"
},
"configurations": {}
},
"test": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "jest --passWithNoTests",
"runCommand": "yarn test"
},
"dependsOn": [
"^build"
],
"inputs": [
"default",
"^production",
"{workspaceRoot}/jest.preset.js"
],
"cache": true,
"options": {
"script": "test"
},
"configurations": {}
},
"storybook": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "yarn --cwd ../stories storybook",
"runCommand": "yarn storybook"
},
"options": {
"script": "storybook"
},
"configurations": {}
},
"type-check": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts type-check",
"runCommand": "yarn type-check"
},
"dependsOn": [
"^build"
],
"cache": true,
"options": {
"script": "type-check"
},
"configurations": {}
},
"generate-api": {
"executor": "nx:run-script",
"metadata": {
"scriptContent": "just-scripts generate-api",
"runCommand": "yarn generate-api"
},
"dependsOn": [
"^generate-api"
],
"cache": true,
"options": {
"script": "generate-api"
},
"configurations": {}
},
"nx-release-publish": {
"dependsOn": [
"^nx-release-publish"
],
"executor": "@nx/js:release-publish",
"options": {},
"configurations": {}
}
},
"sourceRoot": "packages/react-components/react-card/library/src",
"projectType": "library",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"implicitDependencies": []
}
Current Behavior
nx show projects react-cardrenders following web page/nx console detail:
it seems the issue comes from
metadata.targetGroupswhich contains non uniqueArrayJSON CLI output
{ "root": "packages/react-components/react-card/library", "name": "react-card", "tags": [ "npm:public", "vNext", "platform:web" ], "metadata": { "targetGroups": { "NPM Scripts": [ "build", "bundle-size", "clean", "code-style", "e2e", "e2e:local", "just", "lint", "start", "test", "storybook", "type-check", "generate-api", "build", "bundle-size", "clean", "code-style", "e2e", "e2e:local", "just", "lint", "start", "test", "storybook", "type-check", "generate-api" ] }, "description": "Card container components for Fluent UI React." }, "targets": { "build": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts build", "runCommand": "yarn build" }, "dependsOn": [ "^build" ], "inputs": [ "production", "^production" ], "cache": true, "options": { "script": "build" }, "configurations": {} }, "bundle-size": { "executor": "nx:run-script", "metadata": { "scriptContent": "monosize measure", "runCommand": "yarn bundle-size" }, "dependsOn": [ "^build" ], "cache": true, "options": { "script": "bundle-size" }, "configurations": {} }, "clean": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts clean", "runCommand": "yarn clean" }, "options": { "script": "clean" }, "configurations": {} }, "code-style": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts code-style", "runCommand": "yarn code-style" }, "options": { "script": "code-style" }, "configurations": {} }, "e2e": { "executor": "nx:run-script", "metadata": { "scriptContent": "cypress run --component", "runCommand": "yarn e2e" }, "dependsOn": [], "cache": true, "inputs": [ "default", "{projectRoot}/cypress.config.ts", "!{projectRoot}/**/?(*.)+cy.[jt]s?(x)?" ], "options": { "script": "e2e" }, "configurations": {} }, "e2e:local": { "executor": "nx:run-script", "metadata": { "scriptContent": "cypress open --component", "runCommand": "yarn e2e:local" }, "options": { "script": "e2e:local" }, "configurations": {} }, "just": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts", "runCommand": "yarn just" }, "options": { "script": "just" }, "configurations": {} }, "lint": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts lint", "runCommand": "yarn lint" }, "dependsOn": [ "build" ], "cache": true, "inputs": [ "default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore", "{workspaceRoot}/eslint.config.js" ], "options": { "script": "lint" }, "configurations": {} }, "start": { "executor": "nx:run-script", "metadata": { "scriptContent": "yarn storybook", "runCommand": "yarn start" }, "options": { "script": "start" }, "configurations": {} }, "test": { "executor": "nx:run-script", "metadata": { "scriptContent": "jest --passWithNoTests", "runCommand": "yarn test" }, "dependsOn": [ "^build" ], "inputs": [ "default", "^production", "{workspaceRoot}/jest.preset.js" ], "cache": true, "options": { "script": "test" }, "configurations": {} }, "storybook": { "executor": "nx:run-script", "metadata": { "scriptContent": "yarn --cwd ../stories storybook", "runCommand": "yarn storybook" }, "options": { "script": "storybook" }, "configurations": {} }, "type-check": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts type-check", "runCommand": "yarn type-check" }, "dependsOn": [ "^build" ], "cache": true, "options": { "script": "type-check" }, "configurations": {} }, "generate-api": { "executor": "nx:run-script", "metadata": { "scriptContent": "just-scripts generate-api", "runCommand": "yarn generate-api" }, "dependsOn": [ "^generate-api" ], "cache": true, "options": { "script": "generate-api" }, "configurations": {} }, "nx-release-publish": { "dependsOn": [ "^nx-release-publish" ], "executor": "@nx/js:release-publish", "options": {}, "configurations": {} } }, "sourceRoot": "packages/react-components/react-card/library/src", "projectType": "library", "$schema": "../../../../node_modules/nx/schemas/project-schema.json", "implicitDependencies": [] }Expected Behavior
nx show projects react-carddoesn't render duplicates within web app/nx console
GitHub Repo
https://github.com/microsoft/fluentui
Steps to Reproduce
yarnyarn nx show project react-cardNx Report
Failure Logs
No response
Package Manager Version
yarn v1
Operating System
Additional Information
No response