1.0.0
This commit is contained in:
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
github: [imaNNeo]
|
||||
custom: ["https://www.buymeacoffee.com/fl_chart"]
|
||||
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
** Don't make a duplicate issue.
|
||||
You can search in issues to make sure there isn't any already opened issue with your concern.
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Provide us a completely reproducible code (contains the main function) in a `main.dart` file, it helps us to find the bug immediately.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots, or videoshots to help explain your problem.
|
||||
|
||||
**Versions**
|
||||
- which version of the Flutter are you using?
|
||||
- which version of the FlChart are you using?
|
||||
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
** Don't make a duplicate issue.
|
||||
You can search in issues to make sure there isn't any already opened issue with your concern.
|
||||
|
||||
**Is your feature request relasted to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
23
.github/dependabot.yml
vendored
Normal file
23
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "dependabot"
|
||||
commit-message:
|
||||
prefix: "chore: "
|
||||
- package-ecosystem: "pub"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "dependabot"
|
||||
commit-message:
|
||||
prefix: "chore: "
|
||||
24
.github/workflows/codecov.yml
vendored
Normal file
24
.github/workflows/codecov.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Code Coverage
|
||||
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
- name: Get packages
|
||||
run: flutter pub get
|
||||
- name: Generate coverage file
|
||||
run: flutter test --coverage
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
files: ./coverage/lcov.info
|
||||
flags: flutter
|
||||
|
||||
32
.github/workflows/gh-pages.yml
vendored
Normal file
32
.github/workflows/gh-pages.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Gh-Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
- name: Set fl_chart Version
|
||||
run: |
|
||||
VERSION=$(grep "version:" pubspec.yaml | awk '{ print $2 }')
|
||||
echo "USING_FL_CHART_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
- run: flutter config --enable-web
|
||||
working-directory: example
|
||||
- run: flutter build web --release --wasm --base-href=/ --dart-define="USING_FL_CHART_VERSION=${{ env.USING_FL_CHART_VERSION }}"
|
||||
working-directory: example
|
||||
- run: git config user.name github-actions
|
||||
working-directory: example
|
||||
- run: git config user.email github-actions@github.com
|
||||
working-directory: example
|
||||
- run: git --work-tree build/web add --all
|
||||
working-directory: example
|
||||
- run: git commit -m "Automatic deployment by github-actions"
|
||||
working-directory: example
|
||||
- run: git push origin HEAD:gh-pages --force
|
||||
working-directory: example
|
||||
18
.github/workflows/publish.yml
vendored
Normal file
18
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Publish plugin
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish
|
||||
uses: k-paxian/dart-package-publisher@master
|
||||
with:
|
||||
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
|
||||
24
.github/workflows/verification.yml
vendored
Normal file
24
.github/workflows/verification.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Code Verification
|
||||
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
- name: Print Flutter version
|
||||
run: flutter --version
|
||||
- name: Get packages
|
||||
run: flutter pub get
|
||||
- name: Check formatting
|
||||
run: make checkFormat
|
||||
- name: Analyze the source code
|
||||
run: make analyze
|
||||
- name: Run tests
|
||||
run: make runTests
|
||||
Reference in New Issue
Block a user