From bbbb6ab31426aa4bc447ac9a5b89f4f8c9c30f08 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Sun, 4 Aug 2024 18:29:07 -0700 Subject: [PATCH] add(conduit): adding new packages removing example directories --- packages/contracts/example/.gitkeep | 0 packages/database/example/.gitkeep | 0 packages/hashing/.gitignore | 7 ++++ packages/hashing/CHANGELOG.md | 3 ++ packages/hashing/LICENSE.md | 10 +++++ packages/hashing/README.md | 39 +++++++++++++++++++ packages/hashing/analysis_options.yaml | 30 ++++++++++++++ .../example => hashing/lib/src}/.gitkeep | 0 packages/hashing/pubspec.yaml | 17 ++++++++ .../{config/example => hashing/test}/.gitkeep | 0 packages/http/example/.gitkeep | 0 packages/isolate/.gitignore | 7 ++++ packages/isolate/CHANGELOG.md | 3 ++ packages/isolate/README.md | 39 +++++++++++++++++++ packages/isolate/analysis_options.yaml | 30 ++++++++++++++ packages/isolate/lib/isolate.dart | 8 ++++ packages/isolate/lib/src/isolate_base.dart | 6 +++ packages/isolate/pubspec.yaml | 15 +++++++ packages/isolate/test/isolate_test.dart | 16 ++++++++ packages/runtime/.gitignore | 7 ++++ packages/runtime/CHANGELOG.md | 3 ++ packages/runtime/README.md | 39 +++++++++++++++++++ packages/runtime/analysis_options.yaml | 30 ++++++++++++++ packages/runtime/lib/runtime.dart | 8 ++++ packages/runtime/lib/src/runtime_base.dart | 6 +++ packages/runtime/pubspec.yaml | 15 +++++++ packages/runtime/test/runtime_test.dart | 16 ++++++++ 27 files changed, 354 insertions(+) delete mode 100644 packages/contracts/example/.gitkeep delete mode 100644 packages/database/example/.gitkeep create mode 100644 packages/hashing/.gitignore create mode 100644 packages/hashing/CHANGELOG.md create mode 100644 packages/hashing/LICENSE.md create mode 100644 packages/hashing/README.md create mode 100644 packages/hashing/analysis_options.yaml rename packages/{auth/example => hashing/lib/src}/.gitkeep (100%) create mode 100644 packages/hashing/pubspec.yaml rename packages/{config/example => hashing/test}/.gitkeep (100%) delete mode 100644 packages/http/example/.gitkeep create mode 100644 packages/isolate/.gitignore create mode 100644 packages/isolate/CHANGELOG.md create mode 100644 packages/isolate/README.md create mode 100644 packages/isolate/analysis_options.yaml create mode 100644 packages/isolate/lib/isolate.dart create mode 100644 packages/isolate/lib/src/isolate_base.dart create mode 100644 packages/isolate/pubspec.yaml create mode 100644 packages/isolate/test/isolate_test.dart create mode 100644 packages/runtime/.gitignore create mode 100644 packages/runtime/CHANGELOG.md create mode 100644 packages/runtime/README.md create mode 100644 packages/runtime/analysis_options.yaml create mode 100644 packages/runtime/lib/runtime.dart create mode 100644 packages/runtime/lib/src/runtime_base.dart create mode 100644 packages/runtime/pubspec.yaml create mode 100644 packages/runtime/test/runtime_test.dart diff --git a/packages/contracts/example/.gitkeep b/packages/contracts/example/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/packages/database/example/.gitkeep b/packages/database/example/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/packages/hashing/.gitignore b/packages/hashing/.gitignore new file mode 100644 index 0000000..3cceda5 --- /dev/null +++ b/packages/hashing/.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/packages/hashing/CHANGELOG.md b/packages/hashing/CHANGELOG.md new file mode 100644 index 0000000..effe43c --- /dev/null +++ b/packages/hashing/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/packages/hashing/LICENSE.md b/packages/hashing/LICENSE.md new file mode 100644 index 0000000..0fd0d03 --- /dev/null +++ b/packages/hashing/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/packages/hashing/README.md b/packages/hashing/README.md new file mode 100644 index 0000000..8b55e73 --- /dev/null +++ b/packages/hashing/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/hashing/analysis_options.yaml b/packages/hashing/analysis_options.yaml new file mode 100644 index 0000000..dee8927 --- /dev/null +++ b/packages/hashing/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/packages/auth/example/.gitkeep b/packages/hashing/lib/src/.gitkeep similarity index 100% rename from packages/auth/example/.gitkeep rename to packages/hashing/lib/src/.gitkeep diff --git a/packages/hashing/pubspec.yaml b/packages/hashing/pubspec.yaml new file mode 100644 index 0000000..af0c857 --- /dev/null +++ b/packages/hashing/pubspec.yaml @@ -0,0 +1,17 @@ +name: protevus_hashing +description: The Hashing 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/packages/config/example/.gitkeep b/packages/hashing/test/.gitkeep similarity index 100% rename from packages/config/example/.gitkeep rename to packages/hashing/test/.gitkeep diff --git a/packages/http/example/.gitkeep b/packages/http/example/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/packages/isolate/.gitignore b/packages/isolate/.gitignore new file mode 100644 index 0000000..3cceda5 --- /dev/null +++ b/packages/isolate/.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/packages/isolate/CHANGELOG.md b/packages/isolate/CHANGELOG.md new file mode 100644 index 0000000..effe43c --- /dev/null +++ b/packages/isolate/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/packages/isolate/README.md b/packages/isolate/README.md new file mode 100644 index 0000000..8b55e73 --- /dev/null +++ b/packages/isolate/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/isolate/analysis_options.yaml b/packages/isolate/analysis_options.yaml new file mode 100644 index 0000000..dee8927 --- /dev/null +++ b/packages/isolate/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/packages/isolate/lib/isolate.dart b/packages/isolate/lib/isolate.dart new file mode 100644 index 0000000..1367ae7 --- /dev/null +++ b/packages/isolate/lib/isolate.dart @@ -0,0 +1,8 @@ +/// Support for doing something awesome. +/// +/// More dartdocs go here. +library; + +export 'src/isolate_base.dart'; + +// TODO: Export any libraries intended for clients of this package. diff --git a/packages/isolate/lib/src/isolate_base.dart b/packages/isolate/lib/src/isolate_base.dart new file mode 100644 index 0000000..e8a6f15 --- /dev/null +++ b/packages/isolate/lib/src/isolate_base.dart @@ -0,0 +1,6 @@ +// TODO: Put public facing types in this file. + +/// Checks if you are awesome. Spoiler: you are. +class Awesome { + bool get isAwesome => true; +} diff --git a/packages/isolate/pubspec.yaml b/packages/isolate/pubspec.yaml new file mode 100644 index 0000000..52f85ab --- /dev/null +++ b/packages/isolate/pubspec.yaml @@ -0,0 +1,15 @@ +name: protevus_isolate +description: A starting point for Dart libraries or applications. +version: 0.0.1 +# repository: https://github.com/my_org/my_repo + +environment: + sdk: ^3.4.3 + +# Add regular dependencies here. +dependencies: + # path: ^1.8.0 + +dev_dependencies: + lints: ^3.0.0 + test: ^1.24.0 diff --git a/packages/isolate/test/isolate_test.dart b/packages/isolate/test/isolate_test.dart new file mode 100644 index 0000000..aff4736 --- /dev/null +++ b/packages/isolate/test/isolate_test.dart @@ -0,0 +1,16 @@ +import 'package:protevus_isolate/isolate.dart'; +import 'package:test/test.dart'; + +void main() { + group('A group of tests', () { + final awesome = Awesome(); + + setUp(() { + // Additional setup goes here. + }); + + test('First Test', () { + expect(awesome.isAwesome, isTrue); + }); + }); +} diff --git a/packages/runtime/.gitignore b/packages/runtime/.gitignore new file mode 100644 index 0000000..3cceda5 --- /dev/null +++ b/packages/runtime/.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/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md new file mode 100644 index 0000000..effe43c --- /dev/null +++ b/packages/runtime/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/packages/runtime/README.md b/packages/runtime/README.md new file mode 100644 index 0000000..8b55e73 --- /dev/null +++ b/packages/runtime/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/runtime/analysis_options.yaml b/packages/runtime/analysis_options.yaml new file mode 100644 index 0000000..dee8927 --- /dev/null +++ b/packages/runtime/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/packages/runtime/lib/runtime.dart b/packages/runtime/lib/runtime.dart new file mode 100644 index 0000000..72bccca --- /dev/null +++ b/packages/runtime/lib/runtime.dart @@ -0,0 +1,8 @@ +/// Support for doing something awesome. +/// +/// More dartdocs go here. +library; + +export 'src/runtime_base.dart'; + +// TODO: Export any libraries intended for clients of this package. diff --git a/packages/runtime/lib/src/runtime_base.dart b/packages/runtime/lib/src/runtime_base.dart new file mode 100644 index 0000000..e8a6f15 --- /dev/null +++ b/packages/runtime/lib/src/runtime_base.dart @@ -0,0 +1,6 @@ +// TODO: Put public facing types in this file. + +/// Checks if you are awesome. Spoiler: you are. +class Awesome { + bool get isAwesome => true; +} diff --git a/packages/runtime/pubspec.yaml b/packages/runtime/pubspec.yaml new file mode 100644 index 0000000..5d384d7 --- /dev/null +++ b/packages/runtime/pubspec.yaml @@ -0,0 +1,15 @@ +name: protevus_runtime +description: A starting point for Dart libraries or applications. +version: 0.0.1 +# repository: https://github.com/my_org/my_repo + +environment: + sdk: ^3.4.3 + +# Add regular dependencies here. +dependencies: + # path: ^1.8.0 + +dev_dependencies: + lints: ^3.0.0 + test: ^1.24.0 diff --git a/packages/runtime/test/runtime_test.dart b/packages/runtime/test/runtime_test.dart new file mode 100644 index 0000000..e021d39 --- /dev/null +++ b/packages/runtime/test/runtime_test.dart @@ -0,0 +1,16 @@ +import 'package:protevus_runtime/runtime.dart'; +import 'package:test/test.dart'; + +void main() { + group('A group of tests', () { + final awesome = Awesome(); + + setUp(() { + // Additional setup goes here. + }); + + test('First Test', () { + expect(awesome.isAwesome, isTrue); + }); + }); +}