-
Notifications
You must be signed in to change notification settings - Fork 808
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
Protect Components: Use @wordpress/dataviews/wp import path #41510
base: add/protect/core
Are you sure you want to change the base?
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! Protect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCannot generate coverage summary while tests are failing. 🤐 Please fix the tests, or re-run the Code coverage job if it was something being flaky. |
8cc7233
to
65b7cd0
Compare
Build currently fails with the following: In GitHub build (logs):
When running locally (
|
33306a4
to
dd2f628
Compare
31495ea
to
9da5046
Compare
65e404a
to
907c3b8
Compare
pnpm-lock.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've got a lot of accidental downgrades going on here. You should probably do something like git fetch && git checkout $( git merge-base HEAD origin/add/protect/core ) pnpm-lock.yaml && pnpm dedupe
to regnerate this file.
1ad1cae
to
4386869
Compare
dbeb4ff
to
672faeb
Compare
This PR has been updated. Summary of changes:
Rebased and rebuilt pnpm to address unintentional downgrades. Currently looking into why the JS Tests are failing:
The above error is introduced when switching between importing from |
ed169af
to
18acf38
Compare
672faeb
to
45cf11f
Compare
d8c8932
to
fb4fcf1
Compare
Co-authored-by: Brad Jorsch <[email protected]>
d9c496f
to
c97a1b2
Compare
The test failure looks like the same thing as described in the "ESM" section of WordPress/gutenberg#67897. TL;DR: The way |
See WordPress/gutenberg#66825 for more info on the
@wordpress/dataviews/wp
import path.Proposed changes:
import ... from '@wordpress/dataviews'
toimport ... from '@wordpress/dataviews/wp'
.Other information:
Jetpack product discussion
peb6dq-3ta-p2
Does this pull request change what data or activity we track or use?
No
Testing instructions:
ThreatsDataViews
andScanReport
components.cd projects/js-packages/storybook && pnpm storybook:dev