Skip to content

Commit 8ca1d40

Browse files
authored
chore(mason): v0.1.0 (#1471)
1 parent f64f30d commit 8ca1d40

File tree

22 files changed

+28
-24
lines changed

22 files changed

+28
-24
lines changed

bricks/favorite_color/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
color:

bricks/favorite_languages/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
languages:

bricks/flavors/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
flavors:

bricks/hello/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/felangel/mason/tree/master/bricks/hello
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
name:

bricks/hooks/hooks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: hooks_hooks
22

33
environment:
4-
sdk: ">=2.12.0 <3.0.0"
4+
sdk: ^3.5.4
55

66
dependencies:
77
mason:

bricks/random_color/hooks/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: random_color_hooks
22

33
environment:
4-
sdk: ">=2.12.0 <3.0.0"
4+
sdk: ^3.5.4
55

66
dependencies:
77
mason:

packages/mason/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.1.0
2+
3+
- chore: bump to stable v0.1.0 🎉
4+
15
# 0.1.0-dev.60
26

37
- chore: add `platforms` to `pubspec.yaml` ([#1420](https://github.com/felangel/mason/issues/1420))

packages/mason/lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mason/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: mason
22
description: >
33
A Dart template generator which helps teams generate files quickly and consistently.
4-
version: 0.1.0-dev.60
4+
version: 0.1.0
55
homepage: https://github.com/felangel/mason
66
repository: https://github.com/felangel/mason
77
issue_tracker: https://github.com/felangel/mason/issues

packages/mason/test/bricks/loop/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
values:

packages/mason/test/bricks/nested_conditional/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
name:

packages/mason/test/src/bundler_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void main() {
240240
'description: An example brick.\n'
241241
'version: 0.1.0+1\n'
242242
'environment:\n'
243-
' mason: ">=0.1.0-dev <0.1.0"\n'
243+
' mason: ^$packageVersion\n'
244244
'repository: "https://github.com/felangel/mason/tree/master/bricks/hello"\n'
245245
'vars:\n'
246246
' name:\n'

packages/mason_cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ version: 0.1.0+1
252252
# The following defines the environment for the current brick.
253253
# It includes the version of mason that the brick requires.
254254
environment:
255-
mason: ">=0.1.0-dev <0.1.0"
255+
mason: ^0.1.0
256256
257257
# Variables specify dynamic values that your brick depends on.
258258
# Zero or more variables can be specified for a given brick.

packages/mason_cli/README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ version: 0.1.0+1
250250
# 以下定义了当前 brick 的环境。
251251
# 它包括 brick 所需的 mason 版本。
252252
environment:
253-
mason: ">=0.1.0-dev <0.1.0"
253+
mason: ^0.1.0
254254
255255
# 变量指定了 Brick 依赖的动态值。
256256
# 对于给定的 Brick,可以指定零个或多个变量。

packages/mason_cli/lib/src/commands/new.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ version: 0.1.0+1
135135
# The following defines the environment for the current brick.
136136
# It includes the version of mason that the brick requires.
137137
environment:
138-
mason: ">=$packageVersion <0.1.0"
138+
mason: ^$packageVersion
139139
140140
# Variables specify dynamic values that your brick depends on.
141141
# Zero or more variables can be specified for a given brick.
@@ -199,10 +199,10 @@ TODO: Add your license here.
199199
name: ${name}_hooks
200200
201201
environment:
202-
sdk: ">=2.12.0 <3.0.0"
202+
sdk: ^3.5.4
203203
204204
dependencies:
205-
mason: ">=$packageVersion <0.1.0"
205+
mason: ^$packageVersion
206206
''';
207207

208208
static const _hooksGitignoreContent = '''

packages/mason_cli/test/bricks/array_no_choices/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
colors:

packages/mason_cli/test/bricks/enum_no_choices/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A new brick created with the Mason CLI.
44
version: 0.1.0+1
55

66
environment:
7-
mason: ">=0.1.0-dev <0.1.0"
7+
mason: ^0.1.0
88

99
vars:
1010
color:

packages/mason_cli/test/commands/get_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ bricks:
337337
final brickYaml = File(path.join('example', 'brick.yaml'));
338338
brickYaml.writeAsStringSync(
339339
brickYaml.readAsStringSync().replaceFirst(
340-
'mason: ">=${mason.packageVersion} <0.1.0"',
340+
'mason: ^${mason.packageVersion}',
341341
'mason: ">=99.99.99 <100.0.0"',
342342
),
343343
);

packages/mason_cli/test/fixtures/new/custom/bricks/hello_world/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version: 0.1.0+1
1313
# The following defines the environment for the current brick.
1414
# It includes the version of mason that the brick requires.
1515
environment:
16-
mason: ">=0.1.0-dev.60 <0.1.0"
16+
mason: ^0.1.0
1717

1818
# Variables specify dynamic values that your brick depends on.
1919
# Zero or more variables can be specified for a given brick.

packages/mason_cli/test/fixtures/new/hooks/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version: 0.1.0+1
1313
# The following defines the environment for the current brick.
1414
# It includes the version of mason that the brick requires.
1515
environment:
16-
mason: ">=0.1.0-dev.60 <0.1.0"
16+
mason: ^0.1.0
1717

1818
# Variables specify dynamic values that your brick depends on.
1919
# Zero or more variables can be specified for a given brick.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: hooks_hooks
22

33
environment:
4-
sdk: ">=2.12.0 <3.0.0"
4+
sdk: ^3.5.4
55

66
dependencies:
7-
mason: ">=0.1.0-dev.60 <0.1.0"
7+
mason: ^0.1.0

packages/mason_cli/test/fixtures/new/simple/hello_world/brick.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version: 0.1.0+1
1313
# The following defines the environment for the current brick.
1414
# It includes the version of mason that the brick requires.
1515
environment:
16-
mason: ">=0.1.0-dev.60 <0.1.0"
16+
mason: ^0.1.0
1717

1818
# Variables specify dynamic values that your brick depends on.
1919
# Zero or more variables can be specified for a given brick.

0 commit comments

Comments
 (0)