bundo-appgen 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,8 +15,9 @@ Generate native app project for React Native app host easily with a single JavaS
|
|
|
15
15
|
## Requirements
|
|
16
16
|
|
|
17
17
|
- Node.js v22 or latest
|
|
18
|
+
- (Optional) [Bun](https://github.com/oven-sh/bun) – For fast JavaScript package manager and development
|
|
18
19
|
- **macOS**
|
|
19
|
-
- [XcodeGen](https://github.com/yonaskolb/xcodegen) latest version for macOS .xcodeproj generator. You can install XcodeGen with Homebrew
|
|
20
|
+
- [XcodeGen](https://github.com/yonaskolb/xcodegen) latest version for macOS .xcodeproj generator. You can install [XcodeGen with Homebrew](https://formulae.brew.sh/formula/xcodegen#default)
|
|
20
21
|
- Ruby v3 or latest
|
|
21
22
|
- [CocoaPods](https://cocoapods.org) dependency manager
|
|
22
23
|
- (Optional) [tsx](https://github.com/privatenumber/tsx) if you want to use TypeScript configuration for `bundo-appgen`
|
|
@@ -249,3 +250,5 @@ A plugin can still modify the templated files, such as `AppDelegate.swift` file
|
|
|
249
250
|
We create a module that what we called "plugin runner". From the `bundo-appgen` command, it will spawn another Node.js child process with restricted permission to run the plugin runner. The plugin runner will invoke all the plugins main function provided with a JavaScript object (context) argument given. When all the plugin invocation have finished, we send the result to the main process through **Inter Process Communication**, and then, the main process will be responsible to do the actual writing to the template files.
|
|
250
251
|
|
|
251
252
|
We choose this model because we choose the Zero Trust approach. We do not want a plugin performs a malicious action in your machine with reading and writing to any directories (file system), networking, and spawning a child process.
|
|
253
|
+
|
|
254
|
+
Currently, this feature is supported only in Node.js. We may support it for [Bun](https://github.com/over-sh/bun) until the permission model is supported. See [Bun #6617 issue](https://github.com/oven-sh/bun/issues/6617). You can still use [Bun](https://github.com/oven-sh/bun) for local app development.
|