From 6867696218840b650b54df40c54f864102d298c8 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sat, 25 Sep 2021 18:32:05 +0800 Subject: [PATCH] Updated basic template --- CHANGELOG.md | 1 + LICENSE | 42 +++++++++++++++++++++++++----------------- README.md | 8 ++------ analysis_options.yaml | 5 +---- bin/dev.dart | 2 +- pubspec.yaml | 20 ++++++++++---------- 6 files changed, 40 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a750059..3cca189 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,3 +4,4 @@ * Changed to use `angel3` packages * Updated to support NNBD +* Updated linter to `package:lints` diff --git a/LICENSE b/LICENSE index ee2937d..df5e063 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,29 @@ -The MIT License (MIT) +BSD 3-Clause License -Copyright (c) 2021 dukefirehawk.com +Copyright (c) 2021, dukefirehawk.com +All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 6f5e7d5..9a7e860 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Basic Starter Application for Angel3 framework -This is a basic starter application for [Angel3 framework](https://pub.dartlang.org/packages/angel3_framework) which is a full-stack Web framework in Dart. +This is a basic starter application for [Angel3 framework](https://angel3-framework.web.app) which is a full-stack Web framework in Dart. ## Installation & Setup @@ -31,8 +31,4 @@ This is a basic starter application for [Angel3 framework](https://pub.dartlang. Visit the [Developer Guide](https://angel3-docs.dukefirehawk.com/guides) for dozens of guides and resources, including video tutorials, to get up and running as quickly as possible with Angel3. -Examples and complete projects can be found [here](https://github.com/dukefirehawk/angel3-examples). - -You can also view the [API Documentation](https://pub.dev/documentation/angel3_framework/latest/). - -There is also an [Awesome Angel :fire:](https://github.com/dukefirehawk/angel3-awesome) list. +Examples and complete projects can be found [here](https://angel3-framework.web.app/#/examples). diff --git a/analysis_options.yaml b/analysis_options.yaml index a4f3335..ea2c9e9 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,4 +1 @@ -include: package:pedantic/analysis_options.yaml -analyzer: - strong-mode: - implicit-casts: false +include: package:lints/recommended.yaml \ No newline at end of file diff --git a/bin/dev.dart b/bin/dev.dart index c51378d..9f91e35 100644 --- a/bin/dev.dart +++ b/bin/dev.dart @@ -1,6 +1,6 @@ import 'dart:io'; import 'package:logging/logging.dart'; -import 'package:angel3_pretty_logging/angel3_pretty_logging.dart'; +import 'package:belatuk_pretty_logging/belatuk_pretty_logging.dart'; import 'package:angel3_container/mirrors.dart'; import 'package:angel3_framework/angel3_framework.dart'; import 'package:angel3_hot/angel3_hot.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 823829a..0b3566a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,24 +1,24 @@ name: angel version: 1.0.0 -description: A basic starter application for Angel3 framework +description: A basic starter application template for Angel3 framework publish_to: none environment: sdk: '>=2.12.0 <3.0.0' dependencies: angel3_auth: ^4.0.0 - angel3_configuration: ^4.0.0 - angel3_framework: ^4.1.0 - angel3_jael: ^4.0.0 - angel3_production: ^3.0.0 - angel3_static: ^4.0.0 + angel3_configuration: ^4.1.0 + angel3_framework: ^4.2.0 + angel3_jael: ^4.2.0 + angel3_production: ^3.1.0 + angel3_static: ^4.1.0 angel3_validate: ^4.0.0 - angel3_pretty_logging: ^3.0.0 + belatuk_pretty_logging: ^4.0.0 dev_dependencies: - angel3_hot: ^4.1.0 + angel3_hot: ^4.2.0 angel3_test: ^4.0.0 io: ^1.0.0 - pedantic: ^1.11.0 - test: ^1.17.7 + test: ^1.17.5 + lints: ^1.0.0