Skip to content

Commit 952456b

Browse files
committed
+breaking: Update dependencies
1 parent 9b6bc77 commit 952456b

56 files changed

Lines changed: 125 additions & 155 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/_README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ cd your_project
1818
**2. Clone this repo into a `.github/` folder:**
1919

2020
```zsh
21-
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
21+
git clone https://github.com/dev-cetera/pub.dev_package_workflow.git .github
2222
```
2323

2424
**3. Remove the `/.git` folder to include it to your project:**
25-
26-
*On macOS and Linux:*
25+
26+
_On macOS and Linux:_
27+
2728
```zsh
2829
rm -rf .github/.git/
2930
```
3031

31-
*On Windows:*
32+
_On Windows:_
33+
3234
```cmd
3335
rmdir /s /q .github/.git/
3436
```
35-
36-

.github/scripts/update_changelog.dart

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//.title
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
4-
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
4+
// Dart/Flutter (DF) Packages by dev-cetera.com & contributors. The use of this
55
// source code is governed by an MIT-style license described in the LICENSE
66
// file located in this project's root directory.
77
//
@@ -56,15 +56,11 @@ Set<_VersionSection> extractSections(String contents) {
5656
final results = <_VersionSection>{};
5757
for (var i = 0; i < allVersionMatches.length; i++) {
5858
final start = allVersionMatches[i].end;
59-
final end = i + 1 < allVersionMatches.length
60-
? allVersionMatches[i + 1].start
61-
: contents.length;
59+
final end = i + 1 < allVersionMatches.length ? allVersionMatches[i + 1].start : contents.length;
6260
final sectionContents = contents.substring(start, end).trim();
63-
final lines =
64-
sectionContents.split('\n').where((line) => line.isNotEmpty).toList();
65-
final version = allVersionMatches[i]
66-
.group(0)!
67-
.substring(4, allVersionMatches[i].group(0)!.length - 1);
61+
final lines = sectionContents.split('\n').where((line) => line.isNotEmpty).toList();
62+
final version =
63+
allVersionMatches[i].group(0)!.substring(4, allVersionMatches[i].group(0)!.length - 1);
6864
var releasedAt = DateTime.now().toUtc();
6965
final updates = <String>{};
7066
final old = lines
@@ -140,8 +136,7 @@ int compareVersions(String version1, String version2) {
140136
List<int> parseVersion(String version) {
141137
// Split by the '+' first to handle the build number
142138
final parts = version.split('+');
143-
final versionParts =
144-
parts[0].split('.').map(int.tryParse).map((e) => e ?? 0).toList();
139+
final versionParts = parts[0].split('.').map(int.tryParse).map((e) => e ?? 0).toList();
145140
// Add the build number as the last part (if it exists)
146141
if (parts.length > 1) {
147142
versionParts.add(int.tryParse(parts[1]) ?? 0);

.github/workflows/prepare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##.title
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
4-
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
4+
## Dart/Flutter (DF) Packages by dev-cetera.com & contributors. The use of this
55
## source code is governed by an MIT-style license described in the LICENSE
66
## file located in this project's root directory.
77
##
@@ -91,4 +91,4 @@ jobs:
9191
git config user.email github-actions@github.com
9292
git add .
9393
git commit -m "Prepare version ${{ steps.get_version.outputs.PUBSPEC_VERSION }}"
94-
git push
94+
git push

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##.title
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
4-
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
4+
## Dart/Flutter (DF) Packages by dev-cetera.com & contributors. The use of this
55
## source code is governed by an MIT-style license described in the LICENSE
66
## file located in this project's root directory.
77
##
@@ -25,4 +25,4 @@ jobs:
2525
publish:
2626
permissions:
2727
id-token: write
28-
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
28+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

.gitignore

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
##.title
22
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
##
4-
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. Use of this
5-
## source code is governed by an an MIT-style license that can be found in the
6-
## LICENSE file.
4+
## Dart/Flutter (DF) Packages by dev-cetera.com & contributors. The use of this
5+
## source code is governed by an MIT-style license described in the LICENSE
6+
## file located in this project's root directory.
7+
##
8+
## See: https://opensource.org/license/mit
79
##
810
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
911
##.title~
@@ -15,4 +17,9 @@
1517
**/.github/.git
1618
**/.metadata
1719
**/.flutter-plugins
18-
**/.flutter-plugins-dependencies
20+
**/.flutter-plugins-dependencies
21+
**/pubspec_overrides.yaml
22+
23+
# Don't support IntelliJ.
24+
**/*.iml
25+
**/*.idea/

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"label": "▶️ Refetch workflow",
66
"type": "shell",
7-
"command": "rm -rf .github && git clone https://github.com/robmllze/pub.dev_package_workflow.git .github && rm -rf .github/.git/"
7+
"command": "rm -rf .github && git clone https://github.com/dev-cetera/pub.dev_package_workflow.git .github && rm -rf .github/.git/"
88
},
99
{
1010
"label": "▶️ Publish to pub.dev",

DEVELOPER_NOTES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
## Enabling GitHub Workflow
2020

21-
https://github.com/robmllze/YOUR_PROJECT_NAME/settings/actions
21+
https://github.com/dev-cetera/YOUR_PROJECT_NAME/settings/actions
2222

2323
## Changelog
2424

@@ -33,7 +33,7 @@ git init
3333
git add .
3434
git commit -m "Initial commit"
3535
gh repo create YOUR_PROJECT_NAME --public
36-
git remote add origin https://github.com/robmllze/YOUR_PROJECT_NAME.git
36+
git remote add origin https://github.com/dev-cetera/YOUR_PROJECT_NAME.git
3737
git push -u origin main
3838
```
3939

@@ -54,7 +54,7 @@ git push -u origin main
5454

5555
```bash
5656
rm -rf .github/
57-
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
57+
git clone https://github.com/dev-cetera/pub.dev_package_workflow.git .github
5858
rm -rf .github/.git
5959
```
6060

@@ -71,6 +71,6 @@ find . -name '.DS_Store' -type f -delete
7171

7272
```bash
7373
rmdir /s /q .github/
74-
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
74+
git clone https://github.com/dev-cetera/pub.dev_package_workflow.git .github
7575
rmdir /s /q .github/.git
7676
```

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# DF - Cleanup
1+
<a href="https://www.buymeacoffee.com/dev_cetera" target="_blank"><img align="right" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
22

3-
<a href="https://www.buymeacoffee.com/robmllze" target="_blank"><img align="right" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
4-
5-
Dart & Flutter Packages by DevCetra.com & contributors.
3+
Dart & Flutter Packages by dev-cetera.com & contributors.
64

75
[![Pub Package](https://img.shields.io/pub/v/df_cleanup.svg)](https://pub.dev/packages/df_cleanup)
8-
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/robmllze/df_cleanup/main/LICENSE)
6+
[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_cleanup/main/LICENSE)
97

108
---
119

@@ -20,7 +18,7 @@ This package offers a flexible solution for managing the cleanup of resources in
2018
- The cleanup methods available are `willCancel`, `willClose`, `willDispose`, and `willStop`.
2119
- Enhance your widgets by using `StatelessAttachableMixin` or `StatefulAttachableMixin` for seamless access to the cleanup methods via `BuildContext`.
2220
- Alternatively, use `CleanupState` instead of `State` for an even simpler way to manage resources within your stateful widgets.
23-
- Apply these [mixins](https://github.com/robmllze/df_cleanup/blob/main/lib/src/will) to any class (not just widgets) to access the cleanup methods.
21+
- Apply these [mixins](https://github.com/dev-cetera/df_cleanup/blob/main/lib/src/will) to any class (not just widgets) to access the cleanup methods.
2422
- For a full feature set, please refer to the [API reference](https://pub.dev/documentation/df_cleanup/).
2523

2624
### Example 1 - Mixins:
@@ -126,7 +124,7 @@ This is an open-source project, and we warmly welcome contributions from everyon
126124

127125
### Ways you can contribute:
128126

129-
- **Buy me a coffee:** If you'd like to support the project financially, consider [buying me a coffee](https://www.buymeacoffee.com/robmllze). Your support helps cover the costs of development and keeps the project growing.
127+
- **Buy me a coffee:** If you'd like to support the project financially, consider [buying me a coffee](https://www.buymeacoffee.com/dev_cetera). Your support helps cover the costs of development and keeps the project growing.
130128
- **Share your ideas:** Every perspective matters, and your ideas can spark innovation.
131129
- **Report bugs:** Help us identify and fix issues to make the project more robust.
132130
- **Suggest improvements or new features:** Your ideas can help shape the future of the project.
@@ -135,20 +133,20 @@ This is an open-source project, and we warmly welcome contributions from everyon
135133

136134
No matter how you choose to contribute, your involvement is greatly appreciated and valued!
137135

138-
---
136+
### Discord Server
137+
138+
Feel free to ask questions and engage with the community here: https://discord.gg/gEQ8y2nfyX
139139

140-
### Chief Maintainer:
140+
## Chief Maintainer:
141141

142142
📧 Email _Robert Mollentze_ at robmllze@gmail.com
143143

144-
### Dontations:
144+
## Dontations:
145145

146146
If you're enjoying this package and find it valuable, consider showing your appreciation with a small donation. Every bit helps in supporting future development. You can donate here:
147147

148-
https://www.buymeacoffee.com/robmllze
149-
150-
---
148+
https://www.buymeacoffee.com/dev_cetera
151149

152150
## License
153151

154-
This project is released under the MIT License. See [LICENSE](https://raw.githubusercontent.com/robmllze/df_cleanup/main/LICENSE) for more information.
152+
This project is released under the MIT License. See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_cleanup/main/LICENSE) for more information.

_tests/A_context_store_tests/main.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//.title
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
4-
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
4+
// Dart/Flutter (DF) Packages by dev-cetera.com & contributors. The use of this
55
// source code is governed by an MIT-style license described in the LICENSE
66
// file located in this project's root directory.
77
//
@@ -61,8 +61,7 @@ class _AppState extends State<App> {
6161
),
6262
OutlinedButton(
6363
onPressed: () {
64-
final nextPageIndex =
65-
((pageController.page?.toInt() ?? 0) + 1) % pages.length;
64+
final nextPageIndex = ((pageController.page?.toInt() ?? 0) + 1) % pages.length;
6665
pageController.jumpToPage(nextPageIndex);
6766
},
6867
child: const Padding(

_tests/A_context_store_tests/pages/_index.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
33
//
44
// GENERATED BY DF GEN - DO NOT MODIFY BY HAND
5-
// See: https://github.com/robmllze/df_gen
5+
// See: https://github.com/dev-cetera/df_gen
66
//
77
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
88
//.title~

0 commit comments

Comments
 (0)