Updated cors and configuration

This commit is contained in:
thomashii 2022-02-24 08:32:54 +08:00
parent 510594d96e
commit e409e19563
6 changed files with 59 additions and 13 deletions

View file

@ -1,3 +0,0 @@
# Angel3 CLI
Moved to [`Angel3 CLI Repository`](https://github.com/dukefirehawk/angel3-cli)

View file

@ -1,5 +1,13 @@
# Change Log
## 6.0.0
* Updated to min SDK 2.15.x
## 5.0.0
* No release. Skipped
## 4.1.0
* Updated to use `package:belatuk_merge_map`

View file

@ -21,7 +21,7 @@ In `pubspec.yaml`:
```yaml
dependencies:
angel3_configuration: ^3.0.0
angel3_configuration: ^6.0.0
```
## Usage

View file

@ -1,12 +1,12 @@
name: angel3_configuration
version: 4.1.0
version: 6.0.0
description: Automatic YAML application configuration loader for Angel 3, with .env support.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/configuration
environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.15.0 <3.0.0'
dependencies:
angel3_framework: ^4.2.0
angel3_framework: ^6.0.0
belatuk_merge_map: ^3.0.0
dotenv: ^3.0.0
file: ^6.1.0
@ -17,6 +17,16 @@ dev_dependencies:
lints: ^1.0.0
belatuk_pretty_logging: ^4.0.0
test: ^1.17.5
#dependency_overrides:
# angel3_framework:
# path: ../framework
dependency_overrides:
angel3_container:
path: ../container/angel_container
angel3_framework:
path: ../framework
angel3_http_exception:
path: ../http_exception
angel3_model:
path: ../model
angel3_route:
path: ../route
angel3_mock_request:
path: ../mock_request

View file

@ -1,5 +1,13 @@
# Change Log
## 6.0.0
* Updated to min SDK 2.15.x
## 5.0.0
* No release. Skipped
## 4.1.0
* Upgraded to `lints` linter

View file

@ -1,14 +1,37 @@
name: angel3_cors
version: 4.1.0
version: 6.0.0
description: Angel3 CORS middleware. Ported from expressjs/cors to Angel3 framework.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/cors
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
angel3_framework: ^4.2.0
angel3_framework: ^6.0.0
dev_dependencies:
angel3_test: ^4.0.0
angel3_test: ^6.0.0
http: ^0.13.3
lints: ^1.0.0
test: ^1.17.5
dependency_overrides:
angel3_container:
path: ../container/angel_container
angel3_framework:
path: ../framework
angel3_http_exception:
path: ../http_exception
angel3_model:
path: ../model
angel3_route:
path: ../route
angel3_mock_request:
path: ../mock_request
angel3_auth:
path: ../auth
angel3_client:
path: ../client
angel3_websocket:
path: ../websocket
angel3_validate:
path: ../validate
angel3_test:
path: ../test