Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Dec 21, 2024
1 parent baf399f commit 9af9bfa
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Controller from '@ember/controller';
import Route from '@ember/routing/route';
import { service } from '@ember/service';
import { Component } from '@ember/-internals/glimmer';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { set } from '@ember/object';
import { backtrackingMessageFor } from '../../utils/debug-stack';
import { runTask } from '../../../../../../internal-test-helpers/lib/run';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { action } from '@ember/object';
import { run } from '@ember/runloop';
import { DEBUG } from '@glimmer/env';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { alias } from '@ember/object/computed';
import { on } from '@ember/object/evented';
import Service, { service } from '@ember/service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import EmberObject from '@ember/object';
import { A } from '@ember/array';
import ArrayProxy from '@ember/array/proxy';
import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { computed, get, set } from '@ember/object';
import { Promise } from 'rsvp';
import { moduleFor, RenderingTestCase, strip, runTask } from 'internal-test-helpers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { Component } from '@ember/-internals/glimmer';
import { setModifierManager, modifierCapabilities } from '@glimmer/manager';
import EmberObject, { set } from '@ember/object';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { backtrackingMessageFor } from '../utils/debug-stack';

class ModifierManagerTest extends RenderingTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DEBUG } from '@glimmer/env';
import { helperCapabilities, setHelperManager, setModifierManager } from '@glimmer/manager';
import { RenderingTestCase, moduleFor, runTask } from 'internal-test-helpers';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { set } from '@ember/object';
import { setOwner } from '@ember/-internals/owner';
import Service, { service } from '@ember/service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { RenderingTestCase, moduleFor, runTask } from 'internal-test-helpers';
import { helperCapabilities, setHelperManager } from '@glimmer/manager';
import { Helper, helper, Component as EmberComponent } from '@ember/-internals/glimmer';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { set } from '@ember/object';
import { getOwner } from '@ember/-internals/owner';
import Service, { service } from '@ember/service';
Expand Down
2 changes: 1 addition & 1 deletion packages/@ember/-internals/metal/tests/cached/get_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AbstractTestCase, moduleFor } from 'internal-test-helpers';
import { cached, tracked } from '../..';
import { cached, tracked } from '@glimmer/tracking';

moduleFor(
'@cached decorator: get',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import EmberObject, { computed, observer } from '@ember/object';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import { dependentKeyCompat } from '@ember/object/compat';
import { moduleFor, AbstractTestCase, runLoopSettled } from 'internal-test-helpers';

Expand Down
5 changes: 5 additions & 0 deletions packages/@glimmer/tracking/addon-main.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node */
'use strict';

const { addonV1Shim } = require('@embroider/addon-shim');
module.exports = addonV1Shim(__dirname);
37 changes: 35 additions & 2 deletions packages/@glimmer/tracking/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
{
"name": "@glimmer/tracking",
"private": true,
"version": "2.0.0",
"description": "Glimmer tracking library",
"license": "MIT",
"type": "module",
"keywords": [
"ember-addon"
],
"exports": {
".": "./index.ts",
"./primitives/cache": "./primitives/cache.ts"
},
"publishConfig": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./primitives/cache": {
"types": "./dist/primitives/cache.d.ts",
"default": "./dist/primitives/cache.js"
}
},
"typesVersions": {
"*": {
"*": [
"dist/*"
]
}
},
"dependencies": {
"@embroider/addon-shim": "^1.8.9",
"@glimmer/env": "^0.1.7",
"@ember/-internals": "workspace:*"
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"version": 2,
"type": "addon",
"main": "addon-main.cjs"
}
}
}

2 changes: 1 addition & 1 deletion packages/ember/tests/routing/query_params_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { RSVP } from '@ember/-internals/runtime';
import { A as emberA } from '@ember/array';
import { run } from '@ember/runloop';
import { peekMeta } from '@ember/-internals/meta';
import { tracked } from '@ember/-internals/metal';
import { tracked } from '@glimmer/tracking';
import Route from '@ember/routing/route';
import { PARAMS_SYMBOL } from 'router_js';
import { service } from '@ember/service';
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9af9bfa

Please sign in to comment.