Skip to content

Commit

Permalink
Upgrade to ember-page-title@v8.2.0, which provides its own types now
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 8, 2024
1 parent ceccff4 commit b1bb883
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 16 deletions.
54 changes: 42 additions & 12 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tests/min-supportetd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"ember-functions-as-helper-polyfill": "2.1.2",
"ember-load-initializers": "^2.1.2",
"ember-modifier": "^4.1.0",
"ember-page-title": "^8.1.0",
"ember-page-title": "^8.2.0",
"ember-qunit": "^8.0.2",
"ember-resolver": "^11.0.1",
"ember-source": "~3.28.0",
Expand Down
1 change: 0 additions & 1 deletion tests/test-app/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{! @glint-expect-error }}
{{page-title "TestApp"}}

<h2 id="title">Welcome to Ember</h2>
Expand Down
3 changes: 1 addition & 2 deletions tests/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"lint:js:fix": "eslint . --fix",
"lint:prettier": "prettier -c .",
"lint:prettier:fix": "prettier -w .",
"lint:types": "glint",
"_syncPnpm": "pnpm sync-dependencies-meta-injected",
"start": "concurrently 'ember serve' 'pnpm _syncPnpm --watch' --names 'tests serve,tests sync deps'",
"test:ember": "pnpm _syncPnpm && ember test --test-port 0"
Expand Down Expand Up @@ -64,7 +63,7 @@
"ember-cli-inject-live-reload": "^2.1.0",
"ember-load-initializers": "^2.1.2",
"ember-modifier": "^4.1.0",
"ember-page-title": "^8.1.0",
"ember-page-title": "^8.2.0",
"ember-qunit": "^8.0.2",
"ember-resolver": "^11.0.1",
"ember-source": "~5.4.0",
Expand Down
8 changes: 8 additions & 0 deletions tests/test-app/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
import '@glint/environment-ember-loose';

import type PageTitle from 'ember-page-title/template-registry';

declare module '@glint/environment-ember-loose/registry' {
export default interface Registry extends PageTitle {
/* your local loose-mode entries here */
}
}

0 comments on commit b1bb883

Please sign in to comment.