From d6eaba632d9c50bbee64dd2cb1129570c2b3b55f Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 7 Mar 2022 00:20:03 +0100 Subject: [PATCH] DEV: Lose the es6 suffix (#112) --- .../components/{campaign-banner.js.es6 => campaign-banner.js} | 0 .../{create-coupon-form.js.es6 => create-coupon-form.js} | 0 .../discourse/components/{ds-button.js.es6 => ds-button.js} | 0 .../components/{login-required.js.es6 => login-required.js} | 0 .../components/{payment-options.js.es6 => payment-options.js} | 0 .../components/{payment-plan.js.es6 => payment-plan.js} | 0 .../components/{product-item.js.es6 => product-item.js} | 0 .../components/{product-list.js.es6 => product-list.js} | 0 .../components/{subscribe-card.js.es6 => subscribe-card.js} | 0 .../{subscriptions-campaign.js.es6 => subscriptions-campaign.js} | 0 ...campaign-sidebar.js.es6 => subscriptions-campaign-sidebar.js} | 0 ...s.js.es6 => admin-plugins-discourse-subscriptions-coupons.js} | 0 ...js.es6 => admin-plugins-discourse-subscriptions-dashboard.js} | 0 ....es6 => admin-plugins-discourse-subscriptions-plans-index.js} | 0 ...s.es6 => admin-plugins-discourse-subscriptions-plans-show.js} | 0 ...ans.js.es6 => admin-plugins-discourse-subscriptions-plans.js} | 0 ...6 => admin-plugins-discourse-subscriptions-products-index.js} | 0 ...-plugins-discourse-subscriptions-products-show-plans-show.js} | 0 ...s6 => admin-plugins-discourse-subscriptions-products-show.js} | 0 ...s6 => admin-plugins-discourse-subscriptions-subscriptions.js} | 0 ...criptions.js.es6 => admin-plugins-discourse-subscriptions.js} | 0 .../controllers/{subscribe-index.js.es6 => subscribe-index.js} | 0 .../controllers/{subscribe-show.js.es6 => subscribe-show.js} | 0 .../discourse/controllers/{subscribe.js.es6 => subscribe.js} | 0 ...ons-route-map.js.es6 => discourse-subscriptions-route-map.js} | 0 ...oute-map.js.es6 => discourse-subscriptions-user-route-map.js} | 0 .../helpers/{format-currency.js.es6 => format-currency.js} | 0 .../helpers/{format-unix-date.js.es6 => format-unix-date.js} | 0 .../{stripe-payment-link.js.es6 => stripe-payment-link.js} | 0 .../helpers/{user-viewing-self.js.es6 => user-viewing-self.js} | 0 .../{setup-subscriptions.js.es6 => setup-subscriptions.js} | 0 .../discourse/models/{admin-coupon.js.es6 => admin-coupon.js} | 0 .../discourse/models/{admin-plan.js.es6 => admin-plan.js} | 0 .../discourse/models/{admin-product.js.es6 => admin-product.js} | 0 .../models/{admin-subscription.js.es6 => admin-subscription.js} | 0 assets/javascripts/discourse/models/{plan.js.es6 => plan.js} | 0 .../javascripts/discourse/models/{product.js.es6 => product.js} | 0 .../discourse/models/{subscription.js.es6 => subscription.js} | 0 .../discourse/models/{transaction.js.es6 => transaction.js} | 0 .../discourse/models/{user-payment.js.es6 => user-payment.js} | 0 .../models/{user-subscription.js.es6 => user-subscription.js} | 0 ...-activity-route-map.js.es6 => payments-activity-route-map.js} | 0 ...s.js.es6 => admin-plugins-discourse-subscriptions-coupons.js} | 0 ....es6 => admin-plugins-discourse-subscriptions-plans-index.js} | 0 ...ans.js.es6 => admin-plugins-discourse-subscriptions-plans.js} | 0 ...6 => admin-plugins-discourse-subscriptions-products-index.js} | 0 ...-plugins-discourse-subscriptions-products-show-plans-show.js} | 0 ...s6 => admin-plugins-discourse-subscriptions-products-show.js} | 0 ....js.es6 => admin-plugins-discourse-subscriptions-products.js} | 0 ...s6 => admin-plugins-discourse-subscriptions-subscriptions.js} | 0 ...criptions.js.es6 => admin-plugins-discourse-subscriptions.js} | 0 .../routes/{subscribe-index.js.es6 => subscribe-index.js} | 0 .../routes/{subscribe-show.js.es6 => subscribe-show.js} | 0 .../discourse/routes/{subscribe.js.es6 => subscribe.js} | 0 .../routes/{user-billing-index.js.es6 => user-billing-index.js} | 0 .../{user-billing-payments.js.es6 => user-billing-payments.js} | 0 ...illing-subscriptions.js.es6 => user-billing-subscriptions.js} | 0 .../discourse/routes/{user-billing.js.es6 => user-billing.js} | 0 ...subscriptions-route-map.js.es6 => subscriptions-route-map.js} | 0 plugin.rb | 1 + .../acceptance/{payments-test.js.es6 => payments-test.js} | 0 .../acceptance/{subscribe-test.js.es6 => subscribe-test.js} | 0 .../{payment-options-test.js.es6 => payment-options-test.js} | 0 .../{payment-plan-test.js.es6 => payment-plan-test.js} | 0 .../helpers/{product-pretender.js.es6 => product-pretender.js} | 0 test/javascripts/helpers/{stripe.js.es6 => stripe.js} | 0 test/javascripts/models/{plan-test.js.es6 => plan-test.js} | 0 67 files changed, 1 insertion(+) rename assets/javascripts/discourse/components/{campaign-banner.js.es6 => campaign-banner.js} (100%) rename assets/javascripts/discourse/components/{create-coupon-form.js.es6 => create-coupon-form.js} (100%) rename assets/javascripts/discourse/components/{ds-button.js.es6 => ds-button.js} (100%) rename assets/javascripts/discourse/components/{login-required.js.es6 => login-required.js} (100%) rename assets/javascripts/discourse/components/{payment-options.js.es6 => payment-options.js} (100%) rename assets/javascripts/discourse/components/{payment-plan.js.es6 => payment-plan.js} (100%) rename assets/javascripts/discourse/components/{product-item.js.es6 => product-item.js} (100%) rename assets/javascripts/discourse/components/{product-list.js.es6 => product-list.js} (100%) rename assets/javascripts/discourse/components/{subscribe-card.js.es6 => subscribe-card.js} (100%) rename assets/javascripts/discourse/connectors/above-main-container/{subscriptions-campaign.js.es6 => subscriptions-campaign.js} (100%) rename assets/javascripts/discourse/connectors/before-topic-list/{subscriptions-campaign-sidebar.js.es6 => subscriptions-campaign-sidebar.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-coupons.js.es6 => admin-plugins-discourse-subscriptions-coupons.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-dashboard.js.es6 => admin-plugins-discourse-subscriptions-dashboard.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-plans-index.js.es6 => admin-plugins-discourse-subscriptions-plans-index.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-plans-show.js.es6 => admin-plugins-discourse-subscriptions-plans-show.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-plans.js.es6 => admin-plugins-discourse-subscriptions-plans.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-products-index.js.es6 => admin-plugins-discourse-subscriptions-products-index.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 => admin-plugins-discourse-subscriptions-products-show-plans-show.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-products-show.js.es6 => admin-plugins-discourse-subscriptions-products-show.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions-subscriptions.js.es6 => admin-plugins-discourse-subscriptions-subscriptions.js} (100%) rename assets/javascripts/discourse/controllers/{admin-plugins-discourse-subscriptions.js.es6 => admin-plugins-discourse-subscriptions.js} (100%) rename assets/javascripts/discourse/controllers/{subscribe-index.js.es6 => subscribe-index.js} (100%) rename assets/javascripts/discourse/controllers/{subscribe-show.js.es6 => subscribe-show.js} (100%) rename assets/javascripts/discourse/controllers/{subscribe.js.es6 => subscribe.js} (100%) rename assets/javascripts/discourse/{discourse-subscriptions-route-map.js.es6 => discourse-subscriptions-route-map.js} (100%) rename assets/javascripts/discourse/{discourse-subscriptions-user-route-map.js.es6 => discourse-subscriptions-user-route-map.js} (100%) rename assets/javascripts/discourse/helpers/{format-currency.js.es6 => format-currency.js} (100%) rename assets/javascripts/discourse/helpers/{format-unix-date.js.es6 => format-unix-date.js} (100%) rename assets/javascripts/discourse/helpers/{stripe-payment-link.js.es6 => stripe-payment-link.js} (100%) rename assets/javascripts/discourse/helpers/{user-viewing-self.js.es6 => user-viewing-self.js} (100%) rename assets/javascripts/discourse/initializers/{setup-subscriptions.js.es6 => setup-subscriptions.js} (100%) rename assets/javascripts/discourse/models/{admin-coupon.js.es6 => admin-coupon.js} (100%) rename assets/javascripts/discourse/models/{admin-plan.js.es6 => admin-plan.js} (100%) rename assets/javascripts/discourse/models/{admin-product.js.es6 => admin-product.js} (100%) rename assets/javascripts/discourse/models/{admin-subscription.js.es6 => admin-subscription.js} (100%) rename assets/javascripts/discourse/models/{plan.js.es6 => plan.js} (100%) rename assets/javascripts/discourse/models/{product.js.es6 => product.js} (100%) rename assets/javascripts/discourse/models/{subscription.js.es6 => subscription.js} (100%) rename assets/javascripts/discourse/models/{transaction.js.es6 => transaction.js} (100%) rename assets/javascripts/discourse/models/{user-payment.js.es6 => user-payment.js} (100%) rename assets/javascripts/discourse/models/{user-subscription.js.es6 => user-subscription.js} (100%) rename assets/javascripts/discourse/{payments-activity-route-map.js.es6 => payments-activity-route-map.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-coupons.js.es6 => admin-plugins-discourse-subscriptions-coupons.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-plans-index.js.es6 => admin-plugins-discourse-subscriptions-plans-index.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-plans.js.es6 => admin-plugins-discourse-subscriptions-plans.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-products-index.js.es6 => admin-plugins-discourse-subscriptions-products-index.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 => admin-plugins-discourse-subscriptions-products-show-plans-show.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-products-show.js.es6 => admin-plugins-discourse-subscriptions-products-show.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-products.js.es6 => admin-plugins-discourse-subscriptions-products.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions-subscriptions.js.es6 => admin-plugins-discourse-subscriptions-subscriptions.js} (100%) rename assets/javascripts/discourse/routes/{admin-plugins-discourse-subscriptions.js.es6 => admin-plugins-discourse-subscriptions.js} (100%) rename assets/javascripts/discourse/routes/{subscribe-index.js.es6 => subscribe-index.js} (100%) rename assets/javascripts/discourse/routes/{subscribe-show.js.es6 => subscribe-show.js} (100%) rename assets/javascripts/discourse/routes/{subscribe.js.es6 => subscribe.js} (100%) rename assets/javascripts/discourse/routes/{user-billing-index.js.es6 => user-billing-index.js} (100%) rename assets/javascripts/discourse/routes/{user-billing-payments.js.es6 => user-billing-payments.js} (100%) rename assets/javascripts/discourse/routes/{user-billing-subscriptions.js.es6 => user-billing-subscriptions.js} (100%) rename assets/javascripts/discourse/routes/{user-billing.js.es6 => user-billing.js} (100%) rename assets/javascripts/discourse/{subscriptions-route-map.js.es6 => subscriptions-route-map.js} (100%) rename test/javascripts/acceptance/{payments-test.js.es6 => payments-test.js} (100%) rename test/javascripts/acceptance/{subscribe-test.js.es6 => subscribe-test.js} (100%) rename test/javascripts/components/{payment-options-test.js.es6 => payment-options-test.js} (100%) rename test/javascripts/components/{payment-plan-test.js.es6 => payment-plan-test.js} (100%) rename test/javascripts/helpers/{product-pretender.js.es6 => product-pretender.js} (100%) rename test/javascripts/helpers/{stripe.js.es6 => stripe.js} (100%) rename test/javascripts/models/{plan-test.js.es6 => plan-test.js} (100%) diff --git a/assets/javascripts/discourse/components/campaign-banner.js.es6 b/assets/javascripts/discourse/components/campaign-banner.js similarity index 100% rename from assets/javascripts/discourse/components/campaign-banner.js.es6 rename to assets/javascripts/discourse/components/campaign-banner.js diff --git a/assets/javascripts/discourse/components/create-coupon-form.js.es6 b/assets/javascripts/discourse/components/create-coupon-form.js similarity index 100% rename from assets/javascripts/discourse/components/create-coupon-form.js.es6 rename to assets/javascripts/discourse/components/create-coupon-form.js diff --git a/assets/javascripts/discourse/components/ds-button.js.es6 b/assets/javascripts/discourse/components/ds-button.js similarity index 100% rename from assets/javascripts/discourse/components/ds-button.js.es6 rename to assets/javascripts/discourse/components/ds-button.js diff --git a/assets/javascripts/discourse/components/login-required.js.es6 b/assets/javascripts/discourse/components/login-required.js similarity index 100% rename from assets/javascripts/discourse/components/login-required.js.es6 rename to assets/javascripts/discourse/components/login-required.js diff --git a/assets/javascripts/discourse/components/payment-options.js.es6 b/assets/javascripts/discourse/components/payment-options.js similarity index 100% rename from assets/javascripts/discourse/components/payment-options.js.es6 rename to assets/javascripts/discourse/components/payment-options.js diff --git a/assets/javascripts/discourse/components/payment-plan.js.es6 b/assets/javascripts/discourse/components/payment-plan.js similarity index 100% rename from assets/javascripts/discourse/components/payment-plan.js.es6 rename to assets/javascripts/discourse/components/payment-plan.js diff --git a/assets/javascripts/discourse/components/product-item.js.es6 b/assets/javascripts/discourse/components/product-item.js similarity index 100% rename from assets/javascripts/discourse/components/product-item.js.es6 rename to assets/javascripts/discourse/components/product-item.js diff --git a/assets/javascripts/discourse/components/product-list.js.es6 b/assets/javascripts/discourse/components/product-list.js similarity index 100% rename from assets/javascripts/discourse/components/product-list.js.es6 rename to assets/javascripts/discourse/components/product-list.js diff --git a/assets/javascripts/discourse/components/subscribe-card.js.es6 b/assets/javascripts/discourse/components/subscribe-card.js similarity index 100% rename from assets/javascripts/discourse/components/subscribe-card.js.es6 rename to assets/javascripts/discourse/components/subscribe-card.js diff --git a/assets/javascripts/discourse/connectors/above-main-container/subscriptions-campaign.js.es6 b/assets/javascripts/discourse/connectors/above-main-container/subscriptions-campaign.js similarity index 100% rename from assets/javascripts/discourse/connectors/above-main-container/subscriptions-campaign.js.es6 rename to assets/javascripts/discourse/connectors/above-main-container/subscriptions-campaign.js diff --git a/assets/javascripts/discourse/connectors/before-topic-list/subscriptions-campaign-sidebar.js.es6 b/assets/javascripts/discourse/connectors/before-topic-list/subscriptions-campaign-sidebar.js similarity index 100% rename from assets/javascripts/discourse/connectors/before-topic-list/subscriptions-campaign-sidebar.js.es6 rename to assets/javascripts/discourse/connectors/before-topic-list/subscriptions-campaign-sidebar.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-coupons.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-coupons.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-coupons.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-coupons.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-index.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-index.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-index.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-index.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-subscriptions.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-subscriptions.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-subscriptions.js diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions.js.es6 rename to assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions.js diff --git a/assets/javascripts/discourse/controllers/subscribe-index.js.es6 b/assets/javascripts/discourse/controllers/subscribe-index.js similarity index 100% rename from assets/javascripts/discourse/controllers/subscribe-index.js.es6 rename to assets/javascripts/discourse/controllers/subscribe-index.js diff --git a/assets/javascripts/discourse/controllers/subscribe-show.js.es6 b/assets/javascripts/discourse/controllers/subscribe-show.js similarity index 100% rename from assets/javascripts/discourse/controllers/subscribe-show.js.es6 rename to assets/javascripts/discourse/controllers/subscribe-show.js diff --git a/assets/javascripts/discourse/controllers/subscribe.js.es6 b/assets/javascripts/discourse/controllers/subscribe.js similarity index 100% rename from assets/javascripts/discourse/controllers/subscribe.js.es6 rename to assets/javascripts/discourse/controllers/subscribe.js diff --git a/assets/javascripts/discourse/discourse-subscriptions-route-map.js.es6 b/assets/javascripts/discourse/discourse-subscriptions-route-map.js similarity index 100% rename from assets/javascripts/discourse/discourse-subscriptions-route-map.js.es6 rename to assets/javascripts/discourse/discourse-subscriptions-route-map.js diff --git a/assets/javascripts/discourse/discourse-subscriptions-user-route-map.js.es6 b/assets/javascripts/discourse/discourse-subscriptions-user-route-map.js similarity index 100% rename from assets/javascripts/discourse/discourse-subscriptions-user-route-map.js.es6 rename to assets/javascripts/discourse/discourse-subscriptions-user-route-map.js diff --git a/assets/javascripts/discourse/helpers/format-currency.js.es6 b/assets/javascripts/discourse/helpers/format-currency.js similarity index 100% rename from assets/javascripts/discourse/helpers/format-currency.js.es6 rename to assets/javascripts/discourse/helpers/format-currency.js diff --git a/assets/javascripts/discourse/helpers/format-unix-date.js.es6 b/assets/javascripts/discourse/helpers/format-unix-date.js similarity index 100% rename from assets/javascripts/discourse/helpers/format-unix-date.js.es6 rename to assets/javascripts/discourse/helpers/format-unix-date.js diff --git a/assets/javascripts/discourse/helpers/stripe-payment-link.js.es6 b/assets/javascripts/discourse/helpers/stripe-payment-link.js similarity index 100% rename from assets/javascripts/discourse/helpers/stripe-payment-link.js.es6 rename to assets/javascripts/discourse/helpers/stripe-payment-link.js diff --git a/assets/javascripts/discourse/helpers/user-viewing-self.js.es6 b/assets/javascripts/discourse/helpers/user-viewing-self.js similarity index 100% rename from assets/javascripts/discourse/helpers/user-viewing-self.js.es6 rename to assets/javascripts/discourse/helpers/user-viewing-self.js diff --git a/assets/javascripts/discourse/initializers/setup-subscriptions.js.es6 b/assets/javascripts/discourse/initializers/setup-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/initializers/setup-subscriptions.js.es6 rename to assets/javascripts/discourse/initializers/setup-subscriptions.js diff --git a/assets/javascripts/discourse/models/admin-coupon.js.es6 b/assets/javascripts/discourse/models/admin-coupon.js similarity index 100% rename from assets/javascripts/discourse/models/admin-coupon.js.es6 rename to assets/javascripts/discourse/models/admin-coupon.js diff --git a/assets/javascripts/discourse/models/admin-plan.js.es6 b/assets/javascripts/discourse/models/admin-plan.js similarity index 100% rename from assets/javascripts/discourse/models/admin-plan.js.es6 rename to assets/javascripts/discourse/models/admin-plan.js diff --git a/assets/javascripts/discourse/models/admin-product.js.es6 b/assets/javascripts/discourse/models/admin-product.js similarity index 100% rename from assets/javascripts/discourse/models/admin-product.js.es6 rename to assets/javascripts/discourse/models/admin-product.js diff --git a/assets/javascripts/discourse/models/admin-subscription.js.es6 b/assets/javascripts/discourse/models/admin-subscription.js similarity index 100% rename from assets/javascripts/discourse/models/admin-subscription.js.es6 rename to assets/javascripts/discourse/models/admin-subscription.js diff --git a/assets/javascripts/discourse/models/plan.js.es6 b/assets/javascripts/discourse/models/plan.js similarity index 100% rename from assets/javascripts/discourse/models/plan.js.es6 rename to assets/javascripts/discourse/models/plan.js diff --git a/assets/javascripts/discourse/models/product.js.es6 b/assets/javascripts/discourse/models/product.js similarity index 100% rename from assets/javascripts/discourse/models/product.js.es6 rename to assets/javascripts/discourse/models/product.js diff --git a/assets/javascripts/discourse/models/subscription.js.es6 b/assets/javascripts/discourse/models/subscription.js similarity index 100% rename from assets/javascripts/discourse/models/subscription.js.es6 rename to assets/javascripts/discourse/models/subscription.js diff --git a/assets/javascripts/discourse/models/transaction.js.es6 b/assets/javascripts/discourse/models/transaction.js similarity index 100% rename from assets/javascripts/discourse/models/transaction.js.es6 rename to assets/javascripts/discourse/models/transaction.js diff --git a/assets/javascripts/discourse/models/user-payment.js.es6 b/assets/javascripts/discourse/models/user-payment.js similarity index 100% rename from assets/javascripts/discourse/models/user-payment.js.es6 rename to assets/javascripts/discourse/models/user-payment.js diff --git a/assets/javascripts/discourse/models/user-subscription.js.es6 b/assets/javascripts/discourse/models/user-subscription.js similarity index 100% rename from assets/javascripts/discourse/models/user-subscription.js.es6 rename to assets/javascripts/discourse/models/user-subscription.js diff --git a/assets/javascripts/discourse/payments-activity-route-map.js.es6 b/assets/javascripts/discourse/payments-activity-route-map.js similarity index 100% rename from assets/javascripts/discourse/payments-activity-route-map.js.es6 rename to assets/javascripts/discourse/payments-activity-route-map.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-coupons.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-coupons.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-coupons.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-coupons.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans-index.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans-index.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans-index.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans-index.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-plans.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-index.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-index.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-index.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-index.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show-plans-show.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show-plans-show.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-subscriptions.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-subscriptions.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-subscriptions.js diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions.js.es6 rename to assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions.js diff --git a/assets/javascripts/discourse/routes/subscribe-index.js.es6 b/assets/javascripts/discourse/routes/subscribe-index.js similarity index 100% rename from assets/javascripts/discourse/routes/subscribe-index.js.es6 rename to assets/javascripts/discourse/routes/subscribe-index.js diff --git a/assets/javascripts/discourse/routes/subscribe-show.js.es6 b/assets/javascripts/discourse/routes/subscribe-show.js similarity index 100% rename from assets/javascripts/discourse/routes/subscribe-show.js.es6 rename to assets/javascripts/discourse/routes/subscribe-show.js diff --git a/assets/javascripts/discourse/routes/subscribe.js.es6 b/assets/javascripts/discourse/routes/subscribe.js similarity index 100% rename from assets/javascripts/discourse/routes/subscribe.js.es6 rename to assets/javascripts/discourse/routes/subscribe.js diff --git a/assets/javascripts/discourse/routes/user-billing-index.js.es6 b/assets/javascripts/discourse/routes/user-billing-index.js similarity index 100% rename from assets/javascripts/discourse/routes/user-billing-index.js.es6 rename to assets/javascripts/discourse/routes/user-billing-index.js diff --git a/assets/javascripts/discourse/routes/user-billing-payments.js.es6 b/assets/javascripts/discourse/routes/user-billing-payments.js similarity index 100% rename from assets/javascripts/discourse/routes/user-billing-payments.js.es6 rename to assets/javascripts/discourse/routes/user-billing-payments.js diff --git a/assets/javascripts/discourse/routes/user-billing-subscriptions.js.es6 b/assets/javascripts/discourse/routes/user-billing-subscriptions.js similarity index 100% rename from assets/javascripts/discourse/routes/user-billing-subscriptions.js.es6 rename to assets/javascripts/discourse/routes/user-billing-subscriptions.js diff --git a/assets/javascripts/discourse/routes/user-billing.js.es6 b/assets/javascripts/discourse/routes/user-billing.js similarity index 100% rename from assets/javascripts/discourse/routes/user-billing.js.es6 rename to assets/javascripts/discourse/routes/user-billing.js diff --git a/assets/javascripts/discourse/subscriptions-route-map.js.es6 b/assets/javascripts/discourse/subscriptions-route-map.js similarity index 100% rename from assets/javascripts/discourse/subscriptions-route-map.js.es6 rename to assets/javascripts/discourse/subscriptions-route-map.js diff --git a/plugin.rb b/plugin.rb index a2d74cf..ad929fc 100644 --- a/plugin.rb +++ b/plugin.rb @@ -5,6 +5,7 @@ # version: 2.8.1 # url: https://github.com/discourse/discourse-subscriptions # authors: Rimian Perkins, Justin DiRose +# transpile_js: true enabled_site_setting :discourse_subscriptions_enabled diff --git a/test/javascripts/acceptance/payments-test.js.es6 b/test/javascripts/acceptance/payments-test.js similarity index 100% rename from test/javascripts/acceptance/payments-test.js.es6 rename to test/javascripts/acceptance/payments-test.js diff --git a/test/javascripts/acceptance/subscribe-test.js.es6 b/test/javascripts/acceptance/subscribe-test.js similarity index 100% rename from test/javascripts/acceptance/subscribe-test.js.es6 rename to test/javascripts/acceptance/subscribe-test.js diff --git a/test/javascripts/components/payment-options-test.js.es6 b/test/javascripts/components/payment-options-test.js similarity index 100% rename from test/javascripts/components/payment-options-test.js.es6 rename to test/javascripts/components/payment-options-test.js diff --git a/test/javascripts/components/payment-plan-test.js.es6 b/test/javascripts/components/payment-plan-test.js similarity index 100% rename from test/javascripts/components/payment-plan-test.js.es6 rename to test/javascripts/components/payment-plan-test.js diff --git a/test/javascripts/helpers/product-pretender.js.es6 b/test/javascripts/helpers/product-pretender.js similarity index 100% rename from test/javascripts/helpers/product-pretender.js.es6 rename to test/javascripts/helpers/product-pretender.js diff --git a/test/javascripts/helpers/stripe.js.es6 b/test/javascripts/helpers/stripe.js similarity index 100% rename from test/javascripts/helpers/stripe.js.es6 rename to test/javascripts/helpers/stripe.js diff --git a/test/javascripts/models/plan-test.js.es6 b/test/javascripts/models/plan-test.js similarity index 100% rename from test/javascripts/models/plan-test.js.es6 rename to test/javascripts/models/plan-test.js