Skip to content

Commit 680f86c

Browse files
committed
+Update dependencies
1 parent 6c54e83 commit 680f86c

15 files changed

+88
-141
lines changed

.gitignore

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,29 @@
1010
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
1111
##.title~
1212

13-
**/.dart_tool/
13+
# MacOS.
1414
**/.DS_Store
15-
**/build/
16-
**/pubspec.lock
17-
**/.github/.git
18-
**/.metadata
15+
16+
# Dart & Flutter.
17+
**/.dart_tool/
1918
**/.flutter-plugins
2019
**/.flutter-plugins-dependencies
20+
**/.metadata
21+
**/.pub-cache/
22+
**/.pub/
23+
**/build/
2124
**/pubspec_overrides.yaml
25+
**/pubspec.lock
26+
**/custom_lint.log
27+
28+
# GitHub.
29+
**/.github/.git
2230

23-
# Don't support IntelliJ.
24-
**/*.iml
25-
**/*.idea/
31+
# Firebase.
32+
**/.firebase
33+
**/firebase-debug.log
2634

27-
# custom_lint
28-
**/custom_lint.log
35+
# Android
36+
/android/app/debug
37+
/android/app/profile
38+
/android/app/release

DEVELOPER_NOTES.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ The example below provides a glimpse of what this package can do. The package in
2525

2626
### Step 1
2727

28-
To install this tool, run `dart pub global activate df_generate_dart_models 0.12.4` in your terminal. You can replace `0.12.19` with any other version or omit it to install the latest version. It’s recommended to specify a version to avoid potential issues from frequent updates and changes.
28+
To install this tool, run `dart pub global activate df_generate_dart_models 0.14.0` in your terminal. You can replace `0.14.0` with any other version or omit it to install the latest version. It’s recommended to specify a version to avoid potential issues from frequent updates and changes.
2929

3030
### Step 2
3131

3232
Add [`df_generate_dart_models_core`](https://pub.dev/packages/df_generate_dart_models_core) to your `pubspec.yaml` file.
3333

3434
```yaml
3535
dependencies:
36-
df_generate_dart_models_core: 0.8.18 # Fixed version to ensure compatibility and avoid issues from frequent updates.
36+
df_generate_dart_models_core: 0.9.22 # Fixed version to ensure compatibility and avoid issues from frequent updates.
3737
```
3838
3939
### Step 3
@@ -87,7 +87,7 @@ Save the file somewhere in its own directory, for example `lib/models/model_user
8787

8888
### Step 5
8989

90-
Open the terminal and navigate to `lib/models/model_user`, then run `-models`. This will generate the `_model_user.g.dart` file in the same directory. In editors like VS Code, you can right-click on the folder and select _“Open in Integrated Terminal”_ to open the terminal directly at the desired location, and then run `-models` to generate the file.
90+
Open the terminal and navigate to `lib/models/model_user`, then run `df_generate_dart_models`. This will generate the `_model_user.g.dart` file in the same directory. In editors like VS Code, you can right-click on the folder and select _“Open in Integrated Terminal”_ to open the terminal directly at the desired location, and then run `df_generate_dart_models` to generate the file.
9191

9292
<!-- END _README_CONTENT -->
9393

@@ -123,4 +123,3 @@ If you're enjoying this package and find it valuable, consider showing your appr
123123
## 🧑‍⚖️ License
124124

125125
This project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/LICENSE) for more information.
126-

_README_CONTENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ The example below provides a glimpse of what this package can do. The package in
1010

1111
### Step 1
1212

13-
To install this tool, run `dart pub global activate df_generate_dart_models 0.12.4` in your terminal. You can replace `0.12.19` with any other version or omit it to install the latest version. It’s recommended to specify a version to avoid potential issues from frequent updates and changes.
13+
To install this tool, run `dart pub global activate df_generate_dart_models 0.14.0` in your terminal. You can replace `0.14.0` with any other version or omit it to install the latest version. It’s recommended to specify a version to avoid potential issues from frequent updates and changes.
1414

1515
### Step 2
1616

1717
Add [`df_generate_dart_models_core`](https://pub.dev/packages/df_generate_dart_models_core) to your `pubspec.yaml` file.
1818

1919
```yaml
2020
dependencies:
21-
df_generate_dart_models_core: 0.8.18 # Fixed version to ensure compatibility and avoid issues from frequent updates.
21+
df_generate_dart_models_core: 0.9.22 # Fixed version to ensure compatibility and avoid issues from frequent updates.
2222
```
2323
2424
### Step 3
@@ -72,4 +72,4 @@ Save the file somewhere in its own directory, for example `lib/models/model_user
7272

7373
### Step 5
7474

75-
Open the terminal and navigate to `lib/models/model_user`, then run `-models`. This will generate the `_model_user.g.dart` file in the same directory. In editors like VS Code, you can right-click on the folder and select _“Open in Integrated Terminal”_ to open the terminal directly at the desired location, and then run `-models` to generate the file.
75+
Open the terminal and navigate to `lib/models/model_user`, then run `df_generate_dart_models`. This will generate the `_model_user.g.dart` file in the same directory. In editors like VS Code, you can right-click on the folder and select _“Open in Integrated Terminal”_ to open the terminal directly at the desired location, and then run `df_generate_dart_models` to generate the file.

bin/.gitignore

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,29 @@
1010
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
1111
##.title~
1212

13-
**/.dart_tool/
13+
# MacOS.
1414
**/.DS_Store
15-
**/build/
16-
**/pubspec.lock
17-
**/.github/.git
18-
**/.metadata
15+
16+
# Dart & Flutter.
17+
**/.dart_tool/
1918
**/.flutter-plugins
2019
**/.flutter-plugins-dependencies
20+
**/.metadata
21+
**/.pub-cache/
22+
**/.pub/
23+
**/build/
2124
**/pubspec_overrides.yaml
25+
**/pubspec.lock
26+
**/custom_lint.log
27+
28+
# GitHub.
29+
**/.github/.git
2230

23-
# Don't support IntelliJ.
24-
**/*.iml
25-
**/*.idea/
31+
# Firebase.
32+
**/.firebase
33+
**/firebase-debug.log
2634

27-
# custom_lint
28-
**/custom_lint.log
35+
# Android
36+
/android/app/debug
37+
/android/app/profile
38+
/android/app/release

example/models/gen_models_featured_v1.dart renamed to bin/df_generate_dart_models.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:df_generate_dart_models/df_generate_dart_models.dart';
1515
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1616

1717
void main(List<String> args) async {
18-
await genModelsApp(
18+
await generateDartModels(
1919
args,
2020
defaultTemplatePathOrUrl:
2121
'https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/templates/featured_v1.dart.md',

bin/gen_models_gemeni.dart renamed to bin/df_generate_dart_models_gemeni.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ import 'package:df_generate_dart_models/df_generate_dart_models.dart';
1515
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1616

1717
void main(List<String> args) async {
18-
await genModelsGemeniApp(args);
18+
await generateDartModelsGemeni(args);
1919
}

example/models/gen_models_minimal_v1.dart renamed to bin/df_generate_dart_models_minimal.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:df_generate_dart_models/df_generate_dart_models.dart';
1515
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1616

1717
void main(List<String> args) async {
18-
await genModelsApp(
18+
await generateDartModels(
1919
args,
2020
defaultTemplatePathOrUrl:
2121
'https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/templates/minimal_v1.dart.md',

bin/gen_models_featured_v1.dart renamed to example/models/df_generate_dart_models.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:df_generate_dart_models/df_generate_dart_models.dart';
1515
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1616

1717
void main(List<String> args) async {
18-
await genModelsApp(
18+
await generateDartModels(
1919
args,
2020
defaultTemplatePathOrUrl:
2121
'https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/templates/featured_v1.dart.md',

bin/gen_models_minimal_v1.dart renamed to example/models/df_generate_dart_models_minimal.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:df_generate_dart_models/df_generate_dart_models.dart';
1515
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
1616

1717
void main(List<String> args) async {
18-
await genModelsApp(
18+
await generateDartModels(
1919
args,
2020
defaultTemplatePathOrUrl:
2121
'https://raw.githubusercontent.com/dev-cetera/df_generate_dart_models/main/templates/minimal_v1.dart.md',

0 commit comments

Comments
 (0)