0.0.32 • Published 2 years ago

@e-krebs/react-library v0.0.32

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

description

A collection of components to be reused across personal projects. View live here

how to use (⚠️ alpha version ⚠️)

yarn add @e-krebs/react-library

Typescript types are included with the package.

The components can then be imported from the root of the package:

import { Checkbox, TextInput } from '@e-krebs/react-library'

in addition the the components, you can import the tailwindcss preset from the package:

  • tailwind.config.js
  • in which case, don't forget to include this package files in your tailwind content declaration
// tailwind.config.js
const shared = require('@e-krebs/react-library/tailwind.config.js');
module.exports = {
  presets: [shared],
  content: ["./src/**/*.{html,ts,tsx}", "./node_modules/@e-krebs/react-library/dist/**/*.js"],
  theme: {
    extend: {}
  }
}

how to contribute

start by installing dependencies

yarn

dev

to run in dev:

yarn dev

this will:

  • watch for changes on the library and continuously build it
  • watch for changes on the stories and run the doc website on localhost:61000

production

to run in production mode:

yarn build
yarn serve

this will:

  • first, build the library & the doc
  • then, serve the doc site

publish

to publish a new documentation:

  • push to main
  • 🪄 the Vercel for Github app will do the rest!

to publish a new package:

  • update the package.json version on main (ex: 1.0.0)
  • create a new tag & release on github with the same version (ex: v1.0.0)
  • 🪄 the GitHub publish workflow will do the rest!

TODO

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.20

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago