Skip to content

Commit

Permalink
Released 2.0.0-beta.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton committed Oct 14, 2022
1 parent 8537cc6 commit a192fa5
Show file tree
Hide file tree
Showing 72 changed files with 2,324 additions and 2,355 deletions.
18 changes: 18 additions & 0 deletions dcli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# 2.0.0-beta.10
- BREAKING: renamed the menu arg defaultValue to defaultOption to reflect that we are selecting an option.
- BREAKING: change the prompt argument for the menu function from a named argument to a positional argument for consistency with ask and confirm.
- BREAKING: Changed the signature to the customPrompts so that the hidden field is positional rather than named as this makes using them more intuitive.
- BREAKING: improved the compile from package option. It's now a switch and visible in the help.
- FIX: the project creation code so it updates dcli_core version as well as the dcli version.
- FIX: a bug on Windows when we are using dart from the flutter install. flutter ships both dart and dart.bat. The dart version is actually a bash script that isn't used but which confused our path detection process.
- FIX: Upgraded to dart_posix 4.0.1 to fix a bug #202 dcli install fails on macos - thanks to @RandalSchwartz
- split confirm out into its own library.
- Changed sudo dcli install instructions after hint from @RandalSchwartz that -E does the same as env "PATH=$PATH"
- moved pubspec overrides into their own file.
- improvements to the DartScript unit tests.
- moved puppet/minion code into its own project.
- improved the help for the create command.
- improved the command help
- improved the pack command description.
- upgraded to latest version of lint_hard

# 2.0.0-beta.9
- Fix for detection of the dart.bat exe on Windows.

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:dcli/dcli.dart';
///
/// GENERATED - GENERATED
class Af50477c0575c013cfe6f123f83a84e11 extends PackedResource {
/// PackedResource - ..\..\template\project\find\pubspec.yaml
const Af50477c0575c013cfe6f123f83a84e11();
class A06d49b67b870c49c422343065070f397 extends PackedResource {
/// PackedResource - ../../template/project/find/pubspec.yaml
const A06d49b67b870c49c422343065070f397();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
Expand All @@ -25,7 +25,7 @@ class Af50477c0575c013cfe6f123f83a84e11 extends PackedResource {
/// this checksum
@override
String get checksum =>
'42ad40ba2e537dc1e101463a40310dffb8aa5fa444793fd0289949de2a1ea844';
'9b442391051001842a53eb335dad6c641f57370fab1e82b86001de921c1b8bc8';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,7 +35,7 @@ class Af50477c0575c013cfe6f123f83a84e11 extends PackedResource {
String get content => '''
bmFtZTogc2NyaXB0bmFtZQp2ZXJzaW9uOiAwLjAuMQpkZXNjcmlwdGlvbjogQSBzY3JpcHQgZ2VuZXJh
dGVkIGJ5IGRjbGkuCmVudmlyb25tZW50OiAKICBzZGs6ICc+PTIuMTguMCA8My4wLjAnCmRlcGVuZGVu
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuOQogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuOQogIHBh
dGg6IF4xLjAuMApkZXZfZGVwZW5kZW5jaWVzOiAKICBsaW50X2hhcmQ6IF4yLjAuMAo=
Y2llczogCiAgZGNsaTogXjIuMC4wLWJldGEuMTAKICBkY2xpX2NvcmU6IF4yLjAuMC1iZXRhLjEwCiAg
cGF0aDogXjEuMC4wCmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDogXjIuMC4wCg==
''';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// ignore: prefer_relative_imports
import 'package:dcli/dcli.dart';

/// GENERATED -- GENERATED
///
/// DO NOT MODIFIY
///
/// This script is generated via [Resource.pack()].
///
/// GENERATED - GENERATED
class A07aa86cf4c4246ad598cd362ee228bc4 extends PackedResource {
/// PackedResource - ../../template/project/full/lib/src/exceptions/app_exception.dart
const A07aa86cf4c4246ad598cd362ee228bc4();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
/// This hash can be used to check if the resource needs to
/// be updated on the target system.
/// Use :
/// ```dart
/// calculateHash(pathToResource).hexEncode() == packResource.checksum
/// ```
/// to compare the checksum of the local file with
/// this checksum
@override
String get checksum =>
'a6b4892aad8ae4ac48a62effd9c9cf80539b7d30f2256f0aa97c09d5726182ee';

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

@override
String get content => '''
Ly8vIEFsbCBleGNlcHRpb25zIHRocm93biBzaG91bGQgJ2V4dGVuZHMnIGZyb20gdGhpcyBiYXNlIGNs
YXNzCi8vLyBhcyBpdCBtYWtlcyBpdCBlYXNpZXIgdG8gY2F0Y2ggYW5kIHByb2Nlc3MgZXhjZXB0aW9u
cwovLy8gaW4gYSBjb25zaXN0ZW50IGZhc2hpb24uCi8vLyBJbiBsYXJnZSBhcHBsaWNhdGlvbnMgaXQg
Y2FuIGJlIHVzZWZ1bCB0byBoYXZlIGEgJ2NsYXNzJyBwZXIKLy8vIHRocm93biBleGNlcHRpb24gYXMg
aXQgYWxsb3dzIGZvciAndGFyZ2V0ZWQnIGNhdGNoIGJsb2Nrcy4KY2xhc3MgQXBwRXhjZXB0aW9uIGlt
cGxlbWVudHMgRXhjZXB0aW9uIHsKICBBcHBFeGNlcHRpb24odGhpcy5tZXNzYWdlLCB7cmVxdWlyZWQg
dGhpcy5zaG93VXNhZ2V9KTsKCiAgU3RyaW5nIG1lc3NhZ2U7CiAgYm9vbCBzaG93VXNhZ2U7Cn0KCi8v
LyBUaHJvdyB0aGlzIGV4Y2VwdGlvbiBvciBvbmUgZGVyaXZlZCBmcm9tIGl0IHdoZW4geW91IHdhbnQK
Ly8vIHRoZSBleGVjZXB0aW9uIGNhdXNlIHRoZSBhcHBsaWNhaXRvbiB0byBleGl0IHdpdGggdGhlCi8v
LyBnaXZlbiBbZXhpdENvZGVdLgovLy8gVGhlIFtleGl0Q29kZV0gc2hvdWxkIGJlIGEgcG9zaXRpdmUg
bm9uLXplcm8gdmFsdWUgKHplcm8gaXMgcmVzZXJ2ZWQKLy8vIGZvciBhIHN1Y2Nlc3NmdWwgcnVuKS4K
Y2xhc3MgRXhpdEV4Y2VwdGlvbiBleHRlbmRzIEFwcEV4Y2VwdGlvbiB7CiAgRXhpdEV4Y2VwdGlvbih0
aGlzLmV4aXRDb2RlLCBzdXBlci5tZXNzYWdlLCB7cmVxdWlyZWQgc3VwZXIuc2hvd1VzYWdlfSkKICAg
ICAgOiBhc3NlcnQoZXhpdENvZGUgIT0gMCwgJzAgaXMgcmVzZXJ2ZWQgZm9yIGEgc3VjY2Vzc2Z1bCBm
b3IgcnVuLicpOwogIGludCBleGl0Q29kZTsKfQo=
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:dcli/dcli.dart';
///
/// GENERATED - GENERATED
class A513f7cdaa7334e940707dbe4ba09fa11 extends PackedResource {
/// PackedResource - ..\..\template\project\simple\pubspec.yaml
const A513f7cdaa7334e940707dbe4ba09fa11();
class A117670ecffdae99646ec89b9fac5f34f extends PackedResource {
/// PackedResource - ../../template/project/simple/pubspec.yaml
const A117670ecffdae99646ec89b9fac5f34f();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
Expand All @@ -25,7 +25,7 @@ class A513f7cdaa7334e940707dbe4ba09fa11 extends PackedResource {
/// this checksum
@override
String get checksum =>
'3a15e83af6a296d117e56a3fd983bdb09803db6718e7e15ac69fbcd956f61119';
'de1f55a132ebb2e83914da214ad0e04d35e555466159985869edff285ddca991';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -35,8 +35,8 @@ class A513f7cdaa7334e940707dbe4ba09fa11 extends PackedResource {
String get content => '''
bmFtZTogY29uc29sZV9zaW1wbGUKdmVyc2lvbjogMC4wLjEKZGVzY3JpcHRpb246IEEgc2ltcGxlIGNv
bW1hbmQtbGluZSBhcHBsaWNhdGlvbiBjcmVhdGVkIGJ5IGRjbGkKZW52aXJvbm1lbnQ6IAogIHNkazog
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS45CiAgZGNs
aV9jb3JlOiBeMi4wLjAtYmV0YS45CmRldl9kZXBlbmRlbmNpZXM6IAogIGxpbnRfaGFyZDogXjIuMC4w
Cg==
Jz49Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBkY2xpOiBeMi4wLjAtYmV0YS4xMAogIGRj
bGlfY29yZTogXjIuMC4wLWJldGEuMTAKZGV2X2RlcGVuZGVuY2llczogCiAgbGludF9oYXJkOiBeMi4w
LjAK
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:dcli/dcli.dart';
///
/// GENERATED - GENERATED
class Ae03155df9ff54c0d3c34e4b7665a9a66 extends PackedResource {
/// PackedResource - ..\..\template\project\full\pubspec.yaml
const Ae03155df9ff54c0d3c34e4b7665a9a66();
class A11add8376c80bbf88e645723e11f097a extends PackedResource {
/// PackedResource - ../../template/project/full/pubspec.yaml
const A11add8376c80bbf88e645723e11f097a();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
Expand All @@ -25,7 +25,7 @@ class Ae03155df9ff54c0d3c34e4b7665a9a66 extends PackedResource {
/// this checksum
@override
String get checksum =>
'38d14caf7b39f4a3b4942eb6d9e9416fd3b09396fa24acd9ca5f0838653c3cc6';
'b492804f15b75edd166acee0db980474525152a276bd146fee79dd6eb9286334';

/// <package>/resources relative path to the original resource.
@override
Expand All @@ -37,8 +37,8 @@ bmFtZTogZnVsbAp2ZXJzaW9uOiAwLjAuMQpwdWJsaXNoX3RvOiBodHRwczovL2JldGEub25lcHViLmRl
di9hcGkvamJieHBzZGF2dS8KZGVzY3JpcHRpb246IEEgc2FtcGxlIGNvbW1hbmQtbGluZSBhcHBsaWNh
dGlvbiB0aGF0IGluc3RhbGxzIGFuZCBydW5zIG1haWxob2cKZW52aXJvbm1lbnQ6IAogIHNkazogJz49
Mi4xOC4wIDwzLjAuMCcKZGVwZW5kZW5jaWVzOiAKICBhcmdzOiBeMi4zLjEKICBkY2xpOiBeMi4wLjAt
YmV0YS45CiAgZGNsaV9jb3JlOiBeMi4wLjAtYmV0YS45CiAgaHR0cDogXjAuMTMuNAogIHNldHRpbmdz
X3lhbWw6IF41LjAuMC1iZXRhLjEKZGV2X2RlcGVuZGVuY2llczogCiAgbGludF9oYXJkOiBeMi4wLjAK
ZXhlY3V0YWJsZXM6IAogIGZ1bGw6IAo=
YmV0YS4xMAogIGRjbGlfY29yZTogXjIuMC4wLWJldGEuMTAKICBodHRwOiBeMC4xMy40CiAgc2V0dGlu
Z3NfeWFtbDogXjUuMC4wLWJldGEuMQpkZXZfZGVwZW5kZW5jaWVzOiAKICBsaW50X2hhcmQ6IF4yLjAu
MApleGVjdXRhYmxlczogCiAgZnVsbDogCg==
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:dcli/dcli.dart';
///
/// GENERATED - GENERATED
class A8745ffbe31b78ecc6999c44260bd566e extends PackedResource {
/// PackedResource - ..\..\template\project\cmd_args\README.md
const A8745ffbe31b78ecc6999c44260bd566e();
class A14b86d52a29d3cd56e9e8d54e66dfef2 extends PackedResource {
/// PackedResource - ../../template/project/cmd_args/README.md
const A14b86d52a29d3cd56e9e8d54e66dfef2();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
Expand All @@ -25,14 +25,14 @@ class A8745ffbe31b78ecc6999c44260bd566e extends PackedResource {
/// this checksum
@override
String get checksum =>
'5f0855d183a4efd036a0f5f096a33b6b27d3beeb8c777abb938637479b77408c';
'bb1265a8f87a3487741679ae31cb020bfd1ab392e53112c9e0d376dd4eeaf7ed';

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/cmd_args/README.md';

@override
String get content => '''
QSBzaW1wbGUgY29tbWFuZC1saW5lIGFwcGxpY2F0aW9uIGNyZWF0ZWQgYnkgRENsaS4NCg==
QSBzaW1wbGUgY29tbWFuZC1saW5lIGFwcGxpY2F0aW9uIGNyZWF0ZWQgYnkgRENsaS4K
''';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import 'package:dcli/dcli.dart';
///
/// GENERATED - GENERATED
class A488c2d9694f643768f06ee86a979503e extends PackedResource {
/// PackedResource - ..\..\template\project\find\CHANGELOG.md
const A488c2d9694f643768f06ee86a979503e();
class A167f5142b43ae331132efb64caa22da9 extends PackedResource {
/// PackedResource - ../../template/project/find/CHANGELOG.md
const A167f5142b43ae331132efb64caa22da9();

/// A hash of the resource (pre packed) calculated by
/// [calculateHash].
Expand All @@ -25,14 +25,14 @@ class A488c2d9694f643768f06ee86a979503e extends PackedResource {
/// this checksum
@override
String get checksum =>
'04a12ac08d9a5ca5650bfbc7c32c04c2108d1d5448f3e0a02b9ca7dbbaaaee52';
'90691bccf156a7175de63a71919d8aa3d279e7ea6cc91dc529decacdfff092e2';

/// <package>/resources relative path to the original resource.
@override
String get originalPath => 'template/project/find/CHANGELOG.md';

@override
String get content => '''
IyMgMS4wLjANCg0KLSBJbml0aWFsIHZlcnNpb24uDQo=
IyMgMS4wLjAKCi0gSW5pdGlhbCB2ZXJzaW9uLgo=
''';
}
Loading

0 comments on commit a192fa5

Please sign in to comment.