From f8f14133783fde813c00675711e885c52d3440f1 Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Thu, 4 Nov 2021 13:41:45 +0530 Subject: [PATCH] build before publish (#82) * fix build and publish * change diffloading flag --- .github/workflows/npm-publish.yml | 1 + README.md | 4 ++-- analyze/schema.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 78082d62..2e59ca22 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -31,6 +31,7 @@ jobs: registry-url: https://registry.npmjs.org/ scope: '@ngx-builders' - run: npm i + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/README.md b/README.md index 79364502..60399cdb 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ Now whenever you want to analyze your angular project just run a command `ng run #### --diffLoading - **optional** -- Default: `true` (boolean) +- Default: `false` (boolean) - Example: - - `ng run [YOUR_PROJECT_NAME]:analyze --diffLoading=false` – A new Angular 10 project will have differential loading set to false, but if you upgrade from previous version and have differential loading enabled it will remain the same. This flag is for backward compatibilily. You can skip this option if differential loading is enabled. + - `ng run [YOUR_PROJECT_NAME]:analyze --diffLoading=true` – You can change to true if differential loading is enabled. # License [MIT](https://github.com/ngx-builders/source-map-analyzer/blob/master/LICENSE) diff --git a/analyze/schema.json b/analyze/schema.json index bb696252..341496e3 100644 --- a/analyze/schema.json +++ b/analyze/schema.json @@ -10,7 +10,7 @@ }, "diffLoading": { "type":"boolean", - "default": true + "default": false } } } diff --git a/package.json b/package.json index 25a7958d..083e21a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ngx-builders/analyze", - "version": "2.3.2", + "version": "2.3.3", "description": "", "main": "index.js", "builders": "./builders.json",