Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "stable"
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ pubspec.lock
.env
.idea/

# FVM Version Cache
.fvm/
10 changes: 6 additions & 4 deletions docs/pub_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: pub_example
publish_to: none

environment:
sdk: ^3.0.0
sdk: ^3.5.0

resolution: workspace

dependencies:
cli_annotations: ^0.1.0-dev.3
cli_annotations: ^0.1.0-dev.6

dev_dependencies:
build_runner: ^2.4.8
cli_gen: ^0.1.0-dev.5
lints: ^3.0.0
cli_gen: ^0.1.0-dev.6
lints: ^5.0.0
test: ^1.24.0
10 changes: 6 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ version: 1.0.0
publish_to: none

environment:
sdk: ^3.0.0
sdk: ^3.5.0

resolution: workspace

dependencies:
args: ^2.4.2
cli_annotations: ^0.1.0-dev.5
cli_annotations: ^0.1.0-dev.6

dev_dependencies:
build_runner: ^2.4.8
cli_gen: ^0.1.0-dev.5
lints: ^3.0.0
cli_gen: ^0.1.0-dev.6
lints: ^5.0.0
test: ^1.24.0

executables:
Expand Down
39 changes: 20 additions & 19 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: workspace
name: cli_gen_workspace
description: The workspace for the cli_gen package.

environment:
sdk: ^3.3.0
sdk: ^3.5.0

workspace:
- example
- docs/pub_example
- src/cli_annotations
- src/cli_gen
- test/goldens

dependencies:
analyzer: ^6.4.1
args: ^2.4.2
cli_annotations: ^0.1.0-dev.4
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
analyzer: ^6.8.0
args: ^2.6.0
cli_annotations: ^0.1.0-dev.6
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0

dev_dependencies:
build_runner: ^2.4.8
build_runner: ^2.4.13
cli_gen: ^0.1.0-dev.4
freezed: ^2.4.7
json_serializable: ^6.7.1
lints: ^3.0.0
melos: ^4.1.0
test: ^1.24.0

dependency_overrides:
cli_gen:
path: src/cli_gen
cli_annotations:
path: src/cli_annotations
freezed: ^2.5.7
json_serializable: ^6.9.0
lints: ^5.0.0
melos: ^6.2.0
test: ^1.25.9
8 changes: 5 additions & 3 deletions src/cli_annotations/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: cli_annotations
description: |
Annotations for building CLI applications using `package:cli_gen`.
version: 0.1.0-dev.5
version: 0.1.0-dev.6
homepage: https://github.com/pattobrien/cli-gen
repository: https://github.com/pattobrien/cli-gen
issue_tracker: https://github.com/pattobrien/cli-gen/issues
Expand All @@ -13,13 +13,15 @@ topics:
- macros

environment:
sdk: ^3.0.0
sdk: ^3.5.0

resolution: workspace

dependencies:
args: ^2.4.2
meta: ^1.12.0

dev_dependencies:
coverage: ^1.7.2
lints: ^3.0.0
lints: ^5.0.0
test: ^1.24.0
24 changes: 13 additions & 11 deletions src/cli_gen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cli_gen
description: |
Build CLI applications from plain Dart classes and functions,
with the help of code generation.
version: 0.1.0-dev.5
version: 0.1.0-dev.6
homepage: https://github.com/pattobrien/cli-gen
repository: https://github.com/pattobrien/cli-gen
issue_tracker: https://github.com/pattobrien/cli-gen/issues
Expand All @@ -14,21 +14,23 @@ topics:
- macros

environment:
sdk: ^3.0.0
sdk: ^3.5.0

resolution: workspace

dependencies:
analyzer: ^6.4.1
analyzer: ^6.8.0
build: ^2.4.1
cli_annotations: ^0.1.0-dev.3
code_builder: ^4.10.0
dart_style: ^2.3.4
meta: ^1.12.0
cli_annotations: ^0.1.0-dev.6
code_builder: ^4.10.1
dart_style: ^2.3.7
meta: ^1.16.0
recase: ^4.1.0
source_gen: ^1.5.0

dev_dependencies:
checks: ^0.3.0
lints: ^3.0.0
test: ^1.24.0
coverage: ^1.7.2
build_runner: ^2.4.8
lints: ^5.0.0
test: ^1.25.9
coverage: ^1.11.0
build_runner: ^2.4.13

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

17 changes: 8 additions & 9 deletions test/goldens/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ version: 1.0.0
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.5.0

resolution: workspace

dependencies:
# cli_annotations: ^0.1.0-dev.4
cli_annotations:
path: ../../src/cli_annotations
test: ^1.25.2
cli_annotations: ^0.1.0-dev.6
test: ^1.25.9

dev_dependencies:
build: ^2.4.1
build_runner: ^2.4.8
build_runner: ^2.4.13
build_test: ^2.2.2
cli_gen:
path: ../../src/cli_gen
lints: ^3.0.0
cli_gen: ^0.1.0-dev.6
lints: ^5.0.0
path: ^1.9.0