expo-desktop 1.0.2 → 1.0.4
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.
|
@@ -30,7 +30,9 @@ export async function getPID(port) {
|
|
|
30
30
|
/** Return the PID listening on a TCP port on Windows. */
|
|
31
31
|
async function getWindowsPIDAsync(port) {
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
// `-p tcp` excludes IPv6 listeners on Windows, including Metro on ::1.
|
|
34
|
+
// Inspect both address families and filter the TCP rows below.
|
|
35
|
+
const { stdout } = await spawnAsync("netstat.exe", ["-ano"], {
|
|
34
36
|
timeout,
|
|
35
37
|
});
|
|
36
38
|
for (const line of stdout.split(/\r?\n/)) {
|
|
@@ -101,6 +101,10 @@ export async function installDependenciesAsync(projectRoot, packageManager, flag
|
|
|
101
101
|
export async function configurePackageManager(projectRoot, packageManager, flags = { silent: false }) {
|
|
102
102
|
const manager = createPackageManager(packageManager, { cwd: projectRoot, ...flags });
|
|
103
103
|
switch (manager.name) {
|
|
104
|
+
case "pnpm": {
|
|
105
|
+
await manager.runAsync(['config', '--location', 'project', 'set', 'node-linker', 'hoisted']);
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
104
108
|
case "yarn": {
|
|
105
109
|
let yarnVersion;
|
|
106
110
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-desktop",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Best-effort desktop support for Expo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"android",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"chalk": "^4.1.2",
|
|
55
55
|
"citty": "^0.2.2",
|
|
56
56
|
"debug": "^4.4.3",
|
|
57
|
-
"expo-desktop-config-plugins": "^1.3.
|
|
58
|
-
"expo-desktop-prebuild-config": "^1.1.
|
|
57
|
+
"expo-desktop-config-plugins": "^1.3.1",
|
|
58
|
+
"expo-desktop-prebuild-config": "^1.1.2",
|
|
59
59
|
"getenv": "^2.0.0",
|
|
60
60
|
"glob": "^10.5.0",
|
|
61
61
|
"kleur": "^4.1.5",
|