Skip to content

Commit 9fbc55d

Browse files
authored
chore(amplify_analytics): switch to federated plugins (#1378)
* chore(amplify_analytics): switch to federated plugins
1 parent 530e57b commit 9fbc55d

File tree

190 files changed

+2534
-160
lines changed

Some content is hidden

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

190 files changed

+2534
-160
lines changed

melos.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ scripts:
6767

6868
# ANALYTICS
6969
build:examples:ios:amplify_analytics_pinpoint: >
70-
melos exec -c 1 --scope="amplify_analytics_pinpoint_example" --fail-fast -- \
70+
melos exec -c 1 --scope="amplify_analytics_pinpoint_ios_example" --fail-fast -- \
7171
flutter build ios --simulator
7272

7373
build:examples:android:amplify_analytics_pinpoint: >
74-
melos exec -c 1 --scope="amplify_analytics_pinpoint_example" --fail-fast -- \
74+
melos exec -c 1 --scope="amplify_analytics_pinpoint_android_example" --fail-fast -- \
7575
flutter build apk --debug --verbose
7676

7777
lint:android:amplify_analytics_pinpoint:
@@ -82,7 +82,7 @@ scripts:
8282
Lints Android (Kotlin) files against global rules and fails if there are any errors.
8383
select-package:
8484
scope:
85-
- amplify_analytics_pinpoint_example
85+
- amplify_analytics_pinpoint_android_example
8686

8787
lint:ios:amplify_analytics_pinpoint:
8888
run: |
@@ -94,7 +94,7 @@ scripts:
9494
select-package:
9595
dir-exists: ios
9696
scope:
97-
- amplify_analytics_pinpoint_example
97+
- amplify_analytics_pinpoint_ios_example
9898

9999
# API
100100
build:examples:ios:amplify_api: >

packages/amplify_analytics_pinpoint/.gitignore

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

packages/amplify_analytics_pinpoint/ios/dependencies.rb

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

packages/amplify_flutter/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222

2323
dev_dependencies:
2424
amplify_analytics_pinpoint:
25-
path: ../../amplify_analytics_pinpoint
25+
path: ../../analytics/amplify_analytics_pinpoint
2626
amplify_api:
2727
path: ../../amplify_api
2828
amplify_auth_cognito:
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# See https://dart.dev/guides/libraries/private-files
2+
3+
# Miscellaneous
4+
*.class
5+
*.log
6+
*.pyc
7+
*.swp
8+
.DS_Store
9+
.atom/
10+
.buildlog/
11+
.history
12+
.svn/
13+
14+
# IntelliJ related
15+
*.iml
16+
*.ipr
17+
*.iws
18+
.idea/
19+
20+
# The .vscode folder contains launch configuration and tasks you configure in
21+
# VS Code which you may wish to be included in version control, so this line
22+
# is commented out by default.
23+
#.vscode/
24+
25+
# Flutter/Dart/Pub related
26+
**/doc/api/
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
30+
.packages
31+
.pub-cache/
32+
.pub/
33+
build/
34+
35+
# Code coverage
36+
coverage/
37+
38+
# Android related
39+
**/android/**/gradle-wrapper.jar
40+
**/android/.gradle
41+
**/android/captures/
42+
**/android/gradlew
43+
**/android/gradlew.bat
44+
**/android/local.properties
45+
**/android/**/GeneratedPluginRegistrant.java
46+
47+
# iOS/XCode related
48+
**/ios/**/*.mode1v3
49+
**/ios/**/*.mode2v3
50+
**/ios/**/*.moved-aside
51+
**/ios/**/*.pbxuser
52+
**/ios/**/*.perspectivev3
53+
**/ios/**/*sync/
54+
**/ios/**/.sconsign.dblite
55+
**/ios/**/.tags*
56+
**/ios/**/.vagrant/
57+
**/ios/**/DerivedData/
58+
**/ios/**/Icon?
59+
**/ios/**/Pods/
60+
**/ios/**/.symlinks/
61+
**/ios/**/profile
62+
**/ios/**/xcuserdata
63+
**/ios/.generated/
64+
**/ios/Flutter/App.framework
65+
**/ios/Flutter/Flutter.framework
66+
**/ios/Flutter/Flutter.podspec
67+
**/ios/Flutter/Generated.xcconfig
68+
**/ios/Flutter/app.flx
69+
**/ios/Flutter/app.zip
70+
**/ios/Flutter/flutter_assets/
71+
**/ios/Flutter/flutter_export_environment.sh
72+
**/ios/ServiceDefinitions.json
73+
**/ios/Runner/GeneratedPluginRegistrant.*
74+
75+
# Exceptions to above rules.
76+
!**/ios/**/default.mode1v3
77+
!**/ios/**/default.mode2v3
78+
!**/ios/**/default.pbxuser
79+
!**/ios/**/default.perspectivev3
80+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/amplify_analytics_pinpoint/example/.gitignore renamed to packages/analytics/amplify_analytics_pinpoint/example/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ amplify/.config/local-*
5151
amplify/logs
5252
amplify/mock-data
5353
amplify/backend/amplify-meta.json
54-
amplify/backend/awscloudformation
5554
amplify/backend/.temp
5655
build/
5756
dist/
@@ -64,4 +63,5 @@ amplify-build-config.json
6463
amplify-gradle-config.json
6564
amplifytools.xcconfig
6665
.secret-*
66+
**.sample
6767
#amplify-do-not-edit-end

0 commit comments

Comments
 (0)