A set of Vue 3 UI components for the Robonomics dApp.
This package provides shared interface elements and utilities used in the decentralized frontend of Robonomics app.
This project uses Vite to build a Vue 3 component library.
To build the library for production (for publishing or packaging):
yarn buildThis will:
- Compile the library into the
dist/folder - Copy the following metadata files into
dist/:package.jsonREADME.mdLICENSENOTICEAUTHORS
To build and test the package locally with a dependent dApp project:
yarn build-devThis will:
- Build the library
- Copy the compiled output directly into the dApp’s
node_modules/robonomics-ui-vue/folder
The path is configured via a local config file:
// build.config.local.mjs
export const dappPackagePath = '/absolute/path/to/your-dapp/node_modules/robonomics-ui-vue/';Use build.config.example.mjs as a reference.
Note: This file is ignored via
.gitignoreand should not be committed.
-
Build the library (optional for local checks)
yarn build
-
Bump version & commit
git add package.json git commit -m "chore: release vX.Y.Z" git push -
Create an annotated tag
git tag -a vX.Y.Z -m "Release vX.Y.Z" -
Push the tag
git push origin vX.Y.Z
That’s all! The GitHub Action defined in .github/workflows/publish.yml will:
- Build the project
- Run
npm publish --access publicfromdist/, so only the compiled package is uploaded - Create a GitHub Release with autogenerated notes
Manual publish (without CI)
yarn build && cd dist && npm publish --access publicEnsure
NPM_TOKENwith publish permission is configured.
This project is licensed under the Apache License 2.0.
You are free to:
- Use, modify, and distribute the code
- Include this library in personal or commercial projects
However, if you modify and redistribute the code, you must:
- Clearly state what changes were made
- Preserve the original
LICENSE,NOTICE, andAUTHORSfiles
📄 See full license terms in the LICENSE file.
See AUTHORS for a list of contributors.
The following files are included in builds for clarity and compliance:
LICENSE– license terms (Apache 2.0)NOTICE– copyright and attributionAUTHORS– list of project authorsREADME.md– this file