forked from realm/realm-js
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace "rollup" bundling with TypeScript project references (realm#6492
) * Adding a "build" script to SDK using TS project references * Removed "realm:bundle" in favour of "realm:build" * Downgrading "module" of shared code to es2015 * Fixing up unit tests * Exporting "bare" types from @realm/fetch * Building only commonjs for now * WIP * No named exports only cjs * Moving public types into dist * Marking toFetchArgs as @internal * Minor changes to platforms * Stop generating TS via Cmake * Seperating "node-wrapper" bindgen into two separate templates reusing a base * Injecting binding instead of importing "realm/binding" * Adding a script to clean the SDK package * No need to emit the native.d.ts in the platform directories anymore * Moved patching of binding to a function called after injection * Fixed relative paths in tsconfig.json * Adding documentation on applyPatch * Emitting source-maps * Renaming "build" script to "build:typescript" * Moved deprecated global Realm into its own file * Refactored namespace API * Renamed "build" to "build:typescript" across depending packages * Expose Auth on the namespace * Renamed "realm:build:typescript" to "realm:build:ts" * Waypoint * Adding a "check-types" script * Adding @internal tags * Exposing Realm on the Realm namespace to help ease ESM transition * Adding a comment * Removed the tsconfig.base.json * Removed an extraneous internal tag * Adding transpilation as a dep of "test" * Fixed running tests and building from scratch * Fixed tests (again) * Fixed missing import in @realm/react * Exporting the namespace deprecated-global.ts * Fixed test coverage * Removed the build:ts:instrumented script again * Adding binding sourcecode to the dist artifact upload * Fixing namespace errors * Fixed lint error * Adding a Jest wrapper for the RN entrypoint * Attempt at fixing coverage * Incorporating feedback * Fixed tsconfigs * Adding binding files to package files * Fixed output of bindgen:generate:typescript
- Loading branch information
1 parent
76b9805
commit 05b4dea
Showing
88 changed files
with
1,401 additions
and
1,728 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"extends": "@istanbuljs/nyc-config-typescript", | ||
"all": true, | ||
"cwd": "../..", | ||
"include": [ | ||
"packages/realm/dist/**", | ||
"packages/realm/src/**" | ||
] | ||
} |
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"@tsconfig/node18/tsconfig.json", | ||
], | ||
"files": [ | ||
"src/node.ts" | ||
"src/node.ts", | ||
"src/types.ts" | ||
] | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.