From 89acbe4857b8e207ef865817c294c3fdbecdc4f7 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Wed, 18 Oct 2023 13:31:36 -0700 Subject: [PATCH] stash --- packages/diagnostic/package.json | 4 ++++ packages/diagnostic/rollup.config.mjs | 2 +- packages/diagnostic/src/ember.ts | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/diagnostic/package.json b/packages/diagnostic/package.json index f766b9751e9..8b5cdaf1beb 100644 --- a/packages/diagnostic/package.json +++ b/packages/diagnostic/package.json @@ -48,6 +48,10 @@ "bun": "./server/*.js", "deno": "./server/*.js" }, + "./ember": { + "types": "./dist/ember.d.ts", + "default": "./dist/ember.js" + }, "./*": { "types": "./dist/*.d.ts", "default": "./dist/*.js" diff --git a/packages/diagnostic/rollup.config.mjs b/packages/diagnostic/rollup.config.mjs index c74dc4f6bcd..bd77ebd3e04 100644 --- a/packages/diagnostic/rollup.config.mjs +++ b/packages/diagnostic/rollup.config.mjs @@ -12,7 +12,7 @@ export default { // You can augment this if you need to. output: addon.output(), - external: ["@ember/test-helpers", "ember-cli-test-loader/test-support/index"], + external: ["@ember/test-helpers/index.js", "ember-cli-test-loader/test-support/index.js"], plugins: [ // These are the modules that users should be able to import from your diff --git a/packages/diagnostic/src/ember.ts b/packages/diagnostic/src/ember.ts index 9974a694bec..54bf3cbd274 100644 --- a/packages/diagnostic/src/ember.ts +++ b/packages/diagnostic/src/ember.ts @@ -1,5 +1,5 @@ -import { getTestMetadata, setupContext, SetupContextOptions, teardownContext, TestContext } from '@ember/test-helpers'; -import AbstractTestLoader from 'ember-cli-test-loader/test-support/index'; +import { getTestMetadata, setupContext, SetupContextOptions, teardownContext, TestContext } from '@ember/test-helpers/index.js'; +import AbstractTestLoader from 'ember-cli-test-loader/test-support/index.js'; import type { Hooks } from './-types';