expo-desktop 0.1.14 → 0.1.15

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.
@@ -1,7 +1,7 @@
1
- import { IOSConfig } from "@expo/config-plugins";
2
1
  import { glob } from "glob";
3
2
  import fs from "node:fs";
4
3
  import path from "node:path";
4
+ const { MacOSConfig: { XcodeUtils }, } = require("expo-desktop-config-plugins");
5
5
  /**
6
6
  * Returns a list of files within a template matched by the resolved rename
7
7
  * config.
@@ -120,8 +120,8 @@ export async function renameTemplateAppNameAsync(cwd, { filesafeName, files, })
120
120
  try {
121
121
  const replacement = contents
122
122
  .replace(/Hello App Display Name/g, safeName)
123
- .replace(/HelloWorld/g, IOSConfig.XcodeUtils.sanitizedName(safeName))
124
- .replace(/helloworld/g, IOSConfig.XcodeUtils.sanitizedName(safeName.toLowerCase()));
123
+ .replace(/HelloWorld/g, XcodeUtils.sanitizedName(safeName))
124
+ .replace(/helloworld/g, XcodeUtils.sanitizedName(safeName.toLowerCase()));
125
125
  if (replacement === contents) {
126
126
  return;
127
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-desktop",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Best-effort desktop support for Expo",
5
5
  "keywords": [
6
6
  "android",