43 lines
1.3 KiB
JavaScript
43 lines
1.3 KiB
JavaScript
import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';
|
|
|
|
/**
|
|
* Docs: https://github.com/ember-cli/ember-cli-deprecation-workflow
|
|
*/
|
|
setupDeprecationWorkflow({
|
|
/**
|
|
false by default, but if a developer / team wants to be more aggressive about being proactive with
|
|
handling their deprecations, this should be set to "true"
|
|
*/
|
|
throwOnUnhandled: false,
|
|
workflow: [
|
|
/* ... handlers ... */
|
|
/* to generate this list, run your app for a while (or run the test suite),
|
|
* and then run in the browser console:
|
|
*
|
|
* deprecationWorkflow.flushDeprecations()
|
|
*
|
|
* And copy the handlers here
|
|
*/
|
|
/* example: */
|
|
/* { handler: 'silence', matchId: 'template-action' }, */
|
|
// TODO: resolve these before updating to WarpDrive v6
|
|
{
|
|
handler: 'silence',
|
|
matchId: 'warp-drive:deprecate-legacy-request-methods',
|
|
},
|
|
// TODO: resolve these before updating to ember-power-select v9
|
|
{
|
|
handler: 'silence',
|
|
matchId: 'ember-power-select.deprecate-power-select-multiple',
|
|
},
|
|
{
|
|
handler: 'silence',
|
|
matchId: 'ember-power-select.deprecate-power-select-multiple-trigger',
|
|
},
|
|
{
|
|
handler: 'silence',
|
|
matchId: 'ember-power-select.deprecate-power-select-multiple-input',
|
|
},
|
|
],
|
|
});
|