Skip to content

Commit

Permalink
build before publish (#82)
Browse files Browse the repository at this point in the history
* fix build and publish

* change diffloading flag
  • Loading branch information
santoshyadavdev committed Nov 4, 2021
1 parent b78cc5a commit f8f1413
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Expand Up @@ -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}}
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -43,9 +43,9 @@ Now whenever you want to analyze your angular project just run a command `ng run

#### --diffLoading <a name="diffLoading"></a>
- **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)
Expand Down
2 changes: 1 addition & 1 deletion analyze/schema.json
Expand Up @@ -10,7 +10,7 @@
},
"diffLoading": {
"type":"boolean",
"default": true
"default": false
}
}
}
2 changes: 1 addition & 1 deletion 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",
Expand Down

0 comments on commit f8f1413

Please sign in to comment.