update CI; add markdown badges
diff --git a/pkgs/watcher/.github/dependabot.yaml b/pkgs/watcher/.github/dependabot.yaml new file mode 100644 index 0000000..2144819 --- /dev/null +++ b/pkgs/watcher/.github/dependabot.yaml
@@ -0,0 +1,8 @@ +# Dependabot configuration file. +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly"
diff --git a/pkgs/watcher/.github/workflows/test-package.yml b/pkgs/watcher/.github/workflows/test-package.yml index 971c6f0..c63ec37 100644 --- a/pkgs/watcher/.github/workflows/test-package.yml +++ b/pkgs/watcher/.github/workflows/test-package.yml
@@ -22,8 +22,8 @@ matrix: sdk: [dev] steps: - - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1.0 + - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + - uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: ${{ matrix.sdk }} - id: install @@ -48,8 +48,8 @@ os: [ubuntu-latest, macos-latest, windows-latest] sdk: [2.14.0, dev] steps: - - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1.0 + - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + - uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: ${{ matrix.sdk }} - id: install
diff --git a/pkgs/watcher/CHANGELOG.md b/pkgs/watcher/CHANGELOG.md index af54045..a2e3e0b 100644 --- a/pkgs/watcher/CHANGELOG.md +++ b/pkgs/watcher/CHANGELOG.md
@@ -1,4 +1,4 @@ -# 1.0.2-dev +# 1.0.2 - Require Dart SDK >= 2.14 - Ensure `DirectoryWatcher.ready` completes even when errors occur that close the watcher.
diff --git a/pkgs/watcher/README.md b/pkgs/watcher/README.md index 61cc1f9..677ca35 100644 --- a/pkgs/watcher/README.md +++ b/pkgs/watcher/README.md
@@ -1,4 +1,10 @@ +[](https://github.com/dart-lang/watcher/actions/workflows/test-package.yml) +[](https://pub.dev/packages/watcher) +[](https://pub.dev/packages/watcher/publisher) + A file system watcher. -It monitors changes to contents of directories and sends notifications when -files have been added, removed, or modified. +## What's this? + +`package:watcher` monitors changes to contents of directories and sends +notifications when files have been added, removed, or modified.
diff --git a/pkgs/watcher/analysis_options.yaml b/pkgs/watcher/analysis_options.yaml index b9b5287..29327a4 100644 --- a/pkgs/watcher/analysis_options.yaml +++ b/pkgs/watcher/analysis_options.yaml
@@ -1,4 +1,5 @@ include: package:lints/recommended.yaml + analyzer: strong-mode: implicit-casts: false
diff --git a/pkgs/watcher/pubspec.yaml b/pkgs/watcher/pubspec.yaml index b4102c5..9472374 100644 --- a/pkgs/watcher/pubspec.yaml +++ b/pkgs/watcher/pubspec.yaml
@@ -1,6 +1,5 @@ name: watcher -version: 1.0.2-dev - +version: 1.0.2 description: >- A file system watcher. It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.