@kingstinct/react-native-healthkit 4.1.1 → 4.4.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/README.md +1 -1
- package/ios/ReactNativeHealthkit.m +15 -10
- package/ios/ReactNativeHealthkit.swift +365 -177
- package/lib/commonjs/index.ios.js +104 -106
- package/lib/commonjs/index.ios.js.map +1 -1
- package/lib/commonjs/index.js +11 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/native-types.js +25 -1
- package/lib/commonjs/native-types.js.map +1 -1
- package/lib/commonjs/types.js +4 -0
- package/lib/commonjs/types.js.map +1 -1
- package/lib/example/App.js +197 -0
- package/lib/index.ios.js +310 -0
- package/lib/index.js +44 -0
- package/lib/module/index.ios.js +104 -106
- package/lib/module/index.ios.js.map +1 -1
- package/lib/module/index.js +4 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/native-types.js +20 -1
- package/lib/module/native-types.js.map +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/native-types.js +447 -0
- package/lib/src/index.ios.js +314 -0
- package/lib/src/index.js +45 -0
- package/lib/src/native-types.js +453 -0
- package/lib/src/types.js +1 -0
- package/lib/types.js +1 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.ios.d.ts +1 -1
- package/lib/typescript/src/native-types.d.ts +142 -108
- package/lib/typescript/src/types.d.ts +80 -78
- package/package.json +25 -39
- package/src/index.ios.tsx +260 -264
- package/src/index.tsx +14 -13
- package/src/native-types.ts +213 -179
- package/src/types.ts +106 -100
- package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
- package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/ReactNativeHealthkit.xcodeproj/project.xcworkspace/xcuserdata/robertherber.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/ReactNativeHealthkit.xcodeproj/xcuserdata/robertherber.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kingstinct/react-native-healthkit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "React Native bindings for HealthKit",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
23
|
"test": "jest",
|
|
24
|
-
"
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
25
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
26
26
|
"prepare": "bob build",
|
|
27
27
|
"release": "release-it",
|
|
@@ -45,24 +45,35 @@
|
|
|
45
45
|
"homepage": "https://github.com/kingstinct/react-native-healthkit#readme",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@commitlint/config-conventional": "12",
|
|
48
|
-
"@
|
|
48
|
+
"@graphql-eslint/eslint-plugin": ">=3",
|
|
49
49
|
"@release-it/conventional-changelog": "2",
|
|
50
|
-
"@types/jest": "
|
|
51
|
-
"@types/react": "
|
|
52
|
-
"@types/react-native": "0.
|
|
50
|
+
"@types/jest": ">=26",
|
|
51
|
+
"@types/react": "17",
|
|
52
|
+
"@types/react-native": "0.67",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": ">=5",
|
|
54
|
+
"@typescript-eslint/parser": ">=5",
|
|
53
55
|
"commitlint": "12",
|
|
54
|
-
"eslint": "
|
|
55
|
-
"eslint-config-
|
|
56
|
-
"eslint-
|
|
56
|
+
"eslint": ">=8",
|
|
57
|
+
"eslint-config-airbnb-base": ">=15",
|
|
58
|
+
"eslint-config-kingstinct": "5.1.1",
|
|
59
|
+
"eslint-import-resolver-typescript": ">=3",
|
|
60
|
+
"eslint-plugin-comment-length": ">=0",
|
|
61
|
+
"eslint-plugin-functional": ">=4",
|
|
62
|
+
"eslint-plugin-import": ">=2",
|
|
63
|
+
"eslint-plugin-jest": ">=26",
|
|
64
|
+
"eslint-plugin-jsonc": ">=2",
|
|
65
|
+
"eslint-plugin-unicorn": ">=43",
|
|
66
|
+
"eslint-plugin-yml": ">=1",
|
|
67
|
+
"graphql": ">=16",
|
|
57
68
|
"husky": "^4.2.5",
|
|
58
|
-
"jest": "
|
|
69
|
+
"jest": ">=26",
|
|
70
|
+
"metro-react-native-babel-preset": "^0.70.3",
|
|
59
71
|
"pod-install": "^0.1.0",
|
|
60
|
-
"
|
|
61
|
-
"react": "
|
|
62
|
-
"react-native": "0.62.0",
|
|
72
|
+
"react": "17",
|
|
73
|
+
"react-native": "0.68",
|
|
63
74
|
"react-native-builder-bob": "^0.18.1",
|
|
64
75
|
"release-it": "14",
|
|
65
|
-
"typescript": "4"
|
|
76
|
+
"typescript": ">=4"
|
|
66
77
|
},
|
|
67
78
|
"peerDependencies": {
|
|
68
79
|
"react": "*",
|
|
@@ -107,35 +118,10 @@
|
|
|
107
118
|
}
|
|
108
119
|
}
|
|
109
120
|
},
|
|
110
|
-
"eslintConfig": {
|
|
111
|
-
"extends": [
|
|
112
|
-
"@react-native-community",
|
|
113
|
-
"prettier"
|
|
114
|
-
],
|
|
115
|
-
"rules": {
|
|
116
|
-
"prettier/prettier": [
|
|
117
|
-
"error",
|
|
118
|
-
{
|
|
119
|
-
"quoteProps": "consistent",
|
|
120
|
-
"singleQuote": true,
|
|
121
|
-
"tabWidth": 2,
|
|
122
|
-
"trailingComma": "es5",
|
|
123
|
-
"useTabs": false
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
121
|
"eslintIgnore": [
|
|
129
122
|
"node_modules/",
|
|
130
123
|
"lib/"
|
|
131
124
|
],
|
|
132
|
-
"prettier": {
|
|
133
|
-
"quoteProps": "consistent",
|
|
134
|
-
"singleQuote": true,
|
|
135
|
-
"tabWidth": 2,
|
|
136
|
-
"trailingComma": "es5",
|
|
137
|
-
"useTabs": false
|
|
138
|
-
},
|
|
139
125
|
"react-native-builder-bob": {
|
|
140
126
|
"source": "src",
|
|
141
127
|
"output": "lib",
|