Workiva / dart_to_js_script_rewriter

A pub transformer that Rewrites Dart script tags to JavaScript script tags, eliminating 404s and speeding up initial loads. Use when building for deployment.
BSD 3-Clause "New" or "Revised" License
21 stars 20 forks source link

Rename test.dart to example.dart #50

Closed bcko closed 6 years ago

bcko commented 6 years ago

examples can show up on the pub site but only if you name the example file correctly. https://www.dartlang.org/tools/pub/package-layout#examples

example file can be name as

      'example/lib/main.dart',
      'example/main.dart',
      'example/lib/$package.dart',
      'example/$package.dart',
      'example/lib/${package}_example.dart',
      'example/${package}_example.dart',
      'example/lib/example.dart',
      'example/example.dart',

related issue : dart-lang/site-www#413

aviary3-wk commented 6 years ago

Security Insights

No security relevant content was detected by automated scans.

Action Items

codecov-io commented 6 years ago

Codecov Report

Merging #50 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   96.29%   96.29%           
=======================================
  Files           1        1           
  Lines          27       27           
=======================================
  Hits           26       26           
  Misses          1        1

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 81c1ef2...01b5ca5. Read the comment docs.