Skip to content

Commit

Permalink
Released 2.0.0-beta.14.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton committed Nov 15, 2022
1 parent 7f4d033 commit 7a95705
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 29 deletions.
13 changes: 13 additions & 0 deletions dcli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 2.0.0-beta.14
- brought the dcli_cli docker container up to date.
- Fix: bug in pub_cache.dart when .pub-cache/hosted/pub.dartlang.org doesn't exist. We now just return null form findPrimaryVersion of the directory doesn't exit.
- change withEnvironment to async so you can pass in an async callback.
- Fixed: capture was failing to flush the streams and the last two lines where not be captured.
- changed capture() to be async and dealt with the ripple affect up through the unit tests.
- Fix: caputure wasn't reliably waiting for the action to complete.
- explicitly added path to pubspec.yaml as dcli no longer exports.
- upgraded args package to 2.3.1
- explicitly included the args and path package into template projects now that we no longer ship it.
- Added an pubspec_override.yaml to each template so that they compile clean in develoment mode. Excluded the pubspec_overrides.yaml from the packed resources as they are for local dev only.


# 2.0.0-beta.13
- BREAKING: removed the args and path package exports from the dcli lib. The orginal design doesn't feel like the correct approach and does add to namespace pollution. To fix this you need to add `path` and `args` to your pubspec.yaml and `import` each package into any dart
library that depends on them.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class A06d49b67b870c49c422343065070f397 extends PackedResource {
/// this checksum
@override
String get checksum =>
'c20ba73a4381bb382398eb38045d394894a2fcb665c8b5d02e44d006055e1472';
'71065124173b9f730df6dbb7a3a76cfa1a579c6657837049608ca668fb961d5c';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,8 +35,8 @@ class A06d49b67b870c49c422343065070f397 extends PackedResource {
String get content => '''
bmFtZTogc2NyaXB0bmFtZQp2ZXJzaW9uOiAwLjAuMQpkZXNjcmlwdGlvbjogQSBzY3JpcHQgZ2VuZXJh
dGVkIGJ5IGRjbGkuCmVudmlyb25tZW50OiAKICBzZGs6ICc+PTIuMTguMCA8My4wLjAnCmRlcGVuZGVu
Y2llczogCiAgYXJnczogXjIuMy4xCiAgZGNsaTogXjIuMC4wLWJldGEuMTMKICBkY2xpX2NvcmU6IF4y
LjAuMC1iZXRhLjEzCiAgcGF0aDogXjEuMC4wCmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDog
Y2llczogCiAgYXJnczogXjIuMy4xCiAgZGNsaTogXjIuMC4wLWJldGEuMTQKICBkY2xpX2NvcmU6IF4y
LjAuMC1iZXRhLjE0CiAgcGF0aDogXjEuMC4wCmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDog
XjIuMC4wCg==
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class A07aa86cf4c4246ad598cd362ee228bc4 extends PackedResource {

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/full/lib/src/exceptions/app_exception.dart';
String get originalPath =>
'template/project/full/lib/src/exceptions/app_exception.dart';

@override
String get content => '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class A117670ecffdae99646ec89b9fac5f34f extends PackedResource {
/// this checksum
@override
String get checksum =>
'62790ab579225d1cc195d809abc70ddbbf7caa14056e31674a5ef3433cc84ac6';
'7ad1ddc37790387621afcdfeda5633284fefa2dabea603aeb7f2ca2686bcb15f';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,8 +35,8 @@ class A117670ecffdae99646ec89b9fac5f34f extends PackedResource {
String get content => '''
bmFtZTogY29uc29sZV9zaW1wbGUKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEEgc2ltcGxlIGNv
bW1hbmQtbGluZSBhcHBsaWNhdGlvbiBjcmVhdGVkIGJ5IGRjbGkKZW52aXJvbm1lbnQ6IAogIHNkazog
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS4xMwogIGRj
bGlfY29yZTogXjIuMC4wLWJldGEuMTMKZGV2X2RlcGVuZGVuY2llczogCiAgbGludF9oYXJkOiBeMi4w
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS4xNAogIGRj
bGlfY29yZTogXjIuMC4wLWJldGEuMTQKZGV2X2RlcGVuZGVuY2llczogCiAgbGludF9oYXJkOiBeMi4w
LjAK
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class A11add8376c80bbf88e645723e11f097a extends PackedResource {
/// this checksum
@override
String get checksum =>
'6c3abc2eabd7463a694ec8c9c6c22188cec7ac8d74c197fc7fc2f61fc5aeb917';
'1beef02a230de86d5cacb57519dbb00fdbfd2f5c1534edb3276a0b491145c499';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -37,7 +37,7 @@ bmFtZTogZnVsbAp2ZXJzaW9uOiAwLjAuMQpwdWJsaXNoX3RvOiBodHRwczovL2JldGEub25lcHViLmRl
di9hcGkvamJieHBzZGF2dS8KZGVzY3JpcHRpb246IEEgc2FtcGxlIGNvbW1hbmQtbGluZSBhcHBsaWNh
dGlvbiB0aGF0IGluc3RhbGxzIGFuZCBydW5zIG1haWxob2cKZW52aXJvbm1lbnQ6IAogIHNkazogJz49
Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBhcmdzOiBeMi4zLjEKICBkY2xpOiBeMi4wLjAt
YmV0YS4xMwogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuMTMKICBodHRwOiBeMC4xMy40CiAgcGF0aDog
YmV0YS4xNAogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuMTQKICBodHRwOiBeMC4xMy40CiAgcGF0aDog
XjEuOC4xCiAgc2V0dGluZ3NfeWFtbDogXjUuMC4wLWJldGEuMQpkZXZfZGVwZW5kZW5jaWVzOiAKICBs
aW50X2hhcmQ6IF4yLjAuMApleGVjdXRhYmxlczogCiAgZnVsbDogCg==
''';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class A26650b6f9160d7c2bc268042340fb6cc extends PackedResource {

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/full/lib/src/commands/install.dart';
String get originalPath =>
'template/project/full/lib/src/commands/install.dart';

@override
String get content => '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class A3fdab27388188732f2327c4661480284 extends PackedResource {

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/full/lib/src/settings/app_settings.dart';
String get originalPath =>
'template/project/full/lib/src/settings/app_settings.dart';

@override
String get content => '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class A7a274a7e2807d7c7a7397f68e234c2fe extends PackedResource {

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/full/lib/src/commands/config.dart';
String get originalPath =>
'template/project/full/lib/src/commands/config.dart';

@override
String get content => '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Ab3d3a29275d9f1652f2de5c6e4115a24 extends PackedResource {
/// this checksum
@override
String get checksum =>
'd6f6e43a265225d4decadec5ad1f9b5f12d4a7884309223b3eafc8dd7dcbb109';
'2d0ad5c657418371c1ff692cccf8a468eeb78116232066b984c47a8a197a33b6';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -36,6 +36,6 @@ class Ab3d3a29275d9f1652f2de5c6e4115a24 extends PackedResource {
bmFtZTogY29uc29sZV9zaW1wbGUKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEEgc2ltcGxlIGNv
bW1hbmQtbGluZSBhcHBsaWNhdGlvbiBjcmVhdGVkIGJ5IGRjbGkKZW52aXJvbm1lbnQ6IAogIHNkazog
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBhcmdzOiBeMi4zLjEKICBkY2xpOiBeMi4w
LjAtYmV0YS4xMwogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuMTMKICBsaW50X2hhcmQ6IF4yLjAuMAo=
LjAtYmV0YS4xNAogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuMTQKICBsaW50X2hhcmQ6IF4yLjAuMAo=
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class Acd63c1fd5280c24b38cf507ab99ff676 extends PackedResource {

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/full/lib/src/args/global_args.dart';
String get originalPath =>
'template/project/full/lib/src/args/global_args.dart';

@override
String get content => '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Af621a8bd8d9680d9847c1d0246fa9ffe extends PackedResource {
/// this checksum
@override
String get checksum =>
'c20ba73a4381bb382398eb38045d394894a2fcb665c8b5d02e44d006055e1472';
'71065124173b9f730df6dbb7a3a76cfa1a579c6657837049608ca668fb961d5c';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,8 +35,8 @@ class Af621a8bd8d9680d9847c1d0246fa9ffe extends PackedResource {
String get content => '''
bmFtZTogc2NyaXB0bmFtZQp2ZXJzaW9uOiAwLjAuMQpkZXNjcmlwdGlvbjogQSBzY3JpcHQgZ2VuZXJh
dGVkIGJ5IGRjbGkuCmVudmlyb25tZW50OiAKICBzZGs6ICc+PTIuMTguMCA8My4wLjAnCmRlcGVuZGVu
Y2llczogCiAgYXJnczogXjIuMy4xCiAgZGNsaTogXjIuMC4wLWJldGEuMTMKICBkY2xpX2NvcmU6IF4y
LjAuMC1iZXRhLjEzCiAgcGF0aDogXjEuMC4wCmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDog
Y2llczogCiAgYXJnczogXjIuMy4xCiAgZGNsaTogXjIuMC4wLWJldGEuMTQKICBkY2xpX2NvcmU6IF4y
LjAuMC1iZXRhLjE0CiAgcGF0aDogXjEuMC4wCmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDog
XjIuMC4wCg==
''';
}
2 changes: 1 addition & 1 deletion dcli/lib/src/version/version.g.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// GENERATED BY pub_release do not modify.
/// dcli version
String packageVersion = '2.0.0-beta.13';
String packageVersion = '2.0.0-beta.14';
4 changes: 2 additions & 2 deletions template/project/cmd_args/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
args: ^2.3.1
dcli: ^2.0.0-beta.13
dcli_core: ^2.0.0-beta.13
dcli: ^2.0.0-beta.14
dcli_core: ^2.0.0-beta.14
path: ^1.0.0
dev_dependencies:
lint_hard: ^2.0.0
4 changes: 2 additions & 2 deletions template/project/find/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
args: ^2.3.1
dcli: ^2.0.0-beta.13
dcli_core: ^2.0.0-beta.13
dcli: ^2.0.0-beta.14
dcli_core: ^2.0.0-beta.14
path: ^1.0.0
dev_dependencies:
lint_hard: ^2.0.0
4 changes: 2 additions & 2 deletions template/project/full/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
args: ^2.3.1
dcli: ^2.0.0-beta.13
dcli_core: ^2.0.0-beta.13
dcli: ^2.0.0-beta.14
dcli_core: ^2.0.0-beta.14
http: ^0.13.4
path: ^1.8.1
settings_yaml: ^5.0.0-beta.1
Expand Down
4 changes: 2 additions & 2 deletions template/project/simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A simple command-line application created by dcli
environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
dcli: ^2.0.0-beta.13
dcli_core: ^2.0.0-beta.13
dcli: ^2.0.0-beta.14
dcli_core: ^2.0.0-beta.14
dev_dependencies:
lint_hard: ^2.0.0
4 changes: 2 additions & 2 deletions template/script/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
args: ^2.3.1
dcli: ^2.0.0-beta.13
dcli_core: ^2.0.0-beta.13
dcli: ^2.0.0-beta.14
dcli_core: ^2.0.0-beta.14
lint_hard: ^2.0.0

0 comments on commit 7a95705

Please sign in to comment.