Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dwds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

The Dart Web Developer Service (DWDS) allows developer tools designed to work
with the native Dart VM to also work with Dart Web applications compiled with
[DDC](https://webdev.dartlang.org/tools/dartdevc), built / served with
[webdev](https://webdev.dartlang.org/tools/webdev), and run in Chrome.
[DDC](https://dart.dev/tools/dartdevc), built / served with
[webdev](https://dart.dev/tools/webdev), and run in Chrome.

`package:dwds` is integrated into `webdev serve` as well as `flutter run`.

Expand Down
4 changes: 2 additions & 2 deletions dwds/lib/src/utilities/dart_uri.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ class DartUri {
/// file:///source/webdev/fixtures/_test/example/hello_world/part.dart,
///
/// package:path/path.dart <->
/// file:///.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/path.dart,
/// file:///.pub-cache/hosted/pub.dev/path-1.8.0/lib/path.dart,
///
/// package:path/src/path_set.dart <->
/// file:///.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/src/path_set.dart,
/// file:///.pub-cache/hosted/pub.dev/path-1.8.0/lib/src/path_set.dart,
static final Map<String, String> _uriToResolvedUri = {};

/// All of the known libraries, indexed by their absolute file URL.
Expand Down
4 changes: 2 additions & 2 deletions webdev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,5 @@ Run "webdev help" to see global options.

```

[activating]: https://www.dartlang.org/tools/pub/cmd/pub-global#activating-a-package
[pub global]: https://www.dartlang.org/tools/pub/cmd/pub-global
[activating]: https://dart.dev/tools/pub/cmd/pub-global#activating-a-package
[pub global]: https://dart.dev/tools/pub/cmd/pub-global
5 changes: 2 additions & 3 deletions webdev/lib/src/pubspec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class PubspecLock {
var source = pkgDataMap['source'] as String?;
if (source == 'hosted') {
// NOTE: pkgDataMap['description'] should be:
// `{url: https://pub.dartlang.org, name: [pkgName]}`
// `{url: https://pub.dev, name: [pkgName]}`
// If a user is playing around here, they are on their own.

var version = pkgDataMap['version'] as String;
Expand Down Expand Up @@ -198,8 +198,7 @@ class _PackageInfo {

/// Returns the package info for the latest webdev release.
Future<_PackageInfo> _latestPackageInfo() async {
var response = await get(
Uri.parse('https://pub.dartlang.org/api/packages/webdev'),
var response = await get(Uri.parse('https://pub.dev/api/packages/webdev'),
headers: {HttpHeaders.userAgentHeader: 'webdev $packageVersion'});
var responseObj = json.decode(response.body);
var pubspec = Pubspec.fromJson(
Expand Down
8 changes: 4 additions & 4 deletions webdev/test/integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ packages:
dependency: "direct dev"
description:
name: build_runner
url: "https://pub.dartlang.org"
url: "https://pub.dev"
source: hosted
version: "$runnerVersion"
''');
Expand All @@ -299,7 +299,7 @@ packages:
dependency: "direct dev"
description:
name: build_web_compilers
url: "https://pub.dartlang.org"
url: "https://pub.dev"
source: hosted
version: "$webCompilersVersion"
''');
Expand All @@ -311,7 +311,7 @@ packages:
dependency: "direct transitive"
description:
name: build_daemon
url: "https://pub.dartlang.org"
url: "https://pub.dev"
source: hosted
version: "$daemonVersion"
''');
Expand All @@ -323,7 +323,7 @@ packages:
dependency: "direct"
description:
name: $pkg
url: "https://pub.dartlang.org"
url: "https://pub.dev"
source: hosted
version: "1.0.0"
''');
Expand Down