From 3db9c53fddc3d5c4a9fabe54f6d1424c401cc9b5 Mon Sep 17 00:00:00 2001 From: "thomashii@dukefirehawk.com" Date: Thu, 28 Jul 2022 01:03:31 +0800 Subject: [PATCH] Reverted lints to 1.x.x --- experiment/db/pubspec.yaml | 2 +- experiment/logging/pubspec.yaml | 2 +- packages/auth_twitter/pubspec.yaml | 2 +- packages/orm/angel_migration/CHANGELOG.md | 4 ++-- packages/orm/angel_migration/pubspec.yaml | 4 ++-- packages/orm/angel_migration_runner/CHANGELOG.md | 1 - packages/orm/angel_migration_runner/pubspec.yaml | 2 +- packages/orm/angel_orm/CHANGELOG.md | 1 - packages/orm/angel_orm/pubspec.yaml | 2 +- packages/orm/angel_orm_generator/CHANGELOG.md | 1 - packages/orm/angel_orm_generator/pubspec.yaml | 2 +- packages/orm/angel_orm_mysql/pubspec.yaml | 2 +- packages/orm/angel_orm_mysql/test/common.dart | 2 +- packages/orm/angel_orm_postgres/CHANGELOG.md | 1 - packages/orm/angel_orm_postgres/README.md | 2 +- packages/orm/angel_orm_postgres/pubspec.yaml | 2 +- packages/orm/angel_orm_test/CHANGELOG.md | 3 +-- packages/orm/angel_orm_test/pubspec.yaml | 4 ++-- packages/serialize/angel_serialize_generator/CHANGELOG.md | 1 - packages/serialize/angel_serialize_generator/pubspec.yaml | 2 +- 20 files changed, 18 insertions(+), 24 deletions(-) diff --git a/experiment/db/pubspec.yaml b/experiment/db/pubspec.yaml index bfb3e131..f19525c9 100644 --- a/experiment/db/pubspec.yaml +++ b/experiment/db/pubspec.yaml @@ -9,4 +9,4 @@ dependencies: mysql1: ^0.20.0 mysql_client: ^0.0.24 dev_dependencies: - lints: ^2.0.0 \ No newline at end of file + lints: ^1.0.0 \ No newline at end of file diff --git a/experiment/logging/pubspec.yaml b/experiment/logging/pubspec.yaml index 7b1205e4..0bfdd66a 100644 --- a/experiment/logging/pubspec.yaml +++ b/experiment/logging/pubspec.yaml @@ -8,4 +8,4 @@ published_to: none dependencies: http: ^0.13.4 dev_dependencies: - lints: ^2.0.0 \ No newline at end of file + lints: ^1.0.0 \ No newline at end of file diff --git a/packages/auth_twitter/pubspec.yaml b/packages/auth_twitter/pubspec.yaml index aab30e72..f677e6d0 100644 --- a/packages/auth_twitter/pubspec.yaml +++ b/packages/auth_twitter/pubspec.yaml @@ -15,4 +15,4 @@ dependencies: dart_twitter_api: ^0.5.6+1 dev_dependencies: logging: ^1.0.0 - lints: ^2.0.0 + lints: ^1.0.0 diff --git a/packages/orm/angel_migration/CHANGELOG.md b/packages/orm/angel_migration/CHANGELOG.md index bb59d67a..c87a8031 100755 --- a/packages/orm/angel_migration/CHANGELOG.md +++ b/packages/orm/angel_migration/CHANGELOG.md @@ -1,8 +1,8 @@ # Change Log -## 6.0.1 +## 6.1.0 -* Upgraded to `lints` 2.x.x +* Updated temporal fields ## 6.0.0 diff --git a/packages/orm/angel_migration/pubspec.yaml b/packages/orm/angel_migration/pubspec.yaml index a2a381db..8f6ab129 100755 --- a/packages/orm/angel_migration/pubspec.yaml +++ b/packages/orm/angel_migration/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_migration -version: 6.0.1 +version: 6.1.0 description: Database migration runtime for Angel3 ORM. Use this package to define schemas. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_migration @@ -8,7 +8,7 @@ environment: dependencies: angel3_orm: ^6.0.0 dev_dependencies: - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: angel3_orm: path: ../angel_orm diff --git a/packages/orm/angel_migration_runner/CHANGELOG.md b/packages/orm/angel_migration_runner/CHANGELOG.md index 4c1d8532..313f1ba6 100755 --- a/packages/orm/angel_migration_runner/CHANGELOG.md +++ b/packages/orm/angel_migration_runner/CHANGELOG.md @@ -2,7 +2,6 @@ ## 6.1.0 -* Upgraded to `lints` 2.x.x * Fixed issue #70. Incorrectly generated SQL for `defaultsTo('Default Value')` * Mapped timestamp to datetime for MySQL and MariaDB * Fixed `MariaDbMigrationRunner` to work with MariaDB diff --git a/packages/orm/angel_migration_runner/pubspec.yaml b/packages/orm/angel_migration_runner/pubspec.yaml index ebfd6aa2..1aced63c 100755 --- a/packages/orm/angel_migration_runner/pubspec.yaml +++ b/packages/orm/angel_migration_runner/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: mysql1: ^0.20.0 logging: ^1.0.0 dev_dependencies: - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: angel3_orm: path: ../angel_orm diff --git a/packages/orm/angel_orm/CHANGELOG.md b/packages/orm/angel_orm/CHANGELOG.md index 3ddcfb7d..f593bec1 100644 --- a/packages/orm/angel_orm/CHANGELOG.md +++ b/packages/orm/angel_orm/CHANGELOG.md @@ -4,7 +4,6 @@ * Fixed issue #68: Support for non-nullable type * Added `defaultValue` to `@Column` annotation -* Upgraded to `lints` 2.x.x ## 6.0.1 diff --git a/packages/orm/angel_orm/pubspec.yaml b/packages/orm/angel_orm/pubspec.yaml index f5bb64b4..b8c7fed2 100644 --- a/packages/orm/angel_orm/pubspec.yaml +++ b/packages/orm/angel_orm/pubspec.yaml @@ -18,7 +18,7 @@ dev_dependencies: angel3_serialize_generator: ^6.0.0 build_runner: ^2.1.1 test: ^1.17.4 - lints: ^2.0.0 + lints: ^1.0.0 # dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_generator/CHANGELOG.md b/packages/orm/angel_orm_generator/CHANGELOG.md index 4b7c5cd9..4b681411 100644 --- a/packages/orm/angel_orm_generator/CHANGELOG.md +++ b/packages/orm/angel_orm_generator/CHANGELOG.md @@ -3,7 +3,6 @@ ## 6.2.0 * Fixed issue #68: Support for non-nullable type -* Upgraded to `lints` 2.x.x * Generate default value based on `defaultValue` in the `@Column` annotation ## 6.1.0 diff --git a/packages/orm/angel_orm_generator/pubspec.yaml b/packages/orm/angel_orm_generator/pubspec.yaml index 879e6ee9..67a65ef9 100644 --- a/packages/orm/angel_orm_generator/pubspec.yaml +++ b/packages/orm/angel_orm_generator/pubspec.yaml @@ -29,7 +29,7 @@ dev_dependencies: build_runner: ^2.0.1 postgres: ^2.4.0 test: ^1.21.0 - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/orm/angel_orm_mysql/pubspec.yaml b/packages/orm/angel_orm_mysql/pubspec.yaml index 7cff37b3..85d6f8bb 100644 --- a/packages/orm/angel_orm_mysql/pubspec.yaml +++ b/packages/orm/angel_orm_mysql/pubspec.yaml @@ -16,7 +16,7 @@ dev_dependencies: angel3_orm_test: ^6.0.0 build_runner: ^2.0.1 test: ^1.21.0 - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_mysql/test/common.dart b/packages/orm/angel_orm_mysql/test/common.dart index 27c05947..00c5230c 100644 --- a/packages/orm/angel_orm_mysql/test/common.dart +++ b/packages/orm/angel_orm_mysql/test/common.dart @@ -91,7 +91,7 @@ Future _connectToMySql(List schemas) async { host: "localhost", userName: Platform.environment['MYSQL_USERNAME'] ?? 'test', password: Platform.environment['MYSQL_PASSWORD'] ?? 'test123', - secure: false); + secure: true); await connection.connect(timeoutMs: 10000); diff --git a/packages/orm/angel_orm_postgres/CHANGELOG.md b/packages/orm/angel_orm_postgres/CHANGELOG.md index c2f3f058..55ee34a0 100644 --- a/packages/orm/angel_orm_postgres/CHANGELOG.md +++ b/packages/orm/angel_orm_postgres/CHANGELOG.md @@ -2,7 +2,6 @@ ## 6.1.0 -* Upgraded to `lints` 2.x.x * Fixed #71. Restablish broken connection automatically. ## 6.0.0 diff --git a/packages/orm/angel_orm_postgres/README.md b/packages/orm/angel_orm_postgres/README.md index 1c674180..bc5a6a79 100644 --- a/packages/orm/angel_orm_postgres/README.md +++ b/packages/orm/angel_orm_postgres/README.md @@ -9,6 +9,6 @@ PostgreSQL support for Angel3 ORM. ## Supported database -* PostgreSQL version 10 or later +* PostgreSQL version 10 or greater For documentation about the ORM, see [Developer Guide](https://angel3-docs.dukefirehawk.com/guides/orm) diff --git a/packages/orm/angel_orm_postgres/pubspec.yaml b/packages/orm/angel_orm_postgres/pubspec.yaml index 8e2959ae..5dd8d8aa 100644 --- a/packages/orm/angel_orm_postgres/pubspec.yaml +++ b/packages/orm/angel_orm_postgres/pubspec.yaml @@ -15,7 +15,7 @@ dev_dependencies: belatuk_pretty_logging: ^4.0.0 angel3_orm_test: ^6.0.0 test: ^1.21.0 - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: # angel3_serialize: # path: ../../serialize/angel_serialize diff --git a/packages/orm/angel_orm_test/CHANGELOG.md b/packages/orm/angel_orm_test/CHANGELOG.md index f6493369..6f55ad2d 100644 --- a/packages/orm/angel_orm_test/CHANGELOG.md +++ b/packages/orm/angel_orm_test/CHANGELOG.md @@ -1,9 +1,8 @@ # Change Log -## 6.0.1 +## 6.1.0 * Added test cases for non nullable type -* Upgraded to `lints` 2.x.x ## 6.0.0 diff --git a/packages/orm/angel_orm_test/pubspec.yaml b/packages/orm/angel_orm_test/pubspec.yaml index 7eb623b7..95b8ca00 100644 --- a/packages/orm/angel_orm_test/pubspec.yaml +++ b/packages/orm/angel_orm_test/pubspec.yaml @@ -1,5 +1,5 @@ name: angel3_orm_test -version: 6.0.1 +version: 6.1.0 description: Common tests for Angel3 ORM. Reference implmentation of the generated ORM files. homepage: https://angel3-framework.web.app/ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_test @@ -18,7 +18,7 @@ dev_dependencies: angel3_orm_generator: ^6.0.0 angel3_framework: ^6.0.0 build_runner: ^2.0.1 - lints: ^2.0.0 + lints: ^1.0.0 dependency_overrides: # angel3_container: # path: ../../container/angel_container diff --git a/packages/serialize/angel_serialize_generator/CHANGELOG.md b/packages/serialize/angel_serialize_generator/CHANGELOG.md index ff91d5e4..9ccba0a3 100644 --- a/packages/serialize/angel_serialize_generator/CHANGELOG.md +++ b/packages/serialize/angel_serialize_generator/CHANGELOG.md @@ -3,7 +3,6 @@ ## 6.1.1 * Fixed issue #68: Support for non-nullable type -* Upgraded to `lints` 2.x.x ## 6.1.0 diff --git a/packages/serialize/angel_serialize_generator/pubspec.yaml b/packages/serialize/angel_serialize_generator/pubspec.yaml index 1d7b5778..403f7816 100644 --- a/packages/serialize/angel_serialize_generator/pubspec.yaml +++ b/packages/serialize/angel_serialize_generator/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.1 collection: ^1.15.0 - lints: ^2.0.0 + lints: ^1.0.0 test: ^1.21.0 # dependency_overrides: # angel3_model: