From 46cdce24bd6c2aa176df2b20a891f42df46aafbb Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Fri, 4 Mar 2022 19:27:42 +0100 Subject: [PATCH] DEV: Lose the es6 suffix (#110) --- assets/javascripts/admin/adapters/{channel.js.es6 => channel.js} | 0 .../javascripts/admin/adapters/{provider.js.es6 => provider.js} | 0 assets/javascripts/admin/adapters/{rule.js.es6 => rule.js} | 0 ...ntegration-route-map.js.es6 => chat-integration-route-map.js} | 0 .../admin/components/{channel-data.js.es6 => channel-data.js} | 0 .../components/{channel-details.js.es6 => channel-details.js} | 0 .../admin/components/{rule-row.js.es6 => rule-row.js} | 0 ...rovider.js.es6 => admin-plugins-chat-integration-provider.js} | 0 ...chat-integration.js.es6 => admin-plugins-chat-integration.js} | 0 ...nel.js.es6 => admin-plugins-chat-integration-edit-channel.js} | 0 ...t-rule.js.es6 => admin-plugins-chat-integration-edit-rule.js} | 0 ...ration-test.js.es6 => admin-plugins-chat-integration-test.js} | 0 assets/javascripts/admin/models/{channel.js.es6 => channel.js} | 0 assets/javascripts/admin/models/{provider.js.es6 => provider.js} | 0 assets/javascripts/admin/models/{rule.js.es6 => rule.js} | 0 ...tion-index.js.es6 => admin-plugins-chat-integration-index.js} | 0 ...rovider.js.es6 => admin-plugins-chat-integration-provider.js} | 0 ...chat-integration.js.es6 => admin-plugins-chat-integration.js} | 0 .../discourse/{public-route-map.js.es6 => public-route-map.js} | 0 .../discourse/routes/{transcript.js.es6 => transcript.js} | 0 plugin.rb | 1 + .../{chat-integration-test.js.es6 => chat-integration-test.js} | 0 22 files changed, 1 insertion(+) rename assets/javascripts/admin/adapters/{channel.js.es6 => channel.js} (100%) rename assets/javascripts/admin/adapters/{provider.js.es6 => provider.js} (100%) rename assets/javascripts/admin/adapters/{rule.js.es6 => rule.js} (100%) rename assets/javascripts/admin/{chat-integration-route-map.js.es6 => chat-integration-route-map.js} (100%) rename assets/javascripts/admin/components/{channel-data.js.es6 => channel-data.js} (100%) rename assets/javascripts/admin/components/{channel-details.js.es6 => channel-details.js} (100%) rename assets/javascripts/admin/components/{rule-row.js.es6 => rule-row.js} (100%) rename assets/javascripts/admin/controllers/{admin-plugins-chat-integration-provider.js.es6 => admin-plugins-chat-integration-provider.js} (100%) rename assets/javascripts/admin/controllers/{admin-plugins-chat-integration.js.es6 => admin-plugins-chat-integration.js} (100%) rename assets/javascripts/admin/controllers/modals/{admin-plugins-chat-integration-edit-channel.js.es6 => admin-plugins-chat-integration-edit-channel.js} (100%) rename assets/javascripts/admin/controllers/modals/{admin-plugins-chat-integration-edit-rule.js.es6 => admin-plugins-chat-integration-edit-rule.js} (100%) rename assets/javascripts/admin/controllers/modals/{admin-plugins-chat-integration-test.js.es6 => admin-plugins-chat-integration-test.js} (100%) rename assets/javascripts/admin/models/{channel.js.es6 => channel.js} (100%) rename assets/javascripts/admin/models/{provider.js.es6 => provider.js} (100%) rename assets/javascripts/admin/models/{rule.js.es6 => rule.js} (100%) rename assets/javascripts/admin/routes/{admin-plugins-chat-integration-index.js.es6 => admin-plugins-chat-integration-index.js} (100%) rename assets/javascripts/admin/routes/{admin-plugins-chat-integration-provider.js.es6 => admin-plugins-chat-integration-provider.js} (100%) rename assets/javascripts/admin/routes/{admin-plugins-chat-integration.js.es6 => admin-plugins-chat-integration.js} (100%) rename assets/javascripts/discourse/{public-route-map.js.es6 => public-route-map.js} (100%) rename assets/javascripts/discourse/routes/{transcript.js.es6 => transcript.js} (100%) rename test/javascripts/acceptance/{chat-integration-test.js.es6 => chat-integration-test.js} (100%) diff --git a/assets/javascripts/admin/adapters/channel.js.es6 b/assets/javascripts/admin/adapters/channel.js similarity index 100% rename from assets/javascripts/admin/adapters/channel.js.es6 rename to assets/javascripts/admin/adapters/channel.js diff --git a/assets/javascripts/admin/adapters/provider.js.es6 b/assets/javascripts/admin/adapters/provider.js similarity index 100% rename from assets/javascripts/admin/adapters/provider.js.es6 rename to assets/javascripts/admin/adapters/provider.js diff --git a/assets/javascripts/admin/adapters/rule.js.es6 b/assets/javascripts/admin/adapters/rule.js similarity index 100% rename from assets/javascripts/admin/adapters/rule.js.es6 rename to assets/javascripts/admin/adapters/rule.js diff --git a/assets/javascripts/admin/chat-integration-route-map.js.es6 b/assets/javascripts/admin/chat-integration-route-map.js similarity index 100% rename from assets/javascripts/admin/chat-integration-route-map.js.es6 rename to assets/javascripts/admin/chat-integration-route-map.js diff --git a/assets/javascripts/admin/components/channel-data.js.es6 b/assets/javascripts/admin/components/channel-data.js similarity index 100% rename from assets/javascripts/admin/components/channel-data.js.es6 rename to assets/javascripts/admin/components/channel-data.js diff --git a/assets/javascripts/admin/components/channel-details.js.es6 b/assets/javascripts/admin/components/channel-details.js similarity index 100% rename from assets/javascripts/admin/components/channel-details.js.es6 rename to assets/javascripts/admin/components/channel-details.js diff --git a/assets/javascripts/admin/components/rule-row.js.es6 b/assets/javascripts/admin/components/rule-row.js similarity index 100% rename from assets/javascripts/admin/components/rule-row.js.es6 rename to assets/javascripts/admin/components/rule-row.js diff --git a/assets/javascripts/admin/controllers/admin-plugins-chat-integration-provider.js.es6 b/assets/javascripts/admin/controllers/admin-plugins-chat-integration-provider.js similarity index 100% rename from assets/javascripts/admin/controllers/admin-plugins-chat-integration-provider.js.es6 rename to assets/javascripts/admin/controllers/admin-plugins-chat-integration-provider.js diff --git a/assets/javascripts/admin/controllers/admin-plugins-chat-integration.js.es6 b/assets/javascripts/admin/controllers/admin-plugins-chat-integration.js similarity index 100% rename from assets/javascripts/admin/controllers/admin-plugins-chat-integration.js.es6 rename to assets/javascripts/admin/controllers/admin-plugins-chat-integration.js diff --git a/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 b/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js similarity index 100% rename from assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js.es6 rename to assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-channel.js diff --git a/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-rule.js.es6 b/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-rule.js similarity index 100% rename from assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-rule.js.es6 rename to assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-edit-rule.js diff --git a/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-test.js.es6 b/assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-test.js similarity index 100% rename from assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-test.js.es6 rename to assets/javascripts/admin/controllers/modals/admin-plugins-chat-integration-test.js diff --git a/assets/javascripts/admin/models/channel.js.es6 b/assets/javascripts/admin/models/channel.js similarity index 100% rename from assets/javascripts/admin/models/channel.js.es6 rename to assets/javascripts/admin/models/channel.js diff --git a/assets/javascripts/admin/models/provider.js.es6 b/assets/javascripts/admin/models/provider.js similarity index 100% rename from assets/javascripts/admin/models/provider.js.es6 rename to assets/javascripts/admin/models/provider.js diff --git a/assets/javascripts/admin/models/rule.js.es6 b/assets/javascripts/admin/models/rule.js similarity index 100% rename from assets/javascripts/admin/models/rule.js.es6 rename to assets/javascripts/admin/models/rule.js diff --git a/assets/javascripts/admin/routes/admin-plugins-chat-integration-index.js.es6 b/assets/javascripts/admin/routes/admin-plugins-chat-integration-index.js similarity index 100% rename from assets/javascripts/admin/routes/admin-plugins-chat-integration-index.js.es6 rename to assets/javascripts/admin/routes/admin-plugins-chat-integration-index.js diff --git a/assets/javascripts/admin/routes/admin-plugins-chat-integration-provider.js.es6 b/assets/javascripts/admin/routes/admin-plugins-chat-integration-provider.js similarity index 100% rename from assets/javascripts/admin/routes/admin-plugins-chat-integration-provider.js.es6 rename to assets/javascripts/admin/routes/admin-plugins-chat-integration-provider.js diff --git a/assets/javascripts/admin/routes/admin-plugins-chat-integration.js.es6 b/assets/javascripts/admin/routes/admin-plugins-chat-integration.js similarity index 100% rename from assets/javascripts/admin/routes/admin-plugins-chat-integration.js.es6 rename to assets/javascripts/admin/routes/admin-plugins-chat-integration.js diff --git a/assets/javascripts/discourse/public-route-map.js.es6 b/assets/javascripts/discourse/public-route-map.js similarity index 100% rename from assets/javascripts/discourse/public-route-map.js.es6 rename to assets/javascripts/discourse/public-route-map.js diff --git a/assets/javascripts/discourse/routes/transcript.js.es6 b/assets/javascripts/discourse/routes/transcript.js similarity index 100% rename from assets/javascripts/discourse/routes/transcript.js.es6 rename to assets/javascripts/discourse/routes/transcript.js diff --git a/plugin.rb b/plugin.rb index b745c28..56507c3 100644 --- a/plugin.rb +++ b/plugin.rb @@ -5,6 +5,7 @@ # version: 0.1 # url: https://github.com/discourse/discourse-chat-integration # author: David Taylor +# transpile_js: true enabled_site_setting :chat_integration_enabled diff --git a/test/javascripts/acceptance/chat-integration-test.js.es6 b/test/javascripts/acceptance/chat-integration-test.js similarity index 100% rename from test/javascripts/acceptance/chat-integration-test.js.es6 rename to test/javascripts/acceptance/chat-integration-test.js