0.0.16 • Published 3 years ago

@e-krebs/react-library v0.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

bun install

dev

to run in dev:

bun run 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:

bun run build

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.40

1 year ago

0.0.41

1 year ago

0.0.42

12 months ago

0.0.37

1 year ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.33

1 year ago

0.0.34

1 year ago

0.0.35

1 year ago

0.0.36

1 year ago

0.1.0

10 months ago

0.1.1

7 months ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.30

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.29

3 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

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago