Giter VIP home page Giter VIP logo

homeremote-plugins's Introduction

Monorepo for homeremote-plugins

homeremote-stream-player plugin

Screenshot

More details:

Client: /packages/client

Server: /packages/server

Publish

  • nvm use
  • in webpack.elmloader.js, enable optimize: true, (should be done automatically on webpack production mode)
  • yarn build
  • yarn validate
  • commit changes (lib dirs should eventually be in git ignore)
  • optionally: yarn lerna changed
  • yarn lerna publish
  • on each push to the main branch, CI builds and publishes storybook, see .github/workflows

Running

nvm use
lerna run start

Development

  • clone the repo
  • nvm use
  • in the root: yarn
  • start storybook & api: yarn start
    • alternatively: start storybook: yarn storybook
    • in another terminal, start the backend API for storybook: yarn storybook:api
  • storybook should run at http://localhost:6006

Build Storybook

For Github Pages

Add dependency to e.g. packages/streamplayer-client

Adding local or an external dependency to one of the packages, run this in the root:

yarn lerna add @mdworld/bla --scope=@mdworld/homeremote-stream-player

Adding a (dev)dependency to the root project:

yarn add -DW typescript (dev)

yarn add -W typescript (not dev)

TODO

  • clean up packages/example. Only ExampleApp.stories.tsx is needed? It should be in packages, not in root, to have a linked dependency to @mdworld/homeremote-stream-player to be as real as possible

homeremote-plugins's People

Contributors

mdvanes avatar

Watchers

James Cloos avatar

homeremote-plugins's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.