Skip to content

Commit

Permalink
chore: updated readme, changelog, version bump for pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oppahansi committed Dec 23, 2023
1 parent 55dc6c7 commit eac6f15
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.4

- Added dry run support
- Added support for library directives

## 1.0.3

- Moved all files in src folder to hide them from importing.
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Users can customize the import sorting behavior using various flags and options.
### Before
```dart
library better_imports;
import 'dart:io';
import 'package:better_imports/lib.dart';
import 'cfg_test.dart';
Expand All @@ -48,6 +49,8 @@ void main() {
### After (default config)
```dart
library better_imports;
// Dart Imports
import 'dart:io';
Expand Down Expand Up @@ -122,7 +125,8 @@ Name Abbr Description
--silent -s Disables results output in console.
--relative Converts all project package imports to relative project imports.
--no-comments Removes comments from import types / sections.
--trace Prints all logging messages to console. Default is false.
--trace Prints extended logs to console.
--dry-run Prints the results of the run without writing it to the file.
```

</details>
Expand Down
2 changes: 1 addition & 1 deletion lib/src/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Constants {
--relative Converts all project package imports to relative project imports.
--no-comments Removes comments from import types / sections.
--trace Prints extended logs to console.
--dry-run Prints the result of the sort without writing it to the file.
--dry-run Prints the results of the run without writing it to the file.
OPTIONS
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: better_imports
description: A better imports sorter for your .dart files.
version: 1.0.3
version: 1.0.4
repository: https://github.com/oppahansi/better_imports

executables:
Expand Down

0 comments on commit eac6f15

Please sign in to comment.