Skip to content

Commit 09d28d3

Browse files
committed
update deprecation-workflow
1 parent a937223 commit 09d28d3

File tree

4 files changed

+121
-97
lines changed

4 files changed

+121
-97
lines changed

app/app.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import Resolver from 'ember-resolver';
33
import loadInitializers from 'ember-load-initializers';
44
import config from 'ember-api-docs/config/environment';
55

6+
import './deprecation-workflow';
7+
68
export default class App extends Application {
79
modulePrefix = config.modulePrefix;
810
podModulePrefix = config.podModulePrefix;
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
self.deprecationWorkflow = self.deprecationWorkflow || {};
2-
self.deprecationWorkflow.config = {
1+
import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';
2+
3+
setupDeprecationWorkflow({
34
workflow: [
4-
{ handler: 'silence', matchId: 'ember-global' },
55
{ handler: 'silence', matchId: 'ember.component.reopen' },
66
{ handler: 'silence', matchId: 'implicit-injections' },
7-
{ handler: 'silence', matchId: 'manager-capabilities.modifiers-3-13' },
87
{ handler: 'silence', matchId: 'this-property-fallback' },
98
{ handler: 'silence', matchId: 'ember-component.is-visible' },
109
{
1110
handler: 'silence',
1211
matchId: 'deprecated-run-loop-and-computed-dot-access',
1312
},
1413
],
15-
};
14+
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"ember-cli-deploy": "^1.0.1",
7777
"ember-cli-deploy-build": "^1.1.0",
7878
"ember-cli-deploy-gzip": "^1.0.0",
79-
"ember-cli-deprecation-workflow": "^2.1.0",
79+
"ember-cli-deprecation-workflow": "^3.0.1",
8080
"ember-cli-document-title-northm": "^1.0.3",
8181
"ember-cli-fastboot": "^4.1.5",
8282
"ember-cli-htmlbars": "^6.1.1",

0 commit comments

Comments
 (0)