Skip to content

Commit a2ff737

Browse files
committed
Fixed the broken pubspec.yaml files for the templates. Looks like we ran with a broken version of pubspec2 at one point.
1 parent 3e68982 commit a2ff737

7 files changed

Lines changed: 99 additions & 43 deletions

File tree

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
{name: scriptname, version: 0.0.1, environment: {sdk: >=3.0.0 <4.0.0}, description: A script generated by dcli., dependencies: {args: {version: ^2.3.1}, dcli: {version: ^3.0.3}, dcli_core: {version: ^3.0.3}, path: {version: ^1.0.0}}, dev_dependencies: {lint_hard: {version: ^4.0.0}}, dependency_overrides: null, executables: null, platforms: null}
1+
name: scriptname
2+
version: 0.0.1
3+
description: A script generated by dcli.
4+
environment:
5+
sdk: '>=3.0.0 <4.0.0'
6+
dependencies:
7+
args: ^2.3.1
8+
dcli: ^3.0.2
9+
dcli_core: ^3.0.2
10+
path: ^1.0.0
11+
dev_dependencies:
12+
lint_hard: ^4.0.0

template/project/find/pubspec.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
{name: scriptname, version: 0.0.1, environment: {sdk: >=3.0.0 <4.0.0}, description: A script generated by dcli., dependencies: {args: {version: ^2.3.1}, dcli: {version: ^3.0.3}, dcli_core: {version: ^3.0.3}, path: {version: ^1.0.0}}, dev_dependencies: {lint_hard: {version: ^4.0.0}}, dependency_overrides: null, executables: null, platforms: null}
1+
name: scriptname
2+
version: 0.0.1
3+
description: A script generated by dcli.
4+
environment:
5+
sdk: '>=3.0.0 <4.0.0'
6+
dependencies:
7+
args: ^2.3.1
8+
dcli: ^3.0.2
9+
dcli_core: ^3.0.2
10+
path: ^1.0.0
11+
dev_dependencies:
12+
lint_hard: ^4.0.0

template/project/full/pubspec.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
{name: full, version: 0.0.1, publish_to: https://beta.onepub.dev/api/jbbxpsdavu/, environment: {sdk: >=3.0.0 <4.0.0}, description: A sample command-line application that installs and runs mailhog, dependencies: {args: {version: ^2.3.1}, dcli: {version: ^3.0.3}, dcli_core: {version: ^3.0.3}, http: {version: ^0.13.4}, path: {version: ^1.8.1}, settings_yaml: {version: ^7.0.0}}, dev_dependencies: {lint_hard: {version: ^4.0.0}}, dependency_overrides: null, executables: {full: {full: }}, platforms: null}
1+
name: full
2+
version: 0.0.1
3+
publish_to: https://beta.onepub.dev/api/jbbxpsdavu/
4+
description: A sample command-line application that installs and runs mailhog
5+
environment:
6+
sdk: '>=3.0.0 <4.0.0'
7+
dependencies:
8+
args: ^2.3.1
9+
dcli: ^3.0.2
10+
dcli_core: ^3.0.2
11+
http: ^0.13.4
12+
path: ^1.8.1
13+
settings_yaml: ^7.0.0
14+
dev_dependencies:
15+
lint_hard: ^4.0.0
16+
executables:
17+
full:
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{name: console_simple, version: 0.0.1, environment: {sdk: >=3.0.0 <4.0.0}, description: A simple command-line application created by dcli, dependencies: {dcli: {version: ^3.0.3}, dcli_core: {version: ^3.0.3}}, dev_dependencies: {lint_hard: {version: ^3.0.0}}, dependency_overrides: null, executables: null, platforms: null}
1+
name: console_simple
2+
version: 0.0.1
3+
description: A simple command-line application created by dcli
4+
environment:
5+
sdk: '>=3.0.0 <4.0.0'
6+
dependencies:
7+
dcli: ^3.0.2
8+
dcli_core: ^3.0.2
9+
dev_dependencies:
10+
lint_hard: ^3.0.0

template/script/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Each .dart file in this directory acts as a 'template' for the dcli create <script.dart> command.
1+
Each main.dart file located in the set of subdirectories directory acts as a 'template' for the dcli create <script.dart> command.
22

3-
The basic.dart script is used if no template name is passed to the dcli create command.
3+
The simple/main.dart script is used if no template name is passed to the dcli create command.

template/script/pubspec.lock

Lines changed: 43 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ packages:
2929
dependency: "direct main"
3030
description:
3131
name: args
32-
sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a
32+
sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
3333
url: "https://pub.dev"
3434
source: hosted
35-
version: "2.4.1"
35+
version: "2.4.2"
3636
async:
3737
dependency: transitive
3838
description:
@@ -109,10 +109,10 @@ packages:
109109
dependency: transitive
110110
description:
111111
name: collection
112-
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
112+
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
113113
url: "https://pub.dev"
114114
source: hosted
115-
version: "1.17.2"
115+
version: "1.18.0"
116116
convert:
117117
dependency: transitive
118118
description:
@@ -159,14 +159,14 @@ packages:
159159
path: "../../dcli"
160160
relative: true
161161
source: path
162-
version: "3.0.1"
162+
version: "3.0.6"
163163
dcli_core:
164-
dependency: "direct main"
164+
dependency: "direct overridden"
165165
description:
166166
path: "../../dcli_core"
167167
relative: true
168168
source: path
169-
version: "3.0.1"
169+
version: "3.0.6"
170170
equatable:
171171
dependency: transitive
172172
description:
@@ -179,10 +179,10 @@ packages:
179179
dependency: transitive
180180
description:
181181
name: ffi
182-
sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99
182+
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
183183
url: "https://pub.dev"
184184
source: hosted
185-
version: "2.0.2"
185+
version: "2.1.0"
186186
file:
187187
dependency: transitive
188188
description:
@@ -203,10 +203,10 @@ packages:
203203
dependency: transitive
204204
description:
205205
name: functional_data
206-
sha256: "950f886463a7531a3b77904e0eb89e8e06dda78c4e3f5a84686445a2290cce18"
206+
sha256: aefdec4365452283b2a7cf420a3169654d51d3e9553069a22d76680d7a9d7c3d
207207
url: "https://pub.dev"
208208
source: hosted
209-
version: "1.0.0"
209+
version: "1.1.1"
210210
glob:
211211
dependency: transitive
212212
description:
@@ -295,22 +295,14 @@ packages:
295295
url: "https://pub.dev"
296296
source: hosted
297297
version: "4.8.1"
298-
lint_hard:
299-
dependency: "direct main"
300-
description:
301-
name: lint_hard
302-
sha256: d9cb96856a6c08f9d9d012de17bd45a9aa3950738c7bb6e01676a1c29625a4aa
303-
url: "https://pub.dev"
304-
source: hosted
305-
version: "3.0.1"
306298
logging:
307299
dependency: transitive
308300
description:
309301
name: logging
310-
sha256: "04094f2eb032cbb06c6f6e8d3607edcfcb0455e2bb6cbc010cb01171dcb64e6d"
302+
sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
311303
url: "https://pub.dev"
312304
source: hosted
313-
version: "1.1.1"
305+
version: "1.2.0"
314306
matcher:
315307
dependency: transitive
316308
description:
@@ -343,6 +335,14 @@ packages:
343335
url: "https://pub.dev"
344336
source: hosted
345337
version: "2.0.2"
338+
object_extension:
339+
dependency: transitive
340+
description:
341+
name: object_extension
342+
sha256: "2d2c65d803912d431a66fd74e4ad532be07639764f64b3b5ffbb0b37d76de389"
343+
url: "https://pub.dev"
344+
source: hosted
345+
version: "1.0.3"
346346
package_config:
347347
dependency: transitive
348348
description:
@@ -395,10 +395,10 @@ packages:
395395
dependency: transitive
396396
description:
397397
name: pubspec2
398-
sha256: "7b1fd81927f1da6d88457c83b51134e1bc8cb07638bd8d9e205b2ce1cd9ec091"
398+
sha256: a90b19347b37aee0b1e5a20d97c4087b7cf7ce0eea85885ba315b42eb3315423
399399
url: "https://pub.dev"
400400
source: hosted
401-
version: "2.4.2"
401+
version: "3.0.0"
402402
pubspec_lock:
403403
dependency: transitive
404404
description:
@@ -427,10 +427,10 @@ packages:
427427
dependency: transitive
428428
description:
429429
name: scope
430-
sha256: "5e777fa2dcdf31e09ad0b0034b965d75ea2f0b0a77fab8ef340d9478f9df755c"
430+
sha256: "80cf1cb727791fdaaa4131817974a6084815ed59b9ab02ef352c3a1badea488b"
431431
url: "https://pub.dev"
432432
source: hosted
433-
version: "4.0.1"
433+
version: "4.1.0"
434434
settings_yaml:
435435
dependency: transitive
436436
description:
@@ -499,18 +499,18 @@ packages:
499499
dependency: transitive
500500
description:
501501
name: stack_trace
502-
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
502+
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
503503
url: "https://pub.dev"
504504
source: hosted
505-
version: "1.11.0"
505+
version: "1.11.1"
506506
stream_channel:
507507
dependency: transitive
508508
description:
509509
name: stream_channel
510-
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
510+
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
511511
url: "https://pub.dev"
512512
source: hosted
513-
version: "2.1.1"
513+
version: "2.1.2"
514514
string_scanner:
515515
dependency: transitive
516516
description:
@@ -547,18 +547,18 @@ packages:
547547
dependency: transitive
548548
description:
549549
name: test_api
550-
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
550+
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
551551
url: "https://pub.dev"
552552
source: hosted
553-
version: "0.6.0"
553+
version: "0.6.1"
554554
test_core:
555555
dependency: transitive
556556
description:
557557
name: test_core
558-
sha256: "99806e9e6d95c7b059b7a0fc08f07fc53fabe54a829497f0d9676299f1e8637e"
558+
sha256: "4bef837e56375537055fdbbbf6dd458b1859881f4c7e6da936158f77d61ab265"
559559
url: "https://pub.dev"
560560
source: hosted
561-
version: "0.5.3"
561+
version: "0.5.6"
562562
typed_data:
563563
dependency: transitive
564564
description:
@@ -595,10 +595,10 @@ packages:
595595
dependency: transitive
596596
description:
597597
name: vm_service
598-
sha256: f3743ca475e0c9ef71df4ba15eb2d7684eecd5c8ba20a462462e4e8b561b2e11
598+
sha256: "0fae432c85c4ea880b33b497d32824b97795b04cdaa74d270219572a1f50268d"
599599
url: "https://pub.dev"
600600
source: hosted
601-
version: "11.6.0"
601+
version: "11.9.0"
602602
watcher:
603603
dependency: transitive
604604
description:
@@ -639,5 +639,13 @@ packages:
639639
url: "https://pub.dev"
640640
source: hosted
641641
version: "3.1.2"
642+
yaml_extension:
643+
dependency: transitive
644+
description:
645+
name: yaml_extension
646+
sha256: "4eb57ac54171be86a682d89cbea6152714aa0b8b1470f63b853a57d03118be35"
647+
url: "https://pub.dev"
648+
source: hosted
649+
version: "1.0.2"
642650
sdks:
643651
dart: ">=3.0.0 <4.0.0"

template/script/pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ version: 0.0.1
33
description: A simple command-line application created by dcli
44
environment:
55
sdk: '>=3.0.0 <4.0.0'
6-
dependencies:
7-
args
6+
dependencies:
7+
args: ^2.4.2
8+
dcli: ^3.0.6

0 commit comments

Comments
 (0)