DEV: Bump dependencies and fix linting (#77)
This commit is contained in:
parent
252d5b0618
commit
a26d98258e
|
|
@ -2,7 +2,7 @@ import Component from "@glimmer/component";
|
|||
import { action } from "@ember/object";
|
||||
import { service } from "@ember/service";
|
||||
import { defaultHomepage } from "discourse/lib/utilities";
|
||||
import I18n from "discourse-i18n";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
export default class SearchBanner extends Component {
|
||||
@service router;
|
||||
|
|
@ -46,7 +46,7 @@ export default class SearchBanner extends Component {
|
|||
}
|
||||
|
||||
get buttonText() {
|
||||
const buttonText = I18n.t(themePrefix("search_banner.search_button_text"));
|
||||
const buttonText = i18n(themePrefix("search_banner.search_button_text"));
|
||||
// this is required for when the English (US) locale is empty
|
||||
// and the site locale is set to another language
|
||||
// otherwise the English (US) fallback key is rendered as the button text
|
||||
|
|
|
|||
13
package.json
13
package.json
|
|
@ -1,15 +1,16 @@
|
|||
{
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@discourse/lint-configs": "2.2.2",
|
||||
"ember-template-lint": "6.0.0",
|
||||
"eslint": "9.15.0",
|
||||
"@discourse/lint-configs": "2.4.0",
|
||||
"ember-template-lint": "6.1.0",
|
||||
"eslint": "9.19.0",
|
||||
"prettier": "2.8.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18",
|
||||
"node": ">= 22",
|
||||
"npm": "please-use-pnpm",
|
||||
"yarn": "please-use-pnpm",
|
||||
"pnpm": ">= 9"
|
||||
}
|
||||
"pnpm": "9.x"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.5"
|
||||
}
|
||||
|
|
|
|||
1317
pnpm-lock.yaml
1317
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue