From 97106892be9a3ea4f1068256c5cb2b42049eeb2d Mon Sep 17 00:00:00 2001 From: VitoAlbano Date: Mon, 19 Aug 2024 23:08:10 +0100 Subject: [PATCH] [MIGRATION] - Fixed some issues for project and package json --- lib/eslint-angular/project.json | 2 -- lib/js-api/package.json | 1 - lib/testing/project.json | 2 -- scripts/migration/export-commits.sh | 4 ++-- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/eslint-angular/project.json b/lib/eslint-angular/project.json index 01755b2c2d..88dbdbd02b 100644 --- a/lib/eslint-angular/project.json +++ b/lib/eslint-angular/project.json @@ -11,7 +11,6 @@ "projectRoot": "lib/eslint-angular", "outputPath": "dist/libs/eslint-plugin-eslint-angular", "main": "lib/eslint-angular/index.ts", - "generatePackageJson": true, "tsConfig": "lib/eslint-angular/tsconfig.lib.prod.json", "stylePreprocessorOptions": { "includePaths": ["lib", "lib/core/src/lib"] @@ -24,7 +23,6 @@ "projectRoot": "lib/eslint-angular", "outputPath": "dist/libs/eslint-plugin-eslint-angular", "main": "lib/eslint-angular/index.ts", - "generatePackageJson": true, "tsConfig": "lib/eslint-angular/tsconfig.lib.prod.json" } }, diff --git a/lib/js-api/package.json b/lib/js-api/package.json index 33449e4300..8f21673a41 100644 --- a/lib/js-api/package.json +++ b/lib/js-api/package.json @@ -19,7 +19,6 @@ "superagent": "^9.0.1", "tslib": "^2.6.1" }, - "main": "./index.js", "typings": "./typings/index.d.ts", "module": "./esm5/index.js", "es2015": "./esm2015/index.js" diff --git a/lib/testing/project.json b/lib/testing/project.json index 8a2ef5c211..d22c5f2beb 100644 --- a/lib/testing/project.json +++ b/lib/testing/project.json @@ -11,7 +11,6 @@ "projectRoot": "lib/testing", "outputPath": "dist/libs/testing", "main": "lib/testing/index.ts", - "generatePackageJson": true, "tsConfig": "lib/testing/tsconfig.prod.json", "target": "node", "compiler": "tsc" @@ -21,7 +20,6 @@ "projectRoot": "lib/testing", "outputPath": "dist/libs/testing", "main": "lib/testing/index.ts", - "generatePackageJson": true, "tsConfig": "lib/testing/tsconfig.prod.json" } }, diff --git a/scripts/migration/export-commits.sh b/scripts/migration/export-commits.sh index 5e098ce77a..e03f1f4eba 100644 --- a/scripts/migration/export-commits.sh +++ b/scripts/migration/export-commits.sh @@ -14,10 +14,10 @@ if [ $? -eq 0 ]; then git cherry-pick --quit echo -e "\e[34m===> Merge changes from cherry pick branch: ng16-develop cherry pick list\e[0m" - git cherry-pick `git log --pretty=format:"%H" origin/develop..origin/ng16-develop --reverse` -x + git cherry-pick `git log --pretty=format:"%H" origin/develop..origin/ng16-develop --grep="[MIGRATION]" --reverse` -x if [ $? -eq 0 ]; then echo -e "\e[34m===> Cherry Picking complete! Pushing... \e[0m" - # git push origin ng16-migration --force --no-verify + git push origin ng16-migration --force --no-verify echo -e "\e[34m===> Pushed \e[0m" else echo -e "\e[31mThere was some error during cherry-picking of ng16-develop\e[0m"