Skip to content

Commit 4a1e65b

Browse files
committed
Dependency upgrades
1 parent 6269da1 commit 4a1e65b

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.38.3
2+
3+
- Dependency upgrades
4+
15
## 1.38.2
26

37
- Does not skip `pub get` in workspace members if the workspace is out of scope

lib/command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ abstract class Command {
88
/// The command to run
99
List<String> get args => List.unmodifiable(_args);
1010

11-
bool _noFvm = false;
11+
var _noFvm = false;
1212

1313
/// If fvm support should be disabled
1414
bool get noFvm => _noFvm;

lib/config.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ import 'dart:io';
22

33
import 'package:path/path.dart' as p;
44
import 'package:yaml/yaml.dart';
5+
import 'package:meta/meta.dart';
56

67
/// A puby configuration file
8+
@immutable
79
class PubyConfig {
810
/// Specified command exclusions
911
final List<String> excludes;
1012

11-
PubyConfig._({
13+
const PubyConfig._({
1214
required this.excludes,
1315
});
1416

lib/project.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import 'package:pubspec_parse/pubspec_parse.dart';
22
import 'package:puby/config.dart';
33
import 'package:puby/engine.dart';
4+
import 'package:meta/meta.dart';
45

56
/// Intermediate data used during project resolution
7+
@immutable
68
class ProjectIntermediate {
79
/// The absolute path to the project
810
final String absolutePath;
@@ -26,6 +28,7 @@ class ProjectIntermediate {
2628
}
2729

2830
/// A dart project
31+
@immutable
2932
class Project {
3033
/// The engine this project uses
3134
final Engine engine;
@@ -67,7 +70,7 @@ class Project {
6770
];
6871

6972
/// Create a [Project]
70-
Project({
73+
const Project({
7174
required this.engine,
7275
required this.path,
7376
required this.config,

pubspec.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: puby
22
description: Run commands in all projects in the current directory. Handle monorepos with ease.
3-
version: 1.38.2
3+
version: 1.38.3
44
homepage: https://github.com/Rexios80/puby
55

66
environment:
@@ -12,13 +12,14 @@ dependencies:
1212
path: ^1.8.1
1313
pub_update_checker: ^1.2.0
1414
flutter_tools_task_queue: ^1.0.0
15-
dart_pub: 0.0.4
15+
dart_pub: 0.0.5
1616
pub_semver: ^2.1.4
1717
io: ^1.0.4
18+
meta: ^1.17.0
1819

1920
dev_dependencies:
2021
test: ^1.20.2
21-
rexios_lints: ^9.1.0
22+
rexios_lints: ^15.0.1
2223

2324
executables:
2425
puby: puby

test/test_utils.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ import 'dart:io';
33

44
import 'package:test/test.dart';
55
import 'package:path/path.dart' as path;
6+
import 'package:meta/meta.dart';
67

78
final _decoder = Utf8Decoder();
89

10+
@immutable
911
class PubyProcessResult {
1012
final String testDirectory;
1113
final int exitCode;
1214
final String stdout;
1315
final String stderr;
1416

15-
PubyProcessResult(
17+
const PubyProcessResult(
1618
this.testDirectory,
1719
this.exitCode,
1820
this.stdout,

0 commit comments

Comments
 (0)