@saltcorn/mobile-builder 1.1.1-rc.1 → 1.1.1-rc.3
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/docker/Dockerfile +9 -10
- package/docker/entry.bash +1 -1
- package/package.json +8 -8
package/docker/Dockerfile
CHANGED
|
@@ -23,25 +23,24 @@ WORKDIR /init_project
|
|
|
23
23
|
RUN npm init -y
|
|
24
24
|
RUN mkdir www
|
|
25
25
|
RUN touch www/index.html
|
|
26
|
-
RUN npm install @capacitor/cli @capacitor/core @capacitor/android
|
|
26
|
+
RUN npm install @capacitor/cli@6.2.0 @capacitor/core@6.2.0 @capacitor/android@6.2.0
|
|
27
27
|
RUN npx cap init MyApp com.example.myapp --web-dir www
|
|
28
28
|
RUN npx cap add android
|
|
29
29
|
RUN npx cap sync
|
|
30
30
|
|
|
31
|
+
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
|
|
31
32
|
ENV ANDROID_SDK_ROOT=/android_sdk
|
|
32
33
|
ENV ANDROID_HOME=/android_sdk
|
|
33
34
|
ENV GRADLE_HOME=/opt/gradle-8.4
|
|
34
35
|
ENV PATH=$PATH:/opt/gradle-8.4/bin
|
|
35
36
|
|
|
36
|
-
RUN
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
zipStorePath=wrapper/dists
|
|
44
|
-
EOF
|
|
37
|
+
RUN echo "distributionBase=GRADLE_USER_HOME\n\
|
|
38
|
+
distributionPath=wrapper/dists\n\
|
|
39
|
+
distributionUrl=file:/gradle-8.4-all.zip\n\
|
|
40
|
+
networkTimeout=10000\n\
|
|
41
|
+
validateDistributionUrl=true\n\
|
|
42
|
+
zipStoreBase=GRADLE_USER_HOME\n\
|
|
43
|
+
zipStorePath=wrapper/dists" > /init_project/android/gradle/wrapper/gradle-wrapper.properties
|
|
45
44
|
|
|
46
45
|
WORKDIR /init_project/android
|
|
47
46
|
RUN ./gradlew assembleDebug
|
package/docker/entry.bash
CHANGED
|
@@ -22,7 +22,7 @@ export GRADLE_HOME=/opt/gradle-8.4
|
|
|
22
22
|
export PATH=$PATH:/opt/gradle-8.4/bin
|
|
23
23
|
|
|
24
24
|
cd /saltcorn-mobile-app
|
|
25
|
-
npm install @capacitor/cli @capacitor/core @capacitor/android
|
|
25
|
+
npm install @capacitor/cli@6.2.0 @capacitor/core@6.2.0 @capacitor/android@6.2.0
|
|
26
26
|
npx cap sync
|
|
27
27
|
|
|
28
28
|
# data extraction rules
|
package/package.json
CHANGED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
"description": "plugin to to build a mobile app from a tenant application",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
5
|
"repository": "github:saltcorn/saltcorn",
|
|
6
|
-
"version": "1.1.1-rc.
|
|
6
|
+
"version": "1.1.1-rc.3",
|
|
7
7
|
"author": "Christian Hugo",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "jest ./tests/ --runInBand",
|
|
10
10
|
"build": "webpack --mode development"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@saltcorn/markup": "1.1.1-rc.
|
|
14
|
-
"@saltcorn/data": "1.1.1-rc.
|
|
15
|
-
"@saltcorn/db-common": "1.1.1-rc.
|
|
16
|
-
"@saltcorn/server": "1.1.1-rc.
|
|
17
|
-
"@saltcorn/base-plugin": "1.1.1-rc.
|
|
18
|
-
"@saltcorn/sbadmin2": "1.1.1-rc.
|
|
19
|
-
"@saltcorn/mobile-app": "1.1.1-rc.
|
|
13
|
+
"@saltcorn/markup": "1.1.1-rc.3",
|
|
14
|
+
"@saltcorn/data": "1.1.1-rc.3",
|
|
15
|
+
"@saltcorn/db-common": "1.1.1-rc.3",
|
|
16
|
+
"@saltcorn/server": "1.1.1-rc.3",
|
|
17
|
+
"@saltcorn/base-plugin": "1.1.1-rc.3",
|
|
18
|
+
"@saltcorn/sbadmin2": "1.1.1-rc.3",
|
|
19
|
+
"@saltcorn/mobile-app": "1.1.1-rc.3",
|
|
20
20
|
"fs-extra": "^10.0.1",
|
|
21
21
|
"live-plugin-manager": "^0.17.1",
|
|
22
22
|
"resize-with-sharp-or-jimp": "0.1.8",
|