node-simctl 8.2.9 → 9.0.0
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/CHANGELOG.md +10 -0
- package/build/lib/helpers.js +10 -49
- package/build/lib/helpers.js.map +1 -1
- package/build/lib/index.d.ts +2 -2
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +3 -6
- package/build/lib/index.js.map +1 -1
- package/build/lib/logger.d.ts +1 -1
- package/build/lib/logger.d.ts.map +1 -1
- package/build/lib/logger.js +3 -9
- package/build/lib/logger.js.map +1 -1
- package/build/lib/simctl.d.ts +26 -26
- package/build/lib/simctl.d.ts.map +1 -1
- package/build/lib/simctl.js +37 -77
- package/build/lib/simctl.js.map +1 -1
- package/build/lib/subcommands/addmedia.d.ts +1 -1
- package/build/lib/subcommands/addmedia.d.ts.map +1 -1
- package/build/lib/subcommands/addmedia.js +1 -4
- package/build/lib/subcommands/addmedia.js.map +1 -1
- package/build/lib/subcommands/appinfo.d.ts +2 -2
- package/build/lib/subcommands/appinfo.d.ts.map +1 -1
- package/build/lib/subcommands/appinfo.js +3 -6
- package/build/lib/subcommands/appinfo.js.map +1 -1
- package/build/lib/subcommands/boot.d.ts +1 -1
- package/build/lib/subcommands/boot.d.ts.map +1 -1
- package/build/lib/subcommands/boot.js +3 -6
- package/build/lib/subcommands/boot.js.map +1 -1
- package/build/lib/subcommands/bootstatus.d.ts +2 -2
- package/build/lib/subcommands/bootstatus.d.ts.map +1 -1
- package/build/lib/subcommands/bootstatus.js +5 -8
- package/build/lib/subcommands/bootstatus.js.map +1 -1
- package/build/lib/subcommands/create.d.ts +2 -2
- package/build/lib/subcommands/create.d.ts.map +1 -1
- package/build/lib/subcommands/create.js +9 -12
- package/build/lib/subcommands/create.js.map +1 -1
- package/build/lib/subcommands/delete.d.ts +1 -1
- package/build/lib/subcommands/delete.d.ts.map +1 -1
- package/build/lib/subcommands/delete.js +1 -4
- package/build/lib/subcommands/delete.js.map +1 -1
- package/build/lib/subcommands/erase.d.ts +1 -1
- package/build/lib/subcommands/erase.d.ts.map +1 -1
- package/build/lib/subcommands/erase.js +3 -6
- package/build/lib/subcommands/erase.js.map +1 -1
- package/build/lib/subcommands/get_app_container.d.ts +1 -1
- package/build/lib/subcommands/get_app_container.d.ts.map +1 -1
- package/build/lib/subcommands/get_app_container.js +1 -4
- package/build/lib/subcommands/get_app_container.js.map +1 -1
- package/build/lib/subcommands/getenv.d.ts +1 -1
- package/build/lib/subcommands/getenv.d.ts.map +1 -1
- package/build/lib/subcommands/getenv.js +1 -4
- package/build/lib/subcommands/getenv.js.map +1 -1
- package/build/lib/subcommands/install.d.ts +1 -1
- package/build/lib/subcommands/install.d.ts.map +1 -1
- package/build/lib/subcommands/install.js +1 -4
- package/build/lib/subcommands/install.js.map +1 -1
- package/build/lib/subcommands/io.d.ts +1 -1
- package/build/lib/subcommands/io.d.ts.map +1 -1
- package/build/lib/subcommands/io.js +9 -15
- package/build/lib/subcommands/io.js.map +1 -1
- package/build/lib/subcommands/keychain.d.ts +2 -2
- package/build/lib/subcommands/keychain.d.ts.map +1 -1
- package/build/lib/subcommands/keychain.js +12 -20
- package/build/lib/subcommands/keychain.js.map +1 -1
- package/build/lib/subcommands/launch.d.ts +1 -1
- package/build/lib/subcommands/launch.d.ts.map +1 -1
- package/build/lib/subcommands/launch.js +3 -6
- package/build/lib/subcommands/launch.js.map +1 -1
- package/build/lib/subcommands/list.d.ts +2 -2
- package/build/lib/subcommands/list.d.ts.map +1 -1
- package/build/lib/subcommands/list.js +12 -20
- package/build/lib/subcommands/list.js.map +1 -1
- package/build/lib/subcommands/location.d.ts +1 -1
- package/build/lib/subcommands/location.d.ts.map +1 -1
- package/build/lib/subcommands/location.js +2 -6
- package/build/lib/subcommands/location.js.map +1 -1
- package/build/lib/subcommands/openurl.d.ts +1 -1
- package/build/lib/subcommands/openurl.d.ts.map +1 -1
- package/build/lib/subcommands/openurl.js +1 -4
- package/build/lib/subcommands/openurl.js.map +1 -1
- package/build/lib/subcommands/pbcopy.d.ts +1 -1
- package/build/lib/subcommands/pbcopy.d.ts.map +1 -1
- package/build/lib/subcommands/pbcopy.js +1 -4
- package/build/lib/subcommands/pbcopy.js.map +1 -1
- package/build/lib/subcommands/pbpaste.d.ts +1 -1
- package/build/lib/subcommands/pbpaste.d.ts.map +1 -1
- package/build/lib/subcommands/pbpaste.js +1 -4
- package/build/lib/subcommands/pbpaste.js.map +1 -1
- package/build/lib/subcommands/privacy.d.ts +1 -1
- package/build/lib/subcommands/privacy.d.ts.map +1 -1
- package/build/lib/subcommands/privacy.js +3 -8
- package/build/lib/subcommands/privacy.js.map +1 -1
- package/build/lib/subcommands/push.d.ts +1 -1
- package/build/lib/subcommands/push.d.ts.map +1 -1
- package/build/lib/subcommands/push.js +9 -15
- package/build/lib/subcommands/push.js.map +1 -1
- package/build/lib/subcommands/shutdown.d.ts +1 -1
- package/build/lib/subcommands/shutdown.d.ts.map +1 -1
- package/build/lib/subcommands/shutdown.js +3 -6
- package/build/lib/subcommands/shutdown.js.map +1 -1
- package/build/lib/subcommands/spawn.d.ts +1 -1
- package/build/lib/subcommands/spawn.d.ts.map +1 -1
- package/build/lib/subcommands/spawn.js +2 -6
- package/build/lib/subcommands/spawn.js.map +1 -1
- package/build/lib/subcommands/terminate.d.ts +1 -1
- package/build/lib/subcommands/terminate.d.ts.map +1 -1
- package/build/lib/subcommands/terminate.js +1 -4
- package/build/lib/subcommands/terminate.js.map +1 -1
- package/build/lib/subcommands/ui.d.ts +1 -1
- package/build/lib/subcommands/ui.d.ts.map +1 -1
- package/build/lib/subcommands/ui.js +6 -14
- package/build/lib/subcommands/ui.js.map +1 -1
- package/build/lib/subcommands/uninstall.d.ts +1 -1
- package/build/lib/subcommands/uninstall.d.ts.map +1 -1
- package/build/lib/subcommands/uninstall.js +1 -4
- package/build/lib/subcommands/uninstall.js.map +1 -1
- package/build/lib/types.js +1 -2
- package/lib/index.ts +2 -2
- package/lib/logger.ts +1 -1
- package/lib/simctl.ts +28 -28
- package/lib/subcommands/addmedia.ts +1 -1
- package/lib/subcommands/appinfo.ts +3 -3
- package/lib/subcommands/boot.ts +2 -2
- package/lib/subcommands/bootstatus.ts +3 -3
- package/lib/subcommands/create.ts +4 -4
- package/lib/subcommands/delete.ts +1 -1
- package/lib/subcommands/erase.ts +1 -1
- package/lib/subcommands/get_app_container.ts +1 -1
- package/lib/subcommands/getenv.ts +1 -1
- package/lib/subcommands/install.ts +1 -1
- package/lib/subcommands/io.ts +1 -1
- package/lib/subcommands/keychain.ts +2 -2
- package/lib/subcommands/launch.ts +1 -1
- package/lib/subcommands/list.ts +4 -4
- package/lib/subcommands/location.ts +1 -1
- package/lib/subcommands/openurl.ts +1 -1
- package/lib/subcommands/pbcopy.ts +1 -1
- package/lib/subcommands/pbpaste.ts +1 -1
- package/lib/subcommands/privacy.ts +1 -1
- package/lib/subcommands/push.ts +1 -1
- package/lib/subcommands/shutdown.ts +2 -2
- package/lib/subcommands/spawn.ts +1 -1
- package/lib/subcommands/terminate.ts +1 -1
- package/lib/subcommands/ui.ts +1 -1
- package/lib/subcommands/uninstall.ts +1 -1
- package/package.json +12 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../../lib/subcommands/ui.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../../lib/subcommands/ui.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa;IACjC,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACrC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC;KAC7C,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAe,UAAkB;IAClE,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACpB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;KACzD,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB;IACvC,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACrC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;KACpD,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAe,gBAAwB;IAC9E,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACpB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,gBAAgB,CAAC;KACtE,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACrC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC;KAC/C,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAe,iBAAyB;IAC1E,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACpB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,iBAAiB,CAAC;KAClE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/uninstall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/uninstall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAI7E"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.removeApp = removeApp;
|
|
4
1
|
/**
|
|
5
2
|
* Remove the particular application package from Simulator.
|
|
6
3
|
* It is required that Simulator is in _booted_ state and
|
|
@@ -12,7 +9,7 @@ exports.removeApp = removeApp;
|
|
|
12
9
|
* returns non-zero return code.
|
|
13
10
|
* @throws {Error} If the `udid` instance property is unset
|
|
14
11
|
*/
|
|
15
|
-
async function removeApp(bundleId) {
|
|
12
|
+
export async function removeApp(bundleId) {
|
|
16
13
|
await this.exec('uninstall', {
|
|
17
14
|
args: [this.requireUdid('uninstall'), bundleId],
|
|
18
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../lib/subcommands/uninstall.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../lib/subcommands/uninstall.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAAe,QAAgB;IAC5D,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;QAC3B,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC;KAChD,CAAC,CAAC;AACL,CAAC"}
|
package/build/lib/types.js
CHANGED
package/lib/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Simctl} from './simctl';
|
|
1
|
+
import {Simctl} from './simctl.js';
|
|
2
2
|
export type {
|
|
3
3
|
SimctlOpts,
|
|
4
4
|
DeviceInfo,
|
|
@@ -7,7 +7,7 @@ export type {
|
|
|
7
7
|
CertOptions,
|
|
8
8
|
XCRun,
|
|
9
9
|
AppInfo,
|
|
10
|
-
} from './types';
|
|
10
|
+
} from './types.js';
|
|
11
11
|
|
|
12
12
|
export {Simctl};
|
|
13
13
|
export default Simctl;
|
package/lib/logger.ts
CHANGED
package/lib/simctl.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import which from 'which';
|
|
2
|
-
import {log, LOG_PREFIX} from './logger';
|
|
3
|
-
import {DEFAULT_EXEC_TIMEOUT, getXcrunBinary} from './helpers';
|
|
2
|
+
import {log, LOG_PREFIX} from './logger.js';
|
|
3
|
+
import {DEFAULT_EXEC_TIMEOUT, getXcrunBinary} from './helpers.js';
|
|
4
4
|
import {exec as tpExec, SubProcess} from 'teen_process';
|
|
5
|
-
import * as addmediaCommands from './subcommands/addmedia';
|
|
6
|
-
import * as appinfoCommands from './subcommands/appinfo';
|
|
7
|
-
import * as bootCommands from './subcommands/boot';
|
|
8
|
-
import * as bootstatusCommands from './subcommands/bootstatus';
|
|
9
|
-
import * as createCommands from './subcommands/create';
|
|
10
|
-
import * as deleteCommands from './subcommands/delete';
|
|
11
|
-
import * as eraseCommands from './subcommands/erase';
|
|
12
|
-
import * as getappcontainerCommands from './subcommands/get_app_container';
|
|
13
|
-
import * as installCommands from './subcommands/install';
|
|
14
|
-
import * as ioCommands from './subcommands/io';
|
|
15
|
-
import * as keychainCommands from './subcommands/keychain';
|
|
16
|
-
import * as launchCommands from './subcommands/launch';
|
|
17
|
-
import * as listCommands from './subcommands/list';
|
|
18
|
-
import * as openurlCommands from './subcommands/openurl';
|
|
19
|
-
import * as pbcopyCommands from './subcommands/pbcopy';
|
|
20
|
-
import * as pbpasteCommands from './subcommands/pbpaste';
|
|
21
|
-
import * as privacyCommands from './subcommands/privacy';
|
|
22
|
-
import * as pushCommands from './subcommands/push';
|
|
23
|
-
import * as envCommands from './subcommands/getenv';
|
|
24
|
-
import * as shutdownCommands from './subcommands/shutdown';
|
|
25
|
-
import * as spawnCommands from './subcommands/spawn';
|
|
26
|
-
import * as terminateCommands from './subcommands/terminate';
|
|
27
|
-
import * as uiCommands from './subcommands/ui';
|
|
28
|
-
import * as uninstallCommands from './subcommands/uninstall';
|
|
29
|
-
import * as locationCommands from './subcommands/location';
|
|
30
|
-
import type {XCRun, ExecOpts, SimctlOpts, ExecResult} from './types';
|
|
5
|
+
import * as addmediaCommands from './subcommands/addmedia.js';
|
|
6
|
+
import * as appinfoCommands from './subcommands/appinfo.js';
|
|
7
|
+
import * as bootCommands from './subcommands/boot.js';
|
|
8
|
+
import * as bootstatusCommands from './subcommands/bootstatus.js';
|
|
9
|
+
import * as createCommands from './subcommands/create.js';
|
|
10
|
+
import * as deleteCommands from './subcommands/delete.js';
|
|
11
|
+
import * as eraseCommands from './subcommands/erase.js';
|
|
12
|
+
import * as getappcontainerCommands from './subcommands/get_app_container.js';
|
|
13
|
+
import * as installCommands from './subcommands/install.js';
|
|
14
|
+
import * as ioCommands from './subcommands/io.js';
|
|
15
|
+
import * as keychainCommands from './subcommands/keychain.js';
|
|
16
|
+
import * as launchCommands from './subcommands/launch.js';
|
|
17
|
+
import * as listCommands from './subcommands/list.js';
|
|
18
|
+
import * as openurlCommands from './subcommands/openurl.js';
|
|
19
|
+
import * as pbcopyCommands from './subcommands/pbcopy.js';
|
|
20
|
+
import * as pbpasteCommands from './subcommands/pbpaste.js';
|
|
21
|
+
import * as privacyCommands from './subcommands/privacy.js';
|
|
22
|
+
import * as pushCommands from './subcommands/push.js';
|
|
23
|
+
import * as envCommands from './subcommands/getenv.js';
|
|
24
|
+
import * as shutdownCommands from './subcommands/shutdown.js';
|
|
25
|
+
import * as spawnCommands from './subcommands/spawn.js';
|
|
26
|
+
import * as terminateCommands from './subcommands/terminate.js';
|
|
27
|
+
import * as uiCommands from './subcommands/ui.js';
|
|
28
|
+
import * as uninstallCommands from './subcommands/uninstall.js';
|
|
29
|
+
import * as locationCommands from './subcommands/location.js';
|
|
30
|
+
import type {XCRun, ExecOpts, SimctlOpts, ExecResult} from './types.js';
|
|
31
31
|
|
|
32
32
|
const SIMCTL_ENV_PREFIX = 'SIMCTL_CHILD_';
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {Simctl} from '../simctl';
|
|
2
|
-
import type {AppInfo} from '../types';
|
|
3
|
-
import {convertPlistToJson} from '../helpers';
|
|
1
|
+
import type {Simctl} from '../simctl.js';
|
|
2
|
+
import type {AppInfo} from '../types.js';
|
|
3
|
+
import {convertPlistToJson} from '../helpers.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Get information about an app installed on the simulator
|
package/lib/subcommands/boot.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {log, LOG_PREFIX} from '../logger';
|
|
1
|
+
import {log, LOG_PREFIX} from '../logger.js';
|
|
2
2
|
import {waitForCondition} from 'asyncbox';
|
|
3
|
-
import type {Simctl} from '../simctl';
|
|
4
|
-
import type {BootMonitorOptions} from '../types';
|
|
3
|
+
import type {Simctl} from '../simctl.js';
|
|
4
|
+
import type {BootMonitorOptions} from '../types.js';
|
|
5
5
|
import type {SubProcess} from 'teen_process';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {log, LOG_PREFIX} from '../logger';
|
|
1
|
+
import {log, LOG_PREFIX} from '../logger.js';
|
|
2
2
|
import {retryInterval} from 'asyncbox';
|
|
3
|
-
import {SIM_RUNTIME_NAME, normalizeVersion} from '../helpers';
|
|
4
|
-
import type {Simctl} from '../simctl';
|
|
5
|
-
import type {SimCreationOpts} from '../types';
|
|
3
|
+
import {SIM_RUNTIME_NAME, normalizeVersion} from '../helpers.js';
|
|
4
|
+
import type {Simctl} from '../simctl.js';
|
|
5
|
+
import type {SimCreationOpts} from '../types.js';
|
|
6
6
|
|
|
7
7
|
const SIM_RUNTIME_NAME_SUFFIX_IOS = 'iOS';
|
|
8
8
|
const DEFAULT_CREATE_SIMULATOR_TIMEOUT = 10000;
|
package/lib/subcommands/erase.ts
CHANGED
package/lib/subcommands/io.ts
CHANGED
|
@@ -3,8 +3,8 @@ import fs from 'node:fs/promises';
|
|
|
3
3
|
import {randomUUID} from 'node:crypto';
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import {rimraf} from 'rimraf';
|
|
6
|
-
import type {Simctl} from '../simctl';
|
|
7
|
-
import type {CertOptions} from '../types';
|
|
6
|
+
import type {Simctl} from '../simctl.js';
|
|
7
|
+
import type {CertOptions} from '../types.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Adds the given certificate to the Trusted Root Store on the simulator
|
package/lib/subcommands/list.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {SIM_RUNTIME_NAME, normalizeVersion} from '../helpers';
|
|
2
|
-
import {log, LOG_PREFIX} from '../logger';
|
|
3
|
-
import type {Simctl} from '../simctl';
|
|
4
|
-
import type {DeviceInfo} from '../types';
|
|
1
|
+
import {SIM_RUNTIME_NAME, normalizeVersion} from '../helpers.js';
|
|
2
|
+
import {log, LOG_PREFIX} from '../logger.js';
|
|
3
|
+
import type {Simctl} from '../simctl.js';
|
|
4
|
+
import type {DeviceInfo} from '../types.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Parse the list of existing Simulator devices to represent
|
package/lib/subcommands/push.ts
CHANGED
|
@@ -3,7 +3,7 @@ import {randomUUID} from 'node:crypto';
|
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
5
5
|
import fs from 'node:fs/promises';
|
|
6
|
-
import type {Simctl} from '../simctl';
|
|
6
|
+
import type {Simctl} from '../simctl.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Send a simulated push notification
|
package/lib/subcommands/spawn.ts
CHANGED
package/lib/subcommands/ui.ts
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"ios",
|
|
7
7
|
"simctl"
|
|
8
8
|
],
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "9.0.0",
|
|
10
10
|
"author": "Appium Contributors",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"repository": {
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"format": "prettier -w ./lib ./test",
|
|
49
49
|
"format:check": "prettier --check ./lib ./test",
|
|
50
50
|
"prepare": "npm run build",
|
|
51
|
-
"test": "node --test --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
|
|
52
|
-
"e2e-test": "node --test --test-force-exit --test-concurrency=1 --test-timeout=300000 \"./build/test/e2e/**/*.spec.js\""
|
|
51
|
+
"test": "node --enable-source-maps --test --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
|
|
52
|
+
"e2e-test": "node --enable-source-maps --test --test-force-exit --test-concurrency=1 --test-timeout=300000 \"./build/test/e2e/**/*.spec.js\""
|
|
53
53
|
},
|
|
54
54
|
"prettier": {
|
|
55
55
|
"bracketSpacing": false,
|
|
@@ -77,5 +77,13 @@
|
|
|
77
77
|
"sinon": "^22.0.0",
|
|
78
78
|
"typescript": "^6.0.2"
|
|
79
79
|
},
|
|
80
|
-
"types": "./build/lib/index.d.ts"
|
|
80
|
+
"types": "./build/lib/index.d.ts",
|
|
81
|
+
"type": "module",
|
|
82
|
+
"exports": {
|
|
83
|
+
".": {
|
|
84
|
+
"types": "./build/lib/index.d.ts",
|
|
85
|
+
"import": "./build/lib/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./package.json": "./package.json"
|
|
88
|
+
}
|
|
81
89
|
}
|