bundo-appgen 0.0.7 → 0.0.9

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/lib/bin/bin.mjs CHANGED
@@ -306,8 +306,9 @@ async function spawnPluginSandboxRunner(registry, permissions, metadata) {
306
306
  const lstat = node_fs2.lstatSync(pluginDirectory);
307
307
  if (lstat.isSymbolicLink()) {
308
308
  nodeArgs.push(`--allow-fs-read=${node_fs2.realpathSync(pluginDirectory)}`);
309
+ } else {
310
+ nodeArgs.push(`--allow-fs-read=${pluginDirectory}`);
309
311
  }
310
- nodeArgs.push(`--allow-fs-read=${pluginDirectory}`);
311
312
  });
312
313
  nodeArgs.push(node_path2.join(GlobalVars.appgenRoot.get(), "lib", "bin", "plugin-sandbox-runner.mjs"));
313
314
  nodeArgs.push(`--json=${JSON.stringify({
@@ -1085,6 +1086,7 @@ async function main() {
1085
1086
  ...pluginContextResult?.macos.infoPlist
1086
1087
  }
1087
1088
  });
1089
+ console.log("\x1B[1m\x1B[32m✔ Native project has been generated successfully.\x1B[0m");
1088
1090
  }
1089
1091
  var configFileExts = [
1090
1092
  "ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bundo-appgen",
3
- "version": "0.0.7",
4
- "description": "App generator CLI for React Native macOS",
3
+ "version": "0.0.9",
4
+ "description": "Native app generator for React Native macOS",
5
5
  "license": "MIT",
6
6
  "author": "RakaDoank <rakaaudira@gmail.com> (https://github.com/RakaDoank)",
7
7
  "homepage": "https://github.com/RakaDoank/bundo.rn",
@@ -45,7 +45,7 @@
45
45
  }
46
46
  },
47
47
  "peerDependencies": {
48
- "react-native-macos": "^0.81"
48
+ "react-native-macos": "^0.81 || ^0.83"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": ">=6 <=7",
@@ -71,8 +71,9 @@ export async function spawnPluginSandboxRunner(
71
71
 
72
72
  if(lstat.isSymbolicLink()) {
73
73
  nodeArgs.push(`--allow-fs-read=${node_fs.realpathSync(pluginDirectory)}`)
74
+ } else {
75
+ nodeArgs.push(`--allow-fs-read=${pluginDirectory}`)
74
76
  }
75
- nodeArgs.push(`--allow-fs-read=${pluginDirectory}`)
76
77
  })
77
78
 
78
79
  // exec plugin-sandbox-runner.mjs
@@ -46,7 +46,7 @@ import {
46
46
  *
47
47
  * - Init template directory
48
48
  * - Copy the directory
49
- * - Modify template regarding project name and other config related
49
+ * - Modify the template file such as AppDelegate.swift regarding the project name and other configs related
50
50
  * - (Apple)
51
51
  * - Init Asset Catalogs from Config
52
52
  * - (Windows): TODO
@@ -141,6 +141,8 @@ export async function main() {
141
141
  },
142
142
  )
143
143
 
144
+ console.log("\x1b[1m\x1b[32m✔ Native project has been generated successfully.\x1b[0m")
145
+
144
146
  }
145
147
 
146
148
  const configFileExts: string[] = [