This app uses commons-ui library which released in the npmjs packages.
To launch the app type npm install then npm start .
-
npm run type-check- Runs TypeScript type checking without emitting files. This ensures all developers use the project's local TypeScript version fromnode_modulesrather than a potentially different globally-installed version. Run this to verify your code has no type errors before committing. -
npm run build- Builds the library. Note: This automatically runsnpm run prebuildfirst. -
npm run prebuild- Runs linting and type checking before the build. This script is executed automatically by npm beforenpm run buildand ensures that the build is not executed if linting or type checking fails. You don't need to call this manually unless you want to verify code quality without building.
If you are a developer and you want to update / enhance components used from the gridsuite commons-ui library click here and follow instructions.
Files tsconfig.json and src/react-app-env.d.ts both results from create-react-app typescript template (version 5). Some property values have been changed to meet the project needs (ex: target, baseUrl,...).
To check dependencies license compatibility with this project one locally, please run the following command :
npm run licenses-check
Notes :
- Check license-checker-config.json for license white list and exclusion. If you need to update this list, please inform organization's owners.
- Excluded dependencies :
- [email protected] : old version of a dependency which doesn't have a recognized license identifier on https://spdx.org/licenses/ (BSD)
- [email protected] and [email protected] : dependencies to be removed once Vite migration done