@unif/react-native-camera 2.0.0 → 2.3.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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @unif/react-native-camera
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@unif/react-native-camera.svg?color=cb3837&logo=npm)](https://www.npmjs.com/package/@unif/react-native-camera)
4
+ [![CI](https://github.com/unif-design/react-native-camera/actions/workflows/ci.yml/badge.svg)](https://github.com/unif-design/react-native-camera/actions/workflows/ci.yml)
5
+ [![License](https://img.shields.io/npm/l/@unif/react-native-camera.svg?color=blue)](LICENSE)
6
+
3
7
  基于 [react-native-vision-camera](https://github.com/mrousavy/react-native-vision-camera) 5.x 构建的 React Native 相机库,提供模态化相机界面,支持单拍 / 连拍 / 视频录制 / 捏合变焦 / 镜头切换 / 点击对焦。
4
8
 
5
9
  ## 安装
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unif/react-native-camera",
3
- "version": "2.0.0",
3
+ "version": "2.3.0",
4
4
  "description": "基于 react-native-vision-camera 的相机库(单拍/连拍/视频+水印+预览)",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -78,7 +78,7 @@
78
78
  "@types/jest": "^29.5.0",
79
79
  "@types/react": "^19.2.0",
80
80
  "@types/react-test-renderer": "^19",
81
- "@unif/react-native-design": "^0.2.0",
81
+ "@unif/react-native-design": "^0.4.0",
82
82
  "commitlint": "^20.5.0",
83
83
  "del-cli": "^7.0.0",
84
84
  "eslint": "^9.39.4",
@@ -109,7 +109,7 @@
109
109
  "peerDependencies": {
110
110
  "@gorhom/bottom-sheet": ">=5",
111
111
  "@sbaiahmed1/react-native-blur": ">=4",
112
- "@unif/react-native-design": ">=0.2.0",
112
+ "@unif/react-native-design": ">=0.4.0",
113
113
  "react": ">=19.0.0",
114
114
  "react-native": ">=0.85.0",
115
115
  "react-native-gesture-handler": ">=2.21.0",
@@ -152,11 +152,13 @@
152
152
  },
153
153
  "release-it": {
154
154
  "git": {
155
- "commitMessage": "chore: release ${version}",
156
- "tagName": "v${version}"
155
+ "commitMessage": "chore: release ${version} [skip ci]",
156
+ "tagName": "v${version}",
157
+ "requireCommits": true
157
158
  },
158
159
  "npm": {
159
- "publish": true
160
+ "publish": true,
161
+ "skipChecks": true
160
162
  },
161
163
  "github": {
162
164
  "release": true
@@ -165,7 +167,8 @@
165
167
  "@release-it/conventional-changelog": {
166
168
  "preset": {
167
169
  "name": "angular"
168
- }
170
+ },
171
+ "infile": "CHANGELOG.md"
169
172
  }
170
173
  }
171
174
  },