Skip to content

Commit

Permalink
refactor: update deprecation workflow list (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredgalanis authored Jun 27, 2024
1 parent 1d4f609 commit cd2ef74
Show file tree
Hide file tree
Showing 5 changed files with 1,012 additions and 23 deletions.
1 change: 1 addition & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Application from '@ember/application';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';
import './deprecation-workflow';

export default class App extends Application {
modulePrefix = config.modulePrefix;
Expand Down
14 changes: 14 additions & 0 deletions app/deprecation-workflow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';

setupDeprecationWorkflow({
workflow: [
{ handler: 'silence', matchId: 'ember-simple-auth.initializer.setup-session-restoration' },
{ handler: 'silence', matchId: 'ember-data:deprecate-non-strict-relationships' },
{ handler: 'silence', matchId: 'ember-data:deprecate-early-static' },
{ handler: 'silence', matchId: 'ensure-safe-component.string' },
{ handler: 'silence', matchId: 'routing.transition-methods' },
{ handler: 'silence', matchId: 'ember-data:deprecate-promise-many-array-behaviors' },
{ handler: 'silence', matchId: 'ember-data:deprecate-array-like' },
{ handler: 'silence', matchId: 'ember-data:no-a-with-array-like' },
],
});
12 changes: 0 additions & 12 deletions config/deprecation-workflow.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"ember-cli-content-security-policy": "^2.0.3",
"ember-cli-dependency-checker": "^3.3.2",
"ember-cli-dependency-lint": "^2.0.1",
"ember-cli-deprecation-workflow": "^2.1.0",
"ember-cli-deprecation-workflow": "github:mixonic/ember-cli-deprecation-workflow#master",
"ember-cli-flash": "^4.0.0",
"ember-cli-htmlbars": "^6.1.1",
"ember-cli-inject-live-reload": "^2.1.0",
Expand Down
Loading

0 comments on commit cd2ef74

Please sign in to comment.