solutions-components are shared web components used in Solutions apps.
This repository is set up to use Lumina to manage web component development; the project is a web_component
project type
Set up:
yarn install
To build the component for debugging, run:
yarn build-dev
To build the component for production, run:
yarn build
To start the local server and display ./index.html via http://localhost:5173/
:
yarn start
To run the unit tests for the components run:
yarn clean
yarn test
To publish to npm and GitHub,
- Edit package.json to have the new version number
- Run
yarn install
- Edit CHANGELOG.md to show the new release number and connect it to previous releases
- Commit and push changes to GitHub
- Run:
yarn release:publish
This package uses lint-staged
to run ESLint and Prettier on all staged files.
To lint staged files, run npm run lint
or yarn lint
.
Consider running that as part of pre-commit hook or GitHub Action. Documentation on arcgis-web-components' linting setup for guidance.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
COPYRIGHT © 2025 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: [email protected]