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

Bump "image-size" version 0.6.0->1.0.2 and enable KTX support #975

Closed
wants to merge 1 commit into from

Conversation

rshest
Copy link
Contributor

@rshest rshest commented May 4, 2023

Summary:
In this diff:

  • image-size dependency is updated from 0.6.0 (which is five years old now) to 1.0.2. The goal is the KTX support which was added in v0.8.2
  • Some of the relevant code that is used in metro-buck-transform-worker was factored back into the metro package - this is arguably a better encapsulation of this functionality, and also it's nice to have a single source of truth for the image-source dependency (because now metro-buck-transform-worker doesn't directly depend on it anymore)
  • The KTX format is actually added as supported one

The net result is that metro-buck now treats KTX files as valid image assets, and process them correctly through the remote assets bundling pipeline.

Differential Revision: D45563991

@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. fb-exported labels May 4, 2023
@facebook-github-bot
Copy link
Contributor

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

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

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

rshest added a commit to rshest/metro that referenced this pull request May 6, 2023
…ort (facebook#975)

Summary:
Pull Request resolved: facebook#975

In this diff:
* `image-size` dependency is updated from 0.6.0 (which is five years old now) to 1.0.2. The goal is the KTX support [which was added](image-size/image-size@0192f77) in v0.8.2
* Some of the relevant code that is used in `metro-buck-transform-worker` was factored back into the `metro` package - this is arguably a better encapsulation of this functionality, and also it's nice to have a single source of truth for the `image-source` dependency (because now `metro-buck-transform-worker` doesn't directly depend on it anymore)
* The KTX format is actually added as supported one

The net result is that metro-buck now treats KTX files as valid image assets, and processes them correctly through the remote assets bundling pipeline.

Reviewed By: GijsWeterings

Differential Revision: D45563991

fbshipit-source-id: 3569429c3dfab0c6547302068f66d7b08ab0028d
@rshest rshest force-pushed the export-D45563991 branch from e0c04f9 to e39572c Compare May 6, 2023 13:56
…ort (facebook#975)

Summary:
Pull Request resolved: facebook#975

In this diff:
* `image-size` dependency is updated from 0.6.0 (which is five years old now) to 1.0.2. The goal is the KTX support [which was added](image-size/image-size@0192f77) in v0.8.2
* Some of the relevant code that is used in `metro-buck-transform-worker` was factored back into the `metro` package - this is arguably a better encapsulation of this functionality, and also it's nice to have a single source of truth for the `image-source` dependency (because now `metro-buck-transform-worker` doesn't directly depend on it anymore)
* The KTX format is actually added as supported one

The net result is that metro-buck now treats KTX files as valid image assets, and processes them correctly through the remote assets bundling pipeline.

Reviewed By: GijsWeterings

Differential Revision: D45563991

fbshipit-source-id: 18fa4cca7e617a1048c6770bbe1ec166396204b4
@rshest rshest force-pushed the export-D45563991 branch from e39572c to 2b7c6f1 Compare May 6, 2023 14:35
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c11f75a.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants