Moving fixes
diff --git a/.github/labeler.yml b/.github/labeler.yml
index bfef316..3ab79c0 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -92,6 +92,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/pub_semver/**'
+'package:pubspec_parse':
+ - changed-files:
+ - any-glob-to-any-file: 'pkgs/pubspec_parse/**'
+
'package:source_map_stack_trace':
- changed-files:
- any-glob-to-any-file: 'pkgs/source_map_stack_trace/**'
diff --git a/pkgs/pubspec_parse/.github/workflows/test-package.yml b/.github/workflows/pubspec_parse.yaml
similarity index 83%
rename from pkgs/pubspec_parse/.github/workflows/test-package.yml
rename to .github/workflows/pubspec_parse.yaml
index 922d6c2..ebe7059 100644
--- a/pkgs/pubspec_parse/.github/workflows/test-package.yml
+++ b/.github/workflows/pubspec_parse.yaml
@@ -1,17 +1,28 @@
-name: Dart CI
+name: package:pubspec_parse
on:
# Run on PRs and pushes to the default branch.
push:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/pubspec_parse.yaml'
+ - 'pkgs/pubspec_parse/**'
pull_request:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/pubspec_parse.yaml'
+ - 'pkgs/pubspec_parse/**'
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github
+
+defaults:
+ run:
+ working-directory: pkgs/pubspec_parse/
+
jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
diff --git a/README.md b/README.md
index d1a1d04..0201aa2 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@
| [package_config](pkgs/package_config/) | Support for reading and writing Dart Package Configuration files. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apackage_config) | [](https://pub.dev/packages/package_config) |
| [pool](pkgs/pool/) | Manage a finite pool of resources. Useful for controlling concurrent file system or network requests. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apool) | [](https://pub.dev/packages/pool) |
| [pub_semver](pkgs/pub_semver/) | Versions and version constraints implementing pub's versioning policy. This is very similar to vanilla semver, with a few corner cases. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apub_semver) | [](https://pub.dev/packages/pub_semver) |
+| [pubspec_parse](pkgs/pubspec_parse/) | Simple package for parsing pubspec.yaml files with a type-safe API and rich error reporting. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Apubspec_parse) | [](https://pub.dev/packages/pubspec_parse) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [](https://pub.dev/packages/source_map_stack_trace) |
| [source_maps](pkgs/source_maps/) | A library to programmatically manipulate source map files. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_maps) | [](https://pub.dev/packages/source_maps) |
| [source_span](pkgs/source_span/) | Provides a standard representation for source code locations and spans. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_span) | [](https://pub.dev/packages/source_span) |
diff --git a/pkgs/pubspec_parse/.github/dependabot.yml b/pkgs/pubspec_parse/.github/dependabot.yml
deleted file mode 100644
index cde02ad..0000000
--- a/pkgs/pubspec_parse/.github/dependabot.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Dependabot configuration file.
-# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
-version: 2
-
-updates:
- - package-ecosystem: github-actions
- directory: /
- schedule:
- interval: monthly
- labels:
- - autosubmit
- groups:
- github-actions:
- patterns:
- - "*"
diff --git a/pkgs/pubspec_parse/.github/workflows/publish.yaml b/pkgs/pubspec_parse/.github/workflows/publish.yaml
deleted file mode 100644
index 27157a0..0000000
--- a/pkgs/pubspec_parse/.github/workflows/publish.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-# A CI configuration to auto-publish pub packages.
-
-name: Publish
-
-on:
- pull_request:
- branches: [ master ]
- push:
- tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
-
-jobs:
- publish:
- if: ${{ github.repository_owner == 'dart-lang' }}
- uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
- permissions:
- id-token: write # Required for authentication using OIDC
- pull-requests: write # Required for writing the pull request note
diff --git a/pkgs/pubspec_parse/CHANGELOG.md b/pkgs/pubspec_parse/CHANGELOG.md
index 251d4cc..a5f0f1a 100644
--- a/pkgs/pubspec_parse/CHANGELOG.md
+++ b/pkgs/pubspec_parse/CHANGELOG.md
@@ -1,9 +1,10 @@
-## 1.4.0-wip
+## 1.4.0
- Require Dart 3.2
- Seal the `Dependency` class.
- Set `Pubspec.environment` to non-nullable.
- Remove deprecated package_api_docs rule
+- Move to `dart-lang/tools` monorepo.
## 1.3.0
diff --git a/pkgs/pubspec_parse/README.md b/pkgs/pubspec_parse/README.md
index 916742a..1d04aa4 100644
--- a/pkgs/pubspec_parse/README.md
+++ b/pkgs/pubspec_parse/README.md
@@ -1,4 +1,4 @@
-[](https://github.com/dart-lang/pubspec_parse/actions/workflows/test-package.yml)
+[](https://github.com/dart-lang/tools/actions/workflows/pubspec_parse.yaml)
[](https://pub.dev/packages/pubspec_parse)
[](https://pub.dev/packages/pubspec_parse/publisher)
diff --git a/pkgs/pubspec_parse/pubspec.yaml b/pkgs/pubspec_parse/pubspec.yaml
index cb29d02..9d1c8db 100644
--- a/pkgs/pubspec_parse/pubspec.yaml
+++ b/pkgs/pubspec_parse/pubspec.yaml
@@ -1,5 +1,5 @@
name: pubspec_parse
-version: 1.4.0-wip
+version: 1.4.0
description: >-
Simple package for parsing pubspec.yaml files with a type-safe API and rich
error reporting.