From 0cc2020d02fe63dbb794a27fbebf771818969fcd Mon Sep 17 00:00:00 2001 From: Max Kless Date: Wed, 26 Jun 2024 10:57:21 +0200 Subject: [PATCH] fix(core): update metadata --- packages/cypress/src/plugins/plugin.spec.ts | 2 -- packages/cypress/src/plugins/plugin.ts | 1 - packages/jest/src/plugins/plugin.spec.ts | 4 ---- packages/jest/src/plugins/plugin.ts | 1 - packages/nx/src/config/workspace-json-project-json.ts | 1 - packages/playwright/src/plugins/plugin.spec.ts | 2 -- packages/playwright/src/plugins/plugin.ts | 1 - 7 files changed, 12 deletions(-) diff --git a/packages/cypress/src/plugins/plugin.spec.ts b/packages/cypress/src/plugins/plugin.spec.ts index de4fc06c5f92d..a5a6ca6c08b52 100644 --- a/packages/cypress/src/plugins/plugin.spec.ts +++ b/packages/cypress/src/plugins/plugin.spec.ts @@ -100,7 +100,6 @@ describe('@nx/cypress/plugin', () => { }, ], "metadata": { - "atomizedTarget": "e2e-ci", "description": "Runs Cypress Tests", "technologies": [ "cypress", @@ -273,7 +272,6 @@ describe('@nx/cypress/plugin', () => { }, ], "metadata": { - "atomizedTarget": "e2e-ci", "description": "Runs Cypress Tests", "technologies": [ "cypress", diff --git a/packages/cypress/src/plugins/plugin.ts b/packages/cypress/src/plugins/plugin.ts index a8d56710dd903..9467113d6d6bd 100644 --- a/packages/cypress/src/plugins/plugin.ts +++ b/packages/cypress/src/plugins/plugin.ts @@ -211,7 +211,6 @@ async function buildCypressTargets( metadata: { technologies: ['cypress'], description: 'Runs Cypress Tests', - atomizedTarget: options.ciTargetName, }, }; diff --git a/packages/jest/src/plugins/plugin.spec.ts b/packages/jest/src/plugins/plugin.spec.ts index 7e9a1aad606cf..27c7ff58d8948 100644 --- a/packages/jest/src/plugins/plugin.spec.ts +++ b/packages/jest/src/plugins/plugin.spec.ts @@ -81,7 +81,6 @@ describe('@nx/jest/plugin', () => { }, ], "metadata": { - "atomizedTarget": undefined, "description": "Run Jest Tests", "technologies": [ "jest", @@ -151,7 +150,6 @@ describe('@nx/jest/plugin', () => { }, ], "metadata": { - "atomizedTarget": "test-ci", "description": "Run Jest Tests", "technologies": [ "jest", @@ -262,7 +260,6 @@ describe('@nx/jest/plugin', () => { }, ], "metadata": { - "atomizedTarget": undefined, "description": "Run Jest Tests", "technologies": [ "jest", @@ -332,7 +329,6 @@ describe('@nx/jest/plugin', () => { }, ], "metadata": { - "atomizedTarget": undefined, "description": "Run Jest Tests", "technologies": [ "jest", diff --git a/packages/jest/src/plugins/plugin.ts b/packages/jest/src/plugins/plugin.ts index e4161701cc86b..9cc595a5178d3 100644 --- a/packages/jest/src/plugins/plugin.ts +++ b/packages/jest/src/plugins/plugin.ts @@ -184,7 +184,6 @@ async function buildJestTargets( metadata: { technologies: ['jest'], description: 'Run Jest Tests', - atomizedTarget: options.ciTargetName, }, }); diff --git a/packages/nx/src/config/workspace-json-project-json.ts b/packages/nx/src/config/workspace-json-project-json.ts index d38ab06ee81be..71b35304b3afc 100644 --- a/packages/nx/src/config/workspace-json-project-json.ts +++ b/packages/nx/src/config/workspace-json-project-json.ts @@ -129,7 +129,6 @@ export interface TargetMetadata { description?: string; technologies?: string[]; nonAtomizedTarget?: string; - atomizedTarget?: string; } export interface TargetDependencyConfig { diff --git a/packages/playwright/src/plugins/plugin.spec.ts b/packages/playwright/src/plugins/plugin.spec.ts index 24a91a8bbf702..c257d7c4bc9e7 100644 --- a/packages/playwright/src/plugins/plugin.spec.ts +++ b/packages/playwright/src/plugins/plugin.spec.ts @@ -72,7 +72,6 @@ describe('@nx/playwright/plugin', () => { }, ], "metadata": { - "atomizedTarget": "e2e-ci", "description": "Runs Playwright Tests", "technologies": [ "playwright", @@ -163,7 +162,6 @@ describe('@nx/playwright/plugin', () => { }, ], "metadata": { - "atomizedTarget": "e2e-ci", "description": "Runs Playwright Tests", "technologies": [ "playwright", diff --git a/packages/playwright/src/plugins/plugin.ts b/packages/playwright/src/plugins/plugin.ts index fb5fa2ae26c28..fa4159d9c7814 100644 --- a/packages/playwright/src/plugins/plugin.ts +++ b/packages/playwright/src/plugins/plugin.ts @@ -162,7 +162,6 @@ async function buildPlaywrightTargets( metadata: { technologies: ['playwright'], description: 'Runs Playwright Tests', - atomizedTarget: options.ciTargetName, }, };