Skip to content

Commit 72ee95f

Browse files
Merge pull request #1083 from flutter-form-builder-ecosystem/reorganize-repository
chore: Move files
2 parents 87aaeff + d3fe0c5 commit 72ee95f

File tree

127 files changed

+1578
-691
lines changed

Some content is hidden

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

127 files changed

+1578
-691
lines changed

.github/workflows/base.yaml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Base
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags:
7+
- '*'
8+
9+
pull_request:
10+
branches: [main]
11+
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
runs-on: macos-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
channel: [stable, beta]
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Check broken links
26+
uses: JustinBeckwith/linkinator-action@v1
27+
with:
28+
paths: "**/*.md"
29+
30+
- name: Flutter action
31+
uses: subosito/flutter-action@v2
32+
with:
33+
channel: ${{ matrix.channel }}
34+
35+
- name: Install dependencies
36+
run: flutter pub get
37+
- name: Format code
38+
run: flutter format --dry-run --set-exit-if-changed .
39+
- name: Analyze static code
40+
run: flutter analyze
41+
- name: Run tests
42+
run: flutter test
43+
- name: Check publish warnings
44+
run: dart pub publish --dry-run
45+
- name: Build example
46+
run: |
47+
cd example
48+
flutter build appbundle --debug
49+
flutter build ios --debug --no-codesign
50+
flutter build web
51+
52+
- name: Upload coverage to Codecov
53+
if: ${{ matrix.channel == 'stable' }}
54+
uses: codecov/codecov-action@v3
55+
with:
56+
files: coverage/lcov.info
57+
flags: unittests
58+
name: flutter_form_builder
59+
60+
deployment:
61+
if: ${{ github.ref_type == 'tag' }}
62+
needs: build
63+
name: Deploy package
64+
runs-on: ubuntu-latest
65+
66+
steps:
67+
- name: Configure enviroment
68+
uses: actions/checkout@v3
69+
- name: Download flutter
70+
uses: subosito/flutter-action@v2
71+
with:
72+
channel: 'stable'
73+
- name: Setup pub credentials
74+
shell: bash
75+
env:
76+
PUB_DEV_PUBLISH_ACCESS_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}
77+
PUB_DEV_PUBLISH_REFRESH_TOKEN: ${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}
78+
run: |
79+
sh ./tool/pub_login.sh
80+
- name: Publish package
81+
run: dart pub publish -v -f

.github/workflows/form_builder.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/form_builder_core.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.gitignore

Lines changed: 65 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,75 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
16
.DS_Store
27
.atom/
3-
.idea/
4-
**/.idea/
5-
*.old
8+
.buildlog/
9+
.history
10+
.svn/
11+
.fvm/
612

7-
.packages
8-
.pub/
9-
.dart_tool/
10-
pubspec.lock
11-
flutter_export_environment.sh
12-
13-
Podfile
14-
Podfile.lock
15-
Pods/
16-
.symlinks/
17-
**/Flutter/App.framework/
18-
**/Flutter/ephemeral/
19-
**/Flutter/Flutter.framework/
20-
**/Flutter/Generated.xcconfig
21-
**/Flutter/flutter_assets/
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
2218

23-
ServiceDefinitions.json
24-
xcuserdata/
25-
**/DerivedData/
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
2623

27-
local.properties
28-
keystore.properties
29-
.gradle/
30-
gradlew
31-
gradlew.bat
32-
gradle-wrapper.jar
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
.dart_tool/
27+
.flutter-plugins
3328
.flutter-plugins-dependencies
34-
*.iml
35-
29+
.packages
30+
.pub-cache/
31+
.pub/
3632
build/
37-
.flutter-plugins
3833

39-
.project
40-
.classpath
41-
.settings
42-
/.fvm
34+
# Android related
35+
**/android/**/gradle-wrapper.jar
36+
**/android/.gradle
37+
**/android/captures/
38+
**/android/gradlew
39+
**/android/gradlew.bat
40+
**/android/local.properties
41+
**/android/**/GeneratedPluginRegistrant.java
4342

44-
.melos_tool/
45-
**/*.env
43+
# iOS/XCode related
44+
**/ios/**/*.mode1v3
45+
**/ios/**/*.mode2v3
46+
**/ios/**/*.moved-aside
47+
**/ios/**/*.pbxuser
48+
**/ios/**/*.perspectivev3
49+
**/ios/**/*sync/
50+
**/ios/**/.sconsign.dblite
51+
**/ios/**/.tags*
52+
**/ios/**/.vagrant/
53+
**/ios/**/DerivedData/
54+
**/ios/**/Icon?
55+
**/ios/**/Pods/
56+
**/ios/**/.symlinks/
57+
**/ios/**/profile
58+
**/ios/**/xcuserdata
59+
**/ios/.generated/
60+
**/ios/Flutter/App.framework
61+
**/ios/Flutter/Flutter.framework
62+
**/ios/Flutter/Flutter.podspec
63+
**/ios/Flutter/Generated.xcconfig
64+
**/ios/Flutter/app.flx
65+
**/ios/Flutter/app.zip
66+
**/ios/Flutter/flutter_assets/
67+
**/ios/Flutter/flutter_export_environment.sh
68+
**/ios/ServiceDefinitions.json
69+
**/ios/Runner/GeneratedPluginRegistrant.*
4670

47-
lcov.info
71+
# Exceptions to above rules.
72+
!**/ios/**/default.mode1v3
73+
!**/ios/**/default.mode2v3
74+
!**/ios/**/default.pbxuser
75+
!**/ios/**/default.perspectivev3
File renamed without changes.

0 commit comments

Comments
 (0)