diff --git a/dwds/README.md b/dwds/README.md index adb3d9c99..b63bd6391 100644 --- a/dwds/README.md +++ b/dwds/README.md @@ -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`. diff --git a/dwds/lib/src/utilities/dart_uri.dart b/dwds/lib/src/utilities/dart_uri.dart index 5b18d0fab..46ca713fa 100644 --- a/dwds/lib/src/utilities/dart_uri.dart +++ b/dwds/lib/src/utilities/dart_uri.dart @@ -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 _uriToResolvedUri = {}; /// All of the known libraries, indexed by their absolute file URL. diff --git a/webdev/README.md b/webdev/README.md index 6040c6217..a61e020ed 100644 --- a/webdev/README.md +++ b/webdev/README.md @@ -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 diff --git a/webdev/lib/src/pubspec.dart b/webdev/lib/src/pubspec.dart index 34cc83c7d..652ba503f 100644 --- a/webdev/lib/src/pubspec.dart +++ b/webdev/lib/src/pubspec.dart @@ -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; @@ -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( diff --git a/webdev/test/integration_test.dart b/webdev/test/integration_test.dart index f7ec3273d..7035997f8 100644 --- a/webdev/test/integration_test.dart +++ b/webdev/test/integration_test.dart @@ -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" '''); @@ -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" '''); @@ -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" '''); @@ -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" ''');