react-native-ariel 0.1.0-dev.37 → 0.1.0-dev.39
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/android/build.gradle +5 -9
- package/android/generated/{android/app/build/generated/source/codegen/java/com/facebook/fbreact/specs → java/com/ariel}/NativeArielSpec.java +1 -1
- package/lib/module/index.web.js +0 -12
- package/lib/module/index.web.js.map +0 -1
- package/package.json +3 -3
- package/react-native.config.js +1 -1
- /package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/ArielSpec-generated.cpp +0 -0
- /package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/ArielSpec.h +0 -0
- /package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/CMakeLists.txt +0 -0
- /package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/react/renderer/components/ArielSpec/ArielSpecJSI.h +0 -0
- /package/ios/generated/{build/generated/ios/ReactCodegen → ReactCodegen}/ArielSpec/ArielSpec-generated.mm +0 -0
- /package/ios/generated/{build/generated/ios/ReactCodegen → ReactCodegen}/ArielSpec/ArielSpec.h +0 -0
- /package/ios/generated/{build/generated/ios/ReactCodegen → ReactCodegen}/ArielSpecJSI.h +0 -0
package/android/build.gradle
CHANGED
|
@@ -28,9 +28,7 @@ def isNewArchitectureEnabled() {
|
|
|
28
28
|
apply plugin: "com.android.library"
|
|
29
29
|
apply plugin: "kotlin-android"
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
apply plugin: "com.facebook.react"
|
|
33
|
-
}
|
|
31
|
+
apply plugin: "com.facebook.react"
|
|
34
32
|
|
|
35
33
|
def getExtOrDefault(name) {
|
|
36
34
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["Ariel_" + name]
|
|
@@ -135,10 +133,8 @@ dependencies {
|
|
|
135
133
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
136
134
|
}
|
|
137
135
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
codegenJavaPackageName = "com.ariel"
|
|
143
|
-
}
|
|
136
|
+
react {
|
|
137
|
+
jsRootDir = file("../src/")
|
|
138
|
+
libraryName = "Ariel"
|
|
139
|
+
codegenJavaPackageName = "com.ariel"
|
|
144
140
|
}
|
package/lib/module/index.web.js
CHANGED
|
@@ -15,16 +15,4 @@ export async function uniffiInitAsync() {
|
|
|
15
15
|
export default {
|
|
16
16
|
mermaid_wrapper
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=index.web.js.map});
|
|
19
|
-
|
|
20
|
-
// Initialize the generated bindings: mostly checksums, but also callbacks.
|
|
21
|
-
// - the boolean flag ensures this loads exactly once, even if the JS code
|
|
22
|
-
// is reloaded (e.g. during development with metro).
|
|
23
|
-
mermaid_wrapper.default.initialize();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Export the crates as individually namespaced objects.
|
|
27
|
-
export default {
|
|
28
|
-
mermaid_wrapper
|
|
29
|
-
};
|
|
30
18
|
//# sourceMappingURL=index.web.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
{"version":3,"names":["mermaid_wrapper","initAsync","wasmPath","uniffiInitAsync","module_or_path","default","initialize"],"sourceRoot":"../../src","sources":["index.web.tsx"],"mappings":";;AAAA;AACA;AACA,cAAc,oCAAiC;AAE/C,OAAO,KAAKA,eAAe,MAAM,oCAAiC;AAElE,OAAOC,SAAS,MAAM,oDAAoD;AAC1E,OAAOC,QAAQ,MAAM,yDAAyD;AAE9E,OAAO,eAAeC,eAAeA,CAAA,EAAG;EACtC,MAAMF,SAAS,CAAC;IAAEG,cAAc,EAAEF;EAAS,CAAC,CAAC;EAC7CF,eAAe,CAACK,OAAO,CAACC,UAAU,CAAC,CAAC;AACtC;AAEA,eAAe;EACbN;AACF,CAAC","ignoreList":[]}
|
|
2
|
-
Ae;EACbN;AACF,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-ariel",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.39",
|
|
4
4
|
"description": "Mermaid diagrams for React Native and React Native Web. No DOM. No WebView. Pure Rust.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"source": "./src/index.tsx",
|
|
7
7
|
"types": "./lib/typescript/src/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"browser": "./src/index.web.
|
|
10
|
+
"browser": "./src/index.web.ts",
|
|
11
11
|
"source": "./src/index.tsx",
|
|
12
12
|
"types": "./lib/typescript/src/index.d.ts",
|
|
13
13
|
"default": "./lib/module/index.js"
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"android": {
|
|
136
136
|
"javaPackageName": "com.ariel"
|
|
137
137
|
},
|
|
138
|
-
"includesGeneratedCode":
|
|
138
|
+
"includesGeneratedCode": true
|
|
139
139
|
},
|
|
140
140
|
"jest": {
|
|
141
141
|
"preset": "@react-native/jest-preset",
|
package/react-native.config.js
CHANGED
|
@@ -7,7 +7,7 @@ module.exports = {
|
|
|
7
7
|
android: {
|
|
8
8
|
cmakeListsPath: 'generated/jni/CMakeLists.txt',
|
|
9
9
|
cxxModuleCMakeListsModuleName: 'react-native-ariel',
|
|
10
|
-
cxxModuleCMakeListsPath: 'CMakeLists.txt',
|
|
10
|
+
cxxModuleCMakeListsPath: 'android/generated/jni/CMakeLists.txt',
|
|
11
11
|
cxxModuleHeaderName: 'ArielImpl',
|
|
12
12
|
},
|
|
13
13
|
},
|
|
File without changes
|
/package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/ArielSpec.h
RENAMED
|
File without changes
|
/package/android/generated/{android/app/build/generated/source/codegen/jni → jni}/CMakeLists.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/ios/generated/{build/generated/ios/ReactCodegen → ReactCodegen}/ArielSpec/ArielSpec.h
RENAMED
|
File without changes
|
|
File without changes
|