Gathering detailed insights and metrics for reactive-bulma
Gathering detailed insights and metrics for reactive-bulma
Gathering detailed insights and metrics for reactive-bulma
Gathering detailed insights and metrics for reactive-bulma
A component library based on React, Bulma, Typescript and Vite
npm install reactive-bulma
Typescript
Module System
Node Version
NPM Version
66.3
Supply Chain
94.3
Quality
93.6
Maintenance
100
Vulnerability
100
License
Updated on 06 Dec 2024
Minified
Minified + Gzipped
TypeScript (96.15%)
EJS (2.08%)
JavaScript (1.31%)
MDX (0.46%)
Cumulative downloads
Total Downloads
Last day
0%
Compared to previous day
Last week
0%
Compared to previous week
Last month
96.8%
Compared to previous month
Last year
48.4%
Compared to previous year
60
Component library based on React, Bulma, Typescript and Vite
After studying an Udemy course about Typescript, I wanted to start a new project to practice my new knowledge in a meaningful tool. Therefore, I began this project to understand how to create a component library and investigate the best ways to maintain and nourish it as any professional-level alternatives.
Now I have finished (Jan 31th) the last story related to my proposed roadmap; I will change the repo's objectives to the following:
Several quick start options are available:
git clone https://github.com/NicolasOmar/reactive-bulma.git
.npm install reactive-bulma@latest
>=20.10.0
to install packages.In case you have cloned the repo, it will show you the following folders:
_templates:
Dedicated to Hygen configuration and implementation files. Dedicated to creating new components from customizable templates..github:
Github Actions files used to run post-merge. commits like unit test coverage collection..husky:
Dedicated to Husky configuration files..storybook:
Dedicated to Storybook configuration files.src:
components:
Location of all used components, using Atomic Design hierarchy structure
atoms
(from v1.0.0
).molecules
(from v2.0.0
).organisms
(from v3.0.0
).design
: Location of common design tokens (coded on .mdx
files) displayed above components sections in the storybook's instance.functions
: Dedicated to parsers and helper functions for repetitive logic.interfaces
: Dedicated to components and functions typing interfaces.types
: Dedicated to Bulma's style typesetting (part of the component's properties).Reactive bulma's documentation, included in this repo in the root directory, is built with Storybook and publicly hosted on Netlify
at https://reactivebulma.netlify.app/. The docs may also be run locally.
reactive-bulma
folder (where you cloned the repo before).npm install
to install the Node.js dependencies, including Storybook (the site builder).npm start
.npm run start:cli.
Learn more about Storybook
by reading its documentation.
1import React from 'react' 2import { Button } from 'reactive-bulma' 3 4const App = () => ( 5 <Button text="This is a test" /> 6);
To see all component variants and code snippets go to the Documentation section.
If you want to create a custom component for your forked Reactive Bulma version, the easiest way is by running the creation script I made, which instructions are here.
After some time, I understood that creating component files is a repetitive and time-consuming task, so I made issue #180 to implement a library called Hygen, whose function is to provide a way to generate templates for generic files that can consume time at the long term. You can run the script by the following steps:
npm run create
in your console.
), underscores (_
), or hyphens (-
)Learn more about Hygen
by reading its documentation.
In case you want to make your fork, I recommend you to update at least weekly using a custom command npm run update
, which will run the following commands in order:
update:deps
: Using a npm-check-updates script, you will be able to choose which dependencies want to update to the latest versionupdate:doctor
: Runs build and test checks to ensure your update will not break any current build.update:storybook
: Updates storybook to the latest version (following its recommended command) followed for a build check (similar to update:doctor, but for Storybook only)After investigating semantic-release documentation (refer to #3) and finishing the last version according to the original roadmap, I decided to give the following meaning to project's versions after v4.0.0
:
5.0.0
, 6.0.0
and beyond) will refer to milestones achievement and significant changes on existing components that will need extra attention before the update.4.1.0
, 4.2.0
, and so on) will refer to new components or modifications of existing ones.4.0.1
, 4.0.2
, and so on) will refer to bug fixes or weekly dependencies updates.To check the current project's status, go to the Roadmap section.
Given the mentioned release logic, main
is the only static branch, and each developed feature or fix will have a unique branch with its PR and a merge commit following semantic versioning and semantic commits specifications.
After finishing the last story related to v4.0.0
, ReactiveBulma's current work is now focused on updating its dependencies in a weekly manner, as well as checking every issue or discussion raised by visitors who are interested in improving the project by proposing new ideas in shape of tickets or issues with its related PR.
In case you want actual short-term status, go to the project board (powered by GitHub Projects
).
Version | Progress | Open issues | Closed issues |
---|---|---|---|
v1.0.0 | |||
v2.0.0 | |||
v3.0.0 | |||
v4.0.0 |
In case you want the detailed list of current and future features, go to the roadmap document.
The changelog (powered by semantic-release
) is regularly updated to reflect what's changed in each new release.
If you're interested in contributing to Reactive Bulma, please read our contributing docs before submitting a pull request.
Bulma was beautifully crafted by @jgthms
Code released under the MIT License.
No vulnerabilities found.
No security vulnerabilities found.