diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f3f2799..70e594c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: - bun-version: "1.3.14" + bun-version: "1.4.4" - working-directory: examples/typescript/task-runner run: bun install --frozen-lockfile - working-directory: examples/typescript/task-runner diff --git a/README.md b/README.md index 6e462a3..8d0313c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 📱 @mobilerun/react [![Python](https://img.shields.io/badge/Python-3.11%2B-3776ab?logo=python&logoColor=white&style=flat-square)](https://www.python.org/) -[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178c6?logo=typescript&logoColor=white&style=flat-square)](https://www.typescriptlang.org/) +[![TypeScript](https://img.shields.io/badge/TypeScript-6.x-3178c6?logo=typescript&logoColor=white&style=flat-square)](https://www.typescriptlang.org/) [![Discord](https://img.shields.io/discord/1360219330318696488?color=white&label=Discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/ZZbKEZZkwK) diff --git a/examples/typescript/task-runner/bun.lock b/examples/typescript/task-runner/bun.lock index a9bcf53..6377c6c 100644 --- a/examples/typescript/task-runner/bun.lock +++ b/examples/typescript/task-runner/bun.lock @@ -6,38 +6,42 @@ "name": "mobilerun-task-runner-example", "dependencies": { "@mobilerun/react": "^0.1.0", - "@mobilerun/sdk": "^6.0.1", + "@mobilerun/sdk": "^6.1.0", "hono": "^4.12.27", "react": "^19.0.0", "react-dom": "^19.0.0", "zod": "^4.0.0", }, "devDependencies": { - "@types/bun": "^1.3.0", + "@types/bun": "1.4.3", + "@types/node": "^24", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "typescript": "^5.9.0", + "typescript": "6.0.3", }, }, }, + "overrides": { + "@types/node": "^24", + }, "packages": { "@mobilerun/react": ["@mobilerun/react@0.1.0", "", { "dependencies": { "@radix-ui/react-slot": "^1.2.3", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.553.0", "tailwind-merge": "^3.2.0" }, "peerDependencies": { "@mobilerun/sdk": ">=2.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" } }, "sha512-cIfstMZUcAs1TylbRR4l0LbRIHnXgkdEpG6yQ2Ue7zKOUjLZBKQSCA1nOBiXzfkn87MmszCvNhNVbpd4S4Re7A=="], - "@mobilerun/sdk": ["@mobilerun/sdk@6.0.1", "", {}, "sha512-2nb6fnxnBOsM2pPJFaLWkQ1MJl2ovKx6Lk9owTh/V30LR8fjYLJqWtB8yVAiJ6e2PtFU1Se/MQ+FAcRWEs34Kw=="], + "@mobilerun/sdk": ["@mobilerun/sdk@6.1.0", "", {}, "sha512-bXx6yVOvVDhwx+OZcFXZVLPqCpg4cqpCPKM3x//Y23susurCUHX/9kNQ3mu81YU7+IrYWEdoegkHqxfsgHjNFw=="], "@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.5", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA=="], "@radix-ui/react-slot": ["@radix-ui/react-slot@1.3.3", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.5" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-qx7oqnYbxnK9kYI9m317qmFmEgo6ywqWvbTogdj7cL9p3/yx4M48p7Rnw5z3H890cL/ow/EeWJsuTykeZVXP5Q=="], - "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="], + "@types/bun": ["@types/bun@1.4.3", "", { "dependencies": { "bun-types": "1.4.3" } }, "sha512-N67Pqy8JXbAY/j0tNraS3V5mubGvc6rrrNDmDCtZLlFzccbUJPDb0tvgUBC5q4m8ybkP93Jcn1QB+RYQ6PvBhw=="], - "@types/node": ["@types/node@26.1.2", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg=="], + "@types/node": ["@types/node@24.19.2", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ=="], "@types/react": ["@types/react@19.2.17", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw=="], "@types/react-dom": ["@types/react-dom@19.2.3", "", { "peerDependencies": { "@types/react": "^19.2.0" } }, "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ=="], - "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], + "bun-types": ["bun-types@1.4.3", "", { "dependencies": { "@types/node": "*", "undici-types": "*" } }, "sha512-tinRJNGOmUN+tEAsn2y2e942n9JHRHR42iUYzDH75NmhJqVBokGSQkkfSFdNWwsANIdrK6ACH9t01M452YyTwg=="], "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], @@ -57,10 +61,12 @@ "tailwind-merge": ["tailwind-merge@3.6.0", "", {}, "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w=="], - "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], - "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], + "undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="], + + "bun-types/undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], } } diff --git a/examples/typescript/task-runner/package.json b/examples/typescript/task-runner/package.json index 30e82a8..110472f 100644 --- a/examples/typescript/task-runner/package.json +++ b/examples/typescript/task-runner/package.json @@ -13,16 +13,20 @@ }, "dependencies": { "@mobilerun/react": "^0.1.0", - "@mobilerun/sdk": "^6.0.1", + "@mobilerun/sdk": "^6.1.0", "hono": "^4.12.27", "react": "^19.0.0", "react-dom": "^19.0.0", "zod": "^4.0.0" }, "devDependencies": { - "@types/bun": "^1.3.0", + "@types/bun": "1.4.3", + "@types/node": "^24", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "typescript": "^5.9.0" + "typescript": "6.0.3" + }, + "overrides": { + "@types/node": "^24" } } diff --git a/examples/typescript/task-runner/tsconfig.json b/examples/typescript/task-runner/tsconfig.json index 0952f3c..7d2db04 100644 --- a/examples/typescript/task-runner/tsconfig.json +++ b/examples/typescript/task-runner/tsconfig.json @@ -11,6 +11,7 @@ "noEmit": true, "skipLibCheck": true, "isolatedModules": true, + "noUncheckedSideEffectImports": false, "allowImportingTsExtensions": true, "paths": { "@/*": ["./src/*"] diff --git a/pyproject.toml b/pyproject.toml index 883be15..3dd4f37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "mobilerun-examples" version = "0.1.0" description = "Runnable integration examples for mobilerun" requires-python = ">=3.11" -dependencies = ["mobilerun-sdk>=6.0.1,<7"] +dependencies = ["mobilerun-sdk>=6.1.0,<7"] [tool.uv] package = false diff --git a/uv.lock b/uv.lock index 90ac79b..79a1139 100644 --- a/uv.lock +++ b/uv.lock @@ -1,14 +1,14 @@ version = 1 -revision = 3 +revision = 5 requires-python = ">=3.11" resolution-markers = [ "python_full_version >= '3.14' and sys_platform != 'win32'", "python_full_version >= '3.14' and sys_platform == 'win32'", "python_full_version == '3.13.*' and sys_platform == 'win32'", - "python_full_version == '3.12.*' and sys_platform == 'win32'", - "python_full_version < '3.12' and sys_platform == 'win32'", "python_full_version == '3.13.*' and sys_platform != 'win32'", + "python_full_version == '3.12.*' and sys_platform == 'win32'", "python_full_version == '3.12.*' and sys_platform != 'win32'", + "python_full_version < '3.12' and sys_platform == 'win32'", "python_full_version < '3.12' and sys_platform != 'win32'", ] @@ -221,7 +221,7 @@ dev = [ ] [package.metadata] -requires-dist = [{ name = "mobilerun-sdk", specifier = ">=6.0.1,<7" }] +requires-dist = [{ name = "mobilerun-sdk", specifier = ">=6.1.0,<7" }] [package.metadata.requires-dev] dev = [ @@ -232,7 +232,7 @@ dev = [ [[package]] name = "mobilerun-sdk" -version = "6.0.1" +version = "6.1.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, @@ -242,9 +242,9 @@ dependencies = [ { name = "sniffio" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6d/13/0c64821c0e1ba5fa19ee60126f27f6cd066f2db9d5dade9f7c46625d8852/mobilerun_sdk-6.0.1.tar.gz", hash = "sha256:fa73c3c3717de2e3e0db2ead5c01cbdd44129c25a196736637e42f55f367afa3", size = 314375, upload-time = "2026-10-23T13:29:55.705Z" } +sdist = { url = "https://files.pythonhosted.org/packages/88/86/cd63c4660effd1f2a985cf28bbde4b885775199e72951141b8bff1d60885/mobilerun_sdk-6.1.0.tar.gz", hash = "sha256:848bce645512a50276ee6e03fce34a9add7623625b846071b7c30b621e3a6a39", size = 320769, upload-time = "2026-11-03T15:51:00.595Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0a/e6/5acf3ecf24631f49c4f84169385e855c46d47c1a5ab9d642249b358c8129/mobilerun_sdk-6.0.1-py3-none-any.whl", hash = "sha256:d8567f8da68242e7b63dcd05547f1e817f66389311942ec515098880bd621186", size = 492972, upload-time = "2026-10-23T13:29:54.361Z" }, + { url = "https://files.pythonhosted.org/packages/e7/91/d67d9976ce678e1f9e188c94cee377b96c10a60d6fa580a8fa56635b6ddc/mobilerun_sdk-6.1.0-py3-none-any.whl", hash = "sha256:b2beb299b57287552ddcc9d2823139518b0a12f88c3a2bb236e094c5c742032a", size = 512052, upload-time = "2026-11-03T15:50:59.153Z" }, ] [[package]]