Skip to content

Commit

Permalink
Released 2.0.0-beta.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton committed Sep 10, 2022
1 parent cf6b3a8 commit 08755ad
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 29 deletions.
6 changes: 6 additions & 0 deletions dcli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.0.0-beta.8
- Added lint_hard to the script template.
- Fixed a bug in the pack command which would fail if the pack.yaml was missing an excluded section.
- Fixed a bug in capture. If you passed a progress the captured output wasn't being given a chance to flush through the system.
- Added logic to the project creation to update the executables: key in the generated pubspec.yaml to reflect the main script name.

# 2.0.0-beta.7
- change the release process to update all of the templates we ship, with the latest dcli version and sdk constraint.
- deprecated pubspec.saveToFile creating a new method 'save'. saveToFile was unnecessarily verbose.
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 =>
'f0d0b6849e903cb41d79d5b39f00e96872ddcfd4978dea7110ddc76e757be42d';
'6604f353d245111d4bca4951f2ef7cedb6f4be98d87d04e5e5ff0300cc71b2a9';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,7 +35,7 @@ class A06d49b67b870c49c422343065070f397 extends PackedResource {
String get content => '''
bmFtZTogc2NyaXB0bmFtZQp2ZXJzaW9uOiAwLjAuMQpkZXNjcmlwdGlvbjogQSBzY3JpcHQgZ2VuZXJh
dGVkIGJ5IGRjbGkuCmVudmlyb25tZW50OiAKICBzZGs6ICc+PTIuMTguMCA8My4wLjAnCmRlcGVuZGVu
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuNwogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuNwogIHBh
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuOAogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuOAogIHBh
dGg6IF4xLjAuMApkZXZfZGVwZW5kZW5jaWVzOiAKICBsaW50X2hhcmQ6IF4yLjAuMAo=
''';
}
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 =>
'4932c9788d1b5baf142c96bc61611677b61b52e4b492b7dd98d77a9d482c4d30';
'8e251b6e711edd09ade961037a6ff9067d15f01f90a1d19f228db5f205e17380';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,8 +35,8 @@ class A117670ecffdae99646ec89b9fac5f34f extends PackedResource {
String get content => '''
bmFtZTogY29uc29sZV9zaW1wbGUKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEEgc2ltcGxlIGNv
bW1hbmQtbGluZSBhcHBsaWNhdGlvbiBjcmVhdGVkIGJ5IGRjbGkKZW52aXJvbm1lbnQ6IAogIHNkazog
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS43CiAgZGNs
aV9jb3JlOiBeMi4wLjAtYmV0YS43CmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDogXjIuMC4w
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS44CiAgZGNs
aV9jb3JlOiBeMi4wLjAtYmV0YS44CmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDogXjIuMC4w
Cg==
''';
}
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 =>
'fcad83155ce6cc32809028814459381d962ad4c6403d968ea430d3b8775763f8';
'880fc60b544f41ec215c4b7bced7689df12923782b1b03865d0418953f107bba';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -37,7 +37,7 @@ bmFtZTogZnVsbAp2ZXJzaW9uOiAwLjAuMQpwdWJsaXNoX3RvOiBodHRwczovL2JldGEub25lcHViLmRl
di9hcGkvamJieHBzZGF2dS8KZGVzY3JpcHRpb246IEEgc2FtcGxlIGNvbW1hbmQtbGluZSBhcHBsaWNh
dGlvbiB0aGF0IGluc3RhbGxzIGFuZCBydW5zIG1haWxob2cKZW52aXJvbm1lbnQ6IAogIHNkazogJz49
Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBhcmdzOiBeMi4zLjEKICBkY2xpOiBeMi4wLjAt
YmV0YS43CiAgZGNsaV9jb3JlOiBeMi4wLjAtYmV0YS43CiAgaHR0cDogXjAuMTMuNAogIHNldHRpbmdz
YmV0YS44CiAgZGNsaV9jb3JlOiBeMi4wLjAtYmV0YS44CiAgaHR0cDogXjAuMTMuNAogIHNldHRpbmdz
X3lhbWw6IF41LjAuMC1iZXRhLjEKZGV2X2RlcGVuZGVuY2llczogCiAgbGludF9oYXJkOiBeMi4wLjAK
ZXhlY3V0YWJsZXM6IAogIGZ1bGw6IAo=
''';
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 =>
'5e9416d1ef51c41e5fa96a49071eb65a9b65e891c6720872efc6ed4c5b47caef';
'83ced635bc1ef865460f8f54b835df30adeeb33ab64ae9efd209de0f7d59f767';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,7 +35,7 @@ class Ab3d3a29275d9f1652f2de5c6e4115a24 extends PackedResource {
String get content => '''
bmFtZTogY29uc29sZV9zaW1wbGUKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEEgc2ltcGxlIGNv
bW1hbmQtbGluZSBhcHBsaWNhdGlvbiBjcmVhdGVkIGJ5IGRjbGkKZW52aXJvbm1lbnQ6IAogIHNkazog
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS43CiAgZGNs
aV9jb3JlOiBeMi4wLjAtYmV0YS43CiAgbGludF9oYXJkOiBeMi4wLjAK
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS44CiAgZGNs
aV9jb3JlOiBeMi4wLjAtYmV0YS44CiAgbGludF9oYXJkOiBeMi4wLjAK
''';
}
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 =>
'f0d0b6849e903cb41d79d5b39f00e96872ddcfd4978dea7110ddc76e757be42d';
'6604f353d245111d4bca4951f2ef7cedb6f4be98d87d04e5e5ff0300cc71b2a9';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,7 +35,7 @@ class Af621a8bd8d9680d9847c1d0246fa9ffe extends PackedResource {
String get content => '''
bmFtZTogc2NyaXB0bmFtZQp2ZXJzaW9uOiAwLjAuMQpkZXNjcmlwdGlvbjogQSBzY3JpcHQgZ2VuZXJh
dGVkIGJ5IGRjbGkuCmVudmlyb25tZW50OiAKICBzZGs6ICc+PTIuMTguMCA8My4wLjAnCmRlcGVuZGVu
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuNwogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuNwogIHBh
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuOAogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuOAogIHBh
dGg6IF4xLjAuMApkZXZfZGVwZW5kZW5jaWVzOiAKICBsaW50X2hhcmQ6IF4yLjAuMAo=
''';
}
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.7';
String packageVersion = '2.0.0-beta.8';
1 change: 0 additions & 1 deletion dcli/test/src/util/capture_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ void main() {
printerr('ho');
}, progress: myprogress);


expect(progress.lines.length, equals(2));
expect(progress.lines.first, equals('hi'));
expect(progress.lines[1], equals('ho'));
Expand Down
4 changes: 2 additions & 2 deletions template/project/cmd_args/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A script generated by dcli.
environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
dcli: ^2.0.0-beta.7
dcli_core: ^2.0.0-beta.7
dcli: ^2.0.0-beta.8
dcli_core: ^2.0.0-beta.8
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 @@ -4,8 +4,8 @@ description: A script generated by dcli.
environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
dcli: ^2.0.0-beta.7
dcli_core: ^2.0.0-beta.7
dcli: ^2.0.0-beta.8
dcli_core: ^2.0.0-beta.8
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.7
dcli_core: ^2.0.0-beta.7
dcli: ^2.0.0-beta.8
dcli_core: ^2.0.0-beta.8
http: ^0.13.4
settings_yaml: ^5.0.0-beta.1
dev_dependencies:
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.7
dcli_core: ^2.0.0-beta.7
dcli: ^2.0.0-beta.8
dcli_core: ^2.0.0-beta.8
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 @@ -4,6 +4,6 @@ description: A simple command-line application created by dcli
environment:
sdk: '>=2.18.0 <3.0.0'
dependencies:
dcli: ^2.0.0-beta.7
dcli_core: ^2.0.0-beta.7
dcli: ^2.0.0-beta.8
dcli_core: ^2.0.0-beta.8
lint_hard: ^2.0.0

0 comments on commit 08755ad

Please sign in to comment.