From a893b4283790d69a9ba59f37299287652f858042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20G=C3=A9rard?= Date: Fri, 13 Dec 2024 18:24:33 +0100 Subject: [PATCH 1/2] refactor: rename repo to starter-angular-19 --- .idea/modules.xml | 2 +- .idea/{ng-fem-starter.iml => starter-angular-19.iml} | 0 angular.json | 12 ++++++------ e2e/example.spec.ts | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- src/index.html | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) rename .idea/{ng-fem-starter.iml => starter-angular-19.iml} (100%) diff --git a/.idea/modules.xml b/.idea/modules.xml index af311cc..e80af69 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/ng-fem-starter.iml b/.idea/starter-angular-19.iml similarity index 100% rename from .idea/ng-fem-starter.iml rename to .idea/starter-angular-19.iml diff --git a/angular.json b/angular.json index bdaaa07..afb5353 100644 --- a/angular.json +++ b/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "ng-fem-starter": { + "starter-angular-19": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -42,7 +42,7 @@ "build": { "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/ng-fem-starter", + "outputPath": "dist/starter-angular-19", "index": "src/index.html", "browser": "src/main.ts", "polyfills": ["zone.js"], @@ -89,10 +89,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "ng-fem-starter:build:production" + "buildTarget": "starter-angular-19:build:production" }, "development": { - "buildTarget": "ng-fem-starter:build:development" + "buildTarget": "starter-angular-19:build:development" } }, "defaultConfiguration": "development" @@ -118,11 +118,11 @@ "e2e": { "builder": "playwright-ng-schematics:playwright", "options": { - "devServerTarget": "ng-fem-starter:serve" + "devServerTarget": "starter-angular-19:serve" }, "configurations": { "production": { - "devServerTarget": "ng-fem-starter:serve:production" + "devServerTarget": "starter-angular-19:serve:production" } } } diff --git a/e2e/example.spec.ts b/e2e/example.spec.ts index fb8a9da..3c9516b 100644 --- a/e2e/example.spec.ts +++ b/e2e/example.spec.ts @@ -4,5 +4,5 @@ test("has title", async ({ page }) => { await page.goto("/"); // Expect a title "to contain" a substring. - await expect(page).toHaveTitle(/NgFemStarter/); + await expect(page).toHaveTitle(/StarterAngular19/); }); diff --git a/package-lock.json b/package-lock.json index 90bfc8f..0b35257 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "ng-fem-starter", + "name": "starter-angular-19", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "ng-fem-starter", + "name": "starter-angular-19", "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", diff --git a/package.json b/package.json index 812f74e..17fbbad 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "node": "22", "npm": "10" }, - "name": "ng-fem-starter", + "name": "starter-angular-19", "private": true, "scripts": { "build": "ng build", @@ -52,7 +52,7 @@ "format:check": "prettier --check .", "lint": "eslint .", "ng": "ng", - "serve:ssr:ng-fem-starter": "node dist/ng-fem-starter/server/server.mjs", + "serve:ssr:starter-angular-19": "node dist/starter-angular-19/server/server.mjs", "start": "ng serve", "test": "ng test", "test:ci": "ng test --no-watch --no-progress --browsers=ChromeHeadless", diff --git a/src/index.html b/src/index.html index 1a4322c..46f178a 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - NgFemStarter + StarterAngular19 From a29c3f9ea8f77da96e05fc8287d72a4173b1611f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20G=C3=A9rard?= Date: Fri, 13 Dec 2024 18:27:07 +0100 Subject: [PATCH 2/2] build: add test_ci.xml --- .idea/runConfigurations/test_ci.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .idea/runConfigurations/test_ci.xml diff --git a/.idea/runConfigurations/test_ci.xml b/.idea/runConfigurations/test_ci.xml new file mode 100644 index 0000000..773063a --- /dev/null +++ b/.idea/runConfigurations/test_ci.xml @@ -0,0 +1,12 @@ + + + + + +