diff --git a/package/scripts/postbuild.js b/package/scripts/postbuild.js index 0878b228d..3f9de20da 100644 --- a/package/scripts/postbuild.js +++ b/package/scripts/postbuild.js @@ -26,6 +26,8 @@ async function recursivelyChangeExtension(fullDirPath, ext, newExt) { await fse.copy(childPath, childPath.replace(`.${ext}`, `.${newExt}`)); await fse.remove(childPath); + + return null; }); await Promise.all(promises); } diff --git a/package/src/components/AddressBook/v1/AddressBook.js b/package/src/components/AddressBook/v1/AddressBook.js index 7da83606e..fb1ceeb02 100644 --- a/package/src/components/AddressBook/v1/AddressBook.js +++ b/package/src/components/AddressBook/v1/AddressBook.js @@ -148,7 +148,14 @@ class AddressBook extends Component { // Render Methods // renderAccordionFormList() { - const { account: { addressBook }, addNewItemButtonText, components: { AccordionFormList, AddressForm }, deleteItemButtonText, entryFormSubmitButtonText, isSaving } = this.props; + const { + account: { addressBook }, + addNewItemButtonText, + components: { AccordionFormList, AddressForm }, + deleteItemButtonText, + entryFormSubmitButtonText, + isSaving + } = this.props; const items = addressBook.map(({ _id, ...address }) => ({ id: _id, diff --git a/package/src/components/CartSummary/v1/CartSummary.js b/package/src/components/CartSummary/v1/CartSummary.js index 650b4ef02..93e5a1764 100644 --- a/package/src/components/CartSummary/v1/CartSummary.js +++ b/package/src/components/CartSummary/v1/CartSummary.js @@ -141,14 +141,14 @@ class CartSummary extends Component { * The text for the "Items" label text. */ itemLabelText: PropTypes.string, - /** - * The text for the "items" header text. - */ - itemsText: PropTypes.string, /** * Quantity of products in shopping cart */ itemsQuantity: PropTypes.number, + /** + * The text for the "items" header text. + */ + itemsText: PropTypes.string, /** * The text for the "Order total" label text. */ @@ -168,7 +168,7 @@ class CartSummary extends Component { /** * The text for the "Tax" label text. */ - taxLabelText: PropTypes.string, + taxLabelText: PropTypes.string } static defaultProps = { @@ -180,7 +180,7 @@ class CartSummary extends Component { promoCodeText: "Promo code applied", shippingLabelText: "Shipping", surchargesLabelText: "Surcharges", - taxLabelText: "Tax", + taxLabelText: "Tax" } renderHeader() { @@ -228,7 +228,7 @@ class CartSummary extends Component { orderTotalLabelText, shippingLabelText, surchargesLabelText, - taxLabelText, + taxLabelText } = this.props; // Use "-" to indicate we are still calculating this field. diff --git a/package/src/components/CheckoutEmailAddress/v1/CheckoutEmailAddress.js b/package/src/components/CheckoutEmailAddress/v1/CheckoutEmailAddress.js index e8ef680b2..bf56d84a4 100644 --- a/package/src/components/CheckoutEmailAddress/v1/CheckoutEmailAddress.js +++ b/package/src/components/CheckoutEmailAddress/v1/CheckoutEmailAddress.js @@ -40,7 +40,7 @@ class CheckoutEmailAddress extends Component { /** * The text for the "Signed in as" label text. */ - signedInText: PropTypes.string, + signedInText: PropTypes.string }; static defaultProps = { diff --git a/package/src/components/Field/v1/Field.js b/package/src/components/Field/v1/Field.js index a2a6b6c51..e536eb29f 100644 --- a/package/src/components/Field/v1/Field.js +++ b/package/src/components/Field/v1/Field.js @@ -70,7 +70,7 @@ class Field extends Component { /** * The text for the "Optional" label text. */ - optionalLabelText: PropTypes.string, + optionalLabelText: PropTypes.string }; static defaultProps = { diff --git a/package/src/components/MiniCartSummary/v1/MiniCartSummary.js b/package/src/components/MiniCartSummary/v1/MiniCartSummary.js index b48d5fb2c..271d1f1da 100644 --- a/package/src/components/MiniCartSummary/v1/MiniCartSummary.js +++ b/package/src/components/MiniCartSummary/v1/MiniCartSummary.js @@ -45,19 +45,19 @@ class MiniCartSummary extends Component { * The computed taxes for items in the cart. */ displayTax: PropTypes.string, - /** - * The text for the "Tax" label text. - */ - taxLabelText: PropTypes.string, /** * The text for the "Subtotal" label text. */ subtotalLabelText: PropTypes.string, + /** + * The text for the "Tax" label text. + */ + taxLabelText: PropTypes.string }; static defaultProps = { taxLabelText: "Tax", - subtotalLabelText: "Subtotal", + subtotalLabelText: "Subtotal" } renderTax = () => { diff --git a/package/src/components/StripePaymentInput/v1/StripePaymentInput.js b/package/src/components/StripePaymentInput/v1/StripePaymentInput.js index 0d1c7def7..5fe0af16f 100644 --- a/package/src/components/StripePaymentInput/v1/StripePaymentInput.js +++ b/package/src/components/StripePaymentInput/v1/StripePaymentInput.js @@ -61,16 +61,16 @@ class StripePaymentInput extends Component { * and `amount` properties. */ onSubmit: PropTypes.func, - /** - * The text for the "Your Information is private and secure." caption text. - */ - secureCaptionText: PropTypes.string, + /** + * The text for the "Your Information is private and secure." caption text. + */ + secureCaptionText: PropTypes.string }; static defaultProps = { onReadyForSaveChange() {}, onSubmit() {}, - secureCaptionText: "Your Information is private and secure.", + secureCaptionText: "Your Information is private and secure." }; componentDidMount() {