Skip to content

Commit d582ffe

Browse files
committed
Add all flutter examples
0 parents  commit d582ffe

701 files changed

Lines changed: 29885 additions & 0 deletions

File tree

Some content is hidden

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

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: npm
5+
directory: /
6+
schedule:
7+
interval: monthly

.github/stale.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 30
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 30
5+
# Issues with these labels will never be considered stale
6+
exemptLabels: false
7+
# Label to use when marking an issue as stale
8+
staleLabel: stale
9+
# Comment to post when marking an issue as stale. Set to `false` to disable
10+
markComment: >
11+
This issue has been automatically marked as stale because it has not had
12+
recent activity. It will be closed if no further activity occurs. Thank you
13+
for your contribution.
14+
# Comment to post when closing a stale issue. Set to `false` to disable
15+
closeComment: >
16+
Closed due to inactivity. Please open a new issue regarding this or ask one of the maintainers to reopen.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Upload Flutter Android & iOS Playground build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "flutter/flutter-playground/**"
9+
10+
defaults:
11+
run:
12+
working-directory: ./flutter/flutter-playground/
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Setup Flutter SDK
29+
uses: subosito/flutter-action@v2
30+
with:
31+
channel: stable
32+
33+
- name: Install Dependencies
34+
run: flutter pub get
35+
36+
- name: Build APK
37+
run: flutter build apk --debug
38+
39+
- name: Pod Install
40+
run: |
41+
cd ios
42+
pod install
43+
44+
- name: Build iOS simulator build
45+
run: |
46+
cd ios
47+
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -derivedDataPath build
48+
49+
- name: Compress iOS build
50+
run: |
51+
cd ios
52+
tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator
53+
54+
- name: Upload Android build to Appeitize
55+
uses: appetizeio/github-action-appetize@v1.0.1
56+
with:
57+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
58+
publicKey: ${{ secrets.FLUTTER_ANDROID_PLAYGROUND_PUBLIC_KEY }}
59+
appFile: ./flutter/flutter-playground/build/app/outputs/apk/debug/app-debug.apk
60+
platform: "android"
61+
62+
- name: Upload iOS build to Appeitize
63+
uses: appetizeio/github-action-appetize@v1.0.1
64+
with:
65+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
66+
publicKey: ${{ secrets.FLUTTER_IOS_PLAYGROUND_PUBLIC_KEY }}
67+
appFile: ./flutter/flutter-playground/ios/ios_build.tar.gz
68+
platform: "ios"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Upload Flutter Android & iOS Quick Start build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'flutter/flutter-quick-start/**'
9+
10+
defaults:
11+
run:
12+
working-directory: ./flutter/flutter-quick-start/
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Setup Flutter SDK
29+
uses: subosito/flutter-action@v2
30+
with:
31+
channel: stable
32+
33+
- name: Install Dependencies
34+
run: flutter pub get
35+
36+
- name: Build APK
37+
run: flutter build apk --debug
38+
39+
- name: Pod Install
40+
run: |
41+
cd ios
42+
pod install
43+
44+
- name: Build iOS simulator build
45+
run: |
46+
cd ios
47+
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -derivedDataPath build
48+
49+
- name: Compress iOS build
50+
run: |
51+
cd ios
52+
tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator
53+
54+
- name: Upload Android build to Appeitize
55+
uses: appetizeio/github-action-appetize@v1.0.1
56+
with:
57+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
58+
publicKey: ${{ secrets.FLUTTER_ANDROID_QUICK_START_PUBLIC_KEY }}
59+
appFile: ./flutter/flutter-quick-start/build/app/outputs/apk/debug/app-debug.apk
60+
platform: "android"
61+
62+
- name: Upload iOS build to Appeitize
63+
uses: appetizeio/github-action-appetize@v1.0.1
64+
with:
65+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
66+
publicKey: ${{ secrets.FLUTTER_IOS_QUICK_START_PUBLIC_KEY }}
67+
appFile: ./flutter/flutter-quick-start/ios/ios_build.tar.gz
68+
platform: "ios"

.github/workflows/lintcheck.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Check Markdown links
2+
3+
on: push
4+
5+
jobs:
6+
markdown-link-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
11+
with:
12+
use-quiet-mode: yes
13+

.gitignore

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
node_modules/
2+
.node_modules/
3+
built/*
4+
tests/cases/rwc/*
5+
tests/cases/test262/*
6+
tests/cases/perf/*
7+
!tests/cases/webharness/compilerToString.js
8+
test-args.txt
9+
~*.docx
10+
\#*\#
11+
.\#*
12+
tests/baselines/local/*
13+
tests/baselines/local.old/*
14+
tests/services/baselines/local/*
15+
tests/baselines/prototyping/local/*
16+
tests/baselines/rwc/*
17+
tests/baselines/test262/*
18+
tests/baselines/reference/projectOutput/*
19+
tests/baselines/local/projectOutput/*
20+
tests/baselines/reference/testresults.tap
21+
tests/services/baselines/prototyping/local/*
22+
tests/services/browser/typescriptServices.js
23+
src/harness/*.js
24+
src/compiler/diagnosticInformationMap.generated.ts
25+
src/compiler/diagnosticMessages.generated.json
26+
src/parser/diagnosticInformationMap.generated.ts
27+
src/parser/diagnosticMessages.generated.json
28+
rwc-report.html
29+
*.swp
30+
build.json
31+
*.actual
32+
tests/webTestServer.js
33+
tests/webTestServer.js.map
34+
tests/webhost/*.d.ts
35+
tests/webhost/webtsc.js
36+
tests/cases/**/*.js
37+
!tests/cases/docker/*.js/
38+
tests/cases/**/*.js.map
39+
*.config
40+
scripts/eslint/built/
41+
scripts/debug.bat
42+
scripts/run.bat
43+
scripts/word2md.js
44+
scripts/buildProtocol.js
45+
scripts/ior.js
46+
scripts/authors.js
47+
scripts/configurePrerelease.js
48+
scripts/configureLanguageServiceBuild.js
49+
scripts/open-user-pr.js
50+
scripts/open-cherry-pick-pr.js
51+
scripts/processDiagnosticMessages.d.ts
52+
scripts/processDiagnosticMessages.js
53+
scripts/produceLKG.js
54+
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js
55+
scripts/generateLocalizedDiagnosticMessages.js
56+
scripts/request-pr-review.js
57+
scripts/*.js.map
58+
scripts/typings/
59+
coverage/
60+
internal/
61+
**/.DS_Store
62+
.settings
63+
**/.vs
64+
!**/.vscode/tasks.json
65+
!**/.vscode/settings.template.json
66+
!**/.vscode/launch.template.json
67+
!**/.vscode/extensions.json
68+
!tests/cases/projects/projectOption/**/node_modules
69+
!tests/cases/projects/NodeModulesSearch/**/*
70+
!tests/baselines/reference/project/nodeModules*/**/*
71+
.idea
72+
yarn.lock
73+
yarn-error.log
74+
.parallelperf.*
75+
tests/cases/user/*/package-lock.json
76+
tests/cases/user/*/node_modules/
77+
tests/cases/user/*/**/*.js
78+
tests/cases/user/*/**/*.js.map
79+
tests/cases/user/*/**/*.d.ts
80+
!tests/cases/user/zone.js/
81+
!tests/cases/user/bignumber.js/
82+
!tests/cases/user/discord.js/
83+
tests/baselines/reference/dt
84+
.failed-tests
85+
TEST-results.xml
86+
tests/cases/user/npm/npm
87+
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
88+
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
89+
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
90+
tests/cases/user/TypeScript-Vue-Starter/TypeScript-Vue-Starter
91+
tests/cases/user/TypeScript-WeChat-Starter/TypeScript-WeChat-Starter
92+
tests/cases/user/create-react-app/create-react-app
93+
tests/cases/user/fp-ts/fp-ts
94+
tests/cases/user/webpack/webpack
95+
tests/cases/user/puppeteer/puppeteer
96+
tests/cases/user/axios-src/axios-src
97+
tests/cases/user/prettier/prettier
98+
.eslintcache
99+
.expo
100+
build
101+
**/.env
102+
103+
# Nuxt dev/build outputs
104+
.output
105+
.data
106+
.nuxt
107+
.nitro
108+
.cache
109+
dist
110+
111+
# React Native
112+
113+
*.pbxuser
114+
!default.pbxuser
115+
*.mode1v3
116+
!default.mode1v3
117+
*.mode2v3
118+
!default.mode2v3
119+
*.perspectivev3
120+
!default.perspectivev3
121+
xcuserdata
122+
*.xccheckout
123+
*.moved-aside
124+
DerivedData
125+
*.hmap
126+
*.ipa
127+
*.xcuserstate
128+
**/.xcode.env.local
129+
.idea
130+
.gradle
131+
local.properties
132+
*.iml
133+
*.hprof
134+
.cxx/
135+
*.keystore
136+
!debug.keystore
137+
npm-debug.log
138+
yarn-error.log
139+
/vendor/bundle/
140+
*.jsbundle
141+
.metro-health-check*
142+
/coverage
143+
144+
.yarn/*
145+
!.yarn/patches
146+
!.yarn/plugins
147+
!.yarn/releases
148+
!.yarn/sdks
149+
!.yarn/versions
150+
.DS_Store
151+
build/
152+
Pods/
153+
.vscode/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Torus Labs Private Limited
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)