Revert "Resolve PNPM Lock File Errors" (#41828)

Revert "Resolve PNPM Lock File Errors (#41800)"

This reverts commit 2550558a13.
This commit is contained in:
Christopher Allford 2023-11-30 14:55:35 -08:00 committed by GitHub
parent f271f9fea4
commit c6b74ddafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 16164 additions and 12297 deletions

View File

@ -177,7 +177,7 @@
"packages": [
"**"
],
"pinVersion": "19.10.5"
"pinVersion": "^19.10.3"
},
{
"dependencies": [

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -42,7 +42,7 @@
},
"devDependencies": {
"@types/react": "^17.0.2",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__components": "^19.10.3",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",
"@wordpress/browserslist-config": "wp-6.0",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -48,7 +48,7 @@
"@types/jest": "^27.4.1",
"@types/react": "^17.0.2",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__core-data": "2.4.5",
"@types/wordpress__core-data": "^2.4.5",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -42,8 +42,8 @@
"@types/jest": "^27.4.1",
"@types/react": "^17.0.2",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__block-editor": "7.0.0",
"@types/wordpress__blocks": "11.0.7",
"@types/wordpress__block-editor": "^7.0.0",
"@types/wordpress__blocks": "^11.0.7",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -33,11 +33,11 @@
"@automattic/calypso-color-schemes": "^2.1.1",
"@automattic/interpolate-components": "^1.2.0",
"@automattic/tour-kit": "^1.1.1",
"@types/wordpress__block-editor": "7.0.0",
"@types/wordpress__block-library": "2.6.1",
"@types/wordpress__blocks": "11.0.7",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__rich-text": "3.4.6",
"@types/wordpress__block-editor": "^7.0.0",
"@types/wordpress__block-library": "^2.6.1",
"@types/wordpress__blocks": "^11.0.7",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__rich-text": "^3.4.6",
"@woocommerce/csv-export": "workspace:*",
"@woocommerce/currency": "workspace:*",
"@woocommerce/data": "workspace:*",
@ -122,10 +122,10 @@
"@types/prop-types": "^15.7.4",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/uuid": "^8.3.0",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__media-utils": "3.0.0",
"@types/wordpress__viewport": "2.5.4",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__data": "^6.0.0",
"@types/wordpress__media-utils": "^3.0.0",
"@types/wordpress__viewport": "^2.5.4",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -143,7 +143,8 @@ export const DateTimePickerControl = forwardRef(
const formatDateTimeForDisplay = useCallback(
( dateTime: Moment ) => {
return dateTime.isValid()
? formatDate( displayFormat, dateTime.local() )
? // @ts-expect-error TODO - fix this type error with moment
formatDate( displayFormat, dateTime.local() )
: dateTime.creationData().input?.toString() || '';
},
[ displayFormat ]

View File

@ -103,6 +103,7 @@ describe( 'DateTimePickerControl', () => {
const input = container.querySelector( 'input' );
expect( input?.value ).toBe(
// @ts-expect-error TODO - fix this type error with moment
formatDate( default24HourDateTimeFormat, dateTime )
);
} );
@ -122,6 +123,7 @@ describe( 'DateTimePickerControl', () => {
expect( input?.value ).toBe(
formatDate(
default24HourDateTimeFormat,
// @ts-expect-error TODO - fix this type error with moment
moment.utc( ambiguousISODateTimeString ).local()
)
);
@ -142,6 +144,7 @@ describe( 'DateTimePickerControl', () => {
expect( input?.value ).toBe(
formatDate(
default24HourDateTimeFormat,
// @ts-expect-error TODO - fix this type error with moment
moment.utc( unambiguousISODateTimeString ).local()
)
);
@ -159,6 +162,7 @@ describe( 'DateTimePickerControl', () => {
const input = container.querySelector( 'input' );
expect( input?.value ).toBe(
// @ts-expect-error TODO - fix this type error with moment
formatDate( default12HourDateTimeFormat, dateTime )
);
} );
@ -175,6 +179,7 @@ describe( 'DateTimePickerControl', () => {
);
const input = container.querySelector( 'input' );
// @ts-expect-error TODO - fix this type error with moment
expect( input?.value ).toBe( formatDate( dateTimeFormat, dateTime ) );
} );
@ -198,6 +203,7 @@ describe( 'DateTimePickerControl', () => {
const input = container.querySelector( 'input' );
expect( input?.value ).toBe(
// @ts-expect-error TODO - fix this type error with moment
formatDate( default24HourDateTimeFormat, updatedDateTime )
);
} );

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -45,8 +45,8 @@
"@types/jest": "^27.4.1",
"@types/prop-types": "^15.7.4",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__data": "^6.0.0",
"@woocommerce/data": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -58,10 +58,10 @@
"@types/qs": "^6.9.7",
"@types/react": "^17.0.2",
"@types/node": "^16.18.18",
"@types/wordpress__compose": "4.0.1",
"@types/wordpress__core-data": "2.4.5",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__data-controls": "2.2.0",
"@types/wordpress__compose": "^4.0.1",
"@types/wordpress__core-data": "^2.4.5",
"@types/wordpress__data": "^6.0.0",
"@types/wordpress__data-controls": "^2.2.0",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"eslint": "^8.32.0",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -59,7 +59,7 @@
"@types/jest": "^27.4.1",
"@types/react-transition-group": "^4.4.4",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__components": "^19.10.3",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",

View File

@ -53,8 +53,8 @@
"@automattic/data-stores": "^2.0.1",
"@babel/core": "^7.17.5",
"@types/lodash": "^4.14.182",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__notices": "3.5.0",
"@types/wordpress__data": "^6.0.0",
"@types/wordpress__notices": "^3.5.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.32.0",
"jest": "^27.5.1",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -48,8 +48,8 @@
"@types/jest": "^27.4.1",
"@types/react": "^17.0.2",
"@types/string-similarity": "4.0.0",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__data": "^6.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -30,7 +30,7 @@
"dependencies": {
"@types/lodash": "^4.14.179",
"@types/prop-types": "^15.7.4",
"@types/wordpress__blocks": "11.0.7",
"@types/wordpress__blocks": "^11.0.7",
"@woocommerce/admin-layout": "workspace:*",
"@woocommerce/block-templates": "workspace:*",
"@woocommerce/components": "workspace:*",
@ -81,19 +81,19 @@
"@types/jest": "^27.4.1",
"@types/react": "^17.0.2",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__block-editor": "7.0.0",
"@types/wordpress__block-library": "2.6.1",
"@types/wordpress__blocks": "11.0.7",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__core-data": "2.4.5",
"@types/wordpress__data": "6.0.2",
"@types/wordpress__date": "3.3.2",
"@types/wordpress__editor": "13.0.0",
"@types/wordpress__edit-post": "7.5.4",
"@types/wordpress__keycodes": "2.3.1",
"@types/wordpress__media-utils": "3.0.0",
"@types/wordpress__plugins": "3.0.0",
"@types/wordpress__rich-text": "3.4.6",
"@types/wordpress__block-editor": "^7.0.0",
"@types/wordpress__block-library": "^2.6.1",
"@types/wordpress__blocks": "^11.0.7",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__core-data": "^2.4.5",
"@types/wordpress__data": "^6.0.2",
"@types/wordpress__date": "^3.3.2",
"@types/wordpress__editor": "^13.0.0",
"@types/wordpress__edit-post": "^7.5.4",
"@types/wordpress__keycodes": "^2.3.1",
"@types/wordpress__media-utils": "^3.0.0",
"@types/wordpress__plugins": "^3.0.0",
"@types/wordpress__rich-text": "^3.4.6",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-js-tests": "workspace:*",
"@woocommerce/internal-style-build": "workspace:*",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -15,7 +15,7 @@
"@types/jquery": "^3.5.16",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__components": "^19.10.3",
"@woocommerce/dependency-extraction-webpack-plugin": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@wordpress/data": "wp-6.0",

View File

@ -140,6 +140,7 @@ export const PricingSaleField: React.FC< PricingListFieldProps > = ( {
<span>
{ formatDate(
timeFormat,
// @ts-expect-error TODO - fix this type error with moment
moment().startOf( 'day' )
) }
</span>
@ -148,6 +149,7 @@ export const PricingSaleField: React.FC< PricingListFieldProps > = ( {
<span>
{ formatDate(
timeFormat,
// @ts-expect-error TODO - fix this type error with moment
moment().endOf( 'day' )
) }
</span>

View File

@ -55,7 +55,7 @@
"@automattic/interpolate-components": "^1.2.0",
"@automattic/components": "^2.0.1",
"@react-spring/web": "^9.4.3",
"@types/wordpress__blocks": "11.0.7",
"@types/wordpress__blocks": "^11.0.7",
"@woocommerce/api": "^0.2.0",
"@wordpress/a11y": "wp-6.0",
"@wordpress/api-fetch": "wp-6.0",
@ -138,13 +138,13 @@
"@types/react-transition-group": "^4.4.4",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/tinymce": "^4.6.5",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__compose": "4.0.1",
"@types/wordpress__data": "6.0.0",
"@types/wordpress__data-controls": "2.2.0",
"@types/wordpress__media-utils": "3.0.0",
"@types/wordpress__notices": "3.3.0",
"@types/wordpress__plugins": "3.0.0",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__compose": "^4.0.1",
"@types/wordpress__data": "^6.0.0",
"@types/wordpress__data-controls": "^2.2.0",
"@types/wordpress__media-utils": "^3.0.0",
"@types/wordpress__notices": "^3.3.0",
"@types/wordpress__plugins": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@woocommerce/admin-e2e-tests": "workspace:*",

View File

@ -1 +1 @@
jQuery(function(i){({init(){i("#wp-admin-bar-show-version-info").on("click",this.showModal)},showModal(e){e.preventDefault(),0<i(".wc-backbone-modal-beta-tester-version-info").length||i(this).WCBackboneModal({template:"wc-beta-tester-version-info",variable:{version:wc_beta_tester_version_info_params.version,description:wc_beta_tester_version_info_params.description}})}}).init()});
jQuery(function(i){const e={init(){i("#wp-admin-bar-show-version-info").on("click",this.showModal)},showModal(e){e.preventDefault(),0<i(".wc-backbone-modal-beta-tester-version-info").length||i(this).WCBackboneModal({template:"wc-beta-tester-version-info",variable:{version:wc_beta_tester_version_info_params.version,description:wc_beta_tester_version_info_params.description}})}};e.init()});

View File

@ -1 +1 @@
jQuery(function(e){({init(){(instance=this).new_version=void 0,e("#wcbt-modal-version-switch-confirm").on("click",this.showConfirmVersionSwitchModal),e("input[type=radio][name=wcbt_switch_to_version]").change(function(){e(this).is(":checked")&&(instance.new_version=e(this).val())}).trigger("change")},showConfirmVersionSwitchModal(i){i.preventDefault(),instance.new_version?(e(this).WCBackboneModal({template:"wcbt-version-switch-confirm",variable:{new_version:instance.new_version}}),e("#wcbt-submit-version-switch").on("click",instance.submitSwitchVersionForm)):alert(wc_beta_tester_version_picker_params.i18n_pick_version)},submitSwitchVersionForm(i){i.preventDefault(),e("form[name=wcbt-select-version]").get(0).submit()}}).init()});
jQuery(function(n){const i={init(){instance=this,instance.new_version=void 0,n("#wcbt-modal-version-switch-confirm").on("click",this.showConfirmVersionSwitchModal),n("input[type=radio][name=wcbt_switch_to_version]").change(function(){n(this).is(":checked")&&(instance.new_version=n(this).val())}).trigger("change")},showConfirmVersionSwitchModal(i){i.preventDefault(),instance.new_version?(n(this).WCBackboneModal({template:"wcbt-version-switch-confirm",variable:{new_version:instance.new_version}}),n("#wcbt-submit-version-switch").on("click",instance.submitSwitchVersionForm)):alert(wc_beta_tester_version_picker_params.i18n_pick_version)},submitSwitchVersionForm(i){i.preventDefault(),n("form[name=wcbt-select-version]").get(0).submit()}};i.init()});

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

View File

@ -12,8 +12,8 @@
"devDependencies": {
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/wordpress__components": "19.10.5",
"@types/wordpress__plugins": "3.0.0",
"@types/wordpress__components": "^19.10.3",
"@types/wordpress__plugins": "^3.0.0",
"@woocommerce/dependency-extraction-webpack-plugin": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@wordpress/env": "^8.2.0",

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only impacts build configuration

File diff suppressed because it is too large Load Diff

View File

@ -167,6 +167,7 @@ export const createPullRequest = async ( options: {
}
);
//@ts-expect-error There is a type mismatch between the graphql schema and the response. pullRequest.data.head.repo.has_discussions is a boolean, but the graphql schema doesn't have that field.
return pullRequest.data;
};
@ -194,6 +195,7 @@ export const getPullRequest = async ( options: {
}
);
//@ts-expect-error Not sure why this error comes up. All versions are up to date and the schema is correct.
return pr.data;
};