Updated configuration
This commit is contained in:
parent
ff98b759ad
commit
b42af8377f
2 changed files with 15 additions and 12 deletions
|
@ -1,20 +1,24 @@
|
|||
name: angel_configuration
|
||||
description: Automatic YAML application configuration loader for Angel, with .env support.
|
||||
version: 2.2.0
|
||||
version: 3.0.0
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_configuration
|
||||
publish_to: none
|
||||
environment:
|
||||
sdk: ">=2.10.0 <2.12.0"
|
||||
sdk: ">=2.10.0 <3.0.0"
|
||||
dependencies:
|
||||
angel_framework: #^2.0.0
|
||||
path: ../framework
|
||||
dotenv: ^1.0.0
|
||||
file: ^5.0.0
|
||||
angel_framework:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x
|
||||
path: packages/framework
|
||||
dotenv: ^2.0.0
|
||||
# file: ^5.0.0
|
||||
merge_map: ^1.0.0
|
||||
yaml: ^2.0.0
|
||||
yaml: ^3.1.0
|
||||
dev_dependencies:
|
||||
io: ^0.3.2
|
||||
logging: ^0.11.0
|
||||
io: ^1.0.0
|
||||
# logging: ^0.11.0
|
||||
pedantic: ^1.0.0
|
||||
pretty_logging: ^1.0.0
|
||||
# pretty_logging: ^1.0.0
|
||||
test: ^1.15.7
|
||||
|
|
|
@ -5,11 +5,10 @@ import 'package:angel_configuration/angel_configuration.dart';
|
|||
import 'package:file/local.dart';
|
||||
import 'package:io/ansi.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:pretty_logging/pretty_logging.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
Logger.root.onRecord.listen(prettyLog);
|
||||
//Logger.root.onRecord.listen(prettyLog);
|
||||
|
||||
// Note: Set ANGEL_ENV to 'development'
|
||||
var app = Angel(logger: Logger('angel_configuration'));
|
||||
|
|
Loading…
Reference in a new issue