@thelacanians/vue-native-cli 0.4.9 → 0.4.10

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/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import { join, dirname } from "path";
10
10
  import { fileURLToPath } from "url";
11
11
  import { existsSync } from "fs";
12
12
  import pc from "picocolors";
13
- var VERSION = "0.4.9";
13
+ var VERSION = "0.4.10";
14
14
  var createCommand = new Command("create").description("Create a new Vue Native project").argument("<name>", "project name").option("-t, --template <template>", "project template (blank, tabs, drawer)", "blank").action(async (name, options) => {
15
15
  const template = options.template;
16
16
  if (!["blank", "tabs", "drawer"].includes(template)) {
@@ -95,7 +95,7 @@ afterEvaluate {
95
95
  create<MavenPublication>("release") {
96
96
  groupId = "com.vuenative"
97
97
  artifactId = "core"
98
- version = "0.4.9"
98
+ version = "0.4.10"
99
99
  from(components["release"])
100
100
  }
101
101
  }
@@ -45,9 +45,11 @@ final class SafeAreaView: UIView {
45
45
  }
46
46
  }
47
47
 
48
+ /// Walk up to the topmost Yoga-managed view (__ROOT__), stopping before
49
+ /// we reach vc.view or UIWindow which are NOT part of the Yoga tree.
48
50
  private func findFlexRoot() -> UIView? {
49
51
  var v: UIView? = self
50
- while let parent = v?.superview {
52
+ while let parent = v?.superview, parent.flex.isEnabled {
51
53
  v = parent
52
54
  }
53
55
  return v
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thelacanians/vue-native-cli",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "CLI for creating and running Vue Native apps",
5
5
  "license": "MIT",
6
6
  "author": "Vue Native Contributors",