Skip to content

fix: icon exports#7159

Merged
BeksOmega merged 1 commit into
RaspberryPiFoundation:developfrom
BeksOmega:chore/icon-exports
Jun 16, 2023
Merged

fix: icon exports#7159
BeksOmega merged 1 commit into
RaspberryPiFoundation:developfrom
BeksOmega:chore/icon-exports

Conversation

@BeksOmega

@BeksOmega BeksOmega commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Fixes #2105
Fixes #7082

Proposed Changes

Makes sure that we are exporting the correct icon-related things.

Reason for Changes

Exporting things is like our whole job :P

Test Coverage

N/A

Documentation

N/A

Additional Information

I updated #7060 to be a breaking change, and added docs about upgrading there.

@BeksOmega BeksOmega requested a review from a team as a code owner June 13, 2023 23:12
@BeksOmega BeksOmega requested a review from NeilFraser June 13, 2023 23:12
@github-actions github-actions Bot added the PR: fix Fixes a bug label Jun 13, 2023
@BeksOmega BeksOmega requested review from maribethb and removed request for NeilFraser June 13, 2023 23:12
Comment thread scripts/migration/renamings.json5 Outdated
Comment on lines +1481 to +1484
{
oldName: 'Blockly.Icon',
newName: 'Blockly.icons.Icon',
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cpcallen I think this is correct, b/c the export didn't get renamed, but if you could verify that would be appreciated!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There doesn't seem to be a goog.module ID for this module, so strictly speaking there's not a correct way to represent this in the renamings file as it is presently structured, but this will have the desired effect.

@github-actions github-actions Bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Jun 14, 2023
@BeksOmega BeksOmega merged commit 2d3aec4 into RaspberryPiFoundation:develop Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confirm custom icon exports are correct before release Icon API

4 participants