Skip to content

Commit

Permalink
[os_detect] move to pkg:web, prepare publish (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jan 13, 2025
1 parent 48c3c45 commit a59cbea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/os_detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ jobs:
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- name: Run Chrome tests
run: dart test --platform chrome
run: dart test --platform chrome --compiler dart2wasm,dart2js
if: always() && steps.install.outcome == 'success'
3 changes: 2 additions & 1 deletion pkgs/os_detect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2.0.3-wip
## 2.0.3

- Move to `package:web`.
- Require Dart 3.5

## 2.0.2
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os_detect/lib/src/osid_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:html';
import 'package:web/web.dart';

import 'os_kind.dart' show BrowserOS;
import 'os_override.dart';
Expand Down
3 changes: 2 additions & 1 deletion pkgs/os_detect/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: os_detect
version: 2.0.3-wip
version: 2.0.3
description: Platform independent OS detection.
repository: https://github.com/dart-lang/core/tree/main/pkgs/os_detect
issue_tracker: https://github.com/dart-lang/core/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aos_detect
Expand All @@ -9,6 +9,7 @@ environment:

dependencies:
meta: ^1.9.0
web: ^1.0.0

dev_dependencies:
dart_flutter_team_lints: ^3.0.0
Expand Down

0 comments on commit a59cbea

Please sign in to comment.