Skip to content

Commit

Permalink
Replaced @types/ember__* with native types (#150)
Browse files Browse the repository at this point in the history
* chore: Temporarily committed declarations

* refactor: Replaced @types/ember__* with native types

* chore: Added lockfile

* Revert "chore: Temporarily committed declarations"

This reverts commit 054ee20.

* chore: Removed preview types

* chore: Added changeset

---------

Co-authored-by: ijlee2 <[email protected]>
  • Loading branch information
ijlee2 and ijlee2 authored Aug 13, 2024
1 parent c86baa8 commit 9f02ca2
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 26 deletions.
11 changes: 11 additions & 0 deletions .changeset/large-beers-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"my-app-with-ember-css-modules": patch
"embroider-css-modules": patch
"test-app-for-embroider-css-modules": patch
"test-app-for-my-v2-addon": patch
"my-v1-addon": patch
"my-v2-addon": patch
"my-app": patch
---

Replaced @types/ember\_\_\* with native types
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';
import 'ember-source/types/preview';

import type { HelperLike } from '@glint/template';
import type EmberPageTitleRegistry from 'ember-page-title/template-registry';
Expand Down
1 change: 0 additions & 1 deletion docs/my-app/types/my-app/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';
import 'ember-source/types/preview';

import type { ComponentLike } from '@glint/template';
import type EmberContainerQueryRegistry from 'ember-container-query/template-registry';
Expand Down
1 change: 0 additions & 1 deletion docs/my-v1-addon/types/dummy/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';
import 'ember-source/types/preview';

import type EmberContainerQueryRegistry from 'ember-container-query/template-registry';
import type EmberPageTitleRegistry from 'ember-page-title/template-registry';
Expand Down
1 change: 1 addition & 0 deletions docs/my-v2-addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"@shared-configs/typescript": "workspace:*",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^8.2.2",
"ember-source": "~5.10.2",
"ember-template-lint": "^6.0.0",
"eslint": "^8.57.0",
"postcss": "^8.4.36",
Expand Down
1 change: 1 addition & 0 deletions docs/my-v2-addon/unpublished-development-types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';

import type EmbroiderCssModulesRegistry from 'embroider-css-modules/template-registry';

Expand Down
3 changes: 1 addition & 2 deletions packages/embroider-css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@
"@shared-configs/eslint-config-ember": "workspace:*",
"@shared-configs/prettier": "workspace:*",
"@shared-configs/typescript": "workspace:*",
"@types/ember__component": "^4.0.22",
"@types/ember__debug": "^4.0.8",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^8.2.2",
"ember-source": "~5.10.2",
"ember-template-lint": "^6.0.0",
"eslint": "^8.57.0",
"prettier": "^3.3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';

import type EmbroiderCssModulesRegistry from '../src/template-registry.ts';

Expand Down
89 changes: 70 additions & 19 deletions pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';
import 'ember-source/types/preview';

import type EmberPageTitleRegistry from 'ember-page-title/template-registry';
import type EmbroiderCssModulesRegistry from 'embroider-css-modules/template-registry';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';
import 'ember-source/types';
import 'ember-source/types/preview';

import type EmberPageTitleRegistry from 'ember-page-title/template-registry';
import type MyV2AddonRegistry from 'my-v2-addon/template-registry';
Expand Down

0 comments on commit 9f02ca2

Please sign in to comment.