Skip to content

Commit

Permalink
Add build script for yarn. Update to latest version for grafana cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
EEParker committed Jan 31, 2019
1 parent 19ebb74 commit 095993c
Show file tree
Hide file tree
Showing 8 changed files with 3,586 additions and 2,863 deletions.
9 changes: 8 additions & 1 deletion DEV_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ to update the `dist` folder. This will also update the distribution
readme file.

If you are using Visual Studio Code, you can launch the terminal
using `ctrl+~` and issue the `grunt` command directly from the editor.
using `ctrl+~`.

## Build script example
```sh
npm i yarn -g
yarn
yarn build
```
3 changes: 3 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npm i yarn -g
yarn
yarn build
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

npm i yarn -g
yarn
yarn build
4 changes: 2 additions & 2 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
{"name": "MIT License", "url": "https://github.com/GridProtectionAlliance/osisoftpi-grafana/blob/master/LICENSE"},
{"name": "PI System", "url": "http://www.osisoft.com/corporate/connected-services/pisystem.html"}
],
"version": "1.0.3",
"updated": "2017-12-13"
"version": "1.0.4",
"updated": "2019-01-30"
},

"dependencies": {
Expand Down
Loading

1 comment on commit 095993c

@EEParker
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, this also resolves any npm library security issues.

Please sign in to comment.