Skip to content

SoftwareBrothers/admin-bro-hasura

Repository files navigation

AdminBro Addon template

This an AdminBro addon template repository. You may use it if you want to create

  • AdminBro plugin
  • AdminBro adapter
  • AdminBro feature

What is inside

It is a typescript repository with:

  • TypeScript
  • linter with semantic commits (ensures the same style across AdminBro packages)
  • semantic-release
  • github actions
  • example application with cypress

What is missing:

  • cypress run in the CI which is an optional. You can take a look at admin-bro/core repository to see how to build it.

How to use it

In order to start working on an AdminBro feature/plugin/adapter follow this steps:

  1. fork this repository
  2. Make sure it uses the latest versions of the packages
  3. rename package in package.json
  4. add env variables github settings:
  • SLACK_WEBHOOK
  • NPM_TOKEN
  1. in the root folder:
  • yarn install
  • yarn link (registers package in linked packages repository)
  1. cd example-app
  • yarn install
  • yarn add NAME_OF_YOUR_PACKAGE
  • yarn link NAME_OF_YOUR_PACKAGE
  1. then in one terminal in the root folder run:
  • yarn build --watch
  1. in the second terminal in example app:
  • yarn dev

You can read more about package linking in yarn link documentation

Publishing to NPM

package has semantic-release configured, but it don't upload build to NPM because of private: true set in package.json. In order to trigger automatic releases simply remove this line.

License

AdminBro is Copyright © 2020 SoftwareBrothers.co. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About SoftwareBrothers.co

We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.

  • We are available for hire.
  • If you want to work for us - checkout the career page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published