-
Notifications
You must be signed in to change notification settings - Fork 2.3k
refactor(analytics): Analytics migration to TypeScript #8651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Draft
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
6d40241
refactor(analytics): move to TypeScript
russellwheatley c358bcb
chore: make index.ts modular and reexport namespaced from there
russellwheatley 135363f
chore: remove modular folder
russellwheatley 5a58a79
chore: RN bob builder setup + package.json updates
russellwheatley c081c7a
tsconfig.json update to find app package
russellwheatley d0a837c
chore(app): validate.d.ts
russellwheatley 068b59f
refactor: convert codebase to TypeScript
russellwheatley f241c17
chore: resolve index.d.ts issue
russellwheatley aa2a040
chore(analytics): fix types for index.ts
russellwheatley ffa235b
fix(analytics): RNFBAnalyticsModule make it modular export
russellwheatley 067d333
fix: analytics with structs
russellwheatley bddd220
chore: remove import
russellwheatley e609f76
chore: rename to web types
russellwheatley 081fb4e
fix: analytics types
russellwheatley 86fbd14
chore: moved types to analytics types
russellwheatley 392d882
chore: fix export types
russellwheatley 66870da
chore: use correct type return + extend getApp()
russellwheatley 118c892
fix: export just the type
russellwheatley 4c52e89
use TS from root package
russellwheatley b4849e8
yarn.lock
russellwheatley 82e75fd
chore: rm unneeded type
russellwheatley f5ac76f
test: update unit test import
russellwheatley 81f4f36
chore: write type declaration files for web
russellwheatley 7f4dd16
chore: move types/ dir and remove re-export of analytics
russellwheatley 5d9901c
rm unneeded Ts declaration file
russellwheatley 12a0c2a
fix internal types
russellwheatley 75978c2
split modular and namespaced. import into index
russellwheatley 24a4770
fix index.ts
russellwheatley e58a354
attempt at fixing type test problem
russellwheatley a34fa95
use default
russellwheatley 1ab90ac
fix web api types
russellwheatley 9d98316
fix SDK_VERSION problem
russellwheatley 6b070ff
chore: update example app with analytics
russellwheatley 33b9eff
tests: move tests to jest
russellwheatley daa4d0e
test: remove import
russellwheatley 6c5b531
fix: types when using `analytics()` default export
russellwheatley 0338905
chore: testing analytics types
russellwheatley c793a7f
Merge branch 'main' into analytics-typescript
russellwheatley 305b17a
yarn.lock
russellwheatley 22286d5
podfile.lock
russellwheatley 5d1db47
chore: allow DOM types for web api
russellwheatley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
packages/analytics/index.d.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './lib/index'; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.