-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge package:markdown
#1208
Open
mosuem
wants to merge
595
commits into
main
Choose a base branch
from
merge-markdown-package
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Merge package:markdown
#1208
Changes from all commits
Commits
Show all changes
595 commits
Select commit
Hold shift + click to select a range
afc714e
Enable pkg:pedantic lints (dart-lang/markdown#236)
kevmoo 4939b52
dev dep: latest build_web_compilers (dart-lang/markdown#237)
kevmoo 6c6786c
Remove deprecated lints, enable/fix all dartfmt --fix lints (dart-lan…
kevmoo 473aeb1
Fix codeSyntax and BlockParser to respect encodeHtml flag (dart-lang/…
sldsrg 0c1c09d
Fix links (dart-lang/markdown#241)
kevmoo d6a0742
Updated GitHub emojis: added 68 new ones
kevmoo 9e34647
Updated naughty string list, generator, test
kevmoo 6aef7dd
Fix output from tool/stats_lib
kevmoo 5497de9
Render element attributes in the order they were defined
kevmoo 06e6b7d
Correctly escape & in inline image titles
kevmoo 4df8a85
Support the latest pkg:html
kevmoo 69e5fe0
Escape HTML attribute for fenced code blocks, in the info string; 2.0…
srawlins 6efba3f
Record total strict counts for common mark tests
kevmoo 611f0da
tool/stats.dart --update-files updates all configs by default
kevmoo 16c7075
Generate and test common_mark tests using unit files
kevmoo ccfc9fd
Update common_mark tests to 0.29 - 2019-04-06
kevmoo 7c7c83f
Update gfm tests to 0.29.0.gfm.0
kevmoo 40c936b
Show strict % of total passing tests
kevmoo a91301e
Improve white-space strictness of a number of elements
kevmoo 3924107
Make it easier to hack on strictness
kevmoo 628552d
support the latest pkg:build_web_compilers (dart-lang/markdown#250)
kevmoo 9bbf059
fix latest pedantic lints
kevmoo 118a30c
Test on oldest supported Dart SDK
kevmoo 67fa6fb
Fix urls to pub.dev (dart-lang/markdown#253)
kevmoo 4b6dd87
Prepare for upcoming change to HttpRequest and HttpClientResponse (da…
tvolkert ccea703
Fix some html entities (dart-lang/markdown#256)
srawlins 84bd374
Fix errant return (dart-lang/markdown#258)
srawlins f92be90
Fix parsing of inline code blocks with multiple backticks (dart-lang/…
srawlins 29daaf3
Fix escaping in an indented code block (dart-lang/markdown#262)
srawlins ce6b5aa
Fix for preserving whitespace in text containing <pre> (dart-lang/mar…
keertip c326b8b
publish 2.1.1 (dart-lang/markdown#265)
keertip 26c5bd0
Enforce more strict analysis (dart-lang/markdown#266)
srawlins 41e6b2d
Recognize Unicode ellipsis as punctuation (dart-lang/markdown#270)
srawlins ced2e15
Reduce time to parse a large Markdown document by about half (dart-la…
srawlins 6007ac2
Add startCharacter, reducing parsing time by another 17%; bump to 2.1…
srawlins 00650cb
Conditionally escape HTML in links; fixes dart-lang/markdown#272
db8895d
Bump to 2.1.3 with link fix (dart-lang/markdown#278)
srawlins 3ce9509
Fix newly enforced package:pedantic lints (dart-lang/markdown#279)
natebosch 2689657
Properly normalize a collapsed reference link; fixes dart-lang/markdo…
srawlins b6fe7f6
Update old links to point to dart.dev and pub.dev (dart-lang/markdown…
kevmoo 27f148b
Fix benchmark output
kevmoo e79649b
Bump version to 2.1.4 (dart-lang/markdown#290)
srawlins e934c45
Bump the Big List of Naughty Strings test (dart-lang/markdown#291)
srawlins 9b2b444
Lint: bump pedantic and handle consequences (dart-lang/markdown#289)
srawlins 1386f2b
Overhaul table row parsing (dart-lang/markdown#288)
srawlins 6895917
Bump to 2.1.5 (dart-lang/markdown#292)
srawlins 8d34667
Add remaining html5 'block level' tags (dart-lang/markdown#294)
alechenninger 69015c2
Remove redundant LinkSyntax; remove erroneous comment (dart-lang/mark…
alechenninger 86ec4fc
Small modifications for null-safety (dart-lang/markdown#296)
srawlins 5e97604
Bump to 2.1.6 (dart-lang/markdown#297)
srawlins ba7dcdc
Add dependency on the meta package (dart-lang/markdown#298)
srawlins 6700152
Fixed inaccuracies in Extension sets section (dart-lang/markdown#308)
mjordan56 7679f9e
Deprecate 4 public methods; will be made private (dart-lang/markdown#…
srawlins 4b63cfe
Fixes for Issue 310 - Follow Dart file conventions (dart-lang/markdow…
mjordan56 b39e388
Remove 4 public methods from public API (dart-lang/markdown#312)
srawlins 4073160
Make pre-define extension sets immutable (dart-lang/markdown#304)
mjordan56 cc088a7
Allow intra-word strikethrough in GFM (dart-lang/markdown#313)
srawlins 3e81f8c
Prioritize custom inline syntax parsers (dart-lang/markdown#309)
mjordan56 0c04098
An empty list cannot interrupt a paragraph. (dart-lang/markdown#317)
srawlins 8286ea7
Remove trailing space from paragraphs, headings, html blocks (dart-la…
srawlins 6c630cc
Improve canEndBlock logic for ListSyntax subclasses (dart-lang/markdo…
srawlins 89fe213
Release 3.0.0 (dart-lang/markdown#339)
srawlins 7ae8a67
Overhaul link and emphasis resolution (dart-lang/markdown#345)
srawlins c9dbc1b
Remove dependency on expected_output; fold impl into tool/ (dart-lang…
srawlins 83c0b8d
Null safe API (dart-lang/markdown#347)
srawlins 68a5056
Fix leading whitespace after hard break (dart-lang/markdown#348)
srawlins 54fe5df
Allow space in a pointy-bracked inline link (dart-lang/markdown#349)
srawlins 9621602
Bump to 4.0.0-nullsafety.0 (dart-lang/markdown#352)
srawlins 86d263a
Migrate to GitHub Actions (dart-lang/markdown#353)
athomas 1dd4c13
prep for stable release (dart-lang/markdown#354)
jakemac53 d8465ee
stable null safety release (dart-lang/markdown#355)
jakemac53 036415b
Update pedantic to 1.11.0 (dart-lang/markdown#361)
srawlins 6e62dd6
allow latest pkg:io, clean SDk constraint, update pubspec URL (dart-l…
kevmoo 7ffd04b
Update LICENSE
franklinyow 75f855a
Merge pull request dart-lang/markdown#366 from dart-lang/franklinyow-…
franklinyow 25cf896
fix formatting
kevmoo 896bfa9
Migrate from pedantic to lints (dart-lang/markdown#370)
srawlins cb3807f
Minor README cleanup (dart-lang/markdown#372)
parlough 60c0db1
Update example and necessary dependencies (dart-lang/markdown#373)
parlough ac2c724
Export emojis.dart (dart-lang/markdown#377)
ValentinVignal 9b9cc12
Move build configuration to peanut.yaml, make it easier to deploy exa…
kevmoo 542beb1
Bump package to version 4.0.1 (dart-lang/markdown#378)
srawlins 4e480fd
Update blns for text_direction_code_point_in_literal hint (dart-lang/…
kevmoo 3a147da
Update Common Mark tests to v0.30.2 (dart-lang/markdown#383)
kevmoo 2e840b9
Make EscapeSyntax respect encodeHtml (dart-lang/markdown#386)
TarekkMA 5adac71
Make parseInline's parameter non-nullable (dart-lang/markdown#389)
srawlins 0e852ef
Opt test/ and tool/ into null safety (dart-lang/markdown#392)
srawlins 8f18b16
Render table with trailing whitespace (dart-lang/markdown#391)
srawlins 6f20175
Improvements to documentation (dart-lang/markdown#397)
telenieko 5a66ccc
Do not allow reference link labels contain left brackets (dart-lang/m…
chenzhiguang c310995
Change getChildren parameter of _resolveReferenceLink to required and…
chenzhiguang 6af0190
Treat lines matched CodeBlockSyntx as continuations of paragraphs in …
chenzhiguang 0e4d97b
Support GitLab flavored fenced blockquote (dart-lang/markdown#403)
chenzhiguang 9c70c43
Add options to disable default syntaxes (dart-lang/markdown#404)
chenzhiguang 2aadf9c
Update the ones related to Element.children (dart-lang/markdown#405)
chenzhiguang b25c692
Bump version to 5.0.0 (dart-lang/markdown#406)
srawlins 8373c2f
Use `Uri.toFilePath()` instead of `Uri.path` for locating tests (dart…
telenieko df164a0
Check parser.isDone when title is null in _parseInlineBracketedLink (…
chenzhiguang 0be965f
Add caseSensitive parameter on the InlineSyntax constructor (dart-lan…
chenzhiguang 9dc6c1f
Create DelimiterSyntax to replace TagSyntax (dart-lang/markdown#407)
chenzhiguang 68b22e2
Enable prefer_final_locals lint rule (dart-lang/markdown#415)
chenzhiguang dcbcf78
Enable prefer_interpolation_to_compose_strings (dart-lang/markdown#416)
chenzhiguang 0cc64ba
Enable use_if_null_to_convert_nulls_to_bools lint rule (dart-lang/mar…
chenzhiguang 3c5628d
Enable raw strings lint rules (dart-lang/markdown#418)
chenzhiguang ecade88
Add trailing commas to some parameter lists to get better formatting …
chenzhiguang 431f49c
Split block_parser.dart and inline_parser.dart (dart-lang/markdown#422)
chenzhiguang 76f084d
Remove dependency on third party package:charcode.
sortie 3adf317
add pub badge
pq 77f7560
Merge pull request dart-lang/markdown#425 from dart-lang/pq-patch-1
pq ab2c97e
example: add GitHub markdown CSS (dart-lang/markdown#434)
kevmoo cd35700
example: update CDN asset links (dart-lang/markdown#435)
kevmoo e382038
Change source of emojis to github api so GFM can support all possible…
timmaffett a832d94
Add support for github task lists (aka checkboxes) actually fixes da…
timmaffett a98b6ea
Require Dart 2.17, cleanup up lints (dart-lang/markdown#442)
kevmoo abd6615
Bump to 6.0.0 (dart-lang/markdown#443)
srawlins 1851d34
Wrote some crashtest for running against markdown files from pub.dev
jonasfj 61e801e
Fix crash with mixed checkbox lists (dart-lang/markdown#449)
srawlins d3e67c6
Rewrite checkbox(task list) extension (dart-lang/markdown#450)
chenzhiguang 3ffdbbf
visitText to use textContent getter so subclassing Text class works c…
timmaffett b4ee030
example: small tweak to example – add Dart code (dart-lang/markdown#455)
kevmoo 9727c18
lint cleanup (dart-lang/markdown#456)
kevmoo f76e697
Add deprecated accessors for indicatorForUncheckedCheckBox and indica…
timmaffett f922d72
Bump to 6.0.1 (dart-lang/markdown#462)
srawlins e1f6c2b
Refactor HTML block syntax (dart-lang/markdown#458)
chenzhiguang 3f01059
Improve the match pattern of inline html (dart-lang/markdown#464)
chenzhiguang 18d3420
Fix unicode case folding (dart-lang/markdown#465)
chenzhiguang 4b8cf35
Use fewer empty lists; non-growable (dart-lang/markdown#463)
srawlins 235196b
CI: update actions, add dependabot (dart-lang/markdown#469)
kevmoo 802bf04
Misc package cleanup, mostly lints (dart-lang/markdown#468)
kevmoo 1c451d0
Fix html entity and numeric character references (dart-lang/markdown#…
chenzhiguang 27d7048
validate code coverage on CI (dart-lang/markdown#474)
kevmoo 17d2d4c
Return list for link nodes creation (dart-lang/markdown#452)
lindeer ed01738
Make helper class private that should not have been exposed (dart-lan…
kevmoo 6d1fc30
Optimise TableSyntax (dart-lang/markdown#472)
chenzhiguang 09ed5ff
Refactor AutolinkExtensionSyntax (dart-lang/markdown#471)
chenzhiguang 6e77f4b
Fix comments
jonasfj 0c22505
Fix lints
jonasfj 348b4ca
Fix lints
jonasfj 4c4b7b8
Merge pull request dart-lang/markdown#446 from jonasfj/crashtest
jonasfj d7cd08f
create a workflow to smoke test package:flutter_markdown (dart-lang/m…
devoncarew 815350e
Add SoftLineBreakSyntax (dart-lang/markdown#473)
chenzhiguang dab2335
Drop all deprecated APIs (dart-lang/markdown#475)
kevmoo 31228ff
Improve FencedCodeBlockSyntax (dart-lang/markdown#478)
chenzhiguang 1017208
Some performance improvement on delimiter syntaxes (dart-lang/markdow…
chenzhiguang 4c5ea03
Improve BlockquoteSyntax (dart-lang/markdown#479)
chenzhiguang af5ed7c
Fix HTML escape issues (dart-lang/markdown#484)
chenzhiguang 0ca9fa7
Refactor CodeSyntax (dart-lang/markdown#487)
chenzhiguang beac454
some cleanup (dart-lang/markdown#489)
chenzhiguang 14748de
Refactor ATX headings (dart-lang/markdown#486)
chenzhiguang b6cbd0a
benchmark: use Stopwatch over DateTime for benchmarking (dart-lang/ma…
kevmoo d6f2e07
Refactor CodeBlockSyntax (dart-lang/markdown#488)
chenzhiguang 7d3eeb0
Fix an ImageSyntax issue (dart-lang/markdown#493)
chenzhiguang 16893b3
Optimise DelimiterSyntax (dart-lang/markdown#492)
chenzhiguang ccdf77f
Fix a blockquote issue (dart-lang/markdown#496)
chenzhiguang e629e43
introduce a Line class (dart-lang/markdown#494)
chenzhiguang e88ceb5
Do not escape single quote(apostrophe) inside code (dart-lang/markdow…
chenzhiguang f17dfbf
Refactor list syntax (dart-lang/markdown#499)
chenzhiguang 318f24b
Bump actions/checkout from 3.0.2 to 3.2.0 (dart-lang/markdown#501)
dependabot[bot] 9362ea0
Migrate from no-implicit-casts to strict-casts (dart-lang/markdown#504)
srawlins c7c671e
Rewrite SetextHeaderSyntax (dart-lang/markdown#500)
chenzhiguang f83e745
Add an `enableTagfilter` option to `HtmlRenderer` to eanble GFM `tagf…
chenzhiguang 46ac888
Update GFM to 0.29.0.gfm.7 (dart-lang/markdown#507)
kevmoo 788f3af
Rewrite link reference definitions (dart-lang/markdown#506)
chenzhiguang 45ec42a
Add line endings before HTML blocks (dart-lang/markdown#508)
chenzhiguang 24d17f9
Prepare to release v7.0.0 (dart-lang/markdown#509)
kevmoo 9b84435
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/markdown#511)
dependabot[bot] c16b91d
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/markdown#510)
dependabot[bot] e96fae0
Prepend a line ending if the p tag is removed and there is an element…
chenzhiguang a999841
CI: add publish and response workflows (dart-lang/markdown#517)
kevmoo 50931cb
Label tests that only run on the VM: allows running tests with browse…
kevmoo ce05daf
Add line endings to HTML blocks (dart-lang/markdown#512)
chenzhiguang 55e555a
Move to pkg:dart_flutter_team_lints (dart-lang/markdown#518)
kevmoo 31a4e63
Remove lookarounds from autolink extension patterns (dart-lang/markdo…
chenzhiguang bd269df
Prepare to release v7.0.1 (dart-lang/markdown#520)
kevmoo b8d34b7
Do not generate heading IDs for headings with no content in `HeaderWi…
chenzhiguang 9739ec0
Use latest lints, require Dart 2.19 or later (dart-lang/markdown#524)
kevmoo eface63
Prepare a release of 7.0.2 (dart-lang/markdown#526)
jonasfj a2db192
Footnote support (dart-lang/markdown#441)
lindeer ca6aeee
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/markdown#527)
dependabot[bot] 2544cfb
Bump subosito/flutter-action from 2.8.0 to 2.10.0 (dart-lang/markdown…
dependabot[bot] 83eacf6
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/markdown#529)
dependabot[bot] 93a8c43
Fix `linkReferenceDefinitionPattern` (dart-lang/markdown#532)
chenzhiguang 6bca4df
Throw, if `BlockSyntax.parseLines` loops indefinitely (dart-lang/mark…
jonasfj 5246497
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/markdown#536)
dependabot[bot] ba642cf
Prepare 7.1.0 (dart-lang/markdown#538)
jonasfj 124b428
Fix delimiter row matching pattern for tables (dart-lang/markdown#540)
chenzhiguang 36bd77b
blast_repo fixes (dart-lang/markdown#542)
devoncarew 6135ee3
blast_repo fixes (dart-lang/markdown#544)
devoncarew a74b421
Table should be able to interrupt other blocks (dart-lang/markdown#545)
chenzhiguang 8dface7
Fix HtmlBlockSyntax (dart-lang/markdown#548)
chenzhiguang 7de6600
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/markdown#549)
dependabot[bot] 65f093d
Bump to 7.1.1 (dart-lang/markdown#550)
srawlins 59c58c9
Bump pkg:http (dev) dependency (dart-lang/markdown#551)
kevmoo 9e856c2
Standardize CommonMark spec links to https and v0.30 (dart-lang/markd…
parlough 8f3c134
Fix a few more lints, no longer ignore line length (dart-lang/markdow…
parlough b24e5a1
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/markdown#554)
dependabot[bot] da7560b
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/markdown#556)
dependabot[bot] 61fa110
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/markdown#557)
dependabot[bot] 47d222e
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/markdown#560)
dependabot[bot] c4bcb53
Bump subosito/flutter-action from 2.10.0 to 2.11.0 (dart-lang/markdow…
dependabot[bot] abdfe41
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/markdown#561)
dependabot[bot] b5d5ab0
Fix beginning of line detection in `AutolinkExtensionSyntax` (dart-la…
Mosc 6c4a989
Fix formatting for latest Dart dev SDK (dart-lang/markdown#565)
kevmoo c438416
Update to latest lints, require Dart ^3.1 (dart-lang/markdown#568)
kevmoo 6fb4d4a
Bump subosito/flutter-action from 2.11.0 to 2.12.0 (dart-lang/markdow…
dependabot[bot] 4e92e57
✨ Introduce AlertBlockSyntax (dart-lang/markdown#570)
AlexV525 1936c19
Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/markdown#571)
dependabot[bot] 9bb3601
Bump dev dependencies (dart-lang/markdown#573)
kevmoo 5010475
Bump to 7.2.0 (dart-lang/markdown#574)
srawlins 1cca5e7
address a termination issue with GitHub alert syntax parsing (dart-la…
devoncarew 6450bbf
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/markdown#580)
dependabot[bot] 3cf910b
Migrate example to pkg:web, update minimum required Dart version (dar…
kevmoo 523cade
Fix dart-lang/markdown#578: list with checkbox mixed with empty lines…
tomyeh abd1381
Fix dart-lang/markdown#586: encode image tag's src attribute (dart-la…
tomyeh d6a07ba
WIP: v0.31.2 spec updates (dart-lang/markdown#591)
kevmoo 6ead60a
fix a crash when parsing alert block syntax (dart-lang/markdown#593)
devoncarew e6ea336
Add single tilde support to `StrikethroughSyntax` (dart-lang/markdown…
chenzhiguang 91698c8
Run a periodic crash-test (dart-lang/markdown#590)
jonasfj 4fea6ab
Link uri encoding, URL-escaping should be left alone inside the desti…
mym0404 a030f8e
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/markdown#604)
dependabot[bot] e5a8069
Bump subosito/flutter-action from 2.12.0 to 2.15.0 (dart-lang/markdow…
dependabot[bot] 9a027d6
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/markdown#606)
dependabot[bot] 80fa07e
Bump subosito/flutter-action from 2.15.0 to 2.16.0 (dart-lang/markdow…
dependabot[bot] 2c75412
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/markdown#607)
dependabot[bot] 8c2e821
blast_repo fixes (dart-lang/markdown#609)
devoncarew 3dc3c68
Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group…
dependabot[bot] cbff55e
Fix dart-lang/markdown#601: checkbox list separated with blank lines …
tomyeh bd7a8d0
Bump to 7.2.3 (dart-lang/markdown#612)
srawlins cf8ad91
update lints dependency (dart-lang/markdown#613)
kevmoo 3507a5d
Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group…
dependabot[bot] 242761f
Bump the github-actions group with 2 updates (dart-lang/markdown#617)
dependabot[bot] 5ba7c97
Add support for package:web 1.0.0 (dart-lang/markdown#619)
srujzs 856d0d3
Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group…
dependabot[bot] cd5a278
Fix `RangeError` hazards in links (dart-lang/markdown#624)
andrechalella 6882f36
Update pub run syntax and remove 404 images (dart-lang/markdown#625)
andrechalella 534508c
blast_repo fixes (dart-lang/markdown#627)
kevmoo ab76c6f
Adds export for link_reference_definition_syntax.dart (dart-lang/mark…
mack-at-pieces 29f9d2d
Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group…
dependabot[bot] fcc6066
Add one more note to the 7.2.3 changelog before publishing (dart-lang…
srawlins 254fece
Bump the github-actions group with 2 updates (dart-lang/markdown#630)
dependabot[bot] 093f239
Merge package:markdown into the tools monorepo
mosuem 58c3f90
Add issue template and other fixes
mosuem 46584c2
Moving fixes
mosuem 3cebe93
Running `dart run build_runner build`
mosuem eee0128
Try to fix wf
mosuem a144189
Fix coverage path
mosuem dba101c
Fix CI
mosuem a5c3092
Fix CI even more
mosuem b40b61f
Apply suggestions from code review
devoncarew a8abbfb
Delete pkgs/markdown/peanut.yaml
devoncarew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
name: "package:markdown" | ||
about: "Create a bug or file a feature request against package:markdown." | ||
labels: "package:markdown" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: package:markdown | ||
|
||
on: | ||
# Run on PRs and pushes to the default branch. | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/markdown.yaml' | ||
- 'pkgs/markdown/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/markdown.yaml' | ||
- 'pkgs/markdown/**' | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
|
||
|
||
defaults: | ||
run: | ||
working-directory: pkgs/markdown/ | ||
|
||
|
||
jobs: | ||
# Check code formatting and static analysis on a single OS (linux) | ||
# against Dart dev. | ||
analyze: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sdk: [dev] | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
with: | ||
sdk: ${{ matrix.sdk }} | ||
- id: install | ||
name: Install dependencies | ||
run: dart pub get | ||
- name: Check formatting | ||
run: dart format --output=none --set-exit-if-changed . | ||
if: always() && steps.install.outcome == 'success' | ||
- name: Analyze code | ||
run: dart analyze --fatal-infos | ||
if: always() && steps.install.outcome == 'success' | ||
|
||
# Run tests on a matrix consisting of two dimensions: | ||
# 1. OS: ubuntu-latest, (macos-latest, windows-latest) | ||
# 2. release channel: dev | ||
test: | ||
needs: analyze | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Add macos-latest and/or windows-latest if relevant for this package. | ||
os: [ubuntu-latest] | ||
sdk: [3.2, dev] | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
with: | ||
sdk: ${{ matrix.sdk }} | ||
- id: install | ||
name: Install dependencies | ||
run: dart pub get | ||
- name: Run VM tests | ||
run: dart test --platform vm | ||
if: always() && steps.install.outcome == 'success' | ||
|
||
coverage: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
with: | ||
sdk: dev | ||
- name: Install dependencies | ||
run: dart pub get | ||
- name: Install coverage | ||
run: dart pub global activate coverage | ||
- name: Collect and report coverage | ||
run: dart pub global run coverage:test_with_coverage | ||
- name: Upload coverage | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: pkgs/markdown/coverage/lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Run against all markdown files in latest version of packages on pub.dev to | ||
# see if any can provoke a crash | ||
|
||
name: package:markdown: crash tests | ||
|
||
on: | ||
schedule: | ||
# “At 00:00 (UTC) on Sunday.” | ||
- cron: '0 0 * * 0' | ||
|
||
defaults: | ||
run: | ||
working-directory: pkgs/markdown/ | ||
|
||
jobs: | ||
crash-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
|
||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
|
||
- name: Run crash_test.dart | ||
run: dart test -P crash_test test/crash_test.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Run a smoke test against package:flutter_markdown. | ||
|
||
name: package:markdown: flutter | ||
|
||
on: | ||
# Run on PRs and pushes to the default branch. | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/markdown_flutter.yaml' | ||
- 'pkgs/markdown/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/markdown_flutter.yaml' | ||
- 'pkgs/markdown/**' | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
|
||
jobs: | ||
smoke-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: clone dart-lang/tools | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
repository: dart-lang/tools | ||
path: tools_repo | ||
|
||
- name: clone flutter/packages | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
repository: flutter/packages | ||
path: flutter_packages | ||
|
||
# Install the Flutter SDK using the subosito/flutter-action GitHub action. | ||
- name: install the flutter sdk | ||
uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3 | ||
with: | ||
channel: beta | ||
|
||
- name: flutter --version | ||
run: flutter --version | ||
|
||
- name: create pubspec_overrides.yaml | ||
working-directory: flutter_packages/packages/flutter_markdown | ||
run: | | ||
echo "dependency_overrides:" > pubspec_overrides.yaml | ||
echo " markdown:" >> pubspec_overrides.yaml | ||
echo " path: ../../../tools_repo/pkgs/markdown" >> pubspec_overrides.yaml | ||
|
||
- name: flutter pub get | ||
working-directory: flutter_packages/packages/flutter_markdown | ||
run: flutter pub get | ||
|
||
- name: flutter analyze package:flutter_markdown | ||
working-directory: flutter_packages/packages/flutter_markdown | ||
run: flutter analyze | ||
|
||
- name: flutter test package:flutter_markdown | ||
working-directory: flutter_packages/packages/flutter_markdown | ||
run: flutter test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.dart_tool | ||
.packages | ||
.pub | ||
pubspec.lock | ||
doc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Below is a list of people and organizations that have contributed | ||
# to the Dart project. Names should be added to the list like so: | ||
# | ||
# Name/Organization <email address> | ||
|
||
Google Inc. | ||
|
||
David Peek <[email protected]> | ||
Daniel Schubert <[email protected]> | ||
Jirka Daněk <[email protected]> | ||
Seth Westphal <[email protected]> | ||
Tim Maffett <[email protected]> | ||
Alex Li <[email protected]> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍