From 802de34a33e3b0c78553d290f204d3738ea904a9 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Sun, 6 Oct 2024 04:14:20 -0700 Subject: [PATCH] Add: adding support for console and contract packages --- core/console/.gitignore | 7 +++++++ core/console/CHANGELOG.md | 3 +++ core/console/LICENSE.md | 10 ++++++++++ core/console/README.md | 1 + core/console/analysis_options.yaml | 30 ++++++++++++++++++++++++++++ core/console/lib/src/.gitkeep | 0 core/console/pubspec.yaml | 17 ++++++++++++++++ core/console/test/.gitkeep | 0 core/contracts/.gitignore | 7 +++++++ core/contracts/CHANGELOG.md | 3 +++ core/contracts/LICENSE.md | 10 ++++++++++ core/contracts/README.md | 1 + core/contracts/analysis_options.yaml | 30 ++++++++++++++++++++++++++++ core/contracts/lib/src/.gitkeep | 0 core/contracts/pubspec.yaml | 17 ++++++++++++++++ core/contracts/test/.gitkeep | 0 16 files changed, 136 insertions(+) create mode 100644 core/console/.gitignore create mode 100644 core/console/CHANGELOG.md create mode 100644 core/console/LICENSE.md create mode 100644 core/console/README.md create mode 100644 core/console/analysis_options.yaml create mode 100644 core/console/lib/src/.gitkeep create mode 100644 core/console/pubspec.yaml create mode 100644 core/console/test/.gitkeep create mode 100644 core/contracts/.gitignore create mode 100644 core/contracts/CHANGELOG.md create mode 100644 core/contracts/LICENSE.md create mode 100644 core/contracts/README.md create mode 100644 core/contracts/analysis_options.yaml create mode 100644 core/contracts/lib/src/.gitkeep create mode 100644 core/contracts/pubspec.yaml create mode 100644 core/contracts/test/.gitkeep diff --git a/core/console/.gitignore b/core/console/.gitignore new file mode 100644 index 00000000..3cceda55 --- /dev/null +++ b/core/console/.gitignore @@ -0,0 +1,7 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ + +# Avoid committing pubspec.lock for library packages; see +# https://dart.dev/guides/libraries/private-files#pubspeclock. +pubspec.lock diff --git a/core/console/CHANGELOG.md b/core/console/CHANGELOG.md new file mode 100644 index 00000000..effe43c8 --- /dev/null +++ b/core/console/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/core/console/LICENSE.md b/core/console/LICENSE.md new file mode 100644 index 00000000..0fd0d03b --- /dev/null +++ b/core/console/LICENSE.md @@ -0,0 +1,10 @@ +The MIT License (MIT) + +The Laravel Framework is Copyright (c) Taylor Otwell +The Fabric Framework is Copyright (c) Vieo, Inc. + +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: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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 diff --git a/core/console/README.md b/core/console/README.md new file mode 100644 index 00000000..757f4c9f --- /dev/null +++ b/core/console/README.md @@ -0,0 +1 @@ +

\ No newline at end of file diff --git a/core/console/analysis_options.yaml b/core/console/analysis_options.yaml new file mode 100644 index 00000000..dee8927a --- /dev/null +++ b/core/console/analysis_options.yaml @@ -0,0 +1,30 @@ +# This file configures the static analysis results for your project (errors, +# warnings, and lints). +# +# This enables the 'recommended' set of lints from `package:lints`. +# This set helps identify many issues that may lead to problems when running +# or consuming Dart code, and enforces writing Dart using a single, idiomatic +# style and format. +# +# If you want a smaller set of lints you can change this to specify +# 'package:lints/core.yaml'. These are just the most critical lints +# (the recommended set includes the core lints). +# The core lints are also what is used by pub.dev for scoring packages. + +include: package:lints/recommended.yaml + +# Uncomment the following section to specify additional rules. + +# linter: +# rules: +# - camel_case_types + +# analyzer: +# exclude: +# - path/to/excluded/files/** + +# For more information about the core and recommended set of lints, see +# https://dart.dev/go/core-lints + +# For additional information about configuring this file, see +# https://dart.dev/guides/language/analysis-options diff --git a/core/console/lib/src/.gitkeep b/core/console/lib/src/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/core/console/pubspec.yaml b/core/console/pubspec.yaml new file mode 100644 index 00000000..d061c34e --- /dev/null +++ b/core/console/pubspec.yaml @@ -0,0 +1,17 @@ +name: Angel3_console +description: The Console Package for the Protevus Platform +version: 0.0.1 +homepage: https://protevus.com +documentation: https://docs.protevus.com +repository: https://github.com/protevus/platformo + +environment: + sdk: ^3.4.2 + +# Add regular dependencies here. +dependencies: + # path: ^1.8.0 + +dev_dependencies: + lints: ^3.0.0 + test: ^1.24.0 diff --git a/core/console/test/.gitkeep b/core/console/test/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/core/contracts/.gitignore b/core/contracts/.gitignore new file mode 100644 index 00000000..3cceda55 --- /dev/null +++ b/core/contracts/.gitignore @@ -0,0 +1,7 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ + +# Avoid committing pubspec.lock for library packages; see +# https://dart.dev/guides/libraries/private-files#pubspeclock. +pubspec.lock diff --git a/core/contracts/CHANGELOG.md b/core/contracts/CHANGELOG.md new file mode 100644 index 00000000..effe43c8 --- /dev/null +++ b/core/contracts/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/core/contracts/LICENSE.md b/core/contracts/LICENSE.md new file mode 100644 index 00000000..0fd0d03b --- /dev/null +++ b/core/contracts/LICENSE.md @@ -0,0 +1,10 @@ +The MIT License (MIT) + +The Laravel Framework is Copyright (c) Taylor Otwell +The Fabric Framework is Copyright (c) Vieo, Inc. + +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: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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 diff --git a/core/contracts/README.md b/core/contracts/README.md new file mode 100644 index 00000000..757f4c9f --- /dev/null +++ b/core/contracts/README.md @@ -0,0 +1 @@ +

\ No newline at end of file diff --git a/core/contracts/analysis_options.yaml b/core/contracts/analysis_options.yaml new file mode 100644 index 00000000..dee8927a --- /dev/null +++ b/core/contracts/analysis_options.yaml @@ -0,0 +1,30 @@ +# This file configures the static analysis results for your project (errors, +# warnings, and lints). +# +# This enables the 'recommended' set of lints from `package:lints`. +# This set helps identify many issues that may lead to problems when running +# or consuming Dart code, and enforces writing Dart using a single, idiomatic +# style and format. +# +# If you want a smaller set of lints you can change this to specify +# 'package:lints/core.yaml'. These are just the most critical lints +# (the recommended set includes the core lints). +# The core lints are also what is used by pub.dev for scoring packages. + +include: package:lints/recommended.yaml + +# Uncomment the following section to specify additional rules. + +# linter: +# rules: +# - camel_case_types + +# analyzer: +# exclude: +# - path/to/excluded/files/** + +# For more information about the core and recommended set of lints, see +# https://dart.dev/go/core-lints + +# For additional information about configuring this file, see +# https://dart.dev/guides/language/analysis-options diff --git a/core/contracts/lib/src/.gitkeep b/core/contracts/lib/src/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/core/contracts/pubspec.yaml b/core/contracts/pubspec.yaml new file mode 100644 index 00000000..cd5f78d7 --- /dev/null +++ b/core/contracts/pubspec.yaml @@ -0,0 +1,17 @@ +name: angel3_contracts +description: This package defines contracts for Protevus Platform +version: 0.0.1 +homepage: https://protevus.com +documentation: https://docs.protevus.com +repository: https://git.protevus.com/protevus/platform + +environment: + sdk: ^3.4.2 + +# Add regular dependencies here. +dependencies: + # path: ^1.8.0 + +dev_dependencies: + lints: ^3.0.0 + test: ^1.24.0 diff --git a/core/contracts/test/.gitkeep b/core/contracts/test/.gitkeep new file mode 100644 index 00000000..e69de29b