https://github.com/wavemaker/wm-sspa-cli
A CLI to convert WaveMaker apps to single spa app
https://github.com/wavemaker/wm-sspa-cli
Last synced: 6 months ago
JSON representation
A CLI to convert WaveMaker apps to single spa app
- Host: GitHub
- URL: https://github.com/wavemaker/wm-sspa-cli
- Owner: wavemaker
- Created: 2020-02-12T09:51:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T13:42:32.000Z (about 1 year ago)
- Last Synced: 2025-03-25T17:22:24.940Z (about 1 year ago)
- Language: JavaScript
- Size: 162 KB
- Stars: 1
- Watchers: 26
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README-dev.md
Awesome Lists containing this project
README
# @wavemaker/wm-sspa-cli
## Setup
* Clone the repo locally
* Open terminal at the repository folder and execute `npm install` inside the project folder.
## Build
* The project is configured with `webpack` for building the artefacts for both local execution & publish.
* Refer [**`webpack.config.js`**](./webpack.config.js) for details.
* Hence for any change, the project needs to be built before testing.
* Execute `npm run build` for building the project
## Local Execution
* As updated earlier, the code needs to be built before running.
* Execute `npm run start` to build & run the CLI locally.
## Publish
* Ensure the project is built & has no errors
* Ensure the `version` in [**`package.json`**](./package.json) is updated as per the changes done compared to previous published version.
* Execute `npm login` in the terminal & login as authorized user
* Execute `npm publish --access public` to publish to npm registry.