From d13596f2f28c1e5fb935b62c341d97b1f098f51f Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Mon, 27 Apr 2026 05:08:18 -0700 Subject: [PATCH] [dart_data_home] Prepare for release Intended to be published under https://pub.dev/publishers/tools.dart.dev/packages Solves all warnings from `dart pub publish --dry-run`. Change-Id: Ibeae127aaafb8f2ec92a59843f56f48dcf33660e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/498561 Auto-Submit: Daco Harkes Reviewed-by: Slava Egorov Commit-Queue: Slava Egorov Commit-Queue: Daco Harkes --- pkg/dart_data_home/CHANGELOG.md | 3 +++ pkg/dart_data_home/LICENSE | 27 +++++++++++++++++++++++++++ pkg/dart_data_home/README.md | 6 ++++++ pkg/dart_data_home/pubspec.yaml | 9 ++++----- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 pkg/dart_data_home/CHANGELOG.md create mode 100644 pkg/dart_data_home/LICENSE create mode 100644 pkg/dart_data_home/README.md diff --git a/pkg/dart_data_home/CHANGELOG.md b/pkg/dart_data_home/CHANGELOG.md new file mode 100644 index 00000000000..6073234226b --- /dev/null +++ b/pkg/dart_data_home/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.0 + +* Initial release. diff --git a/pkg/dart_data_home/LICENSE b/pkg/dart_data_home/LICENSE new file mode 100644 index 00000000000..2b76736b4c8 --- /dev/null +++ b/pkg/dart_data_home/LICENSE @@ -0,0 +1,27 @@ +Copyright 2025, the Dart project authors. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google LLC nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/pkg/dart_data_home/README.md b/pkg/dart_data_home/README.md new file mode 100644 index 00000000000..c7cc59147e5 --- /dev/null +++ b/pkg/dart_data_home/README.md @@ -0,0 +1,6 @@ +A package providing a standardized way to access a user-specific data +directory for Dart and Flutter tooling, defaulting to OS-conventions and +configurable via the `DART_DATA_HOME` environment variable. + +This package also provides utilities for managing pid files for service +processes. diff --git a/pkg/dart_data_home/pubspec.yaml b/pkg/dart_data_home/pubspec.yaml index 76e594865d7..9f11cc7005f 100644 --- a/pkg/dart_data_home/pubspec.yaml +++ b/pkg/dart_data_home/pubspec.yaml @@ -1,12 +1,11 @@ name: dart_data_home -version: 0.1.0-wip +version: 0.1.0 description: >- A package providing a standardized way to access a user-specific data - directory for Dart and Flutter tooling, defaulting to OS-conventions - and configurable via the `DART_DATA_HOME` environment variable. + directory for Dart and Flutter tooling, defaulting to OS-conventions and + configurable via the `DART_DATA_HOME` environment variable. -# This package will be published at some point to be able to use it for Dart and -# Flutter tooling that does not live in the Dart SDK. +repository: https://github.com/dart-lang/sdk/tree/main/pkg/dart_data_home environment: sdk: ^3.8.0