-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathmelos.yaml
77 lines (65 loc) · 2.45 KB
/
melos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: flutter-passkeys
repository: https://github.com/corbado/flutter-passkeys
packages:
- packages/**
command:
bootstrap:
usePubspecOverrides: true
scripts:
format:
description: Format Dart code.
run: dart format .
format:check:
description: Check formatting of Dart code.
run: dart format --output none --set-exit-if-changed .
analyze:
description: Analyze Dart code.
run: dart analyze . --fatal-infos
test:
description: Run tests in a specific package.
run: dart test
exec:
concurrency: 1
packageFilters:
dirExists:
- test
example-passkeys-web:
description: Run passkeys example on web.
run: |
cd packages/passkeys/passkeys/example
flutter run lib/main.dart -d chrome --web-browser-flag "--disable-web-security" --dart-define=CORBADO_PROJECT_ID=pro-8625954987319941884
example-passkeys-native:
description: Run passkeys example on iOS or Android (you should start the emulator/simulator before you run this command).
run: |
cd packages/passkeys/passkeys/example
flutter run lib/main.dart --dart-define=CORBADO_PROJECT_ID=pro-8751299119685489253
example-corbado_auth-native:
description: Run corbado_auth example on iOS or Android (you should start the emulator/simulator before you run this command).
run: |
cd packages/corbado_auth/example
flutter run lib/main.dart --dart-define=CORBADO_PROJECT_ID=pro-8751299119685489253
example-corbado_auth_firebase-native:
description: Run corbado_auth_firebase example on iOS or Android (you should start the emulator/simulator before you run this command).
run: |
cd packages/corbado_auth_firebase/example
flutter run lib/main.dart --dart-define=CORBADO_PROJECT_ID=pro-8751299119685489253
build-passkeys-web-javascript:
description: Build passkeys_web's javascript code and copy it to the example.
run: |
cd packages/passkeys/passkeys_web
npm run build
cp javascript/dist/bundle.js ../passkeys/example/web/bundle.js
deploy-example-passkeys-web:
description: Deploy passkeys example to Vercel.
run: |
cd packages/passkeys/passkeys/example
vercel pull
vercel build --prod
vercel deploy --prebuilt --prod
deploy-example-corbado_auth-web:
description: Deploy corbado_auth example to Vercel.
run: |
cd packages/corbado_auth/example
vercel pull
vercel build --prod
vercel deploy --prebuilt --prod