glass-core

1.0.0-eagle-97 • Public • Published

Glass Core

  • Component only repository, which will be a dependency in glass platform

Initial Setup

Requirements

  • Download latest Node version. Current Version: 10.15.0 (includes npm 6.4.1)
  • npm version 6.4.1

Workspace setup

Sync //OpsInsight/Eagle/ui/glass/core to your perforce workspace and then run:

cd path/to/OpsInsight/Eagle/ui/glass/core/
npm i

IDE Setup

We recommend using Visual Studio Code, but WebStorm may work as well.

Useful VSCode Plugins

Running Unit Tests

Coverage reports will be generated under //OpsInsight/Eagle/ui/glass/core/coverage/ after running the following command:

cd path/to/OpsInsight/Eagle/ui/glass/core
npm test

Running Local Setup with Dev Server

After you have run npm i command just execute npm start to start up a dev server.

cd path/to/OpsInsight/Eagle/ui/glass/core
npm start

Publishing glass-core to NPM

Following are the steps to publish glass-core to a repository:

  • Prerequisite: Take latest from depot to glass folder itself. ../../glass/
  • We need to run build first: This will copy latest files from ../platform/ folder to ./target/ folder.
  • Check "publishConfig": { "registry": "https://registry.npmjs.org/" } in package.json. This is repository URL where app will be published. Currently, we are publishing to npm. We will change it to an Informatica repository soon.
  • Update version in package.json
  • Now login to npm:
npm login
  • Provide username and password for npm: Current username: iamarmishra
  • Provide any email address & then run:
npm publish:app

Readme

Keywords

none

Package Sidebar

Install

npm i glass-core

Weekly Downloads

2

Version

1.0.0-eagle-97

License

none

Unpacked Size

5.68 MB

Total Files

144

Last publish

Collaborators

  • iamarmishra