diff --git a/mon-pix/config/deprecation-workflow.js b/mon-pix/config/deprecation-workflow.js new file mode 100644 index 00000000000..c802f0a3896 --- /dev/null +++ b/mon-pix/config/deprecation-workflow.js @@ -0,0 +1,12 @@ +// eslint-disable-next-line no-undef +self.deprecationWorkflow = self.deprecationWorkflow || {}; +// eslint-disable-next-line no-undef +self.deprecationWorkflow.config = { + workflow: [ + { handler: 'silence', matchId: 'ember-polyfills.deprecate-assign' }, + { handler: 'silence', matchId: 'deprecate-ember-error' }, + { handler: 'silence', matchId: 'ember-data:deprecate-promise-many-array-behaviors' }, + { handler: 'silence', matchId: 'ember-data:deprecate-store-find' }, + { handler: 'silence', matchId: 'ember-data:deprecate-array-like' }, + ], +}; diff --git a/mon-pix/package-lock.json b/mon-pix/package-lock.json index ff50a83754b..2517d6d8314 100644 --- a/mon-pix/package-lock.json +++ b/mon-pix/package-lock.json @@ -47,6 +47,7 @@ "ember-cli-babel": "^8.0.0", "ember-cli-clipboard": "^1.0.0", "ember-cli-dependency-checker": "^3.3.1", + "ember-cli-deprecation-workflow": "^2.2.0", "ember-cli-head": "^2.0.0", "ember-cli-htmlbars": "^6.1.1", "ember-cli-inject-live-reload": "^2.1.0", @@ -27846,6 +27847,21 @@ "node": ">= 4.0.0" } }, + "node_modules/ember-cli-deprecation-workflow": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ember-cli-deprecation-workflow/-/ember-cli-deprecation-workflow-2.2.0.tgz", + "integrity": "sha512-23bXZqZJBJSKBTfT0LK7qzSJX861TgafL6RVdMfn/iubpLnoZIWergYwEdgs24CNTUbuehVbHy2Q71o8jYfwfw==", + "dev": true, + "dependencies": { + "@ember/string": "^3.0.0", + "broccoli-funnel": "^3.0.3", + "broccoli-merge-trees": "^4.2.0", + "broccoli-plugin": "^4.0.5" + }, + "engines": { + "node": "12.* || 14.* || >= 16" + } + }, "node_modules/ember-cli-get-component-path-option": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/ember-cli-get-component-path-option/-/ember-cli-get-component-path-option-1.0.0.tgz", diff --git a/mon-pix/package.json b/mon-pix/package.json index b9899772984..5496e8055dc 100644 --- a/mon-pix/package.json +++ b/mon-pix/package.json @@ -78,6 +78,7 @@ "ember-cli-babel": "^8.0.0", "ember-cli-clipboard": "^1.0.0", "ember-cli-dependency-checker": "^3.3.1", + "ember-cli-deprecation-workflow": "^2.2.0", "ember-cli-head": "^2.0.0", "ember-cli-htmlbars": "^6.1.1", "ember-cli-inject-live-reload": "^2.1.0",