Skip to content

Commit 46584c2

Browse files
committed
Moving fixes
1 parent 58c3f90 commit 46584c2

File tree

12 files changed

+57
-82
lines changed

12 files changed

+57
-82
lines changed

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
- changed-files:
6969
- any-glob-to-any-file: 'pkgs/json_rpc_2/**'
7070

71+
'package:markdown':
72+
- changed-files:
73+
- any-glob-to-any-file: 'pkgs/markdown/**'
74+
7175
'package:mime':
7276
- changed-files:
7377
- any-glob-to-any-file: 'pkgs/mime/**'

.github/workflows/clock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
push:
66
branches: [ main ]
77
paths:
8-
- '.github/workflows/clock.yml'
8+
- '.github/workflows/clock.yaml'
99
- 'pkgs/clock/**'
1010
pull_request:
1111
branches: [ main ]
1212
paths:
13-
- '.github/workflows/clock.yml'
13+
- '.github/workflows/clock.yaml'
1414
- 'pkgs/clock/**'
1515
schedule:
1616
- cron: "0 0 * * 0"

pkgs/markdown/.github/workflows/test-package.yml renamed to .github/workflows/markdown.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
1-
name: Dart CI
1+
name: package:markdown
22

33
on:
44
# Run on PRs and pushes to the default branch.
55
push:
6-
branches: [ master ]
6+
branches: [ main ]
7+
paths:
8+
- '.github/workflows/markdown.yaml'
9+
- 'pkgs/markdown/**'
710
pull_request:
8-
branches: [ master ]
11+
branches: [ main ]
12+
paths:
13+
- '.github/workflows/markdown.yaml'
14+
- 'pkgs/markdown/**'
915
schedule:
1016
- cron: "0 0 * * 0"
1117

1218
env:
1319
PUB_ENVIRONMENT: bot.github
1420

21+
22+
defaults:
23+
run:
24+
working-directory: pkgs/markdown/
25+
26+
1527
jobs:
1628
# Check code formatting and static analysis on a single OS (linux)
1729
# against Dart dev.

pkgs/markdown/.github/workflows/crash_test.yaml renamed to .github/workflows/markdown_crash_test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ on:
77
schedule:
88
# “At 00:00 (UTC) on Sunday.”
99
- cron: '0 0 * * 0'
10+
11+
defaults:
12+
run:
13+
working-directory: pkgs/markdown/
1014

1115
jobs:
1216
crash-test:
1317
runs-on: ubuntu-latest
1418
steps:
1519
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1620
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
21+
1722
- name: Install dependencies
1823
run: dart pub get
24+
1925
- name: Run crash_test.dart
2026
run: dart test -P crash_test test/crash_test.dart

pkgs/markdown/.github/workflows/flutter_markdown.yaml renamed to .github/workflows/markdown_flutter.yaml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
# Run a smoke test against package:flutter_markdown.
22

3-
name: flutter_markdown
3+
name: markdown_flutter
44

55
on:
6-
schedule:
7-
# “At 00:00 (UTC) on Sunday.”
8-
- cron: '0 0 * * 0'
6+
# Run on PRs and pushes to the default branch.
97
push:
10-
branches: [ master ]
8+
branches: [ main ]
9+
paths:
10+
- '.github/workflows/markdown.yaml'
11+
- 'pkgs/markdown/**'
1112
pull_request:
12-
branches: [ master ]
13+
branches: [ main ]
14+
paths:
15+
- '.github/workflows/markdown.yaml'
16+
- 'pkgs/markdown/**'
17+
schedule:
18+
- cron: "0 0 * * 0"
19+
20+
env:
21+
PUB_ENVIRONMENT: bot.github
22+
1323

14-
permissions: read-all
24+
defaults:
25+
run:
26+
working-directory: pkgs/markdown/
1527

1628
jobs:
1729
smoke-test:
@@ -21,8 +33,8 @@ jobs:
2133
- name: clone dart-lang/markdown
2234
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2335
with:
24-
repository: dart-lang/markdown
25-
path: markdown
36+
repository: dart-lang/tools
37+
path: tools_repo
2638

2739
- name: clone flutter/packages
2840
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
@@ -44,7 +56,7 @@ jobs:
4456
run: |
4557
echo "dependency_overrides:" > pubspec_overrides.yaml
4658
echo " markdown:" >> pubspec_overrides.yaml
47-
echo " path: ../../../markdown" >> pubspec_overrides.yaml
59+
echo " path: ../../../tools_repo/pkgs/markdown" >> pubspec_overrides.yaml
4860
4961
- name: flutter pub get
5062
working-directory: flutter_packages/packages/flutter_markdown

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ don't naturally belong to other topic monorepos (like
3030
| [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [![package issues](https://img.shields.io/badge/package:graphs-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs) | [![pub package](https://img.shields.io/pub/v/graphs.svg)](https://pub.dev/packages/graphs) |
3131
| [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [![package issues](https://img.shields.io/badge/package:html-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml) | [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) |
3232
| [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [![package issues](https://img.shields.io/badge/package:json_rpc_2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajson_rpc_2) | [![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) |
33+
| [markdown](pkgs/markdown/) | A portable Markdown library written in Dart that can parse Markdown into HTML. | [![pub package](https://img.shields.io/pub/v/markdown.svg)](https://pub.dev/packages/markdown) |
3334
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [![package issues](https://img.shields.io/badge/package:mime-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [![pub package](https://img.shields.io/pub/v/mime.svg)](https://pub.dev/packages/mime) |
3435
| [oauth2](pkgs/oauth2/) | A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials. | [![package issues](https://img.shields.io/badge/package:oauth2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [![pub package](https://img.shields.io/pub/v/oauth2.svg)](https://pub.dev/packages/oauth2) |
3536
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [![package issues](https://img.shields.io/badge/package:source_map_stack_trace-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [![pub package](https://img.shields.io/pub/v/source_map_stack_trace.svg)](https://pub.dev/packages/source_map_stack_trace) |

pkgs/markdown/.github/dependabot.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

pkgs/markdown/.github/workflows/no-response.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

pkgs/markdown/.github/workflows/publish.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

pkgs/markdown/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 7.2.4
2+
3+
* Move to `dart-lang/tools` monorepo.
4+
15
## 7.2.3
26

37
* Fix an issue with checkbox list items separated with blank lines (#602).

0 commit comments

Comments
 (0)