@manikarora8368/root
v1.0.0
Published
This package contains the Configurator UI core code in the `main` folder and supplementary subpackages.
Downloads
54
Readme
Configurator UI Root
This package contains the Configurator UI core code in the main
folder and supplementary subpackages.
Before You Start
Just run pnpm i
. In case of any problems try pnpm factory-reset && pnpn i
Development
Run pnpm dev
in the frontend
folder to start the UI dev server; The script will open localhost:9876
in a new tab of your default browser.
Environment Variables
The UI recognizes following environment variables. Those marked with '*' must be provided
before building the app or running it with pnpm dev
.
Note: for adding new environment variables please list them in _webpack.config.js
(look for webpack.DefinePlugin
) and in env.js (look for getClientEnvironment
)
Available Scripts
Note: DO NOT USE NPM!
pnpm dev
- dev application (with hot reload) will be started on http://localhost:9876pnpm build
- run all checks (seepnpm verify
) and build production configurator UI, seemain/build/
folder for results- (disabled)
pnpm test
- run tests in all subpackages pnpm code-style:check
/pnpm code-style:fix
- check code style with prettier / fix itpnpm lint
- run lintercanary:publish
- publish canary version of@jitsu/catalog
. Is used in CI
Subpackages
main
-- core code of the configurator UI;catalog
-- definitions of the entities such as sources, destinations, API keys, mappings, etc. This subpackage is shared withjitsu.com
and it is auto-published to npm on pushes to thebeta
branch;
Troubleshooting
- Make sure that you run the commands in the
frontend
folder. Commands in subpackages will not work properly. - Remove the node modules and built files by running
pnpm factory-reset & pnpm i
Notes
- Resolution to
react-error-overlay
of version 6.0.9 inpackage.json
is needed to overcome the CRA issue. Feel free to remove the resolution once migrated toreact-scripts
v5.