glass-app-manager
v0.1.35
Published
Informatica's Glass Framework CLI for bootstrapping
Downloads
21
Readme
glass-app-manager
CLI for bootstrapping Informatica's Glass Framework. Glass framework is based on create-react-app
Features
- Easy-to-use CLI
- Handles all modern JS features
- Bundles
cjs
andes
module formats - create-react-app for example usage and local dev
- Rollup for bundling
- Babel for transpiling
- Jest for testing
- Supports peer-dependencies
- Supports CSS modules
- Sourcemap creation
Install
This package requires node >= 8
, but we recommend node >= 10
.
npm install -g glass-app-manager
Creating a New Module
glass-app-manager some-app-name
Answer some basic prompts about your module, and then the CLI will perform the following steps:
- copy over the template
- install dependencies via npm
- link packages together for local development
Create or Update
This CLI can be used for taking the latest release published by GLASS team. Use same bash command in parent folder to get latest from platform. This will not delete any folders related to product
glass-app-manager some-app-name
## Development
After you initialize a project with glass-app-manager, move to src/ folder for developement
```bash
npm install
npm start
Publishing glass-app-manager to NPM
Following are the steps to publish glass-app-manager 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 anInformatica
repository soon. - Update
version
inpackage.json
- Now login to npm:
npm login
- Provide username and password for npm: Current username:
iamarmishra
- Provide any email address & then run:
npm run publish:app