react-native-clarity 2.3.0 → 3.0.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/package.json CHANGED
@@ -1,159 +1,165 @@
1
- {
2
- "name": "react-native-clarity",
3
- "version": "2.3.0",
4
- "description": "A plugin to provide the Clarity experience for the React Native applications.",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
10
- "files": [
11
- "src",
12
- "lib",
13
- "android",
14
- "ios",
15
- "cpp",
16
- "*.podspec",
17
- "!lib/typescript/example",
18
- "!ios/build",
19
- "!android/build",
20
- "!android/gradle",
21
- "!android/gradlew",
22
- "!android/gradlew.bat",
23
- "!android/local.properties",
24
- "!**/__tests__",
25
- "!**/__fixtures__",
26
- "!**/__mocks__",
27
- "!**/.*"
28
- ],
29
- "scripts": {
30
- "test": "jest",
31
- "typecheck": "tsc --noEmit",
32
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
- "prepack": "bob build",
34
- "release": "release-it",
35
- "example": "yarn --cwd example",
36
- "bootstrap": "yarn example && yarn install && yarn example pods",
37
- "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build *.tgz"
38
- },
39
- "keywords": [
40
- "react-native",
41
- "android"
42
- ],
43
- "repository": "https://github.com/microsoft/clarity-apps",
44
- "author": "Microsoft - Clarity <clarity-apps-support@microsoft.com> (https://github.com/microsoft/clarity-apps)",
45
- "license": "MIT",
46
- "bugs": {
47
- "url": "https://github.com/microsoft/clarity-apps/issues"
48
- },
49
- "homepage": "https://clarity.microsoft.com/",
50
- "publishConfig": {
51
- "registry": "https://registry.npmjs.org/"
52
- },
53
- "devDependencies": {
54
- "@evilmartians/lefthook": "^1.2.2",
55
- "@commitlint/config-conventional": "^17.0.2",
56
- "@react-native-community/eslint-config": "^3.0.2",
57
- "@release-it/conventional-changelog": "^5.0.0",
58
- "@types/jest": "^28.1.2",
59
- "@types/react": "~17.0.21",
60
- "@types/react-native": "0.70.0",
61
- "commitlint": "^17.0.2",
62
- "del-cli": "^5.0.0",
63
- "eslint": "^8.4.1",
64
- "eslint-config-prettier": "^8.5.0",
65
- "eslint-plugin-prettier": "^4.0.0",
66
- "jest": "^28.1.1",
67
- "pod-install": "^0.1.0",
68
- "prettier": "^2.0.5",
69
- "react": "18.2.0",
70
- "react-native": "0.71.3",
71
- "react-native-builder-bob": "^0.20.0",
72
- "release-it": "^15.0.0",
73
- "typescript": "^4.5.2"
74
- },
75
- "resolutions": {
76
- "@types/react": "17.0.21"
77
- },
78
- "peerDependencies": {
79
- "react": "*",
80
- "react-native": "*"
81
- },
82
- "engines": {
83
- "node": ">= 16.0.0"
84
- },
85
- "packageManager": "^yarn@1.22.15",
86
- "jest": {
87
- "preset": "react-native",
88
- "modulePathIgnorePatterns": [
89
- "<rootDir>/example/node_modules",
90
- "<rootDir>/lib/"
91
- ]
92
- },
93
- "commitlint": {
94
- "extends": [
95
- "@commitlint/config-conventional"
96
- ]
97
- },
98
- "release-it": {
99
- "git": {
100
- "commitMessage": "chore: release ${version}",
101
- "tagName": "v${version}"
102
- },
103
- "npm": {
104
- "publish": true
105
- },
106
- "github": {
107
- "release": true
108
- },
109
- "plugins": {
110
- "@release-it/conventional-changelog": {
111
- "preset": "angular"
112
- }
113
- }
114
- },
115
- "eslintConfig": {
116
- "root": true,
117
- "extends": [
118
- "@react-native-community",
119
- "prettier"
120
- ],
121
- "rules": {
122
- "prettier/prettier": [
123
- "error",
124
- {
125
- "quoteProps": "consistent",
126
- "singleQuote": true,
127
- "tabWidth": 2,
128
- "trailingComma": "es5",
129
- "useTabs": false
130
- }
131
- ]
132
- }
133
- },
134
- "eslintIgnore": [
135
- "node_modules/",
136
- "lib/"
137
- ],
138
- "prettier": {
139
- "quoteProps": "consistent",
140
- "singleQuote": true,
141
- "tabWidth": 2,
142
- "trailingComma": "es5",
143
- "useTabs": false
144
- },
145
- "react-native-builder-bob": {
146
- "source": "src",
147
- "output": "lib",
148
- "targets": [
149
- "commonjs",
150
- "module",
151
- [
152
- "typescript",
153
- {
154
- "project": "tsconfig.build.json"
155
- }
156
- ]
157
- ]
158
- }
159
- }
1
+ {
2
+ "name": "react-native-clarity",
3
+ "version": "3.0.0",
4
+ "description": "A plugin to provide the Clarity experience for the React Native applications.",
5
+ "main": "lib/commonjs/index",
6
+ "module": "lib/module/index",
7
+ "types": "lib/typescript/index.d.ts",
8
+ "react-native": "src/index",
9
+ "source": "src/index",
10
+ "files": [
11
+ "src",
12
+ "lib",
13
+ "android",
14
+ "ios",
15
+ "cpp",
16
+ "*.podspec",
17
+ "!lib/typescript/example",
18
+ "!ios/build",
19
+ "!android/build",
20
+ "!android/gradle",
21
+ "!android/gradlew",
22
+ "!android/gradlew.bat",
23
+ "!android/local.properties",
24
+ "!**/__tests__",
25
+ "!**/__fixtures__",
26
+ "!**/__mocks__",
27
+ "!**/.*"
28
+ ],
29
+ "scripts": {
30
+ "test": "jest",
31
+ "typecheck": "tsc --noEmit",
32
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
+ "prepack": "bob build",
34
+ "release": "release-it",
35
+ "example": "yarn --cwd example",
36
+ "bootstrap": "yarn example && yarn install && yarn example pods",
37
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build *.tgz"
38
+ },
39
+ "keywords": [
40
+ "react-native",
41
+ "android"
42
+ ],
43
+ "repository": "https://github.com/microsoft/clarity-apps",
44
+ "author": "Microsoft - Clarity <clarity-apps-support@microsoft.com> (https://github.com/microsoft/clarity-apps)",
45
+ "license": "MIT",
46
+ "bugs": {
47
+ "url": "https://github.com/microsoft/clarity-apps/issues"
48
+ },
49
+ "homepage": "https://clarity.microsoft.com/",
50
+ "publishConfig": {
51
+ "registry": "https://registry.npmjs.org/"
52
+ },
53
+ "devDependencies": {
54
+ "@evilmartians/lefthook": "^1.2.2",
55
+ "@commitlint/config-conventional": "^17.0.2",
56
+ "@react-native-community/eslint-config": "^3.0.2",
57
+ "@release-it/conventional-changelog": "^5.0.0",
58
+ "@types/jest": "^28.1.2",
59
+ "@types/react": "~17.0.21",
60
+ "@types/react-native": "0.70.0",
61
+ "commitlint": "^17.0.2",
62
+ "del-cli": "^5.0.0",
63
+ "eslint": "^8.4.1",
64
+ "eslint-config-prettier": "^8.5.0",
65
+ "eslint-plugin-prettier": "^4.0.0",
66
+ "jest": "^28.1.1",
67
+ "pod-install": "^0.1.0",
68
+ "prettier": "^2.0.5",
69
+ "react": "18.2.0",
70
+ "react-native": "0.71.3",
71
+ "react-native-builder-bob": "^0.20.0",
72
+ "release-it": "^15.0.0",
73
+ "typescript": "^4.5.2"
74
+ },
75
+ "resolutions": {
76
+ "@types/react": "17.0.21"
77
+ },
78
+ "peerDependencies": {
79
+ "react": "*",
80
+ "react-native": "*",
81
+ "react-native-svg": ">=14.0.0"
82
+ },
83
+ "peerDependenciesMeta": {
84
+ "react-native-svg": {
85
+ "optional": true
86
+ }
87
+ },
88
+ "engines": {
89
+ "node": ">= 16.0.0"
90
+ },
91
+ "packageManager": "^yarn@1.22.15",
92
+ "jest": {
93
+ "preset": "react-native",
94
+ "modulePathIgnorePatterns": [
95
+ "<rootDir>/example/node_modules",
96
+ "<rootDir>/lib/"
97
+ ]
98
+ },
99
+ "commitlint": {
100
+ "extends": [
101
+ "@commitlint/config-conventional"
102
+ ]
103
+ },
104
+ "release-it": {
105
+ "git": {
106
+ "commitMessage": "chore: release ${version}",
107
+ "tagName": "v${version}"
108
+ },
109
+ "npm": {
110
+ "publish": true
111
+ },
112
+ "github": {
113
+ "release": true
114
+ },
115
+ "plugins": {
116
+ "@release-it/conventional-changelog": {
117
+ "preset": "angular"
118
+ }
119
+ }
120
+ },
121
+ "eslintConfig": {
122
+ "root": true,
123
+ "extends": [
124
+ "@react-native-community",
125
+ "prettier"
126
+ ],
127
+ "rules": {
128
+ "prettier/prettier": [
129
+ "error",
130
+ {
131
+ "quoteProps": "consistent",
132
+ "singleQuote": true,
133
+ "tabWidth": 2,
134
+ "trailingComma": "es5",
135
+ "useTabs": false
136
+ }
137
+ ]
138
+ }
139
+ },
140
+ "eslintIgnore": [
141
+ "node_modules/",
142
+ "lib/"
143
+ ],
144
+ "prettier": {
145
+ "quoteProps": "consistent",
146
+ "singleQuote": true,
147
+ "tabWidth": 2,
148
+ "trailingComma": "es5",
149
+ "useTabs": false
150
+ },
151
+ "react-native-builder-bob": {
152
+ "source": "src",
153
+ "output": "lib",
154
+ "targets": [
155
+ "commonjs",
156
+ "module",
157
+ [
158
+ "typescript",
159
+ {
160
+ "project": "tsconfig.build.json"
161
+ }
162
+ ]
163
+ ]
164
+ }
165
+ }
@@ -11,12 +11,13 @@ Pod::Spec.new do |s|
11
11
  s.license = package["license"]
12
12
  s.authors = package["author"]
13
13
 
14
- s.platforms = { :ios => "11.0" }
14
+ s.platforms = { :ios => "13.0" }
15
15
  s.source = { :git => "https://msasg.visualstudio.com/Clarity/_git/clarity-react-native.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm}"
18
18
 
19
19
  s.dependency "React-Core"
20
+ s.dependency "Clarity", '1.0.0'
20
21
 
21
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
22
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then