Skip to content
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

Conditionally replace require calls by top-level imports and add tests #1

Merged
merged 25 commits into from
Jul 21, 2021

Conversation

asterikx
Copy link

This PR conditionally replace require calls generated by relay-compiler with top-level imports. Replacement happens based on the module system in use (looked up from tsconfig file). Replacement happens for ES2015 and above. Tests are added.

alloy and others added 25 commits February 11, 2021 12:08
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.1.4...v4.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Revert "refactor: use factory functions instead of deprecated functions"

This reverts commit 812d17e.

* Revert "refactor: remove deprecated typescript function calls in favor of the factory; replace @ts-ignores with proper code (microsoft/TypeScript#40263 (comment))"

This reverts commit 55c58be.

* Revert "refactor: some of the statements are redundant. It is not necessary to write to write only properties."

This reverts commit 2cbd1de.

* Revert "refactor: address all the typescript deprecations by using the factory"

This reverts commit 72e0b4a.

* chore: run CI github action on pull request

* fix: typo
…d_yarn/types/node-14.14.28

chore: bump @types/node from 14.14.25 to 14.14.28
* refactor: address all the typescript deprecations by using the factory

* refactor: some of the statements are redundant. It is not necessary to write to write only properties.

* refactor: remove deprecated typescript function calls in favor of the factory; replace @ts-ignores with proper code (microsoft/TypeScript#40263 (comment))

* refactor: use factory functions instead of deprecated functions

* feat: bump peerDependencies version

* dps: upgrade to latest typescript version

* chore: replace rm with rimraf for cross platform support

* chore: replace fixture tests with inline snapshot tests

* docs: add notice about minimum TypeScript version.

* chore: drop node 10 support
Converts strings to enum values etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants