Skip to content

Commit da6b14f

Browse files
authored
Merge pull request #17 from TatsuUkraine/release-2.2.1
Release 2.2.1 -> master
2 parents 5f3ccc9 + f05c0b1 commit da6b14f

File tree

4 files changed

+28
-20
lines changed

4 files changed

+28
-20
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.2.1] - 19.04.2020
2+
3+
Changes:
4+
- Replace dependencies with version constraints
5+
- Fix example YAML config
6+
- Small changes in Documentation
7+
18
## [2.2.0+2] - 26.03.2020
29

310
Remove wrongly committed file

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ To enable dev extension just add `dev_extension`
489489

490490
```diff
491491
environment_config:
492-
+ dev_extension: dev
492+
dev_extension: dev # `dev` here is the name of you extension
493493
fields:
494494
first_key:
495495

@@ -506,7 +506,8 @@ environment_config:
506506
- other:package
507507
```
508508

509-
Then you can run command like this
509+
Then you can run command like this, where `dev` is key name from
510+
`dev_extension`
510511

511512
```
512513
flutter pub run environment_config:generate --dev

pubspec.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ packages:
2121
name: args
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.5.2"
24+
version: "1.6.0"
2525
async:
2626
dependency: transitive
2727
description:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.3.0"
31+
version: "2.4.1"
3232
built_collection:
3333
dependency: transitive
3434
description:
@@ -49,7 +49,7 @@ packages:
4949
name: charcode
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.1.2"
52+
version: "1.1.3"
5353
code_builder:
5454
dependency: "direct main"
5555
description:
@@ -63,7 +63,7 @@ packages:
6363
name: collection
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.14.11"
66+
version: "1.14.12"
6767
convert:
6868
dependency: transitive
6969
description:
@@ -126,14 +126,14 @@ packages:
126126
name: matcher
127127
url: "https://pub.dartlang.org"
128128
source: hosted
129-
version: "0.12.5"
129+
version: "0.12.6"
130130
meta:
131131
dependency: transitive
132132
description:
133133
name: meta
134134
url: "https://pub.dartlang.org"
135135
source: hosted
136-
version: "1.1.7"
136+
version: "1.1.8"
137137
node_interop:
138138
dependency: transitive
139139
description:
@@ -161,28 +161,28 @@ packages:
161161
name: path
162162
url: "https://pub.dartlang.org"
163163
source: hosted
164-
version: "1.6.4"
164+
version: "1.7.0"
165165
pedantic:
166166
dependency: transitive
167167
description:
168168
name: pedantic
169169
url: "https://pub.dartlang.org"
170170
source: hosted
171-
version: "1.8.0+1"
171+
version: "1.9.0"
172172
pub_semver:
173173
dependency: transitive
174174
description:
175175
name: pub_semver
176176
url: "https://pub.dartlang.org"
177177
source: hosted
178-
version: "1.4.3"
178+
version: "1.4.4"
179179
quiver:
180180
dependency: transitive
181181
description:
182182
name: quiver
183183
url: "https://pub.dartlang.org"
184184
source: hosted
185-
version: "2.0.5"
185+
version: "2.1.3"
186186
source_span:
187187
dependency: transitive
188188
description:
@@ -224,7 +224,7 @@ packages:
224224
name: watcher
225225
url: "https://pub.dartlang.org"
226226
source: hosted
227-
version: "0.9.7+13"
227+
version: "0.9.7+14"
228228
yaml:
229229
dependency: "direct main"
230230
description:

pubspec.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: environment_config
22
description: Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simplify Flutter build configuration
3-
version: 2.2.0+2
3+
version: 2.2.1
44
author: TatsuUkraine <[email protected]>
55
homepage: https://github.com/TatsuUkraine/dart_environment_config
66
repository: https://github.com/TatsuUkraine/dart_environment_config
@@ -10,23 +10,23 @@ environment:
1010
sdk: ">=2.2.2 <3.0.0"
1111

1212
dependencies:
13-
dart_style: ^1.3.3
14-
code_builder: ^3.2.1
15-
args: ^1.5.2
16-
yaml: ^2.2.0
13+
dart_style: ">=1.3.3 <2.0.0"
14+
code_builder: ">=3.2.1 <4.0.0"
15+
args: ">=1.6.0 <2.0.0"
16+
yaml: ">=2.2.0 <3.0.0"
1717

1818
# Config example. Run `flutter pub run environment_config:generate --env=YOUR_VALUE` to see example
1919
environment_config:
2020
fields:
21-
first_key:
21+
env:
2222

2323
imports:
2424
- some:package
2525

2626
extensions:
2727
dev:
2828
fields:
29-
first_key:
29+
env:
3030
default: some value
3131

3232
imports:

0 commit comments

Comments
 (0)