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

Refactor generate-artifacts-executor.js: remove configFileDir CLI argument, use node resolution instead #41557

Closed
wants to merge 1 commit into from

Conversation

dmytrorykun
Copy link
Contributor

Summary:
The configFileDir CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root package.json, we can use node resolution instead of having to construct paths manually. In that case configFileDir becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: D51303793

@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 labels Nov 20, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:
Pull Request resolved: facebook#41557

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: D51303793

fbshipit-source-id: 9dce65510940641084185b32308bab7cab5c4588
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: D51303793
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:
Pull Request resolved: facebook#41557

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: https://internalfb.com/D51303793

fbshipit-source-id: d9ce526b56f387f4af696a744e2faeead7fd37c7
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:
Pull Request resolved: facebook#41557

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: https://internalfb.com/D51303793

fbshipit-source-id: c27d28c1598bcf9493290a9397a0480515065d82
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 20, 2023
…ument, use node resolution instead (facebook#41557)

Summary:
Pull Request resolved: facebook#41557

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Differential Revision: https://internalfb.com/D51303793

fbshipit-source-id: 567fbaa683b336c7c7a95ff658893cc9554a384c
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 21, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 21, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Nov 21, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,666,324 +2
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,049,620 +4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 6b89dc1
Branch: main

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 21, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 21, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 22, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 22, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 23, 2023
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
…ument, use node resolution instead (facebook#41557)

Summary:

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793
@facebook-github-bot
Copy link
Contributor

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

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

This pull request has been merged in 8a62d61.

Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
…ument, use node resolution instead (facebook#41557)

Summary:
Pull Request resolved: facebook#41557

The `configFileDir` CLI argument is used to help to find paths to the 3rd party dependencies of the app. Since we only care about dependencies listed in the root `package.json`, we can use `node` resolution instead of having to construct paths manually. In that case `configFileDir` becomes redundant.

Changelog: [iOS][Breaking] - Delete configFileDir CLI argument.

Reviewed By: cipolleschi

Differential Revision: D51303793

fbshipit-source-id: 46cb61197ddf51515af634c8fc6b85a8d218c51e
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.

3 participants