Skip to content

Commit cc39710

Browse files
committed
v6.7.6
1 parent e210f9a commit cc39710

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [6.7.6] - 2025-04-11
2+
3+
* Fix methods: `addPackage` and `addPackages`
4+
15
## [6.7.5] - 2025-04-11
26

37
* Small refactor to metro.dart

lib/metro/ny_cli.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ abstract class NyCustomCommand {
101101
}
102102

103103
/// Add a package to the pubspec.yaml file
104-
addPackage(String package, {String? version, bool dev = false}) {
105-
MetroService.addPackage(package, dev: dev, version: version);
104+
addPackage(String package, {String? version, bool dev = false}) async {
105+
await MetroService.addPackage(package, dev: dev, version: version);
106106
}
107107

108108
/// Add multiple packages to the pubspec.yaml file
109-
addPackages(List<String> packages, {bool dev = false}) {
110-
MetroService.addPackages(packages, dev: dev);
109+
addPackages(List<String> packages, {bool dev = false}) async {
110+
await MetroService.addPackages(packages, dev: dev);
111111
}
112112

113113
/// Prints a message in blue color

lib/nylo_framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ export 'package:date_field/date_field.dart';
2929
export 'package:dio/dio.dart';
3030

3131
/// Nylo version
32-
const String nyloVersion = 'v6.7.5';
32+
const String nyloVersion = 'v6.7.6';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
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: 6.7.5
3+
version: 6.7.6
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/framework/tree/6.x
66
issue_tracker: https://github.com/nylo-core/framework/issues

0 commit comments

Comments
 (0)