From d2172d7d3184b73a762b7a91ec10621011484653 Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Sun, 16 Apr 2023 12:55:44 +0200 Subject: [PATCH] chore: remove unwated command and add ngx/analyzer as dependency (#439) --- apps/ngu-carousel-example/project.json | 7 +++++ package.json | 15 ++-------- yarn.lock | 39 ++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 12 deletions(-) diff --git a/apps/ngu-carousel-example/project.json b/apps/ngu-carousel-example/project.json index 2a193f15..c28a7438 100644 --- a/apps/ngu-carousel-example/project.json +++ b/apps/ngu-carousel-example/project.json @@ -109,6 +109,13 @@ "cypressConfig": "apps/ngu-carousel-example/cypress.config.ts", "testingType": "component" } + }, + "generate-bundle": { + "executor": "@ngx-builders/analyze:analyze", + "options": { + "outputPath": "dist/apps/ngu-carousel-example", + "reportPath": "reports" + } } } } diff --git a/package.json b/package.json index 7e8ad376..08edad3f 100644 --- a/package.json +++ b/package.json @@ -9,20 +9,10 @@ "scripts": { "ng": "nx", "start": "nx serve", - "build": "nx build", - "watch": "nx build --watch --configuration development", - "test": "nx test", "format:write": "nx format:write", - "format:check": "nx format:check", - "build:lib": "nx build @ngu/carousel", - "build:lib:watch": "nx build @ngu/carousel --watch", - "build:app": "nx build", - "lint": "nx lint", - "deploy:app": "npm run build:lib && nx build", - "run-lib": "npm run build:lib && nx serve -o", - "postinstall": "node ./decorate-angular-cli.js" + "format:check": "nx format:check" }, - "private": true, + "private": false, "dependencies": { "@angular/animations": "15.2.6", "@angular/cdk": "15.2.6", @@ -34,6 +24,7 @@ "@angular/platform-browser": "15.2.6", "@angular/platform-browser-dynamic": "15.2.6", "@angular/router": "15.2.6", + "@ngx-builders/analyze": "4.0.0", "@nrwl/angular": "15.9.2", "hammerjs": "2.0.8", "rxjs": "7.8.0", diff --git a/yarn.lock b/yarn.lock index 9f616e40..4760bc89 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,6 +26,14 @@ "@angular-devkit/core" "15.2.5" rxjs "6.6.7" +"@angular-devkit/architect@0.1502.6": + version "0.1502.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/architect/-/architect-0.1502.6.tgz#bf9452610f128ee312ee836510700152993a2447" + integrity sha512-n4oJ9vzFWwabf+AfgqqevVzdJhNKNCav7ytefjD/Y01vkNwlXqWnHcvyyHCLkVibJ6WR8J9lK4t77j/HFlDvWQ== + dependencies: + "@angular-devkit/core" "15.2.6" + rxjs "6.6.7" + "@angular-devkit/build-angular@15.2.5": version "15.2.5" resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-15.2.5.tgz#76864b74b05566077590914080961d51e20eabdf" @@ -124,6 +132,17 @@ rxjs "6.6.7" source-map "0.7.4" +"@angular-devkit/core@15.2.6": + version "15.2.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/core/-/core-15.2.6.tgz#9118faadbc5e3613283da1774826d2b41883330f" + integrity sha512-YVTWZ+M+xNKdFX4EnY9QX49PZraawiaA0iTd2CUW8ZoTUvU7yOGMKZLSdz6aokTMRVfm0449wt6YL994ibOo1g== + dependencies: + ajv "8.12.0" + ajv-formats "2.1.1" + jsonc-parser "3.2.0" + rxjs "6.6.7" + source-map "0.7.4" + "@angular-devkit/schematics@15.0.2": version "15.0.2" resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-15.0.2.tgz#5177dab4382eeebe84f4768c3368799ef99cef48" @@ -146,6 +165,17 @@ ora "5.4.1" rxjs "6.6.7" +"@angular-devkit/schematics@15.2.6": + version "15.2.6" + resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-15.2.6.tgz#fb5b7530f21586dbdec45cac56f8a418bcfd053d" + integrity sha512-f7VgnAcok7AwR/DhX0ZWskB0rFBo/KsvtIUA2qZSrpKMf8eFiwu03dv/b2mI0vnf+1FBfIQzJvO0ww45zRp6dA== + dependencies: + "@angular-devkit/core" "15.2.6" + jsonc-parser "3.2.0" + magic-string "0.29.0" + ora "5.4.1" + rxjs "6.6.7" + "@angular-eslint/bundled-angular-compiler@15.1.0": version "15.1.0" resolved "https://registry.yarnpkg.com/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-15.1.0.tgz#9e86e8cef2631b044e76fcfede5553fc07262a5d" @@ -3501,6 +3531,15 @@ resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-15.2.5.tgz#679c509fde254e92442ce97bc512638f4189453a" integrity sha512-wD6GY4xghVK+SQL0dy/M3saGx5pqi7+1VHEr+BBI7IUNYGSqPNzylKNxLBgQiTzfkzvbrZ6MhfaMNkhvSCYr5w== +"@ngx-builders/analyze@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@ngx-builders/analyze/-/analyze-4.0.0.tgz#48d3c5082b1902f721d2a94668188395710acbbd" + integrity sha512-jLzXkCoslP5UjNJDiVKv3Cet9Laln85nWbwftSr+eCaNMUBufaFInJbTNid2R/2YhMX29PITt5tLorbylWhfEw== + dependencies: + "@angular-devkit/architect" "0.1502.6" + "@angular-devkit/core" "15.2.6" + "@angular-devkit/schematics" "15.2.6" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"