@rdlabo/capacitor-brotherprint 4.0.0 → 5.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.
Files changed (29) hide show
  1. package/android/.gradle/8.0.2/checksums/checksums.lock +0 -0
  2. package/android/.gradle/{5.6.4/javaCompile/classAnalysis.bin → 8.0.2/checksums/sha1-checksums.bin} +0 -0
  3. package/android/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  4. package/android/.gradle/{5.6.4/javaCompile/jarAnalysis.bin → 8.0.2/executionHistory/executionHistory.bin} +0 -0
  5. package/android/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
  6. package/android/.gradle/{5.6.4/fileHashes/resourceHashesCache.bin → 8.0.2/fileHashes/fileHashes.bin} +0 -0
  7. package/android/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
  8. package/android/.gradle/8.0.2/gc.properties +0 -0
  9. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
  11. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/android/.gradle/file-system.probe +0 -0
  13. package/android/build.gradle +7 -6
  14. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  15. package/android/gradle/wrapper/gradle-wrapper.properties +2 -1
  16. package/android/gradle.properties +1 -2
  17. package/android/gradlew +14 -4
  18. package/android/gradlew.bat +15 -23
  19. package/android/src/main/AndroidManifest.xml +1 -1
  20. package/package.json +13 -10
  21. package/android/.gradle/5.6.4/executionHistory/executionHistory.bin +0 -0
  22. package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
  23. package/android/.gradle/5.6.4/fileContent/fileContent.lock +0 -0
  24. package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
  25. package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
  26. package/android/.gradle/5.6.4/javaCompile/javaCompile.lock +0 -0
  27. package/android/.gradle/5.6.4/javaCompile/taskHistory.bin +0 -0
  28. /package/android/.gradle/{5.6.4 → 8.0.2/dependencies-accessors}/gc.properties +0 -0
  29. /package/android/.gradle/{5.6.4 → 8.0.2}/fileChanges/last-build.bin +0 -0
File without changes
@@ -1,2 +1,2 @@
1
- #Sun Aug 02 21:49:29 JST 2020
2
- gradle.version=5.6.4
1
+ #Tue Jun 27 10:51:56 JST 2023
2
+ gradle.version=8.0.2
@@ -1,7 +1,7 @@
1
1
  ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
4
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
4
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
5
5
  }
6
6
 
7
7
  buildscript {
@@ -10,17 +10,18 @@ buildscript {
10
10
  mavenCentral()
11
11
  }
12
12
  dependencies {
13
- classpath 'com.android.tools.build:gradle:7.2.1'
13
+ classpath 'com.android.tools.build:gradle:8.0.0'
14
14
  }
15
15
  }
16
16
 
17
17
  apply plugin: 'com.android.library'
18
18
 
19
19
  android {
20
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
20
+ namespace "jp.rdlabo.capacitor.plugin.brotherprint.capacitorbrotherprint"
21
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
21
22
  defaultConfig {
22
23
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
23
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
24
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
24
25
  versionCode 1
25
26
  versionName "1.0"
26
27
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -1,5 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
4
+ networkTimeout=10000
4
5
  zipStoreBase=GRADLE_USER_HOME
5
6
  zipStorePath=wrapper/dists
@@ -20,5 +20,4 @@ org.gradle.jvmargs=-Xmx1536m
20
20
  # Android operating system, and which are packaged with your app's APK
21
21
  # https://developer.android.com/topic/libraries/support-library/androidx-rn
22
22
  android.useAndroidX=true
23
- # Automatically convert third-party libraries to use AndroidX
24
- android.enableJetifier=true
23
+
package/android/gradlew CHANGED
@@ -55,7 +55,7 @@
55
55
  # Darwin, MinGW, and NonStop.
56
56
  #
57
57
  # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58
+ # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
59
  # within the Gradle project.
60
60
  #
61
61
  # You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
80
80
  esac
81
81
  done
82
82
 
83
- APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84
-
85
- APP_NAME="Gradle"
83
+ # This is normally unused
84
+ # shellcheck disable=SC2034
86
85
  APP_BASE_NAME=${0##*/}
86
+ APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87
87
 
88
88
  # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
89
  DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143
143
  if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144
144
  case $MAX_FD in #(
145
145
  max*)
146
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147
+ # shellcheck disable=SC3045
146
148
  MAX_FD=$( ulimit -H -n ) ||
147
149
  warn "Could not query maximum file descriptor limit"
148
150
  esac
149
151
  case $MAX_FD in #(
150
152
  '' | soft) :;; #(
151
153
  *)
154
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155
+ # shellcheck disable=SC3045
152
156
  ulimit -n "$MAX_FD" ||
153
157
  warn "Could not set maximum file descriptor limit to $MAX_FD"
154
158
  esac
@@ -205,6 +209,12 @@ set -- \
205
209
  org.gradle.wrapper.GradleWrapperMain \
206
210
  "$@"
207
211
 
212
+ # Stop when "xargs" is not available.
213
+ if ! command -v xargs >/dev/null 2>&1
214
+ then
215
+ die "xargs is not available"
216
+ fi
217
+
208
218
  # Use "xargs" to parse quoted args.
209
219
  #
210
220
  # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
@@ -14,7 +14,7 @@
14
14
  @rem limitations under the License.
15
15
  @rem
16
16
 
17
- @if "%DEBUG%" == "" @echo off
17
+ @if "%DEBUG%"=="" @echo off
18
18
  @rem ##########################################################################
19
19
  @rem
20
20
  @rem Gradle startup script for Windows
@@ -25,10 +25,14 @@
25
25
  if "%OS%"=="Windows_NT" setlocal
26
26
 
27
27
  set DIRNAME=%~dp0
28
- if "%DIRNAME%" == "" set DIRNAME=.
28
+ if "%DIRNAME%"=="" set DIRNAME=.
29
+ @rem This is normally unused
29
30
  set APP_BASE_NAME=%~n0
30
31
  set APP_HOME=%DIRNAME%
31
32
 
33
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
+
32
36
  @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
33
37
  set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
34
38
 
@@ -37,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
37
41
 
38
42
  set JAVA_EXE=java.exe
39
43
  %JAVA_EXE% -version >NUL 2>&1
40
- if "%ERRORLEVEL%" == "0" goto init
44
+ if %ERRORLEVEL% equ 0 goto execute
41
45
 
42
46
  echo.
43
47
  echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -51,7 +55,7 @@ goto fail
51
55
  set JAVA_HOME=%JAVA_HOME:"=%
52
56
  set JAVA_EXE=%JAVA_HOME%/bin/java.exe
53
57
 
54
- if exist "%JAVA_EXE%" goto init
58
+ if exist "%JAVA_EXE%" goto execute
55
59
 
56
60
  echo.
57
61
  echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -61,38 +65,26 @@ echo location of your Java installation.
61
65
 
62
66
  goto fail
63
67
 
64
- :init
65
- @rem Get command-line arguments, handling Windows variants
66
-
67
- if not "%OS%" == "Windows_NT" goto win9xME_args
68
-
69
- :win9xME_args
70
- @rem Slurp the command line arguments.
71
- set CMD_LINE_ARGS=
72
- set _SKIP=2
73
-
74
- :win9xME_args_slurp
75
- if "x%~1" == "x" goto execute
76
-
77
- set CMD_LINE_ARGS=%*
78
-
79
68
  :execute
80
69
  @rem Setup the command line
81
70
 
82
71
  set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
83
72
 
73
+
84
74
  @rem Execute Gradle
85
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
86
76
 
87
77
  :end
88
78
  @rem End local scope for the variables with windows NT shell
89
- if "%ERRORLEVEL%"=="0" goto mainEnd
79
+ if %ERRORLEVEL% equ 0 goto mainEnd
90
80
 
91
81
  :fail
92
82
  rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
93
83
  rem the _cmd.exe /c_ return code!
94
- if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
95
- exit /b 1
84
+ set EXIT_CODE=%ERRORLEVEL%
85
+ if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
+ if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
+ exit /b %EXIT_CODE%
96
88
 
97
89
  :mainEnd
98
90
  if "%OS%"=="Windows_NT" endlocal
@@ -1,6 +1,6 @@
1
1
 
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="jp.rdlabo.capacitor.plugin.brotherprint.capacitorbrotherprint">
3
+ >
4
4
 
5
5
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
6
6
 
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@rdlabo/capacitor-brotherprint",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "Capacitor plugin for Brother Print SDK",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
8
+ "engines": {
9
+ "node": "18.x"
10
+ },
8
11
  "scripts": {
9
12
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
10
13
  "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
@@ -26,27 +29,27 @@
26
29
  "author": "Masahiko Sakakibara<sakakibara@rdlabo.jp>",
27
30
  "license": "MIT",
28
31
  "devDependencies": {
29
- "@capacitor/android": "^4.0.0",
30
- "@capacitor/core": "^4.0.0",
32
+ "@capacitor/android": "^5.0.0",
33
+ "@capacitor/core": "^5.0.0",
31
34
  "@capacitor/docgen": "^0.0.18",
32
- "@capacitor/ios": "^4.0.0",
35
+ "@capacitor/ios": "^5.0.0",
33
36
  "@ionic/eslint-config": "^0.3.0",
34
37
  "@ionic/prettier-config": "^1.0.1",
35
38
  "@ionic/swiftlint-config": "^1.1.2",
39
+ "@rollup/plugin-node-resolve": "^8.1.0",
36
40
  "eslint": "^7.11.0",
41
+ "husky": "^4.2.5",
42
+ "np": "^8.0.4",
37
43
  "prettier": "~2.3.0",
38
44
  "prettier-plugin-java": "~1.0.2",
45
+ "pretty-quick": "^2.0.1",
39
46
  "rimraf": "^3.0.2",
40
47
  "rollup": "^2.32.0",
41
48
  "swiftlint": "^1.0.1",
42
- "typescript": "~4.1.5",
43
- "@rollup/plugin-node-resolve": "^8.1.0",
44
- "np": "^6.3.2",
45
- "husky": "^4.2.5",
46
- "pretty-quick": "^2.0.1"
49
+ "typescript": "~4.1.5"
47
50
  },
48
51
  "peerDependencies": {
49
- "@capacitor/core": "^4.0.0"
52
+ "@capacitor/core": "^5.0.0"
50
53
  },
51
54
  "husky": {
52
55
  "hooks": {