Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
45984d1
init yarn
huhuanming Dec 11, 2025
4a3cfea
init
huhuanming Dec 11, 2025
015c4f1
add ios code
huhuanming Dec 11, 2025
c002e9b
Create Gemfile.lock
huhuanming Dec 11, 2025
c7a9edc
1.1.1
huhuanming Dec 11, 2025
424645e
fix: fix build
huhuanming Dec 11, 2025
231892a
Update keys.c
huhuanming Dec 11, 2025
7f2ff36
fix: fix missing header
huhuanming Dec 11, 2025
3564381
Update metro.config.js
huhuanming Dec 11, 2025
2b10a4a
commit all
huhuanming Dec 11, 2025
8149585
Refactor LiteCardInfo type and getLiteInfo return value
huhuanming Dec 11, 2025
f4d9fde
fix promise type
huhuanming Dec 11, 2025
e100f00
Update LiteCard.swift
huhuanming Dec 11, 2025
fd948ce
Update LiteCard.swift
huhuanming Dec 11, 2025
a2972e3
remove code
huhuanming Dec 11, 2025
63173ef
init code
huhuanming Dec 11, 2025
8e01d8f
init
huhuanming Dec 11, 2025
8dd691a
init
huhuanming Dec 11, 2025
56ff195
Update metro.config.js
huhuanming Dec 11, 2025
8755eab
Add OnekeyLite NFC card module with type definitions
huhuanming Dec 11, 2025
111e80c
fix: fix code
huhuanming Dec 11, 2025
e3bcc43
fix: fix error
huhuanming Dec 11, 2025
6116c28
Update App.tsx
huhuanming Dec 11, 2025
3f57c73
Update ReactNativeLiteCard.mm
huhuanming Dec 11, 2025
998fbef
Update ReactNativeLiteCard.mm
huhuanming Dec 11, 2025
56169dd
Update App.tsx
huhuanming Dec 11, 2025
91128d0
add code
huhuanming Dec 11, 2025
06e2b43
fix: fix build
huhuanming Dec 11, 2025
29efc0e
remove code
huhuanming Dec 11, 2025
46b6cae
fix: fix kotlin code
huhuanming Dec 12, 2025
e07edda
fix: fix code
huhuanming Dec 12, 2025
4517775
Update ReactNativeLiteCardModule.kt
huhuanming Dec 12, 2025
ffa7df9
Update ReactNativeLiteCardModule.kt
huhuanming Dec 12, 2025
f83bcc9
Update package.json
huhuanming Dec 12, 2025
8c8d5f1
release it
huhuanming Dec 12, 2025
cd25397
Update README.md
huhuanming Dec 12, 2025
98928c4
Update package.json
huhuanming Dec 12, 2025
782bbd3
Update package.json
huhuanming Dec 12, 2025
41a5389
fix: fix version
huhuanming Dec 12, 2025
edbadc3
Create package-publish.yml
huhuanming Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: package-publish

on: workflow_dispatch

jobs:
package-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Comment thread
huhuanming marked this conversation as resolved.
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Package
run: yarn
- name:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn version:publish
79 changes: 79 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
node_modules
__generated__

.expo-shared
.expo
.DS_Store
.idea/
.vscode/
.chat/
.claude/PRPs
.claude/settings.local.json
.clauderc
.tmp/

dist
build-electron
.next
build
*.tsbuildinfo
yarn-error.log

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

.env
webpack.config.preview.json
webpack.config.preview.devServer.json

*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/
# !/apps/web-embed/web-build/
/inpage-provider-bak

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

# Support for Project snippet scope
.vscode/*.code-snippets

# Ignore code-workspaces
*.code-workspace

# Ignore yalc
.yalc/
yalc.lock

stats.json
stats.html
.java-version
.eslintcache
tsconfig.tsbuildinfo

test-report.html

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# Ignore tamagui config file
.tamagui
6 changes: 6 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

Comment thread
huhuanming marked this conversation as resolved.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# app-modules
# app-modules

## Create new package

## Publish all package

To update the versions of all workspace packages, run the following command in the project root directory:

```shell
yarn version:bump
yarn version:apply
```
Commit version changes and push to GitHub.

Run publish package actions on GitHub.
42 changes: 42 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://lefthook.dev/configuration/
#
# pre-push:
# jobs:
# - name: packages audit
# tags:
# - frontend
# - security
# run: yarn audit
#
# - name: gems audit
# tags:
# - backend
# - security
# run: bundle audit
#
# pre-commit:
# parallel: true
# jobs:
# - run: yarn eslint {staged_files}
# glob: "*.{js,ts,jsx,tsx}"
#
# - name: rubocop
# glob: "*.rb"
# exclude:
# - config/application.rb
# - config/routes.rb
# run: bundle exec rubocop --force-exclusion {all_files}
#
# - name: govet
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
#
# - script: "hello.js"
# runner: node
#
# - script: "hello.go"
# runner: go run
15 changes: 15 additions & 0 deletions native-modules/react-native-lite-card/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions native-modules/react-native-lite-card/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pbxproj -text
# specific for windows script files
*.bat text eol=crlf
Comment thread
huhuanming marked this conversation as resolved.
86 changes: 86 additions & 0 deletions native-modules/react-native-lite-card/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# OSX
#
.DS_Store

# XDE
.expo/

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
**/.xcode.env.local

# Android/IJ
#
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml

# Cocoapods
#
example/ios/Pods

# Ruby
example/vendor/

# node.js
#
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Expo
.expo/

# Turborepo
.turbo/

# generated by bob
lib/

# React Native Codegen
ios/generated
android/generated

# React Native Nitro Modules
nitrogen/
1 change: 1 addition & 0 deletions native-modules/react-native-lite-card/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.20.0
Comment thread
huhuanming marked this conversation as resolved.
1 change: 1 addition & 0 deletions native-modules/react-native-lite-card/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading