Skip to content

Commit

Permalink
🎉 Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Feb 2, 2024
0 parents commit 6f1a5d8
Show file tree
Hide file tree
Showing 27 changed files with 1,304 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is a generated file; do not edit or check into version control.
photo_manager=/Users/alex/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.0.0-dev.5/
1 change: 1 addition & 0 deletions .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"photo_manager","path":"/Users/alex/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.0.0-dev.5/","native_build":true,"dependencies":[]}],"android":[{"name":"photo_manager","path":"/Users/alex/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.0.0-dev.5/","native_build":true,"dependencies":[]}],"macos":[{"name":"photo_manager","path":"/Users/alex/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.0.0-dev.5/","native_build":true,"dependencies":[]}],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"photo_manager","dependencies":[]}],"date_created":"2024-02-02 11:56:18.779080","version":"3.16.9"}
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: AlexV525
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.alexv525.com/wechat.png', 'https://www.alexv525.com/alipay.jpg']
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report--bug---.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Bug report (BUG模板)
about: Create a bug report helping us fix it. (创建一个 BUG 报告以帮助我们进行修复)
title: "[BUG] Error with something"
labels: await investigate, bug

---

**Describe the bug**
<!-- A clear and concise description of what the bug is.
请用精炼的语句准确描述你遇到的BUG。-->

**How to reproduce**
<!-- Please **provide a minimum demo** rather than
**a full project or a incomplete pages**.
Otherwise, we won't accept your request.
请提供一个 **最简单的 demo** 用于复现,而不要提供 **整个项目或者不完整的页面**,
否则我们不会受理你的问题。-->

Steps to reproduce the behavior:
<!-- 描述复现步骤 -->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. Error occurred.

**Expected behavior**
<!-- A clear and concise description of what you expected to happen.
描述你期望的行为。-->

**Screenshots (If contains)**
<!-- If applicable, add screenshots to help explain your problem.
如有相关截图,请提供它们用于解释问题所在。-->

**Version information**

- Device: [e.g. iPhone X]
- OS: [e.g. iOS 14.7.1]
- Package Version: [e.g. 2.4.1]
- Flutter Version: [e.g. v2.5.0]

**Additional context**
<!-- Add any other context about the problem here.
在此提供更多的内容。 -->
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request-------.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Feature request (功能请求)
about: Request a new feature that the package didn't include. (请求一个依赖并未包含的功能)
title: "[Feature] Request a feature with something"
labels: feature, await investigate

---

**Version information**
- Device: *e.g. iPhone X*
- OS: *e.g. iOS 14.7.1*
- Package Version: *e.g. v2.4.1*
- Flutter Version: *e.g. v2.5.0*

**Is your feature request related to a problem?**
<!-- A clear and concise description if it's related to an exist problem.
如果与已有问题有关,请准确描述。-->

**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.
请提供任何你认为需要的附加内容。 -->
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [ published ]
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Publish
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
26 changes: 26 additions & 0 deletions .github/workflows/publishable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publishable

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- "**.md"
- "**.yaml"
- "**.yml"

jobs:
publish-dry-run:
name: Publish dry-run with packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: k-paxian/dart-package-publisher@master
with:
credentialJson: 'MockCredentialJson'
flutter: true
dryRunOnly: true
skipTests: true
78 changes: 78 additions & 0 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Runnable (stable)

on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- "**.md"

jobs:
analyze:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: flutter pub get
- name: Analyse the repo
run: flutter analyze lib example/lib
- name: Run tests
run: flutter test
- name: Generate docs
run: |
dart pub global activate dartdoc
dart pub global run dartdoc .
test_iOS:
needs: analyze
name: Test iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/[email protected]
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build ios --no-codesign

test_android:
needs: analyze
name: Test Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11.x'
- uses: subosito/[email protected]
with:
channel: stable
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example; flutter build apk --debug
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
build/
pubspec.lock
10 changes: 10 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "7f20e5d18ce4cb80c621533090a7c5113f5bdc52"
channel: "stable"

project_type: package
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.0.0-dev.1

* Initial release.
Loading

0 comments on commit 6f1a5d8

Please sign in to comment.