From d33faeaccedef2505f674f4653db296e41a73127 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sun, 20 Mar 2022 08:38:59 +0800 Subject: [PATCH] Updated melos --- melos.yaml | 3 --- packages/client/pubspec.yaml | 2 +- packages/html/.idea/vcs.xml | 6 ------ packages/html/.travis.yml | 1 - packages/html/README.md | 14 ++++---------- 5 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 packages/html/.idea/vcs.xml delete mode 100644 packages/html/.travis.yml diff --git a/melos.yaml b/melos.yaml index f44da0aa..f467f0a4 100644 --- a/melos.yaml +++ b/melos.yaml @@ -3,8 +3,5 @@ name: angel3 packages: - packages/** -ignore: - - "packages/auth_twitter" - #scripts: # analyze: melos exec -- "dart analyze ." \ No newline at end of file diff --git a/packages/client/pubspec.yaml b/packages/client/pubspec.yaml index 23bb1a83..5d54add6 100644 --- a/packages/client/pubspec.yaml +++ b/packages/client/pubspec.yaml @@ -22,7 +22,7 @@ dev_dependencies: async: ^2.6.1 build_runner: ^2.1.2 build_web_compilers: ^3.2.1 - test: ^1.17.5 + test: ^1.20.0 lints: ^1.0.0 dependency_overrides: angel3_container: diff --git a/packages/html/.idea/vcs.xml b/packages/html/.idea/vcs.xml deleted file mode 100644 index 94a25f7f..00000000 --- a/packages/html/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/packages/html/.travis.yml b/packages/html/.travis.yml deleted file mode 100644 index de2210c9..00000000 --- a/packages/html/.travis.yml +++ /dev/null @@ -1 +0,0 @@ -language: dart \ No newline at end of file diff --git a/packages/html/README.md b/packages/html/README.md index 273b8280..3fa79333 100644 --- a/packages/html/README.md +++ b/packages/html/README.md @@ -1,10 +1,9 @@ # Angel3 HTML -[![version](https://img.shields.io/badge/pub-v3.0.0-brightgreen)](https://pub.dartlang.org/packages/angel3_html) +![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_html?include_prereleases) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) [![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) - -[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/html/LICENSE) +[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/html/LICENSE) A plug-in that allows you to return `belatuk_html_builder` AST's from request handlers, and have them sent as HTML automatically. @@ -28,10 +27,7 @@ Node myDom = html(lang: 'en', c: [ ]); ``` -This plug-in means that you can now `return` these AST's, and Angel will automatically send them to -clients. Ultimately, the implication is that you can use `belatuk_html_builder` as a substitute for a -templating system within Dart. With [hot reloading](https://pub.dev/packages/angel3_hot), you won't -even need to reload your server (as it should be). +This plug-in means that you can now `return` these AST's, and Angel will automatically send them to clients. Ultimately, the implication is that you can use `belatuk_html_builder` as a substitute for a templating system within Dart. With [hot reloading](https://pub.dev/packages/angel3_hot), you won't even need to reload your server (as it should be). ## Installation @@ -72,9 +68,7 @@ configureServer(Angel app) async { } ``` -By default, `renderHtml` will ignore the client's `Accept` header. However, if you pass -`enforceAcceptHeader` as `true`, then a `406 Not Acceptable` error will be thrown if the -client doesn't accept `*/*` or `text/html`. +By default, `renderHtml` will ignore the client's `Accept` header. However, if you pass `enforceAcceptHeader` as `true`, then a `406 Not Acceptable` error will be thrown if the client doesn't accept `*/*` or `text/html`. ```dart configureServer(Angel app) async {