data-accelerator/Website/Packages/datax-metrics
dependabot[bot] 16a2ff3e40
Bump plotly.js from 2.25.2 to 2.29.0 in /Website/Packages/datax-metrics (#1273)
Bumps [plotly.js](https://github.com/plotly/plotly.js) from 2.25.2 to 2.29.0.
- [Release notes](https://github.com/plotly/plotly.js/releases)
- [Changelog](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plotly/plotly.js/compare/v2.25.2...v2.29.0)

---
updated-dependencies:
- dependency-name: plotly.js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 15:02:57 -08:00
..
.vscode Initial Checkin 2019-04-15 23:57:37 -07:00
src 1. DataProcessing – (#187) 2021-09-24 15:56:53 -07:00
.gitignore Fix screen reader related bugs for the message bar on jobs page (#211) 2022-03-07 12:50:31 -08:00
.prettierrc Initial Checkin 2019-04-15 23:57:37 -07:00
README.md Add descriptions to each packages' readme 2019-04-18 16:42:11 -07:00
localdevpatch.bat Initial Checkin 2019-04-15 23:57:37 -07:00
package-lock.json Bump plotly.js from 2.25.2 to 2.29.0 in /Website/Packages/datax-metrics (#1273) 2024-02-13 15:02:57 -08:00
package.json Bump plotly.js from 2.25.2 to 2.29.0 in /Website/Packages/datax-metrics (#1273) 2024-02-13 15:02:57 -08:00
webpack.config.js Bump webpack from 4.46.0 to 5.74.0 in /Website/Packages/datax-metrics (#602) 2022-10-12 09:02:36 -07:00

README.md

datax-metrics

Contains features representing a metric dashboard experience. This package is used to add additional features to the Data Accelerator website.

Install Package to Accelerator Website or another package

  1. At root folder of your consumer project, run npm install datax-metrics@1.1.1 (or whatever version you want). This will install the package under the node_modules folder and automatically update the package.json file of your project. You can also manually input it into the package.json yourself and then run npm install.

Quick start to developing this package

  1. Run npm install to install all dependency package of this NPM package.

  2. Run npm run dev to build non-optimized bundles. While the packages tend to be larger in size and slow down your web experience, you benefit this by getting a better development experience when debugging the sources on the browser of your choice.

  3. When you are done developing your package, increment the version number of your NPM package in the package.json file.

  4. Run npm run build to build optimized bundles (obfuscated, minified and other compiler optimizations) leading to smaller output sizes and faster performance for production consumption.

  5. Run npm publish

Tips and Tricks

  1. For your website, run npm run devwatch which will put your website into listening mode for file changes. Every time a file that the website depends on under its folder and node_modules dependency folder changes, it will automatically re-compile.

  2. Run npm run devpatch to build development bundles and this command will automatically execute a batch script to xcopy the built bundles to our website's node_modules folder. This will cause your website to recompile itself to pick up the changes. This localdevpatch.bat script assumes that the website GIT repo and this packages GIT repo share the same parent folder. If this is not the case, please change the paths of the script locally on your computer.