react-jsbarcode 0.1.2 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.2.0](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.2...v0.2.0) (2021-10-07)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ - move jsbarcode as dependacy rather than peer
10
+
11
+ ### Features
12
+
13
+ - move jsbarcode as dependacy rather than peer ([4730d31](https://github.com/iamchathu/react-jsbarcode/commit/4730d3167ae6c2fff2451b7083862069bbd674a6))
14
+
5
15
  ### [0.1.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.1...v0.1.2) (2021-10-07)
6
16
 
7
17
  ### Bug Fixes
package/Readme.md CHANGED
@@ -9,20 +9,20 @@
9
9
 
10
10
  ## About
11
11
 
12
- This is a [React](https://reactjs.org) component wrapping up [jsbarcode](<[https://](https://github.com/lindell/JsBarcode)>):
12
+ This is a [React](https://reactjs.org) component wrapping up [jsbarcode](<[https://](https://github.com/lindell/JsBarcode)>). Written as a React functional component using React hooks.
13
13
 
14
14
  ## Installation
15
15
 
16
16
  using NPM
17
17
 
18
18
  ```bash
19
- npm i react-jsbarcode jsbarcode
19
+ npm i react-jsbarcode
20
20
  ```
21
21
 
22
22
  using yarn
23
23
 
24
24
  ```bash
25
- yarn add react-jsbarcode jsbarcode
25
+ yarn add react-jsbarcode
26
26
  ```
27
27
 
28
28
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-jsbarcode",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "JSBarcode component for React",
5
5
  "homepage": "http://github.com/iamchathu/react-jsbarcode",
6
6
  "repository": {
@@ -22,6 +22,9 @@
22
22
  "prepublishOnly": "yarn clean && yarn build",
23
23
  "release": "standard-version"
24
24
  },
25
+ "dependencies": {
26
+ "jsbarcode": "^3.11.5"
27
+ },
25
28
  "devDependencies": {
26
29
  "@commitlint/cli": "^13.2.0",
27
30
  "@commitlint/config-conventional": "^13.2.0",
@@ -45,7 +48,6 @@
45
48
  "typescript": "^4.4.3"
46
49
  },
47
50
  "peerDependencies": {
48
- "jsbarcode": "^3.11.5",
49
51
  "react": "^17.0.2"
50
52
  },
51
53
  "keywords": [