Skip to content

Conversation

@benedfit
Copy link
Contributor

Thanks for contributing the Netlify plugins directory!

Are you adding a plugin or updating one?

  • Adding a plugin
  • Updating a plugin

Have you completed the following?

Test plan
Please add a link to a successful public deploy log using the stated version of the plugin. Include any other context reviewers might need for testing.

@netlify
Copy link

netlify bot commented Jan 16, 2023

Deploy Preview for netlify-plugins ready!

Name Link
🔨 Latest commit eb2e43d
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugins/deploys/63c55bfb1448a50009473f88
😎 Deploy Preview https://deploy-preview-1102--netlify-plugins.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@benedfit benedfit requested a review from sean-roberts January 16, 2023 14:15

mkdir -p site/$PACKAGE
cp package/workflow-ui.json site/$PACKAGE/workflow-ui.json
PACKAGE_ID=$(cat package/workflow-ui.json | jq -r ".packageId // .package")
Copy link
Contributor Author

@benedfit benedfit Jan 16, 2023

Choose a reason for hiding this comment

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

When the workflow-ui.json contains packageId use that as the destination for the files rather than the package name. So /surfaces/site-settings/@netlify/feature-package-pilot would become /surfaces/site-settings/feature-pilot

@benedfit benedfit marked this pull request as ready for review January 16, 2023 14:19
@benedfit benedfit requested review from a team and estephinson January 16, 2023 14:19
@benedfit benedfit self-assigned this Jan 16, 2023
Copy link
Contributor

@sean-roberts sean-roberts left a comment

Choose a reason for hiding this comment

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

LGTM. This decision for package id was from a previous conversation with the integrations team to better support the mobility of a package to change owners (npm names/scopes) without breaking our systems references what the content is.

@benedfit benedfit merged commit 61c7476 into main Jan 17, 2023
@benedfit benedfit deleted the bpe/workflow-ui-package-paths branch January 17, 2023 15:08
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.

3 participants