From 7d3561cc4fdda8828f6687d41ab6b70757563263 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Sun, 9 Jun 2024 20:20:12 -0700 Subject: [PATCH] update: updating contracts package --- packages/contracts/CHANGELOG.md | 3 ++ LICENSE.md => packages/contracts/LICENSE.md | 0 packages/contracts/README.md | 39 +++++++++++++++++++++ packages/contracts/analysis_options.yaml | 30 ++++++++++++++++ packages/contracts/contracts.dart | 0 packages/contracts/pubspec.yaml | 15 ++++++++ 6 files changed, 87 insertions(+) create mode 100644 packages/contracts/CHANGELOG.md rename LICENSE.md => packages/contracts/LICENSE.md (100%) create mode 100644 packages/contracts/README.md create mode 100644 packages/contracts/analysis_options.yaml create mode 100644 packages/contracts/contracts.dart create mode 100644 packages/contracts/pubspec.yaml diff --git a/packages/contracts/CHANGELOG.md b/packages/contracts/CHANGELOG.md new file mode 100644 index 0000000..effe43c --- /dev/null +++ b/packages/contracts/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.0.0 + +- Initial version. diff --git a/LICENSE.md b/packages/contracts/LICENSE.md similarity index 100% rename from LICENSE.md rename to packages/contracts/LICENSE.md diff --git a/packages/contracts/README.md b/packages/contracts/README.md new file mode 100644 index 0000000..8b55e73 --- /dev/null +++ b/packages/contracts/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/contracts/analysis_options.yaml b/packages/contracts/analysis_options.yaml new file mode 100644 index 0000000..dee8927 --- /dev/null +++ b/packages/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/packages/contracts/contracts.dart b/packages/contracts/contracts.dart new file mode 100644 index 0000000..e69de29 diff --git a/packages/contracts/pubspec.yaml b/packages/contracts/pubspec.yaml new file mode 100644 index 0000000..e8aee44 --- /dev/null +++ b/packages/contracts/pubspec.yaml @@ -0,0 +1,15 @@ +name: fabric_contracts +description: A starting point for Dart libraries or applications. +version: 1.0.0 +# repository: https://github.com/my_org/my_repo + +environment: + sdk: ^3.4.0 + +# Add regular dependencies here. +dependencies: + # path: ^1.8.0 + +dev_dependencies: + lints: ^3.0.0 + test: ^1.24.0