Skip to content

Commit

Permalink
correct building scripts for publishing in ng-package format.
Browse files Browse the repository at this point in the history
  • Loading branch information
nosovk authored and sclausen committed Aug 11, 2020
1 parent 1a792ba commit d4b20a8
Show file tree
Hide file tree
Showing 10 changed files with 20,490 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -8,7 +8,7 @@
/bazel-out

# dependencies
/node_modules
node_modules

# profiling files
chrome-profiler-events*.json
Expand Down
13 changes: 12 additions & 1 deletion README.md
Expand Up @@ -8,4 +8,15 @@ This means although you have the possibility to use `mqtt`, `mqtts`, `tcp`, `ssl

If you have any issues using this library, please visit it's [homepage](https://sclausen.github.io/ngx-mqtt/) and look for similar issues in the issue tracker before you file a bug.

## **ngx-mqtt >= 6 is only compatible with angular >= 6**
## **ngx-mqtt >= 7 is only compatible with angular >= 9**

## Local development
For local development all peer dependency automatically installed during install.
Also please be aware that exact MQTT version used as dependency, you need to manually bump it if it will update.

## Publish new version
To follow semver helper scripts was added `npm run release:patch` etc.
Those commands will autoupdate changelog and dependant package.json's

Unfortunately command `npm publish` is broken due to nature of ng-packager.
It's substituted with `npm run publish`, which will correctly build and publish production build

0 comments on commit d4b20a8

Please sign in to comment.