react-mcu 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# react-mcu
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/react-mcu)
|
|
4
|
+
|
|
3
5
|
A React component library.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
@@ -11,7 +13,7 @@ npm install react-mcu
|
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
15
|
```tsx
|
|
14
|
-
import { Mcu } from
|
|
16
|
+
import { Mcu } from "react-mcu";
|
|
15
17
|
|
|
16
18
|
function App() {
|
|
17
19
|
return <Mcu />;
|
|
@@ -33,7 +35,9 @@ A simple component that renders "Hello World".
|
|
|
33
35
|
When submitting a pull request, please include a changeset to document your changes:
|
|
34
36
|
|
|
35
37
|
```bash
|
|
36
|
-
|
|
38
|
+
pnpm dlx changeset
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
This helps us maintain the changelog and version the package appropriately.
|
|
42
|
+
|
|
43
|
+
bump02
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-mcu",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A React component library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"typescript": "^5.5.4",
|
|
44
44
|
"vitest": "^2.0.5"
|
|
45
45
|
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": "^19.2.3",
|
|
48
|
+
"react-dom": "^19.2.3"
|
|
49
|
+
},
|
|
46
50
|
"scripts": {
|
|
47
51
|
"build": "tsup",
|
|
48
|
-
"ci": "
|
|
52
|
+
"ci": "pnpm run build && pnpm run check-format && pnpm run check-exports && pnpm run lint && pnpm run test",
|
|
49
53
|
"lint": "tsc",
|
|
50
54
|
"test": "vitest run",
|
|
51
55
|
"format": "prettier --write .",
|
|
52
56
|
"check-format": "prettier --check .",
|
|
53
57
|
"check-exports": "attw --pack . --ignore-rules cjs-resolves-to-esm no-resolution",
|
|
54
|
-
"release": "
|
|
55
|
-
"local-release": "
|
|
56
|
-
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"react": "^19.2.3",
|
|
59
|
-
"react-dom": "^19.2.3"
|
|
58
|
+
"release": "pnpm run build && changeset publish",
|
|
59
|
+
"local-release": "pnpm run ci && changeset version && changeset publish"
|
|
60
60
|
}
|
|
61
|
-
}
|
|
61
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Matt Pocock 2024
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|