react-native-clarity 2.2.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.
package/package.json CHANGED
@@ -1,159 +1,159 @@
1
- {
2
- "name": "react-native-clarity",
3
- "version": "2.2.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": "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,35 +1,35 @@
1
- require "json"
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
-
6
- Pod::Spec.new do |s|
7
- s.name = "react-native-clarity"
8
- s.version = package["version"]
9
- s.summary = package["description"]
10
- s.homepage = package["homepage"]
11
- s.license = package["license"]
12
- s.authors = package["author"]
13
-
14
- s.platforms = { :ios => "11.0" }
15
- s.source = { :git => "https://msasg.visualstudio.com/Clarity/_git/clarity-react-native.git", :tag => "#{s.version}" }
16
-
17
- s.source_files = "ios/**/*.{h,m,mm}"
18
-
19
- s.dependency "React-Core"
20
-
21
- # Don't install the dependencies when we run `pod install` in the old architecture.
22
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
23
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
24
- s.pod_target_xcconfig = {
25
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
26
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
27
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
28
- }
29
- s.dependency "React-Codegen"
30
- s.dependency "RCT-Folly"
31
- s.dependency "RCTRequired"
32
- s.dependency "RCTTypeSafety"
33
- s.dependency "ReactCommon/turbomodule/core"
34
- end
35
- end
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
+
6
+ Pod::Spec.new do |s|
7
+ s.name = "react-native-clarity"
8
+ s.version = package["version"]
9
+ s.summary = package["description"]
10
+ s.homepage = package["homepage"]
11
+ s.license = package["license"]
12
+ s.authors = package["author"]
13
+
14
+ s.platforms = { :ios => "11.0" }
15
+ s.source = { :git => "https://msasg.visualstudio.com/Clarity/_git/clarity-react-native.git", :tag => "#{s.version}" }
16
+
17
+ s.source_files = "ios/**/*.{h,m,mm}"
18
+
19
+ s.dependency "React-Core"
20
+
21
+ # Don't install the dependencies when we run `pod install` in the old architecture.
22
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
23
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
24
+ s.pod_target_xcconfig = {
25
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
26
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
27
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
28
+ }
29
+ s.dependency "React-Codegen"
30
+ s.dependency "RCT-Folly"
31
+ s.dependency "RCTRequired"
32
+ s.dependency "RCTTypeSafety"
33
+ s.dependency "ReactCommon/turbomodule/core"
34
+ end
35
+ end