Skip to content

Commit

Permalink
fix: update value object to new Dart 3.0.0 syntax (#156)
Browse files Browse the repository at this point in the history
* fix: remove dartz from generated project

* fix: remove rapid_domain package

* fix: update value object template

* test: updat value object related e2e tests

* fix: test case in value object template
  • Loading branch information
jtdLab authored Aug 2, 2023
1 parent 121605c commit ae83e24
Show file tree
Hide file tree
Showing 29 changed files with 100 additions and 380 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ updates:
target-branch: "dev"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/packages/rapid/rapid_domain"
target-branch: "dev"
schedule:
interval: "weekly"
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ This is under heavy development and not yet ready for real world use.

Rapid is based on carefully selected packages from the Flutter Community and brings their power together. No headaches about messing up your architecture when adding new features. Rapid enables developers to quickly iterate and focus on what really matters.

| Package | Description |
| ------------------------------------------------------------------------------------- | -------------------------------------- |
| [rapid_cli](https://github.com/jtdLab/rapid/tree/main/packages/rapid_cli) | Command Line Interface for development |
| [rapid_domain](https://github.com/jtdLab/rapid/tree/main/packages/rapid/rapid_domain) | Domain Layer Utils |
| Package | Description |
| ------------------------------------------------------------------------- | -------------------------------------- |
| [rapid_cli](https://github.com/jtdLab/rapid/tree/main/packages/rapid_cli) | Command Line Interface for development |

## Documentation

Expand Down
1 change: 1 addition & 0 deletions examples/rapid_weather_tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO this will contain the written tutorial for `rapid_weather`
8 changes: 2 additions & 6 deletions melos.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: rapid

packages:
- packages/rapid/rapid_domain
- packages/rapid_cli

command:
Expand Down Expand Up @@ -35,18 +34,16 @@ scripts:
format:
run: |
dart format packages/rapid --fix && \
dart format packages/rapid_cli/bin --fix && \
dart format packages/rapid_cli/lib --fix && \
dart format packages/rapid_cli/test --fix
description: Format the project

analyze:
run: |
flutter analyze packages/rapid && \
flutter analyze packages/rapid_cli/bin && \
flutter analyze packages/rapid_cli/lib && \
flutter analyze packages/apid_cli/test
flutter analyze packages/rapid_cli/test
description: Analyze the project

fix:
Expand Down Expand Up @@ -81,7 +78,7 @@ scripts:
exec: sh tool/bundles.sh
description: Regenerate fresh bundles from templates.
packageFilters:
scope: "rapid_cli"
scope: rapid_cli

git:bundles:into:dev:
run: |
Expand All @@ -101,7 +98,6 @@ scripts:
git push --force origin dev
description: Reset dev to main branch. (This must be run from dev branch)


test:coverage:
exec: flutter test test/src --coverage
description: Run `flutter test test/src --coverage` in a package.
Expand Down
13 changes: 0 additions & 13 deletions packages/rapid/rapid_domain/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/rapid/rapid_domain/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions packages/rapid/rapid_domain/LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions packages/rapid/rapid_domain/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions packages/rapid/rapid_domain/analysis_options.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions packages/rapid/rapid_domain/lib/rapid_domain.dart

This file was deleted.

53 changes: 0 additions & 53 deletions packages/rapid/rapid_domain/lib/src/value_object.dart

This file was deleted.

2 changes: 0 additions & 2 deletions packages/rapid/rapid_domain/lib/src/version.dart

This file was deleted.

20 changes: 0 additions & 20 deletions packages/rapid/rapid_domain/pubspec.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions packages/rapid/rapid_domain/test/src/ensure_build_test.dart

This file was deleted.

94 changes: 0 additions & 94 deletions packages/rapid/rapid_domain/test/src/value_object_test.dart

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae83e24

Please sign in to comment.