Skip to content

positivecrash/robonomics-ui-vue

Repository files navigation

Robonomics UI Vue

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.


📦 Build

This project uses Vite to build a Vue 3 component library.


🔧 Production Build

To build the library for production (for publishing or packaging):

yarn build

This will:

  • Compile the library into the dist/ folder
  • Copy the following metadata files into dist/:
    • package.json
    • README.md
    • LICENSE
    • NOTICE
    • AUTHORS

🧪 Local Development Build

To build and test the package locally with a dependent dApp project:

yarn build-dev

This 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 .gitignore and should not be committed.


🚀 Publish a new version

  1. Build the library

    yarn build
  2. Bump version & commit

    git add package.json
    git commit -m "chore: release vX.Y.Z"
    git push
  3. Create an annotated tag

    git tag -a vX.Y.Z -m "Release vX.Y.Z"
  4. 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 public from dist/, 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 public

Ensure NPM_TOKEN with publish permission is configured.


⚖️ License

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, and AUTHORS files

📄 See full license terms in the LICENSE file.


👥 Authors

See AUTHORS for a list of contributors.


📄 Metadata

The following files are included in builds for clarity and compliance:

  • LICENSE – license terms (Apache 2.0)
  • NOTICE – copyright and attribution
  • AUTHORS – list of project authors
  • README.md – this file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published