Skip to content

Commit

Permalink
chore: update TS and Swift dependencies (#99)
Browse files Browse the repository at this point in the history
* disable websocket tests until compatible with cross-ws

* update nx faker jiti and c12

* update jiti to latest

* format

* [swift] bump `async-http-client` to `1.23.0`

* bump swift version

* bump swift version
  • Loading branch information
joshmossas authored Oct 4, 2024
1 parent 875dcbe commit 9b2a781
Show file tree
Hide file tree
Showing 27 changed files with 1,617 additions and 1,184 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# uses: swift-actions/setup-swift@v2
uses: redsun82/setup-swift@b2b6f77ab14f6a9b136b520dc53ec8eca27d2b992 # temporary work around for https://github.com/swift-actions/setup-swift/issues/591
with:
swift-version: "5.9"
swift-version: "5.10"
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
# uses: swift-actions/setup-swift@v2
uses: redsun82/setup-swift@b2b6f77ab14f6a9b136b520dc53ec8eca27d2b99 # temporary work around for https://github.com/swift-actions/setup-swift/issues/591
with:
swift-version: "5.9"
swift-version: "5.10"
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down
18 changes: 14 additions & 4 deletions languages/dart/dart-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -13,6 +18,11 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"dependencies": { "@arrirpc/codegen-utils": "workspace:*", "pathe": "^1.1.2" }
"files": [
"dist"
],
"dependencies": {
"@arrirpc/codegen-utils": "workspace:*",
"pathe": "^1.1.2"
}
}
17 changes: 13 additions & 4 deletions languages/kotlin/kotlin-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -13,6 +18,10 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"dependencies": { "@arrirpc/codegen-utils": "workspace:*" }
"files": [
"dist"
],
"dependencies": {
"@arrirpc/codegen-utils": "workspace:*"
}
}
13 changes: 10 additions & 3 deletions languages/rust/rust-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
"name": "@arrirpc/codegen-rust",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -12,7 +17,9 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"dependencies": {
"@arrirpc/codegen-utils": "workspace:*",
"pathe": "^1.1.2"
Expand Down
10 changes: 5 additions & 5 deletions languages/swift/swift-client/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"originHash" : "ecd15ac105c00114b4378ef445f5c6b21c32aa08433235c01aab1653b93a938b",
"originHash" : "a9935ca9e8217c19fe15d5bfe9374be2720e05a730ed14ab3d6b44365fe0cdca",
"pins" : [
{
"identity" : "async-http-client",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/async-http-client.git",
"state" : {
"revision" : "0ae99db85b2b9d1e79b362bd31fd1ffe492f7c47",
"version" : "1.21.2"
"revision" : "64abc77edf1ef81e69bd90a2ac386de615c8e8ea",
"version" : "1.23.0"
}
},
{
Expand Down Expand Up @@ -60,8 +60,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio",
"state" : {
"revision" : "4c4453b489cf76e6b3b0f300aba663eb78182fad",
"version" : "2.70.0"
"revision" : "665206000b8307cab5ac51203d29b0f232d7e31b",
"version" : "2.74.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion languages/swift/swift-client/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
targets: ["ArriClient"]),
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0")
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.23.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
10 changes: 5 additions & 5 deletions languages/swift/swift-codegen-reference/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"originHash" : "72381a4c5870cf896383818c44bda00bf21b9f23b0d6f5ff27b671fcca36fd4e",
"originHash" : "24bf92507a170ad5e971d079bf6a78b6854a8d91c654a54700e2655e1196850a",
"pins" : [
{
"identity" : "async-http-client",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/async-http-client.git",
"state" : {
"revision" : "0ae99db85b2b9d1e79b362bd31fd1ffe492f7c47",
"version" : "1.21.2"
"revision" : "64abc77edf1ef81e69bd90a2ac386de615c8e8ea",
"version" : "1.23.0"
}
},
{
Expand Down Expand Up @@ -60,8 +60,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "4c4453b489cf76e6b3b0f300aba663eb78182fad",
"version" : "2.70.0"
"revision" : "665206000b8307cab5ac51203d29b0f232d7e31b",
"version" : "2.74.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion languages/swift/swift-codegen-reference/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let package = Package(
],
dependencies: [
.package(name: "ArriClient", path: "../swift-client"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0")
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.23.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
17 changes: 13 additions & 4 deletions languages/swift/swift-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -13,7 +18,11 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"dependencies": { "@arrirpc/codegen-utils": "workspace:*" },
"files": [
"dist"
],
"dependencies": {
"@arrirpc/codegen-utils": "workspace:*"
},
"devDependencies": {}
}
19 changes: 14 additions & 5 deletions languages/ts/ts-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -17,8 +24,10 @@
"dependencies": {
"@arrirpc/schema": "workspace:*",
"@joshmossas/ofetch": "^1.3.5",
"event-source-plus": "^0.1.3",
"event-source-plus": "^0.1.4",
"ws": "^8.18.0"
},
"devDependencies": { "@types/ws": "^8.5.12" }
"devDependencies": {
"@types/ws": "^8.5.12"
}
}
17 changes: 13 additions & 4 deletions languages/ts/ts-codegen-reference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -14,7 +19,11 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"dependencies": { "@arrirpc/client": "workspace:*" },
"files": [
"dist"
],
"dependencies": {
"@arrirpc/client": "workspace:*"
},
"devDependencies": {}
}
13 changes: 10 additions & 3 deletions languages/ts/ts-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -13,7 +18,9 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"dependencies": {
"@arrirpc/codegen-utils": "workspace:*",
"prettier": "^3.3.3"
Expand Down
21 changes: 15 additions & 6 deletions languages/ts/ts-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@
"version": "0.61.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"files": [
"dist"
],
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -22,11 +29,13 @@
"@arrirpc/schema": "workspace:*",
"@types/source-map-support": "^0.5.10",
"arri": "workspace:*",
"crossws": "^0.2.4",
"h3": "^1.12.0",
"crossws": "^0.3.1",
"h3": "^1.13.0",
"scule": "^1.3.0",
"source-map-support": "^0.5.21",
"uncrypto": "^0.1.3"
},
"devDependencies": { "bun-types": "^1.1.26" }
"devDependencies": {
"bun-types": "^1.1.29"
}
}
Loading

0 comments on commit 9b2a781

Please sign in to comment.