Skip to content

Commit

Permalink
fix(cache): specify file extension to appease embroider
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 23, 2022
1 parent bb25de3 commit 828beae
Show file tree
Hide file tree
Showing 10 changed files with 1,040 additions and 455 deletions.
2 changes: 1 addition & 1 deletion ember-resources/src/-private/ember-concurrency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { getValue } from '@glimmer/tracking/primitives/cache';
import { getValue } from '@glimmer/tracking/primitives/cache.js';
import { assert } from '@ember/debug';
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/resources/lifecycle.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// typed-ember has not published types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { createCache, getValue } from '@glimmer/tracking/primitives/cache';
import { createCache, getValue } from '@glimmer/tracking/primitives/cache.js';
import { setOwner } from '@ember/application';
import { associateDestroyableChild, registerDestructor } from '@ember/destroyable';
// typed-ember has not published types for this yet
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/resources/simple.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// typed-ember has not published types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { createCache, getValue } from '@glimmer/tracking/primitives/cache';
import { createCache, getValue } from '@glimmer/tracking/primitives/cache.js';
import { getOwner, setOwner } from '@ember/application';
import { associateDestroyableChild, destroy } from '@ember/destroyable';
// typed-ember has not published types for this yet
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/tracked-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { getValue } from '@glimmer/tracking/primitives/cache';
import { getValue } from '@glimmer/tracking/primitives/cache.js';
import { assert } from '@ember/debug';
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/use-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { getValue } from '@glimmer/tracking/primitives/cache';
import { getValue } from '@glimmer/tracking/primitives/cache.js';
import { assert } from '@ember/debug';
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/use-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { getValue } from '@glimmer/tracking/primitives/cache';
import { getValue } from '@glimmer/tracking/primitives/cache.js';
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion ember-resources/src/-private/use-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { getValue } from '@glimmer/tracking/primitives/cache';
import { getValue } from '@glimmer/tracking/primitives/cache.js';
import { assert } from '@ember/debug';
// typed-ember has not publihsed types for this yet
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Expand Down
12 changes: 6 additions & 6 deletions testing/ember-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
"test:ember": "ember test"
},
"dependencies": {
"@embroider/macros": "^0.48.1",
"@embroider/macros": "^0.50.2",
"ember-concurrency": "^2.0.0",
"ember-concurrency-ts": "^0.3.1",
"ember-resources": "*"
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.6.0",
"@ember/test-waiters": "^3.0.0",
"@embroider/test-setup": "^0.48.1",
"@ember/test-waiters": "^3.0.1",
"@embroider/test-setup": "^0.50.2",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@nullvoxpopuli/eslint-configs": "^2.1.1",
Expand Down Expand Up @@ -65,10 +65,10 @@
"@types/rsvp": "^4.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "2.2.4",
"ember-auto-import": "2.3.0",
"ember-cli": "~4.0.1",
"ember-cli-app-version": "^5.0.0",
"ember-cli-babel": "^7.26.6",
"ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-htmlbars": "^6.0.0",
"ember-cli-inject-live-reload": "^2.1.0",
Expand Down Expand Up @@ -101,7 +101,7 @@
"qunit": "^2.16.0",
"qunit-dom": "^2.0.0",
"typescript": "^4.4.4",
"webpack": "^5.61.0"
"webpack": "^5.66.0"
},
"engines": {
"node": "12.* || 14.* || >= 16"
Expand Down
10 changes: 5 additions & 5 deletions testing/ember-concurrency-v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.6.0",
"@ember/test-waiters": "^3.0.0",
"@embroider/test-setup": "^0.48.1",
"@ember/test-waiters": "^3.0.1",
"@embroider/test-setup": "^0.50.2",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@nullvoxpopuli/eslint-configs": "^2.1.1",
Expand Down Expand Up @@ -66,10 +66,10 @@
"@types/rsvp": "^4.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "2.2.4",
"ember-auto-import": "2.3.0",
"ember-cli": "~4.0.1",
"ember-cli-app-version": "^5.0.0",
"ember-cli-babel": "^7.26.6",
"ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-htmlbars": "^6.0.0",
"ember-cli-inject-live-reload": "^2.1.0",
Expand Down Expand Up @@ -102,7 +102,7 @@
"qunit": "^2.16.0",
"qunit-dom": "^2.0.0",
"typescript": "^4.5.2",
"webpack": "^5.61.0"
"webpack": "^5.66.0"
},
"engines": {
"node": "12.* || 14.* || >= 16"
Expand Down
Loading

0 comments on commit 828beae

Please sign in to comment.