From 159abac169e97c71508548d88ab6614ee8d8a435 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Thu, 1 Jul 2021 18:04:59 +0200 Subject: [PATCH] Deprecate ember-cli-babel v5.x support --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 2df107d4..dbc3739a 100644 --- a/index.js +++ b/index.js @@ -63,6 +63,9 @@ module.exports = { appOrParent.options.babel = appOrParent.options.babel || {}; appOrParent.options.babel.plugins = appOrParent.options.babel.plugins || []; appOrParent.options.babel.plugins.push(require('./strip-data-test-properties-plugin')); + + this.ui.writeWarnLine('[ember-test-selectors] DEPRECATION: Using ember-cli-babel v5 with ember-test-selectors ' + + 'is deprecated. Please make sure to update your ember-cli-babel version.'); } else if (checker.satisfies('^6.0.0-beta.1') || checker.satisfies('^7.0.0')) { appOrParent.options.babel6 = appOrParent.options.babel6 || {}; appOrParent.options.babel6.plugins = appOrParent.options.babel6.plugins || [];