chore: initial commit
parents
Showing
.editorconfig
0 → 100644
.gitattributes
0 → 100644
.github/workflows/ci.yml
0 → 100644
.gitignore
0 → 100644
.nvmrc
0 → 100644
.watchmanconfig
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
.yarnrc.yml
0 → 100644
CODE_OF_CONDUCT.md
0 → 100644
CONTRIBUTING.md
0 → 100644
LICENSE
0 → 100644
QmsPlugin.podspec
0 → 100644
| require "json" | ||
| package = JSON.parse(File.read(File.join(__dir__, "package.json"))) | ||
| Pod::Spec.new do |s| | ||
| s.name = "QmsPlugin" | ||
| s.version = package["version"] | ||
| s.summary = package["description"] | ||
| s.homepage = package["homepage"] | ||
| s.license = package["license"] | ||
| s.authors = package["author"] | ||
| s.platforms = { :ios => min_ios_version_supported } | ||
| s.source = { :git => "http://convep.ddns.me:20000/alepmustaqim03/qms-plugin.git.git", :tag => "#{s.version}" } | ||
| s.source_files = "ios/**/*.{h,m,mm,cpp}" | ||
| s.private_header_files = "ios/**/*.h" | ||
| install_modules_dependencies(s) | ||
| end |
README.md
0 → 100644
android/build.gradle
0 → 100644
android/gradle.properties
0 → 100644
babel.config.js
0 → 100644
eslint.config.mjs
0 → 100644
example/.bundle/config
0 → 100644
example/.watchmanconfig
0 → 100644
example/Gemfile
0 → 100644
example/README.md
0 → 100644
File added
2.98 KB
4.91 KB
2.05 KB
2.79 KB
4.46 KB
6.93 KB
6.31 KB
10.4 KB
9.03 KB
15.2 KB
example/android/build.gradle
0 → 100644
File added
example/android/gradlew
0 → 100755
example/android/gradlew.bat
0 → 100644
example/app.json
0 → 100644
example/babel.config.js
0 → 100644
example/index.js
0 → 100644
example/ios/.xcode.env
0 → 100644
example/ios/Podfile
0 → 100644
example/jest.config.js
0 → 100644
example/metro.config.js
0 → 100644
example/package.json
0 → 100644
example/src/App.tsx
0 → 100644
ios/QmsPlugin.h
0 → 100644
ios/QmsPlugin.mm
0 → 100644
lefthook.yml
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "react-native-qms-plugin", | ||
| "version": "0.1.0", | ||
| "description": "defect management QMS plugin", | ||
| "main": "./lib/module/index.js", | ||
| "types": "./lib/typescript/src/index.d.ts", | ||
| "exports": { | ||
| ".": { | ||
| "source": "./src/index.tsx", | ||
| "types": "./lib/typescript/src/index.d.ts", | ||
| "default": "./lib/module/index.js" | ||
| }, | ||
| "./package.json": "./package.json" | ||
| }, | ||
| "files": [ | ||
| "src", | ||
| "lib", | ||
| "android", | ||
| "ios", | ||
| "cpp", | ||
| "*.podspec", | ||
| "react-native.config.js", | ||
| "!ios/build", | ||
| "!android/build", | ||
| "!android/gradle", | ||
| "!android/gradlew", | ||
| "!android/gradlew.bat", | ||
| "!android/local.properties", | ||
| "!**/__tests__", | ||
| "!**/__fixtures__", | ||
| "!**/__mocks__", | ||
| "!**/.*" | ||
| ], | ||
| "scripts": { | ||
| "example": "yarn workspace react-native-qms-plugin-example", | ||
| "test": "jest", | ||
| "typecheck": "tsc", | ||
| "lint": "eslint \"**/*.{js,ts,tsx}\"", | ||
| "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", | ||
| "prepare": "bob build", | ||
| "release": "release-it --only-version" | ||
| }, | ||
| "keywords": [ | ||
| "react-native", | ||
| "ios", | ||
| "android" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+http://convep.ddns.me:20000/alepmustaqim03/qms-plugin.git.git" | ||
| }, | ||
| "author": "Convep <convep@gamil.com> (https://www.convep.com/)", | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "http://convep.ddns.me:20000/alepmustaqim03/qms-plugin.git/issues" | ||
| }, | ||
| "homepage": "http://convep.ddns.me:20000/alepmustaqim03/qms-plugin.git#readme", | ||
| "publishConfig": { | ||
| "registry": "https://registry.npmjs.org/" | ||
| }, | ||
| "devDependencies": { | ||
| "@commitlint/config-conventional": "^19.8.1", | ||
| "@eslint/compat": "^1.3.2", | ||
| "@eslint/eslintrc": "^3.3.1", | ||
| "@eslint/js": "^9.35.0", | ||
| "@evilmartians/lefthook": "^1.12.3", | ||
| "@react-native-community/cli": "20.0.1", | ||
| "@react-native/babel-preset": "0.81.1", | ||
| "@react-native/eslint-config": "^0.81.1", | ||
| "@release-it/conventional-changelog": "^10.0.1", | ||
| "@types/jest": "^29.5.14", | ||
| "@types/react": "^19.1.0", | ||
| "commitlint": "^19.8.1", | ||
| "del-cli": "^6.0.0", | ||
| "eslint": "^9.35.0", | ||
| "eslint-config-prettier": "^10.1.8", | ||
| "eslint-plugin-prettier": "^5.5.4", | ||
| "jest": "^29.7.0", | ||
| "prettier": "^3.6.2", | ||
| "react": "19.1.0", | ||
| "react-native": "0.81.1", | ||
| "react-native-builder-bob": "^0.40.13", | ||
| "release-it": "^19.0.4", | ||
| "turbo": "^2.5.6", | ||
| "typescript": "^5.9.2" | ||
| }, | ||
| "peerDependencies": { | ||
| "react": "*", | ||
| "react-native": "*" | ||
| }, | ||
| "workspaces": [ | ||
| "example" | ||
| ], | ||
| "packageManager": "yarn@3.6.1", | ||
| "jest": { | ||
| "preset": "react-native", | ||
| "modulePathIgnorePatterns": [ | ||
| "<rootDir>/example/node_modules", | ||
| "<rootDir>/lib/" | ||
| ] | ||
| }, | ||
| "commitlint": { | ||
| "extends": [ | ||
| "@commitlint/config-conventional" | ||
| ] | ||
| }, | ||
| "release-it": { | ||
| "git": { | ||
| "commitMessage": "chore: release ${version}", | ||
| "tagName": "v${version}" | ||
| }, | ||
| "npm": { | ||
| "publish": true | ||
| }, | ||
| "github": { | ||
| "release": true | ||
| }, | ||
| "plugins": { | ||
| "@release-it/conventional-changelog": { | ||
| "preset": { | ||
| "name": "angular" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "prettier": { | ||
| "quoteProps": "consistent", | ||
| "singleQuote": true, | ||
| "tabWidth": 2, | ||
| "trailingComma": "es5", | ||
| "useTabs": false | ||
| }, | ||
| "react-native-builder-bob": { | ||
| "source": "src", | ||
| "output": "lib", | ||
| "targets": [ | ||
| [ | ||
| "module", | ||
| { | ||
| "esm": true | ||
| } | ||
| ], | ||
| [ | ||
| "typescript", | ||
| { | ||
| "project": "tsconfig.build.json" | ||
| } | ||
| ] | ||
| ] | ||
| }, | ||
| "codegenConfig": { | ||
| "name": "QmsPluginSpec", | ||
| "type": "modules", | ||
| "jsSrcsDir": "src", | ||
| "android": { | ||
| "javaPackageName": "com.qmsplugin" | ||
| } | ||
| }, | ||
| "create-react-native-library": { | ||
| "languages": "kotlin-objc", | ||
| "type": "turbo-module", | ||
| "version": "0.54.2" | ||
| } | ||
| } |
src/NativeQmsPlugin.ts
0 → 100644
src/__tests__/index.test.tsx
0 → 100644
src/index.tsx
0 → 100644
tsconfig.build.json
0 → 100644
tsconfig.json
0 → 100644
turbo.json
0 → 100644