reactive-bulma 1.21.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/README.md +12 -1
- package/package.json +26 -24
package/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2023 Nicolás Omar González Passerino
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
@@ -25,10 +25,12 @@ Component library based on React, Bulma, Typescript and Rollup
|
|
25
25
|
- [Versioning](#versioning)
|
26
26
|
- [Roadmap](#roadmap)
|
27
27
|
- [Changelog](#changelog)
|
28
|
+
- [Contributing](#contributing)
|
28
29
|
- [Credit](#credit)
|
29
30
|
- [License](#license)
|
30
31
|
|
31
32
|
## Purpose
|
33
|
+
|
32
34
|
After studying [an Udemy course about Typescript](https://github.com/NicolasOmar/typescript-practice), I wanted to start a new project to practice my new knowledge in a meaningful tool. Therefore, I started 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.
|
33
35
|
|
34
36
|
## Status
|
@@ -47,6 +49,7 @@ After studying [an Udemy course about Typescript](https://github.com/NicolasOmar
|
|
47
49
|
[![GitHub commit activity][badge-github-commits]][link-github-commit-activity]
|
48
50
|
[![GitHub last commit][badge-github-last-commit]][link-github-commit-history]
|
49
51
|
[![Semantic Commits][badge-semantic-commits]][link-semantic-commits]
|
52
|
+
[![Contributor Covenant][badge-code-of-conduct]][link-code-of-conduct]
|
50
53
|
|
51
54
|
[badge-npm-version]: https://img.shields.io/github/package-json/v/nicolasomar/reactive-bulma?label=npm%20version&logo=npm&labelColor=535353&color=success&style=flat
|
52
55
|
[badge-npm-size]: https://img.shields.io/bundlephobia/min/reactive-bulma?label=bundle%20size&labelColor=535353&logo=npm&style=flat
|
@@ -62,7 +65,7 @@ After studying [an Udemy course about Typescript](https://github.com/NicolasOmar
|
|
62
65
|
[badge-soundcloud-security]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=security_rating
|
63
66
|
[badge-soundcloud-tech-debt]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=sqale_index
|
64
67
|
[link-soundcloud-status]: https://sonarcloud.io/summary/new_code?id=NicolasOmar_reactive-bulma
|
65
|
-
[badge-snyk-status]: https://
|
68
|
+
[badge-snyk-status]: https://snyk.io/test/github/nicolasomar/reactive-bulma/badge.svg
|
66
69
|
[link-snyk-status]: https://snyk.io/test/github/nicolasomar/reactive-bulma
|
67
70
|
[badge-github-repo-stars]: https://img.shields.io/github/stars/nicolasomar/reactive-bulma?label=stars&logo=github&labelColor=535353&style=flat
|
68
71
|
[badge-github-commits]: https://img.shields.io/github/commit-activity/m/nicolasomar/reactive-bulma?logo=github
|
@@ -72,6 +75,8 @@ After studying [an Udemy course about Typescript](https://github.com/NicolasOmar
|
|
72
75
|
[link-github-commit-history]: https://github.com/NicolasOmar/reactive-bulma/commits/main
|
73
76
|
[badge-semantic-commits]: https://img.shields.io/badge/using-conventional%20commits-e10079?logo=conventional-commits
|
74
77
|
[link-semantic-commits]: https://github.com/semantic-release/semantic-release
|
78
|
+
[badge-code-of-conduct]: https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg
|
79
|
+
[link-code-of-conduct]: code_of_conduct.md
|
75
80
|
|
76
81
|
## Dependencies
|
77
82
|
|
@@ -138,6 +143,7 @@ Reactive bulma's documentation, included in this repo in the root directory, is
|
|
138
143
|
Learn more about using `Storybook` by reading its [documentation](https://storybook.js.org/docs/react/get-started/install).
|
139
144
|
|
140
145
|
## Usage
|
146
|
+
|
141
147
|
```jsx
|
142
148
|
import React from 'react'
|
143
149
|
import { Button } from 'reactive-bulma'
|
@@ -193,6 +199,11 @@ In case you want the detailed list of current and future features, go to the [ro
|
|
193
199
|
|
194
200
|
The [changelog](https://github.com/NicolasOmar/reactive-bulma/blob/main/CHANGELOG.md) (powered by `semantic-release`) is regularly updated to reflect what's changed in each new release.
|
195
201
|
|
202
|
+
## Contributing
|
203
|
+
|
204
|
+
If you're interested in contributing to Reactive Bulma, please read [our contributing docs](./CONTRIBUTING.md) before submitting a pull request.
|
205
|
+
|
206
|
+
|
196
207
|
## Credit
|
197
208
|
|
198
209
|
Bulma was beautifully crafted by [@jgthms](https://github.com/jgthms)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "reactive-bulma",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0",
|
4
4
|
"description": "A component library based on React, Bulma, Typescript and Rollup",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -35,8 +35,10 @@
|
|
35
35
|
"start:cli": "npm start -- --no-open",
|
36
36
|
"test": "jest --watchAll=false --verbose",
|
37
37
|
"test:ci": "npm test -- --coverage",
|
38
|
+
"test:diff": "npm run test:ci -- -o",
|
38
39
|
"lint": "eslint src/**/*.tsx",
|
39
40
|
"prettier": "prettier src/**/*.{tsx,ts} --write",
|
41
|
+
"prettier:ci": "prettier src/**/*.{tsx,ts} --check",
|
40
42
|
"lint-staged": "lint-staged -v",
|
41
43
|
"setup": "npm i && husky install",
|
42
44
|
"prepare": "npm run build",
|
@@ -60,41 +62,41 @@
|
|
60
62
|
"@semantic-release/github": "^9.0.4",
|
61
63
|
"@semantic-release/npm": "^10.0.4",
|
62
64
|
"@semantic-release/release-notes-generator": "^11.0.4",
|
63
|
-
"@storybook/addon-actions": "^7.1
|
64
|
-
"@storybook/addon-essentials": "^7.1
|
65
|
-
"@storybook/addon-interactions": "^7.1
|
66
|
-
"@storybook/addon-links": "^7.1
|
67
|
-
"@storybook/addon-mdx-gfm": "^7.1
|
68
|
-
"@storybook/cli": "^7.1
|
69
|
-
"@storybook/react": "^7.1
|
70
|
-
"@storybook/react-webpack5": "^7.1
|
65
|
+
"@storybook/addon-actions": "^7.2.1",
|
66
|
+
"@storybook/addon-essentials": "^7.2.1",
|
67
|
+
"@storybook/addon-interactions": "^7.2.1",
|
68
|
+
"@storybook/addon-links": "^7.2.1",
|
69
|
+
"@storybook/addon-mdx-gfm": "^7.2.1",
|
70
|
+
"@storybook/cli": "^7.2.1",
|
71
|
+
"@storybook/react": "^7.2.1",
|
72
|
+
"@storybook/react-webpack5": "^7.2.1",
|
71
73
|
"@storybook/testing-library": "^0.2.0",
|
72
74
|
"@testing-library/jest-dom": "^5.17.0",
|
73
75
|
"@testing-library/react": "^14.0.0",
|
74
76
|
"@types/jest": "^29.5.3",
|
75
|
-
"@types/react": "^18.2.
|
76
|
-
"@typescript-eslint/eslint-plugin": "^6.1
|
77
|
-
"@typescript-eslint/parser": "^6.1
|
78
|
-
"babel-jest": "^29.6.
|
77
|
+
"@types/react": "^18.2.18",
|
78
|
+
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
79
|
+
"@typescript-eslint/parser": "^6.2.1",
|
80
|
+
"babel-jest": "^29.6.2",
|
79
81
|
"babel-loader": "^9.1.3",
|
80
82
|
"bulma": "^0.9.4",
|
81
|
-
"eslint": "^8.
|
82
|
-
"eslint-config-prettier": "^8.
|
83
|
-
"eslint-plugin-react": "^7.33.
|
83
|
+
"eslint": "^8.46.0",
|
84
|
+
"eslint-config-prettier": "^8.10.0",
|
85
|
+
"eslint-plugin-react": "^7.33.1",
|
84
86
|
"husky": "^8.0.3",
|
85
|
-
"jest": "^29.6.
|
86
|
-
"jest-environment-jsdom": "^29.6.
|
87
|
+
"jest": "^29.6.2",
|
88
|
+
"jest-environment-jsdom": "^29.6.2",
|
87
89
|
"lint-staged": "^13.2.3",
|
88
|
-
"postcss": "^8.4.
|
89
|
-
"prettier": "^3.0.
|
90
|
+
"postcss": "^8.4.27",
|
91
|
+
"prettier": "^3.0.1",
|
90
92
|
"react": "^18.2.0",
|
91
93
|
"react-dom": "^18.2.0",
|
92
|
-
"rollup": "^3.
|
93
|
-
"rollup-plugin-dts": "^5.3.
|
94
|
+
"rollup": "^3.27.1",
|
95
|
+
"rollup-plugin-dts": "^5.3.1",
|
94
96
|
"rollup-plugin-postcss": "^4.0.2",
|
95
97
|
"semantic-release": "^21.0.7",
|
96
|
-
"storybook": "^7.1
|
97
|
-
"tslib": "^2.6.
|
98
|
+
"storybook": "^7.2.1",
|
99
|
+
"tslib": "^2.6.1",
|
98
100
|
"typescript": "^5.1.6"
|
99
101
|
},
|
100
102
|
"lint-staged": {
|