Skip to content

Commit 2f9bbb7

Browse files
committed
v2.1.4 - updates
1 parent ca95af9 commit 2f9bbb7

File tree

9 files changed

+13
-132
lines changed

9 files changed

+13
-132
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.1.4] - 2022-01-02
2+
3+
* Merge PR #27 - Example moved to null safety
4+
* Remove build appicons command from Metro cli
5+
16
## [2.1.3] - 2021-12-17
27

38
* Small refactor to Metro Cli

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Anthony Gordon
3+
Copyright (c) 2022 Anthony Gordon
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
![Nylo Banner](https://nylo.dev/images/nylo_logo_header.png)
22

33
<p align="center">
4-
<a href="https://github.com/nylo-core/framework/releases/tag/v2.1.3"><img src="https://img.shields.io/github/v/release/nylo-core/framework?style=plastic" alt="Latest Release Version"></a>
5-
<a href="https://github.com/nylo-core/framework/releases/tag/v2.1.3"><img src="https://img.shields.io/github/license/nylo-core/framework?style=plastic" alt="Latest Stable Version"></a>
4+
<a href="https://github.com/nylo-core/framework/releases/tag/v2.1.4"><img src="https://img.shields.io/github/v/release/nylo-core/framework?style=plastic" alt="Latest Release Version"></a>
5+
<a href="https://github.com/nylo-core/framework/releases/tag/v2.1.4"><img src="https://img.shields.io/github/license/nylo-core/framework?style=plastic" alt="Latest Stable Version"></a>
66
<a href="https://github.com/nylo-core/framework"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nylo-core/framework?style=plastic"></a>
77
</p>
88

9-
## Nylo Framework (v2.1.3)
9+
## Nylo Framework (v2.1.4)
1010

1111
Nylo is a micro-framework for Flutter which is designed to help simplify app development. Every project provides a simple boilerplate and MVC pattern to help you build apps easier.
1212

example/pubspec.lock

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ packages:
88
url: "https://pub.dartlang.org"
99
source: hosted
1010
version: "2.0.0"
11-
archive:
12-
dependency: transitive
13-
description:
14-
name: archive
15-
url: "https://pub.dartlang.org"
16-
source: hosted
17-
version: "3.1.2"
1811
args:
1912
dependency: transitive
2013
description:
@@ -64,13 +57,6 @@ packages:
6457
url: "https://pub.dartlang.org"
6558
source: hosted
6659
version: "1.15.0"
67-
crypto:
68-
dependency: transitive
69-
description:
70-
name: crypto
71-
url: "https://pub.dartlang.org"
72-
source: hosted
73-
version: "3.0.1"
7460
fake_async:
7561
dependency: transitive
7662
description:
@@ -104,13 +90,6 @@ packages:
10490
url: "https://pub.dartlang.org"
10591
source: hosted
10692
version: "5.0.2"
107-
flutter_launcher_icons:
108-
dependency: transitive
109-
description:
110-
name: flutter_launcher_icons
111-
url: "https://pub.dartlang.org"
112-
source: hosted
113-
version: "0.9.2"
11493
flutter_localizations:
11594
dependency: transitive
11695
description: flutter
@@ -175,13 +154,6 @@ packages:
175154
description: flutter
176155
source: sdk
177156
version: "0.0.0"
178-
image:
179-
dependency: transitive
180-
description:
181-
name: image
182-
url: "https://pub.dartlang.org"
183-
source: hosted
184-
version: "3.0.2"
185157
intl:
186158
dependency: transitive
187159
description:
@@ -223,7 +195,7 @@ packages:
223195
path: ".."
224196
relative: true
225197
source: path
226-
version: "2.1.3"
198+
version: "2.1.4"
227199
nylo_support:
228200
dependency: transitive
229201
description:
@@ -266,13 +238,6 @@ packages:
266238
url: "https://pub.dartlang.org"
267239
source: hosted
268240
version: "2.0.3"
269-
petitparser:
270-
dependency: transitive
271-
description:
272-
name: petitparser
273-
url: "https://pub.dartlang.org"
274-
source: hosted
275-
version: "4.1.0"
276241
platform:
277242
dependency: transitive
278243
description:
@@ -432,20 +397,6 @@ packages:
432397
url: "https://pub.dartlang.org"
433398
source: hosted
434399
version: "0.2.0"
435-
xml:
436-
dependency: transitive
437-
description:
438-
name: xml
439-
url: "https://pub.dartlang.org"
440-
source: hosted
441-
version: "5.1.2"
442-
yaml:
443-
dependency: transitive
444-
description:
445-
name: yaml
446-
url: "https://pub.dartlang.org"
447-
source: hosted
448-
version: "3.1.0"
449400
sdks:
450401
dart: ">=2.15.0 <3.0.0"
451402
flutter: ">=2.0.0"

lib/metro/menu.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ All commands:
1818
make:stateful_widget
1919
make:stateless_widget
2020
make:theme
21-
22-
appicons
23-
appicons:build
2421
""";

lib/metro/metro.dart

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
library metro;
22

33
import 'package:collection/collection.dart' show IterableExtension;
4-
import 'package:flutter_launcher_icons/main.dart' as launcherIcons;
54
import 'package:args/args.dart';
65
import 'package:nylo_framework/metro/menu.dart';
76
import 'package:nylo_framework/metro/stubs/theme_colors_stub.dart';
@@ -43,7 +42,7 @@ List<NyCommand> _allCommands = [
4342
name: "page",
4443
options: 1,
4544
category: "make",
46-
arguments: ["-h", "-f"],
45+
arguments: ["-h", "-f", "-c"],
4746
action: _makePage),
4847
NyCommand(
4948
name: "stateful_widget",
@@ -63,12 +62,6 @@ List<NyCommand> _allCommands = [
6362
arguments: ["-h", "-f"],
6463
category: "make",
6564
action: _makeTheme),
66-
NyCommand(
67-
name: "build",
68-
options: 1,
69-
arguments: ["-h"],
70-
category: "appicons",
71-
action: _makeAppIcons),
7265
];
7366

7467
Future<void> commands(List<String> arguments) async {
@@ -207,21 +200,6 @@ _makeTheme(List<String> arguments) async {
207200
MetroConsole.writeInGreen(themeName + '_theme created 🎉');
208201
}
209202

210-
_makeAppIcons(List<String> arguments) async {
211-
parser.addFlag(helpFlag,
212-
abbr: 'h',
213-
help: 'Generates your app icons in the project.',
214-
negatable: false);
215-
216-
final ArgResults argResults = parser.parse(arguments);
217-
218-
_checkHelpFlag(argResults[helpFlag], parser.usage);
219-
220-
launcherIcons.createIconsFromArguments(arguments);
221-
222-
MetroConsole.writeInGreen('App icons created 🎉');
223-
}
224-
225203
_makeController(List<String> arguments) async {
226204
parser.addFlag(helpFlag,
227205
abbr: 'h',

lib/nylo_framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export 'package:nylo_support/alerts/toast_notification.dart';
1212
export 'package:nylo_support/nylo.dart';
1313

1414
/// Nylo version
15-
const String nyloVersion = 'v2.1.3';
15+
const String nyloVersion = 'v2.1.4';

pubspec.lock

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ packages:
88
url: "https://pub.dartlang.org"
99
source: hosted
1010
version: "2.0.0"
11-
archive:
12-
dependency: transitive
13-
description:
14-
name: archive
15-
url: "https://pub.dartlang.org"
16-
source: hosted
17-
version: "3.1.2"
1811
args:
1912
dependency: "direct main"
2013
description:
@@ -64,13 +57,6 @@ packages:
6457
url: "https://pub.dartlang.org"
6558
source: hosted
6659
version: "1.15.0"
67-
crypto:
68-
dependency: transitive
69-
description:
70-
name: crypto
71-
url: "https://pub.dartlang.org"
72-
source: hosted
73-
version: "3.0.1"
7460
fake_async:
7561
dependency: transitive
7662
description:
@@ -104,13 +90,6 @@ packages:
10490
url: "https://pub.dartlang.org"
10591
source: hosted
10692
version: "5.0.2"
107-
flutter_launcher_icons:
108-
dependency: "direct main"
109-
description:
110-
name: flutter_launcher_icons
111-
url: "https://pub.dartlang.org"
112-
source: hosted
113-
version: "0.9.2"
11493
flutter_localizations:
11594
dependency: transitive
11695
description: flutter
@@ -175,13 +154,6 @@ packages:
175154
description: flutter
176155
source: sdk
177156
version: "0.0.0"
178-
image:
179-
dependency: transitive
180-
description:
181-
name: image
182-
url: "https://pub.dartlang.org"
183-
source: hosted
184-
version: "3.0.2"
185157
intl:
186158
dependency: transitive
187159
description:
@@ -259,13 +231,6 @@ packages:
259231
url: "https://pub.dartlang.org"
260232
source: hosted
261233
version: "2.0.3"
262-
petitparser:
263-
dependency: transitive
264-
description:
265-
name: petitparser
266-
url: "https://pub.dartlang.org"
267-
source: hosted
268-
version: "4.2.0"
269234
platform:
270235
dependency: transitive
271236
description:
@@ -425,20 +390,6 @@ packages:
425390
url: "https://pub.dartlang.org"
426391
source: hosted
427392
version: "0.2.0"
428-
xml:
429-
dependency: transitive
430-
description:
431-
name: xml
432-
url: "https://pub.dartlang.org"
433-
source: hosted
434-
version: "5.2.0"
435-
yaml:
436-
dependency: transitive
437-
description:
438-
name: yaml
439-
url: "https://pub.dartlang.org"
440-
source: hosted
441-
version: "3.1.0"
442393
sdks:
443394
dart: ">=2.15.0 <3.0.0"
444395
flutter: ">=2.0.0"

pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_framework
22
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
3-
version: 2.1.3
3+
version: 2.1.4
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/framework
66
issue_tracker: https://github.com/nylo-core/framework/issues
@@ -12,7 +12,6 @@ environment:
1212
dependencies:
1313
flutter_dotenv: ^5.0.2
1414
nylo_support: ^2.3.1
15-
flutter_launcher_icons: ^0.9.2
1615
args: ^2.3.0
1716
theme_provider: ^0.5.0
1817
recase: ^4.0.0

0 commit comments

Comments
 (0)