Skip to content

Commit

Permalink
Changs to move to github package hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorlok committed Oct 6, 2019
1 parent 7c228a0 commit 28b37be
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ editor.

To run the sample app just run `npm run start` and go to `http://localhost:4444/`. The app will automatically reload if you change any of the source files.

This library is published to NPM: `@zapinfo/ngx-cron-editor`
This library is published to NPM and Github as: `@zapinfo/ngx-cron-editor`

## Demo

Expand All @@ -21,7 +21,7 @@ A work-in-progress demo can be found [here](https://esarmientoe.github.io/cron-e

1. Install the npm package:
```
$ npm i ngx-cron-editor -S
$ npm i @zapinfo/ngx-cron-editor -S
```
2. Import the module in your own module:
Expand Down Expand Up @@ -84,6 +84,22 @@ export class MyComponent {
}
```

## ZAPinfo Developer Notes

Internally, we use github for package management.

To pubish, [first login](https://help.github.com/en/articles/configuring-npm-for-use-with-github-package-registry#authenticating-to-github-package-registry) (requires personal access token):

```
npm login --registry=https://npm.pkg.github.com/
```

Then publish the package:

```
npm publish
```

## License:

Licensed under the MIT license
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"Håvard D. Johansen",
"Ryan Morlok"
],
"version": "0.4.10",
"version": "0.4.11",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit 28b37be

Please sign in to comment.