1.0.5 • Published 3 years ago

eyf-embed-code v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Empty your fridge embed code component library

This repo is built with rollup into a reuseable component that can be installed directly from our plantjammer github repo.

Getting Started with eyf-embed-code

Start development

run yarn dev in order to start up storybook and make modifications to the library

Why only storybook for development?

Because this component library is meant to be used in other react projects with material ui the dependencies are included only as devDependencies and peerDependencies. Therefore you can NOT run it as a normal react app. in order to develop

How to contribute

  1. Please follow the notes in genetors.ts and codeblocks.ts in order to add or modify a code-snippet to the component.

  2. Furthermore make sure to update and add tests to any modification as this component is used in more than one parent repo, so proper testing and test-coverage is vital

  3. Create a feature branch and once step 1 and 2 are done open a PR to master branch

The build step

Linting, testing and building AND staging the ./build folder happens automatically via husky git hooks before each commit. This is to ensure that we remember to build and test before each release to master.

git commit -m 'message' should trigger the pre-commit hook. If you need to bypass that can be done with the --no-verify flag but this is discouraged. All you need to do after committing is pushing.

run yarn build to build the project to the /build folder

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago