react-native-eject
Advanced tools
Comparing version 0.1.2 to 0.2.0
{ | ||
"name": "react-native-eject", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Single command to eject a React Native app", | ||
"main": "index.js", | ||
"main": "dist/eject.js", | ||
"types": "dist/eject.d.ts", | ||
"scripts": { | ||
"build": "NODE_ENV=production babel ./eject.js -d ./build" | ||
"build": "tsc", | ||
"lint": "eslint ." | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ramyareye/react-native-eject.git" | ||
}, | ||
"keywords": [ | ||
@@ -22,8 +28,12 @@ "react-native", | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-stage-2": "^6.24.1" | ||
"@react-native-community/cli": "^9.3.2", | ||
"@types/node": "^18.11.10", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"eslint": "^8.29.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.8.0", | ||
"typescript": "^4.7.3" | ||
} | ||
} |
@@ -6,5 +6,5 @@ module.exports = { | ||
description: 'Re-create the iOS and Android folders and native code', | ||
func: () => require('./build/eject.js') | ||
func: () => require('./dist/eject.js'), | ||
}, | ||
], | ||
}; |
@@ -1,13 +0,40 @@ | ||
# react-native-eject | ||
Command `eject` was a part of `create-react-native-app` but as talked [here](https://github.com/react-native-community/cli/pull/275) it was removed. | ||
Then according to [this discussion](https://github.com/facebook/react-native/issues/25526) I made a copy of removed code and here we have the eject command again :) | ||
## Getting started | ||
`$ yarn add react-native-eject` | ||
```sh | ||
yarn add react-native-eject | ||
react-native eject | ||
``` | ||
`$ react-native eject` | ||
## Compatibility | ||
License | ||
---- | ||
| `react-native-eject` | `@react-native-community/cli` | `react-native` | | ||
| -------------------- | ---------------------------------------------------------------- | -------------- | | ||
| ^0.2.0 | [^9.0.0](https://github.com/react-native-community/cli/tree/9.x) | ^0.70.0 | | ||
| ^0.1.2 | [^8.0.0](https://github.com/react-native-community/cli/tree/8.x) | ^0.69.0 | | ||
## What Next? | ||
Here is a list of related and helpful links after ejecting a react-native project | ||
- [react-native-rename] - Rename react-native app with just one command | ||
- [react-native-app-id] - Cross platform approach to setting a bundle ID | ||
- [rename-your-xcode-project] - (iOS) Article | ||
- [rename-an-xcode-project] - (iOS) Stack Overflow Question | ||
- [change-the-bundle-identifier] - Stack Overflow Question | ||
- [app-icon] - Icon management for Mobile Apps | ||
- [android-asset-studio] - A collection of tools to easily generate Android assets | ||
MIT | ||
[react-native-rename]: https://github.com/junedomingo/react-native-rename | ||
[react-native-app-id]: https://github.com/kyle-ssg/react-native-app-id | ||
[rename-your-xcode-project]: https://medium.com/@KentaKodashima/ios-rename-your-xcode-project-b02b0382830 | ||
[rename-an-xcode-project]: https://stackoverflow.com/a/35500038/3197080 | ||
[change-the-bundle-identifier]: https://stackoverflow.com/a/44481467/3197080 | ||
[app-icon]: https://github.com/dwmkerr/app-icon | ||
[android-asset-studio]: https://romannurik.github.io/AndroidAssetStudio/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
27643
11
636
41
4
9
1