Skip to content

Pull updates from a fork #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 109 commits into
base: unstable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
9c2e118
remove uses-sdk
okhiroyuki Nov 7, 2020
6515a79
Merge pull request #1 from okhiroyuki/fix/remove-uses-sdk
okhiroyuki Nov 7, 2020
0dce4f5
remove jniLibs.srcDirs
okhiroyuki Nov 7, 2020
c79ba8f
Merge pull request #2 from okhiroyuki/fix/cordova10-build-error
okhiroyuki Nov 7, 2020
4a2dbab
fixed to check and process the version
okhiroyuki Nov 8, 2020
4cad77f
Merge pull request #3 from okhiroyuki/fix/jnilibs-error
okhiroyuki Nov 8, 2020
0ba69c4
update plugin.xml
okhiroyuki Nov 8, 2020
d936d59
Merge pull request #4 from okhiroyuki/fix/set-min-sdk-version
okhiroyuki Nov 8, 2020
7344518
asyncInit when NodeModules is empty
okhiroyuki Jan 24, 2021
b11a0c3
Merge pull request #5 from okhiroyuki/feature/addEmptyNodeModules
okhiroyuki Jan 24, 2021
1cbe3be
bump version
okhiroyuki Jan 24, 2021
8515992
update README.md
okhiroyuki Jan 24, 2021
55c32cb
update id
okhiroyuki Jan 24, 2021
1728bd9
fix: isEmptyNodeModules method
okhiroyuki Jan 24, 2021
742a107
add unzip function
okhiroyuki Feb 5, 2021
34d2eca
fix: add void
okhiroyuki Feb 5, 2021
5af7b13
update plugin
okhiroyuki Feb 5, 2021
18311b6
update plugin.xml
okhiroyuki Feb 5, 2021
d6b1642
Merge pull request #6 from okhiroyuki/feature/add-zip
okhiroyuki Feb 5, 2021
6215876
feat: add reset command
okhiroyuki Feb 6, 2021
784a258
feat: add cold restart method
okhiroyuki Feb 6, 2021
680dfe9
fix: add intent
okhiroyuki Feb 6, 2021
3e1765d
fix: context
okhiroyuki Feb 6, 2021
62d5b8b
Merge pull request #7 from okhiroyuki/feature/add-reset
okhiroyuki Feb 6, 2021
5370542
fix: remove minSdkVersion
okhiroyuki Feb 16, 2021
517df62
chore: update README.md
okhiroyuki Feb 16, 2021
3754f22
Merge pull request #8 from okhiroyuki/fix/remove-minSdkVersion
okhiroyuki Feb 16, 2021
c5b8c2a
feat: support npm
okhiroyuki Apr 17, 2021
06133ed
Merge branch 'upstream' into unstable
okhiroyuki Aug 21, 2021
c51fa68
rollback version
okhiroyuki Aug 21, 2021
19e26f0
Merge pull request #9 from okhiroyuki/merge-v0.4.3
okhiroyuki Aug 21, 2021
1788d4b
feat: support cordova-android@10
okhiroyuki Aug 21, 2021
612ec36
bump version
okhiroyuki Aug 21, 2021
110b46c
chore: delete workflow
okhiroyuki Aug 22, 2021
0362e24
Merge branch 'upstream' into unstable
okhiroyuki Aug 25, 2021
2e36b17
feat: update libnode v16.17.1
okhiroyuki Feb 25, 2023
4746c15
feat: remove ios support
okhiroyuki Feb 26, 2023
014047d
feat: bump version
okhiroyuki Feb 27, 2023
a3af048
Merge pull request #13 from okhiroyuki/feature/update-node16-android
okhiroyuki Feb 27, 2023
07bc428
feat: update min sdk version
okhiroyuki Aug 19, 2023
9433817
Merge pull request #14 from okhiroyuki/feature/update-min-sdk-version
okhiroyuki Aug 19, 2023
8fe7de0
feat: update package.json
okhiroyuki Aug 19, 2023
bd02c1c
test: add android test
okhiroyuki Oct 7, 2023
4d8a522
Merge pull request #16 from okhiroyuki/feature/add-android-test
okhiroyuki Oct 7, 2023
9dcc687
Create build-android.yml (#17)
okhiroyuki Oct 7, 2023
2314fa5
chore: update gitignore
okhiroyuki Oct 7, 2023
a504309
feat: update npmignore
okhiroyuki Oct 7, 2023
faf1556
chore: add package-lock.json
okhiroyuki Oct 7, 2023
04677f4
chore: add renovate.json (#18)
okhiroyuki Oct 7, 2023
acecb11
chore: add editorconfig
okhiroyuki Oct 7, 2023
989b5a4
style: README
okhiroyuki Oct 7, 2023
f63f9c6
chore: add renovateFork=true
okhiroyuki Oct 7, 2023
e8185e6
fix: "includeForks": true
okhiroyuki Oct 7, 2023
1eb56ce
fix(deps): pin dependencies (#23)
renovate[bot] Oct 7, 2023
6c7b5e0
chore(deps): update dependency node to v18.18.0 (#25)
renovate[bot] Oct 7, 2023
289fa57
fix(deps): update dependency cordova-android to v12.0.1 (#24)
renovate[bot] Oct 7, 2023
911b3dc
chore: update renovate
okhiroyuki Oct 7, 2023
af96dc1
ci: update renovate
okhiroyuki Oct 7, 2023
c8585d7
Update renovate.json
okhiroyuki Oct 15, 2023
5fda7d7
chore(deps): update dependency node to v18.18.2
renovate[bot] Oct 15, 2023
24db976
chore(deps): lock file maintenance
renovate[bot] Oct 15, 2023
f5897de
feat: update [email protected] (#26)
okhiroyuki Oct 18, 2023
78d5f0f
chore(deps): pin dependencies (#29)
renovate[bot] Oct 18, 2023
4f153ad
bump version
okhiroyuki Oct 18, 2023
d0af7f6
refactor: script (#30)
okhiroyuki Oct 21, 2023
ad8fe4e
chore(deps): lock file maintenance
renovate[bot] Oct 22, 2023
3fa75c9
chore(deps): update actions/setup-node action to v4 (#32)
renovate[bot] Oct 24, 2023
1840078
feat: use prebuild toolchain for native modules (#35)
okhiroyuki Oct 28, 2023
f3bde9f
feat: build reproducible dir and file lists (#36)
okhiroyuki Oct 28, 2023
fa8d906
feat: rust cargo build environment variables (#37)
okhiroyuki Oct 28, 2023
aeda3f6
android: use input and output dir syntax in Gradle (#38)
okhiroyuki Oct 28, 2023
ee151bf
plugin: use lstatSync instead of statSync (#39)
okhiroyuki Oct 28, 2023
42ba2f7
plugin: refactor after-prepare-patch-npm-packages (#40)
okhiroyuki Oct 28, 2023
11f1d21
plugin: discovering node mobule gyp (#41)
okhiroyuki Oct 28, 2023
1710139
plugin: fix Android scripts finding node-gyp-build-mobile (#43)
okhiroyuki Oct 28, 2023
d36fa88
chore(deps): pin dependency node-gyp-build-mobile to 4.6.0-3 (#42)
renovate[bot] Oct 28, 2023
5fcc798
android: support native addons that need ranlib path (#44)
okhiroyuki Oct 28, 2023
7c9b462
chore: reinstall node-gyp-build-mobile (#45)
okhiroyuki Oct 28, 2023
02677d0
android: require MinSdkVersion (#46)
okhiroyuki Oct 28, 2023
12f817f
android: fix min sdk version (#48)
okhiroyuki Oct 28, 2023
f454126
android: require NDK 24.x (#49)
okhiroyuki Oct 28, 2023
9076fa8
android: modify npm_gyp_path_to_use (#50)
okhiroyuki Oct 28, 2023
1ce509c
android: fix npm_config_nodedir (#51)
okhiroyuki Oct 28, 2023
6201f31
android: set npm_gyp_path_to_use (#52)
okhiroyuki Oct 28, 2023
854f331
bump version
okhiroyuki Oct 28, 2023
22e9637
chore(deps): lock file maintenance
renovate[bot] Oct 29, 2023
e140077
chore(deps): lock file maintenance
renovate[bot] Nov 5, 2023
d10ad0e
chore(deps): lock file maintenance
renovate[bot] Nov 12, 2023
8a8492b
chore(deps): lock file maintenance
renovate[bot] Nov 19, 2023
750706d
chore(deps): lock file maintenance
renovate[bot] Nov 26, 2023
f9ced2c
chore(deps): update dependency node to v18.19.0
renovate[bot] Nov 29, 2023
9d02c76
chore(deps): lock file maintenance
renovate[bot] Dec 3, 2023
d654f8f
chore(deps): update actions/setup-java action to v4 (#58)
renovate[bot] Dec 9, 2023
b79397f
Fix nodejs-mobile-gyp resolution (#61)
jaimecbernardo Dec 9, 2023
1de9d47
bump version 3.2.0
okhiroyuki Dec 9, 2023
02b37e6
chore(deps): lock file maintenance
renovate[bot] Dec 31, 2023
6fc6b05
Add iOS Support (#63)
ManWithBear Jan 20, 2024
0f476c6
chore: update .gitignore (#64)
okhiroyuki Jan 20, 2024
c3f9cef
bump version 3.3.0 (#65)
okhiroyuki Jan 20, 2024
f2b66a1
ci: add npm publish (#67)
okhiroyuki Jan 20, 2024
cd7bdd1
ci: update npm publish (#68)
okhiroyuki Jan 20, 2024
b9a0c4a
ci: fix npm publish (#69)
okhiroyuki Jan 20, 2024
3e2b609
bump version 3.3.1 (#70)
okhiroyuki Jan 20, 2024
8a188dc
chore(deps): lock file maintenance
renovate[bot] Jan 21, 2024
ca30a3f
chore(deps): lock file maintenance
renovate[bot] Jan 28, 2024
d3ae1b6
plugin: Add helper script to prebuild native modules
ManWithBear Jan 30, 2024
537f90c
android: skip compilation of prebuilt modules
ManWithBear Jan 30, 2024
08a10a8
ios: skip rebuild of prebuilt native modules
ManWithBear Jan 30, 2024
2761d27
plugin: add mention of prebuilt modules in README
ManWithBear Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
37 changes: 0 additions & 37 deletions .github/workflows/build-android.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Android Project
on:
pull_request:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: set up JDK 11
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"
- name: Installing Cordova!
run: |
sudo npm i cordova -g
- name: npm install, build, and test
run: |
npm ci
npm run test:build --if-present
env:
CI: true
32 changes: 0 additions & 32 deletions .github/workflows/build-ios.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: npm publish

on:
workflow_run:
workflows: [Build Android Project]
branches: [main]
types: [completed]

jobs:
publish:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: JS-DevTools/npm-publish@v3
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Create Release
if: ${{ steps.publish.outputs.type }}
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.publish.outputs.version }}
release_name: Release ${{ steps.publish.outputs.version }}
body: ${{ steps.publish.outputs.version }}
draft: false
prerelease: false
184 changes: 182 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,182 @@
.vscode/
node_modules/
# Created by https://www.toptal.com/developers/gitignore/api/macos
# Edit at https://www.toptal.com/developers/gitignore?templates=macos

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

# End of https://www.toptal.com/developers/gitignore/api/macos

# Created by https://www.toptal.com/developers/gitignore/api/node
# Edit at https://www.toptal.com/developers/gitignore?templates=node

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

# End of https://www.toptal.com/developers/gitignore/api/node
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.19.0
20 changes: 20 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Testing, code coverage, and linting
.eslintignore
.eslintrc.yml
.jshinrc
.node-version
.editorconfig

# Git
.git
.gitattributes
.gitignore

# Github
.github

# test
tests/
testapp/

zipLibNode.js
Loading