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

Add @react-native/typescript-config #37345

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
This moves from tsconfig/react-native, a centralized repository of tsconfigs, to react-native/typescript-config, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

I also used this opportunity to fix the file-structure of eslint-config-react-native-communtiy, and eslint-plugin-react-native-communtiy to match the name they were renamed to as part of 0.72.

Differential Revision: D45721088

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels May 10, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request May 10, 2023
Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Differential Revision: D45721088

fbshipit-source-id: 033a229a3c22133542d1e3afa8afa10b98328674
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request May 10, 2023
Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Differential Revision: D45721088

fbshipit-source-id: de995bdaddd14218119b27076e19b63f7694c08e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

@analysis-bot
Copy link

analysis-bot commented May 10, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,725,804 +1
android hermes armeabi-v7a 8,036,645 +0
android hermes x86 9,212,879 +4
android hermes x86_64 9,067,219 +1
android jsc arm64-v8a 9,290,488 -2
android jsc armeabi-v7a 8,478,752 +0
android jsc x86 9,348,947 +0
android jsc x86_64 9,606,885 +2

Base commit: 61fc1a5
Branch: main

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request May 10, 2023
Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Differential Revision: D45721088

fbshipit-source-id: 7f1620b0b5604e7cff8ce26ed4b6744559bcdb63
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request May 10, 2023
Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: 3aa4f570fd2763cf8c2d37e9e7aaaf63fa1ad373
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request May 10, 2023
Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: e0c40782cf8b733c974c160f70194c14ce7e6b96
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

Summary:
Pull Request resolved: facebook#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: 47bcefb95bbde8f35f173cd5ebeb131e57f5112e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45721088

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 10, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in cae52f6.

blakef pushed a commit to blakef/template that referenced this pull request Feb 28, 2024
Summary:
Pull Request resolved: facebook/react-native#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: b949bffb14014695abf3b9b359d3f5e30bfc8919

Original: facebook/react-native@cae52f6
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
Pull Request resolved: facebook/react-native#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: b949bffb14014695abf3b9b359d3f5e30bfc8919

Original-Commit: facebook/react-native@cae52f6
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
Pull Request resolved: facebook/react-native#37345

This moves from `tsconfig/react-native`, a centralized repository of tsconfigs, to `react-native/typescript-config`, a package maintained as part of the RN monorepo.

We end up wanting to make changes where the versions are coupled, so this publishes them as part of the same repo, etc. It also means Meta engineers can more freely make changes to it with normal approval processes.

Changelog:
[General][Added] - Add react-native/typescript-config

Reviewed By: cortinico

Differential Revision: D45721088

fbshipit-source-id: b949bffb14014695abf3b9b359d3f5e30bfc8919

Original-Commit: facebook/react-native@cae52f6
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
// Causes issues with package.json "exports"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NickGerleman apologies for the ping - do you know what the specifics of the issue mentioned here are?

It looks like you originally changed it in the old repo but the commit message doesn't explain why: tsconfig/bases@5b4e858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants