From c296408777757aa778365990e0ad770d410354e6 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:28:55 -0400 Subject: [PATCH] npx ember-resources-codemod --- addon/components/data-table.js | 2 +- addon/components/meta-field.js | 2 +- package.json | 17 +++++++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/addon/components/data-table.js b/addon/components/data-table.js index a76368a7..5d4b71e1 100644 --- a/addon/components/data-table.js +++ b/addon/components/data-table.js @@ -4,7 +4,7 @@ import { inject as service } from "@ember/service"; import Component from "@glimmer/component"; import { tracked } from "@glimmer/tracking"; import { task } from "ember-concurrency"; -import { trackedTask } from "ember-resources/util/ember-concurrency"; +import { trackedTask } from "reactiveweb/ember-concurrency"; export default class DataTableComponent extends Component { @service store; diff --git a/addon/components/meta-field.js b/addon/components/meta-field.js index ece06ddf..8294cacd 100644 --- a/addon/components/meta-field.js +++ b/addon/components/meta-field.js @@ -3,7 +3,7 @@ import { action } from "@ember/object"; import { inject as service } from "@ember/service"; import Component from "@glimmer/component"; import { task } from "ember-concurrency"; -import { trackedTask } from "ember-resources/util/ember-concurrency"; +import { trackedTask } from "reactiveweb/ember-concurrency"; export default class MetaFieldComponent extends Component { @service intl; diff --git a/package.json b/package.json index f040b156..abd9a294 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "@embroider/macros": "^1.13.2", "@glimmer/component": "^1.1.2", "@glimmer/tracking": "^1.1.2", - "ember-auto-import": "^2.5.0", - "ember-cli-babel": "^7.26.11", + "ember-auto-import": "~2.7.0", + "ember-cli-babel": "~8.2.0", "ember-cli-htmlbars": "^6.3.0", "ember-composable-helpers": "^5.0.0", "ember-concurrency": "^2.1.2", @@ -57,13 +57,14 @@ "ember-intl": "^5.7.2", "ember-modifier": "^3.2.7", "ember-power-select": "^6.0.1", - "ember-resources": "^6.4.2", + "ember-resources": "^7.0.2", "ember-set-helper": "^2.0.1", "ember-test-selectors": "^6.0.0", "ember-truth-helpers": "^4.0.3", "ember-uikit": "^8.0.0", "file-saver": "^2.0.5", - "tracked-toolbox": "^2.0.0" + "tracked-toolbox": "^2.0.0", + "reactiveweb": "^1.3.0" }, "devDependencies": { "@adfinis/eslint-config": "2.0.0", @@ -75,10 +76,10 @@ "@commitlint/config-conventional": "17.6.6", "@ember/optional-features": "2.0.0", "@ember/test-helpers": "2.9.4", - "@embroider/compat": "3.1.4", - "@embroider/core": "3.1.2", + "@embroider/compat": "~3.2.1", + "@embroider/core": "~3.2.1", "@embroider/test-setup": "3.0.1", - "@embroider/webpack": "3.1.2", + "@embroider/webpack": "~3.1.5", "@faker-js/faker": "6.2.0", "broccoli-asset-rev": "3.0.0", "concurrently": "7.6.0", @@ -140,4 +141,4 @@ "resolutions": { "miragejs": "0.1.47" } -} +} \ No newline at end of file