Skip to content

Commit

Permalink
chore(release): v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
halildurmus committed Oct 29, 2024
1 parent 015eae8 commit e143b4c
Show file tree
Hide file tree
Showing 65 changed files with 801 additions and 673 deletions.
38 changes: 0 additions & 38 deletions .cirrus.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- Thanks for contributing! -->

## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- Link the relevant issue here -->

## Type of Change

<!---
Please look at the following checklist and put an `x` in all the boxes that
apply to ensure that your PR can be accepted quickly:
-->

- [ ]`feat` -- New feature (non-breaking change which adds functionality)
- [ ] 🛠️ `fix` -- Bug fix (non-breaking change which fixes an issue)
- [ ]`!` -- Breaking change (fix or feature that would cause existing functionality to change)
- [ ] 🧹 `refactor` -- Code refactor
- [ ]`ci` -- Build configuration change
- [ ] 📝 `docs` -- Documentation
- [ ] 🧪 `test` -- Test
- [ ] 🗑️ `chore` -- Chore
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
pull_request:
branches: [main]
paths:
- '.github/workflows/build.yml'
- 'analysis_options.yaml'
- 'CHANGELOG.md'
- 'pubspec.yaml'
- 'lib/**'
- 'test/**'
push:
branches: [main]
paths:
- '.github/workflows/build.yml'
- 'analysis_options.yaml'
- 'CHANGELOG.md'
- 'pubspec.yaml'
- 'lib/**'
- 'test/**'

jobs:
build:
uses: halildurmus/workflows/.github/workflows/flutter_package.yml@main
with:
verify_pana_score: true
30 changes: 12 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
name: Publish to GitHub Pages
name: Publish

on:
release:
types:
- created
pull_request:
branches: [main]
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+*']

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: flutter test
- uses: bluefireteam/flutter-gh-pages@v8
with:
baseHref: /siri_wave/
webRenderer: canvaskit
workingDir: example
publish:
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
permissions:
id-token: write # Required for authentication using OIDC
pull-requests: write # Required for writing the pull request note
with:
use-flutter: true
21 changes: 21 additions & 0 deletions .github/workflows/semantic_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Semantic PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: 🤖 Ensure Commit is Semantic
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy Flutter Example App to GitHub Pages

on:
push:
branches: [main]
paths:
- '.github/workflows/website.yml'
- example/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter pub get
- run: flutter config --enable-web
working-directory: example
- run: flutter build web --release --wasm --base-href /siri_wave/
working-directory: example
- run: git config user.name github-actions
working-directory: example
- run: git config user.email [email protected]
working-directory: example
- run: git --work-tree build/web add --all
working-directory: example
- run: git commit -m "Automatic deployment by github-actions"
shell: bash
- run: git push origin HEAD:gh-pages --force
working-directory: example
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# project. Names should be added to the list like so, ordered alphabetically by
# GitHub handle:
#
# Name/Organization (@github_handle)
# Name/Organization (@github_handle)

Halil Durmus (@halildurmus)
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Changelog

All notable changes to this project will be documented in this file.

## [2.1.0] - 2024-10-29

- Bump minimum required Dart version to `3.5.0`.

## 2.0.0+1

- Fixed the API Documentation link in README.
Expand Down Expand Up @@ -105,3 +113,5 @@
## 0.0.1

- Initial release 🎉

[2.1.0]: https://github.com/halildurmus/siri_wave/compare/v2.0.0+1...v2.1.0
8 changes: 4 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[email protected].
<[email protected]>.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down Expand Up @@ -116,13 +116,13 @@ the community.

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
<https://www.contributor-covenant.org/faq>. Translations are available at
<https://www.contributor-covenant.org/translations>.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ It was inspired from the [siriwave][siriwave_link] library.

Check out the live demo [here][demo_link].

## iOS 7 Siri-style waveform
## iOS 7 Siri-style waveform GIF

[![iOS 7 Siri-style waveform][ios_7_gif_link]][demo_link]

## iOS 9 Siri-style waveform
## iOS 9 Siri-style waveform GIF

[![iOS 9 Siri-style waveform][ios_9_gif_link]][demo_link]

Expand Down Expand Up @@ -115,8 +115,8 @@ Feel free to check the [issue tracker][issue_tracker_link] if you want to
contribute.

[api_documentation_link]: https://pub.dev/documentation/siri_wave/latest/
[ci_badge]: https://img.shields.io/cirrus/github/halildurmus/siri_wave
[ci_link]: https://cirrus-ci.com/halildurmus/siri_wave
[ci_badge]: https://github.com/halildurmus/siri_wave/actions/workflows/build.yml/badge.svg
[ci_link]: https://github.com/halildurmus/siri_wave/actions/workflows/build.yml
[demo_link]: https://halildurmus.github.io/siri_wave
[example_link]: https://github.com/halildurmus/siri_wave/blob/main/example/lib/main.dart
[ios_7_gif_link]: https://raw.githubusercontent.com/halildurmus/siri_wave/main/gifs/ios_7.gif
Expand Down
86 changes: 85 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,85 @@
include: package:dartwindows_lints/analysis_options.yaml
include: package:flutter_lints/flutter.yaml

linter:
rules:
- always_declare_return_types
- always_put_required_named_parameters_first
- avoid_bool_literals_in_conditional_expressions
- avoid_catching_errors
- avoid_dynamic_calls
- avoid_escaping_inner_quotes
- avoid_final_parameters
- avoid_multiple_declarations_per_line
- avoid_positional_boolean_parameters
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_returning_this
- avoid_setters_without_getters
- avoid_slow_async_io
- avoid_type_to_string
- avoid_types_on_closure_parameters
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- cascade_invocations
- cast_nullable_to_non_nullable
- close_sinks
- combinators_ordering
- comment_references
- deprecated_consistency
- deprecated_member_use_from_same_package
- directives_ordering
- discarded_futures
- flutter_style_todos
- join_return_with_assignment
- leading_newlines_in_multiline_strings
- literal_only_boolean_expressions
- matching_super_parameters
- missing_code_block_language_in_doc_comment
- missing_whitespace_between_adjacent_strings
- no_literal_bool_comparisons
- no_runtimeType_toString
- no_self_assignments
- noop_primitive_operations
- omit_local_variable_types
# - omit_obvious_property_types
- one_member_abstracts
- only_throw_errors
- parameter_assignments
- prefer_asserts_in_initializer_lists
- prefer_asserts_with_message
- prefer_const_constructors
- prefer_const_declarations
- prefer_expression_function_bodies
- prefer_final_in_for_each
- prefer_final_locals
- prefer_if_elements_to_conditional_expressions
- prefer_int_literals
- prefer_mixin
- prefer_null_aware_method_calls
- prefer_relative_imports
- prefer_single_quotes
- prefer_void_to_null
- sort_constructors_first
- sort_pub_dependencies
- sort_unnamed_constructors_first
# - specify_nonobvious_property_types
- throw_in_finally
- unawaited_futures
- unintended_html_in_doc_comment
- unnecessary_await_in_return
- unnecessary_breaks
- unnecessary_lambdas
- unnecessary_library_directive
- unnecessary_library_name
- unnecessary_parenthesis
- unnecessary_raw_strings
- unnecessary_statements
- unreachable_from_main
- use_enums
- use_if_null_to_convert_nulls_to_bools
- use_is_even_rather_than_modulo
- use_named_constants
- use_raw_strings
- use_string_buffers
- use_to_and_as_if_applicable
Loading

0 comments on commit e143b4c

Please sign in to comment.