Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Feb 10, 2025
1 parent 58a115f commit 83fe8db
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 99 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ version: 2
enable-beta-ecosystems: true

updates:
- package-ecosystem: "pub"
directory: "."
schedule:
interval: "monthly"
- package-ecosystem: "pub"
directory: "web_socket"
schedule:
Expand Down
10 changes: 10 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: _
publish_to: none
environment:
sdk: ^3.6.0
workspace:
- web_socket
- web_socket_browser
- web_socket_io
- web_socket_support
- web_socket_test
8 changes: 0 additions & 8 deletions tool/run_all.sh

This file was deleted.

5 changes: 0 additions & 5 deletions tool/travis.sh

This file was deleted.

44 changes: 0 additions & 44 deletions tool/travis_old.sh

This file was deleted.

9 changes: 5 additions & 4 deletions web_socket/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: none
#author: alex <email@example.com>

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
http: any
Expand All @@ -19,6 +19,7 @@ dependencies:
stream_channel: '>=2.1.0-0'

dev_dependencies:
test: '>=1.0.0'
dev_build: any
process_run:
test: ">=1.24.0"
dev_build: ">=1.1.0+2"
process_run: ">=1.2.1+1"
resolution: workspace
16 changes: 6 additions & 10 deletions web_socket_browser/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: none
#author: alex <email@example.com>

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
tekartik_web_socket:
Expand All @@ -17,19 +17,15 @@ dependencies:
version: '>=0.2.2'
web_socket_channel:
dev_dependencies:
test: ">=1.0.0"
dev_build: any
build_web_compilers: '>=0.4.0'
process_run:
test: ">=1.24.0"
dev_build: ">=1.1.0+2"
build_web_compilers: ">=4.0.11"
process_run: ">=1.2.1+1"
tekartik_web_socket_test:
git:
url: https://github.com/tekartik/web_socket.dart
path: web_socket_test
ref: dart3a
version: '>=0.1.0'

dependency_overrides:
tekartik_web_socket:
path: ../web_socket
tekartik_web_socket_test:
path: ../web_socket_test
resolution: workspace
7 changes: 3 additions & 4 deletions web_socket_io/lib/src/web_socket_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ class _WebSocketChannelServerIo<T> implements WebSocketChannelServer<T> {
}

Future serve() async {
var handler =
webSocketHandler((native.WebSocketChannel nativeWebSocketChannel) {
final webSocketChannel =
WebSocketChannelNative<T>(nativeWebSocketChannel);
var handler = webSocketHandler(
(native.WebSocketChannel webSocket, String? subprotocol) {
final webSocketChannel = WebSocketChannelNative<T>(webSocket);

// add to our list for cleanup
channels.add(webSocketChannel);
Expand Down
20 changes: 9 additions & 11 deletions web_socket_io/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: none
#author: alex <email@example.com>

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
tekartik_web_socket:
Expand All @@ -19,19 +19,17 @@ dependencies:
shelf_web_socket: '>=0.2.2'
web_socket_channel:
dev_dependencies:
test: ">=1.2.0"
dev_build: any
collection: '>=1.14.10'
path: '>=1.6.1'
process_run: '>=0.10.3'
test: ">=1.24.0"
dev_build: ">=1.1.0+2"
collection: ">=1.18.0"
path: ">=1.9.0"
process_run: ">=1.2.1+1"
tekartik_web_socket_test:
git:
url: https://github.com/tekartik/web_socket.dart
path: web_socket_test
ref: dart3a
version: '>=0.1.0'
dependency_overrides:
tekartik_web_socket:
path: ../web_socket
tekartik_web_socket_test:
path: ../web_socket_test


resolution: workspace
11 changes: 6 additions & 5 deletions web_socket_support/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ publish_to: none
#

environment:
sdk: ^3.5.0
sdk: ^3.6.0

#dependencies:
# path: ^1.6.0

dev_dependencies:
dev_build:
test: ^1.6.0
dev_build: ">=1.1.0+2"
test: ">=1.24.0"
tekartik_common_utils:
git:
url: https://github.com/tekartik/common_utils.dart
ref: dart3a
process_run:
path:
process_run: ">=1.2.1+1"
path: ">=1.9.0"
resolution: workspace
14 changes: 6 additions & 8 deletions web_socket_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: none
#author: alex <email@example.com>

environment:
sdk: ^3.5.0
sdk: ^3.6.0

dependencies:
tekartik_web_socket:
Expand All @@ -15,13 +15,11 @@ dependencies:
path: web_socket
ref: dart3a
version: '>=0.2.2'
process_run:
test:
process_run: ">=1.2.1+1"
test: ">=1.24.0"

dev_dependencies:
dev_build: any
collection: '>=1.14.10'
dev_build: ">=1.1.0+2"
collection: ">=1.18.0"

dependency_overrides:
tekartik_web_socket:
path: ../web_socket
resolution: workspace

0 comments on commit 83fe8db

Please sign in to comment.