From b8ae496e0cb365a9993aae5f2c7fabab11b13124 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 11:04:38 +0000 Subject: [PATCH 1/4] chore(deps-dev): bump typescript from 5.9.3 to 6.0.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.2) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dca15c2..3fa71bf 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "semantic-release": "^25.0.2", "sinon": "^21.0.0", "ts-node": "^10.9.1", - "typescript": "^5.4.3" + "typescript": "^6.0.2" }, "types": "./build/index.d.ts" } From 1ab18d0c139dad3fce7bc959cb6125cb91b0cde9 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Fri, 10 Apr 2026 12:54:09 +0200 Subject: [PATCH 2/4] fix build --- index.ts => lib/index.ts | 4 ++-- package.json | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) rename index.ts => lib/index.ts (72%) diff --git a/index.ts b/lib/index.ts similarity index 72% rename from index.ts rename to lib/index.ts index 493d587..0e13207 100644 --- a/index.ts +++ b/lib/index.ts @@ -1,4 +1,4 @@ -import { Simctl } from './lib/simctl'; +import { Simctl } from './simctl'; export type { SimctlOpts, DeviceInfo, @@ -7,7 +7,7 @@ export type { CertOptions, XCRun, AppInfo, -} from './lib/types'; +} from './types'; export { Simctl }; export default Simctl; diff --git a/package.json b/package.json index 3fa71bf..fec4d22 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,13 @@ "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "npm": ">=10" }, - "main": "./build/index.js", + "main": "./build/lib/index.js", "bin": {}, "directories": { "lib": "./lib" }, "files": [ - "index.ts", "lib", - "build/index.*", "build/lib", "CHANGELOG.md" ], @@ -82,5 +80,5 @@ "ts-node": "^10.9.1", "typescript": "^6.0.2" }, - "types": "./build/index.d.ts" + "types": "./build/lib/index.d.ts" } From 48fccdba2e13c78565d1b40ec4777b126203b78b Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Fri, 10 Apr 2026 12:57:38 +0200 Subject: [PATCH 3/4] format --- lib/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 0e13207..cf516a4 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,4 +1,4 @@ -import { Simctl } from './simctl'; +import {Simctl} from './simctl'; export type { SimctlOpts, DeviceInfo, @@ -9,5 +9,5 @@ export type { AppInfo, } from './types'; -export { Simctl }; +export {Simctl}; export default Simctl; From 64eda56715274d7d5fc3bd50ce686e85e2f774e1 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Fri, 10 Apr 2026 13:00:41 +0200 Subject: [PATCH 4/4] moar --- tsconfig.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 1e06ded..56f8c27 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,13 +2,17 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@appium/tsconfig/tsconfig.json", "compilerOptions": { - "strict": false, "esModuleInterop": true, "outDir": "build", "types": ["node", "mocha"] }, + "ts-node": { + "transpileOnly": true, + "compilerOptions": { + "rootDir": "." + } + }, "include": [ - "index.ts", "lib", "test" ]