Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.12.0 #46

Merged
merged 16 commits into from
Aug 16, 2024
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutterSdkVersion": "3.19.4"
"flutterSdkVersion": "3.24.0"
}
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.19.4"
"flutter": "3.24.0"
}
Original file line number Diff line number Diff line change
@@ -1,45 +1,44 @@
name: netglade_analysis test
name: CI

on:
push:
branches:
- main
tags-ignore:
- 'netglade_analysis-v*'
paths:
- 'packages/netglade_analysis/**'
pull_request:
branches:
- main
paths:
- 'packages/netglade_analysis/**'
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
defaults:
run:
working-directory: packages/netglade_analysis

steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1

- name: Install Dependencies
run: dart pub get
- name: Configure FVM
uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- name: Setup Flutter and Dart
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}

- name: Setup Melos
uses: bluefireteam/melos-action@v2

- name: Format
run: dart format --line-length 120 --set-exit-if-changed .

- name: Analyze
run: dart analyze .
- name: Dart Analyze
run: melos run lint:dart

- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
version: 1.21.1

- name: Run DCM
uses: CQLabs/dcm-action@v1
Expand All @@ -52,5 +51,8 @@ jobs:
fatal_performance: true
fatal_warnings: true

- name: Dry Publish
run: dart pub publish --dry-run
- name: Test
run: melos run test

- name: Dry Publish Packages
run: melos publish --dry-run -y
56 changes: 0 additions & 56 deletions .github/workflows/netglade_flutter_utils-test.yaml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/netglade_utils-test.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dart.flutterSdkPath": ".fvm/versions/3.19.4",
"dart.flutterSdkPath": ".fvm/versions/3.24.0",
"search.exclude": {
"**/.fvm": true,
"**/*.g.dart": true
Expand Down
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
# NetGlade Flutter Core

[![ci][ci_badge]][ci_badge_link]
[![Discord][discord_badge]][discord_badge_link]

Dart and Flutter packages used internally at [netglade][netglade_link]

| Package | pub | CI |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| [netglade_analysis][netglade_analysis-link] | [![netglade_analysis pub.dev badge][netglade_analysis-pub-badge]][netglade_analysis-pub-badge-link] | [![][netglade_analysis-build-badge]][netglade_analysis-build-badge-link] |
| [netglade_utils][netglade_utils-link] | [![netglade_utils pub.dev badge][netglade_utils-pub-badge]][netglade_utils-pub-badge-link] | [![][netglade_utils-build-badge]][netglade_utils-build-badge-link] |
| [netglade_flutter_utils][netglade_flutter_utils-link] | [![netglade_flutter_utils pub.dev badge][netglade_flutter_utils-pub-badge]][netglade_flutter_utils-pub-badge-link] | [![][netglade_flutter_utils-build-badge]][netglade_flutter_utils-build-badge-link] |
| Package | pub |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [netglade_analysis][netglade_analysis-link] | [![netglade_analysis pub.dev badge][netglade_analysis-pub-badge]][netglade_analysis-pub-badge-link] |
| [netglade_utils][netglade_utils-link] | [![netglade_utils pub.dev badge][netglade_utils-pub-badge]][netglade_utils-pub-badge-link] |
| [netglade_flutter_utils][netglade_flutter_utils-link] | [![netglade_flutter_utils pub.dev badge][netglade_flutter_utils-pub-badge]][netglade_flutter_utils-pub-badge-link] |



[netglade_link]: https://netglade.com/en
[discord_badge]: https://img.shields.io/discord/1091460081054400532.svg?logo=discord&color=blue
[discord_badge_link]: https://discord.gg/sJfBBuDZy4
[ci_badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/ci.yaml?branch=main
[ci_badge_link]: https://github.com/netglade/flutter_core/actions/workflows/ci.yaml

[netglade_analysis-link]: packages/netglade_analysis
[netglade_analysis-pub-badge]: https://img.shields.io/pub/v/netglade_analysis.svg
[netglade_analysis-pub-badge-link]: https://pub.dartlang.org/packages/netglade_analysis
[netglade_analysis-build-badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/netglade_analysis-test.yaml?branch=main
[netglade_analysis-build-badge-link]: https://github.com/netglade/flutter_core/actions/workflows/netglade_utils-test.yaml

[netglade_utils-link]: packages/netglade_utils
[netglade_utils-pub-badge]: https://img.shields.io/pub/v/netglade_utils.svg
[netglade_utils-pub-badge-link]: https://pub.dartlang.org/packages/netglade_utils
[netglade_utils-build-badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/netglade_utils-test.yaml?branch=main
[netglade_utils-build-badge-link]: https://github.com/netglade/flutter_core/actions/workflows/netglade_utils-test.yaml

[netglade_flutter_utils-link]: packages/netglade_flutter_utils
[netglade_flutter_utils-pub-badge]: https://img.shields.io/pub/v/netglade_flutter_utils.svg
[netglade_flutter_utils-pub-badge-link]: https://pub.dartlang.org/packages/netglade_flutter_utils
[netglade_flutter_utils-build-badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/netglade_flutter_utils-test.yaml?branch=main
[netglade_flutter_utils-build-badge-link]: https://github.com/netglade/flutter_core/actions/workflows/netglade_utils-test.yaml
1 change: 1 addition & 0 deletions dcm_global.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version: "1.21.1"
6 changes: 0 additions & 6 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ scripts:
dirExists:
- test

publishable:
run: melos exec -- dart pub publish --dry-run
description: Checks whether packages are publishable.
packageFilters:
scope: "*"

# CLEAN

clean:
Expand Down
19 changes: 19 additions & 0 deletions packages/netglade_analysis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## 12.0.0
- Minimal Dart 3.5.0
- Adhere to DCM 1.18.0, 1.19.0, and 1.21.0:
- Add avoid-only-rethrow
- Add avoid-returning-cascades
- Add avoid-unsafe-reduce
- Add handle-throwing-invocations
- Add prefer-abstract-final-static-class
- Add avoid-incorrect-image-opacity
- Add avoid-calling-notifier-members-inside-build
- Add avoid-notifier-constructors
- Add dispose-provided-instances
- Add use-ref-read-synchronously
- Adhere to Dart 3.5 and previous lints:
- Add invalid_runtime_check_with_js_interop_types
- Add missing_code_block_language_in_doc_comment
- Add unintended_html_in_doc_comment
- Add unnecessary_library_name

## 11.0.0
- Adhere to DCM 1.17.0:
- Add avoid-collection-equality-checks
Expand Down
4 changes: 2 additions & 2 deletions packages/netglade_analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ To indicate your project is using `netglade_analysis` →
[discord_badge]: https://img.shields.io/discord/1091460081054400532.svg?logo=discord&color=blue
[discord_badge_link]: https://discord.gg/sJfBBuDZy4

[ci_badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/netglade_analysis-test.yaml?branch=main
[ci_badge_link]: https://github.com/netglade/flutter_core/actions/workflows/netglade_analysis-test.yaml
[ci_badge]: https://img.shields.io/github/actions/workflow/status/netglade/flutter_core/ci.yaml?branch=main
[ci_badge_link]: https://github.com/netglade/flutter_core/actions/workflows/ci.yaml

[pub_badge]: https://img.shields.io/pub/v/netglade_analysis.svg
[pub_badge_link]: https://pub.dartlang.org/packages/netglade_analysis
Expand Down
Loading