From 4b21e65fc3569a3d237d2aa770eda360fbc15441 Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Fri, 12 Jan 2024 13:18:17 +0100 Subject: [PATCH] chore(project): rename apps to mel-datahub to have a unique name when using with gn-ui in CI --- .github/workflows/checks.yml | 2 +- apps/datahub-e2e/project.json | 10 +++++----- apps/datahub/project.json | 10 +++++----- package.json | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9aaced85..98ba46fe 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -34,4 +34,4 @@ jobs: run: npm i -f - name: Run tests - run: npx nx e2e datahub-e2e + run: npx nx e2e mel-datahub-e2e diff --git a/apps/datahub-e2e/project.json b/apps/datahub-e2e/project.json index a48bb0c8..4004865a 100644 --- a/apps/datahub-e2e/project.json +++ b/apps/datahub-e2e/project.json @@ -1,5 +1,5 @@ { - "name": "datahub-e2e", + "name": "mel-datahub-e2e", "$schema": "../../node_modules/nx/schemas/project-schema.json", "projectType": "application", "sourceRoot": "apps/datahub-e2e/src", @@ -9,14 +9,14 @@ "options": { "cypressConfig": "apps/datahub-e2e/cypress.config.ts", "testingType": "e2e", - "devServerTarget": "datahub:serve:development" + "devServerTarget": "mel-datahub:serve:development" }, "configurations": { "production": { - "devServerTarget": "datahub:serve:production" + "devServerTarget": "mel-datahub:serve:production" }, "ci": { - "devServerTarget": "datahub:serve-static" + "devServerTarget": "mel-datahub:serve-static" } } }, @@ -26,5 +26,5 @@ } }, "tags": [], - "implicitDependencies": ["datahub"] + "implicitDependencies": ["mel-datahub"] } diff --git a/apps/datahub/project.json b/apps/datahub/project.json index f711736a..68087cd1 100644 --- a/apps/datahub/project.json +++ b/apps/datahub/project.json @@ -1,5 +1,5 @@ { - "name": "datahub", + "name": "mel-datahub", "$schema": "../../node_modules/nx/schemas/project-schema.json", "projectType": "application", "prefix": "mel-datahub", @@ -64,10 +64,10 @@ "executor": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "datahub:build:production" + "buildTarget": "mel-datahub:build:production" }, "development": { - "buildTarget": "datahub:build:development", + "buildTarget": "mel-datahub:build:development", "proxyConfig": "proxy-config.js" } }, @@ -76,7 +76,7 @@ "extract-i18n": { "executor": "@angular-devkit/build-angular:extract-i18n", "options": { - "buildTarget": "datahub:build" + "buildTarget": "mel-datahub:build" } }, "lint": { @@ -93,7 +93,7 @@ "serve-static": { "executor": "@nx/web:file-server", "options": { - "buildTarget": "datahub:build", + "buildTarget": "mel-datahub:build", "staticFilePath": "dist/apps/datahub/browser" } } diff --git a/package.json b/package.json index 82e7ec4f..6d9e1f0f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "license": "MIT", "scripts": { - "start": "nx serve datahub" + "start": "nx serve mel-datahub" }, "private": true, "dependencies": {