3.4.0 • Published 11 months ago

design-system-silkhaus v3.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Get Started

  1. Clone this repository
  2. We use pnpm as our package manager. Install pnpm. Refer https://pnpm.io/installation
  3. Run nvm install to install the correct node version automatically from the .nvmrc file
  4. Install dependencies using pnpm i
  5. To see storybook locally use pnpm dev

Development

  1. Create folder for the component under
  2. index.ts file to be created inside package to export the component
  3. .tsx file with the actual code for the component
  4. .stories.tsx file for the story book
  5. OPTIONAL style.scss can be used inside the package. This should only be needed under rare cases as our styling should only be done through tailwind utlity classes
  6. IMP Export the component in the top level lib/index.tsx file so that its available to be imported from published library
  7. IMP Please refer to our front-end development guide here

Scripts

  • dev: Starts the local Storybook server, use this to develop and preview your components.
  • test: Runs all your tests with vitest.
  • test:watch: Runs tests in watch mode.
  • test:ui: Runs tests with a UI.
  • test:coverage: Runs tests and generates a coverage report.
  • build: Builds your Storybook as a static web application.
  • build:lib: Builds your component library with Vite.
  • lint: Runs ESLint.
  • format:check: Check prettier formatting
  • format:fix: Fixes all prettier formatting issues
  • knip: Checks for unsused dependencies and exports.

Publish Beta version for testing

  • First make sure you have installed the packages by running pnpm i
  • Make sure you have committed all your changes (including pnpm-lock.yaml)
  • pnpm build:lib - Build the lib into dist folder. This has to done before publishing, so that you publish the latest dist
  • pnpm version <version>-beta.x - run this command to update the package version to be released for testing. Eg: pnpm version 2.10.6-beta.3
  • npm publish --access=public --tag beta - To publish lib with beta tag for testing
  • git push - Push the updated version with release tag back to your branch

Publish Production version

  • First make sure you have installed the packages by running pnpm i
  • Make sure you have committed all your changes (including pnpm-lock.yaml)
  • pnpm build:lib - Build the lib into dist folder. This has to done before publishing, so that you publish the latest dist
  • pnpm version <version> - run this command to update package version to be released for production. Eg: pnpm version 2.10.6
  • npm publish --access=public --tag latest - To publish lib with latest tag for production release
  • git push - Push the updated version with release tag back to your branch

License

MIT

3.4.0

11 months ago

3.3.0

11 months ago

3.2.1

11 months ago

3.2.0

11 months ago

3.1.3

12 months ago

3.1.2

12 months ago

3.0.0

12 months ago

2.17.4

1 year ago

2.17.2

1 year ago

2.17.3

1 year ago

2.17.1

1 year ago

2.17.0

1 year ago

2.16.4

1 year ago

2.16.3

1 year ago

2.16.0

1 year ago

2.15.0

1 year ago

2.15.1

1 year ago

2.13.0

1 year ago

2.12.0

1 year ago

2.12.1

1 year ago

2.11.4

1 year ago

2.11.0

1 year ago

2.11.1

1 year ago

2.11.2

1 year ago

2.11.3

1 year ago

2.10.0

1 year ago

2.9.2

1 year ago

2.9.0

1 year ago

2.8.0

1 year ago

2.9.1

1 year ago

2.7.1

1 year ago

2.6.0

1 year ago

2.6.3

1 year ago

2.6.2

1 year ago

2.4.5

1 year ago

2.4.4

1 year ago

2.4.6

1 year ago

2.5.0

1 year ago

2.4.3

1 year ago

2.4.1

1 year ago

2.4.2

1 year ago

2.4.0

1 year ago

2.3.0

1 year ago

2.2.2

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0-beta.pnpm

2 years ago

0.0.88

2 years ago

0.0.87

2 years ago

0.0.87-beta.5

2 years ago

0.0.87-beta.4

2 years ago

0.0.85-beta.12

2 years ago

0.0.85-beta.11

2 years ago

0.0.85-beta.10

2 years ago

0.0.86-beta.3

2 years ago

0.0.86-beta.4

2 years ago

0.0.85-beta.13

2 years ago

0.0.86-beta.1

2 years ago

0.0.86-beta.2

2 years ago

0.0.87-beta.1

2 years ago

0.0.87-beta.3

2 years ago

0.0.87-beta.2

2 years ago

0.0.85

2 years ago

0.0.86

2 years ago

0.0.85-beta.9

2 years ago

0.0.85-beta.8

2 years ago

0.0.85-beta.7

2 years ago

0.0.85-beta.6

2 years ago

0.0.85-beta.5

2 years ago

0.0.85-beta.4

2 years ago

0.0.85-beta.3

2 years ago

0.0.85-beta.2

2 years ago

0.0.85-beta.1

2 years ago

0.0.84

2 years ago

0.0.80

2 years ago

0.0.81

2 years ago

0.0.82

2 years ago

0.0.83

2 years ago

0.0.8-3.beta.1

2 years ago

0.0.79

2 years ago

0.0.8-3.beta.2

2 years ago

0.0.84-beta.0

2 years ago

0.0.84-beta.2

2 years ago

0.0.84-beta.1

2 years ago

0.0.83-beta.0

2 years ago

0.0.77

2 years ago

0.0.76

2 years ago

0.0.75

2 years ago

0.0.73

2 years ago

0.0.74

2 years ago

0.0.71

2 years ago

0.0.72

2 years ago

0.0.70

2 years ago

0.0.69

2 years ago

0.0.67

2 years ago

0.0.65

2 years ago

0.0.66

2 years ago

0.0.64

2 years ago

0.0.63

2 years ago

0.0.62

2 years ago

0.0.61

2 years ago

0.0.60

2 years ago

0.0.59

2 years ago

0.0.55

2 years ago

0.0.56

2 years ago

0.0.57

2 years ago

0.0.58

2 years ago

0.0.54

2 years ago

0.0.53

2 years ago

0.0.51

2 years ago

0.0.52

2 years ago

0.0.50

2 years ago

0.0.49

2 years ago

0.0.48

2 years ago

0.0.40

2 years ago

0.0.41

2 years ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.44

2 years ago

0.0.45

2 years ago

0.0.46

2 years ago

0.0.47

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.29

2 years ago

0.0.26

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.11

2 years ago

0.0.3

2 years ago

0.0.10

2 years ago

0.0.2

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago