Skip to content

Commit

Permalink
feat: move to cli package folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rams23 committed Oct 10, 2023
1 parent 0f02a0d commit 0818e08
Show file tree
Hide file tree
Showing 58 changed files with 9,085 additions and 8,702 deletions.
12 changes: 1 addition & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
*-debug.log
*-error.log
/.nyc_output
/dist
/lib
/tmp
/yarn.lock
node_modules
oclif.manifest.json
.idea
.eslintcache
/build
node_modules
106 changes: 4 additions & 102 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,108 +1,10 @@
{
"name": "@xtreamsrl/react-native-incremental-cli",
"version": "0.1.2",
"description": "React Native CLI that caches native builds and speedup your development and release cycle",
"author": "Luca Micieli",
"bin": {
"react-native-incremental": "./bin/run",
"rn-incremental": "./bin/run",
"rni": "./bin/run"
},
"homepage": "https://github.com/xtreamsrl/react-native-incremental-cli",
"license": "MIT",
"main": "dist/index.js",
"repository": "xtreamsrl/react-native-incremental-cli",
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/apktool",
"/apktool.jar",
"/uber-apk-signer.jar"
],
"dependencies": {
"@firebase/auth": "^1.1.0",
"@oclif/core": "^2",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.3.2",
"@react-native-community/cli-platform-android": "10.2.0",
"@react-native-community/cli-platform-ios": "10.2.0",
"@react-native-community/cli-tools": "10.1.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/adm-zip": "^0.5.0",
"adm-zip": "^0.5.10",
"axios": "^1.3.4",
"chalk": "^4.1.2",
"dotenv": "^16.3.1",
"firebase": "^10.1.0",
"ios-deploy": "^1.12.1",
"javascript-obfuscator": "^4.0.2",
"lint-staged": "^13.1.2",
"open": "^8.4.2",
"prompts": "^2.4.2",
"rollup": "^3.28.0"
},
"name": "rnbuildhub",
"devDependencies": {
"@oclif/test": "^2.3.7",
"@react-native-community/cli": "^10.2.0",
"@react-native-community/cli-config": "^10.1.1",
"@types/chai": "^4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.18.12",
"@types/prompts": "^2.4.2",
"chai": "^4",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.3",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"install": "^0.13.0",
"mocha": "^10.2.0",
"npm": "^9.8.1",
"oclif": "^3",
"prettier": "^2.8.4",
"shx": "^0.3.3",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"oclif": {
"bin": "react-native-engine",
"dirname": "react-native-engine",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins"
],
"topicSeparator": " "
"lint-staged": "^13.1.2"
},
"scripts": {
"build": "shx rm -rf dist && shx rm -rf build && tsc -b",
"autoformat": "prettier --write \"src/**/*.ts\" && eslint --no-error-on-unmatched-pattern --fix --cache \"./src/**/*.{ts}\"",
"lint": "eslint . --ext .ts --config .eslintrc",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "pnpm run lint",
"typecheck": "tsc --noEmit",
"prepack": "pnpm run build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md",
"run": "./bin/dev run -a",
"prepare": "husky install",
"autoformat:staged": "pnpm dlx lint-staged",
"rollup": "shx rm -rf dist && rollup -c rollup.config.mjs",
"a": "DEBUG=* ./bin/run help"
},
"engines": {
"node": ">=12.0.0"
},
"bugs": "https://github.com/xtreamsrl/react-native-engine/issues",
"keywords": [
"oclif"
],
"types": "dist/index.d.ts"
"autoformat:staged": "pnpm dlx lint-staged"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions packages/cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*-debug.log
*-error.log
/.nyc_output
/dist
/lib
/tmp
/yarn.lock
node_modules
oclif.manifest.json
.idea
.eslintcache
/build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
108 changes: 108 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"name": "@xtreamsrl/react-native-incremental-cli",
"version": "0.1.2",
"description": "React Native CLI that caches native builds and speedup your development and release cycle",
"author": "Luca Micieli",
"bin": {
"react-native-incremental": "./bin/run",
"rn-incremental": "./bin/run",
"rni": "./bin/run"
},
"homepage": "https://github.com/xtreamsrl/react-native-incremental-cli",
"license": "MIT",
"main": "dist/index.js",
"repository": "xtreamsrl/react-native-incremental-cli",
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/apktool",
"/apktool.jar",
"/uber-apk-signer.jar"
],
"dependencies": {
"@firebase/auth": "^1.1.0",
"@oclif/core": "^2",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.3.2",
"@react-native-community/cli-platform-android": "10.2.0",
"@react-native-community/cli-platform-ios": "10.2.0",
"@react-native-community/cli-tools": "10.1.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/adm-zip": "^0.5.0",
"adm-zip": "^0.5.10",
"axios": "^1.3.4",
"chalk": "^4.1.2",
"dotenv": "^16.3.1",
"firebase": "^10.1.0",
"ios-deploy": "^1.12.1",
"javascript-obfuscator": "^4.0.2",
"lint-staged": "^13.1.2",
"open": "^8.4.2",
"prompts": "^2.4.2",
"rollup": "^3.28.0"
},
"devDependencies": {
"@oclif/test": "^2.3.7",
"@react-native-community/cli": "^10.2.0",
"@react-native-community/cli-config": "^10.1.1",
"@types/chai": "^4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.18.12",
"@types/prompts": "^2.4.2",
"chai": "^4",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.3",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"install": "^0.13.0",
"mocha": "^10.2.0",
"npm": "^9.8.1",
"oclif": "^3",
"prettier": "^2.8.4",
"shx": "^0.3.3",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"oclif": {
"bin": "react-native-engine",
"dirname": "react-native-engine",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins"
],
"topicSeparator": " "
},
"scripts": {
"build": "shx rm -rf dist && shx rm -rf build && tsc -b",
"autoformat": "prettier --write \"src/**/*.ts\" && eslint --no-error-on-unmatched-pattern --fix --cache \"./src/**/*.{ts}\"",
"lint": "eslint . --ext .ts --config .eslintrc",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "pnpm run lint",
"typecheck": "tsc --noEmit",
"prepack": "pnpm run build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md",
"run": "./bin/dev run -a",
"prepare": "husky install",
"autoformat:staged": "pnpm dlx lint-staged",
"rollup": "shx rm -rf dist && rollup -c rollup.config.mjs",
"a": "DEBUG=* ./bin/run help"
},
"engines": {
"node": ">=12.0.0"
},
"bugs": "https://github.com/xtreamsrl/react-native-engine/issues",
"keywords": [
"oclif"
],
"types": "dist/index.d.ts"
}
Loading

0 comments on commit 0818e08

Please sign in to comment.