Skip to content

Commit

Permalink
Delete util re-exports of core behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 4, 2023
1 parent e9794da commit 66cee0e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["docs", "ember-app", "@nullvoxpopuli/estimate-bytes"]
"ignore": ["docs", "test-app", "@nullvoxpopuli/estimate-bytes"]
}
6 changes: 6 additions & 0 deletions .changeset/red-badgers-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ember-resources": major
---

The import path `ember-resources/util/function-resource` has been removed,
as all the relevent exports have been available from `ember-resources` since v5.
4 changes: 0 additions & 4 deletions ember-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"./util/remote-data": "./dist/util/remote-data.js",
"./util/debounce": "./dist/util/debounce.js",
"./util/function": "./dist/util/function.js",
"./util/function-resource": "./dist/util/function-resource.js",
"./util/ember-concurrency": "./dist/util/ember-concurrency.js",
"./addon-main.js": "./addon-main.cjs"
},
Expand All @@ -44,9 +43,6 @@
"util/function": [
"dist/util/function.d.ts"
],
"util/function-resource": [
"dist/util/function-resource.d.ts"
],
"util/map": [
"dist/util/map.d.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/util/debounce.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { tracked } from '@glimmer/tracking';

import { resource } from './function-resource';
import { resource } from '../core';

class TrackedValue<T> {
@tracked value: T | undefined;
Expand Down
2 changes: 0 additions & 2 deletions ember-resources/src/util/function-resource.ts

This file was deleted.

7 changes: 0 additions & 7 deletions test-app/tests/type-tests/util/function-resource.ts

This file was deleted.

0 comments on commit 66cee0e

Please sign in to comment.