Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update to latest `@glint/ember-tsc` (#35337)

David Taylor288e2e1ccb9d
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 8f1e944292e..b7c98ab4d50 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -29,7 +29,7 @@
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"lifeart.vscode-glimmer-syntax",
- "typed-ember.glint-vscode",
+ "typed-ember.glint2-vscode",
"stylelint.vscode-stylelint"
]
}
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index ef82a49b843..f7031a46243 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -5,7 +5,7 @@
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"lifeart.vscode-glimmer-syntax",
- "typed-ember.glint-vscode",
- "stylelint.vscode-stylelint"
+ "typed-ember.glint2-vscode",
+ "stylelint.vscode-stylelint",
]
}
diff --git a/app/assets/javascripts/discourse/app/components/post/quoted-content.gjs b/app/assets/javascripts/discourse/app/components/post/quoted-content.gjs
index f2684d7542d..096f89ebf55 100644
--- a/app/assets/javascripts/discourse/app/components/post/quoted-content.gjs
+++ b/app/assets/javascripts/discourse/app/components/post/quoted-content.gjs
@@ -27,7 +27,7 @@ export default class PostQuotedContent extends Component {
this.args.expanded ??
false;
- applyWrapperDataAttributes = modifierFn((_, [target], data) => {
+ applyWrapperDataAttributes = modifierFn((_, [target, data]) => {
const attributes = Object.entries(data);
if (!target || attributes.length === 0) {
return null;
@@ -203,7 +203,7 @@ export default class PostQuotedContent extends Component {
(modifier
this.applyWrapperDataAttributes
@wrapperElement
- expanded=this.expanded
+ (hash expanded=this.expanded)
)
)}}
>
diff --git a/jsconfig.json b/jsconfig.json
index 3fbbdef3bfe..e082cd0e8b1 100644
--- a/jsconfig.json
+++ b/jsconfig.json
@@ -234,6 +234,8 @@
"./plugins/discourse-apple-auth/test/javascripts",
"./plugins/discourse-assign/assets/javascripts",
"./plugins/discourse-assign/test/javascripts",
+ "./plugins/discourse-cakeday/assets/javascripts",
+ "./plugins/discourse-cakeday/test/javascripts",
"./plugins/discourse-calendar/assets/javascripts",
"./plugins/discourse-calendar/test/javascripts",
"./plugins/discourse-chat-integration/assets/javascripts",
@@ -306,15 +308,6 @@
"./themes/horizon/test"
],
"exclude": [
- "app/assets/javascripts/discourse/tests/unit/utils/decorators-test.js",
- "app/assets/javascripts/discourse/tests/integration/component-templates-test.gjs",
- "**/*.hbs"
- ],
- "glint": {
- "environment": [
- "ember-loose",
- "ember-template-imports"
- ],
- "checkStandaloneTemplates": false
- }
+ "app/assets/javascripts/discourse/tests/unit/utils/decorators-test.js"
+ ]
}
diff --git a/package.json b/package.json
index f364c35b610..4ee91ca5428 100644
--- a/package.json
+++ b/package.json
@@ -9,10 +9,7 @@
"@discourse/lint-configs": "^2.32.0",
"@discourse/moment-timezone-names-translations": "^1.0.0",
"@fortawesome/fontawesome-free": "6.7.2",
- "@glint/core": "^2.0.0-alpha.3",
- "@glint/environment-ember-loose": "^2.0.0-alpha.3",
- "@glint/environment-ember-template-imports": "^2.0.0-alpha.3",
- "@glint/template": "^1.6.0-alpha.2",
+ "@glint/ember-tsc": "^1.0.3",
"@rdil/parallel-prettier": "^3.0.0",
"@swc/core": "^1.13.5",
"chrome-launcher": "^1.2.1",
@@ -46,7 +43,7 @@
"lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' 'themes/**/*.{gjs,hbs}' --fix",
"lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}') 'themes/**/*.{js,gjs,hbs,scss}'",
"lint:prettier:fix": "pnpm prettier -w --no-error-on-unmatched-pattern 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs,css}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets,test}/javascripts/**/*.{js,gjs,hbs}') 'themes/**/*.{js,gjs,hbs,scss}'",
- "lint:glint": "glint -p jsconfig.json --noEmit",
+ "lint:glint": "ember-tsc -p jsconfig.json --noEmit",
"lttf:ignore": "lint-to-the-future ignore",
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
"lint-progress": "pnpm lttf:output && npx html-pages ./lint-progress --no-cache",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ede5925df73..1d51e16fc10 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -43,18 +43,9 @@ importers:
'@fortawesome/fontawesome-free':
specifier: 6.7.2
version: 6.7.2
- '@glint/core':
- specifier: ^2.0.0-alpha.3
- version: 2.0.0-alpha.3([email protected])
- '@glint/environment-ember-loose':
- specifier: ^2.0.0-alpha.3
- '@glint/environment-ember-template-imports':
- specifier: ^2.0.0-alpha.3
- '@glint/template':
- specifier: ^1.6.0-alpha.2
- version: 1.6.0-alpha.2
+ '@glint/ember-tsc':
+ specifier: ^1.0.3
+ version: 1.0.3([email protected])
'@rdil/parallel-prettier':
specifier: ^3.0.0
version: 3.0.0([email protected])
@@ -139,7 +130,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -219,7 +210,7 @@ importers:
version: 8.1.4
ember-auto-import:
specifier: ^2.11.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -416,31 +407,31 @@ importers:
version: 2.2.0
'@ember/render-modifiers':
specifier: ^3.0.0
- version: 3.0.0(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
+ version: 3.0.0(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
'@ember/string':
specifier: ^4.0.1
version: 4.0.1
'@ember/test-helpers':
specifier: ^5.3.0
- version: 5.3.0(@babel/[email protected])(@glint/[email protected])
+ version: 5.3.0(@babel/[email protected])(@glint/[email protected])
'@ember/test-waiters':
specifier: 4.1.1
- version: 4.1.1(@glint/[email protected])
+ version: 4.1.1(@glint/[email protected])
'@embroider/compat':
specifier: ^3.8.5
- version: 3.8.5(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
+ version: 3.8.5(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
'@embroider/core':
specifier: ^3.5.5
- version: 3.5.5(@glint/[email protected])
+ version: 3.5.5(@glint/[email protected])
'@embroider/macros':
specifier: ^1.16.12
- version: 1.19.1(@glint/[email protected])
+ version: 1.19.1(@glint/[email protected])
'@embroider/router':
specifier: ^2.1.8
- version: 2.1.8(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
+ version: 2.1.8(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
'@embroider/webpack':
specifier: ^4.1.0
'@floating-ui/dom':
specifier: ^1.7.4
version: 1.7.4
@@ -521,16 +512,16 @@ importers:
version: link:../discourse-plugins
ember-async-data:
specifier: ^2.0.1
- version: 2.0.1(@babel/[email protected])(@glint/[email protected])
+ version: 2.0.1(@babel/[email protected])(@glint/[email protected])
ember-auto-import:
specifier: ^2.11.1
ember-buffered-proxy:
specifier: ^2.1.1
version: 2.1.1(@babel/[email protected])
ember-cached-decorator-polyfill:
specifier: ^1.0.2
- version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
+ version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
ember-cli:
specifier: ~6.6.0
@@ -563,7 +554,7 @@ importers:
version: 6.1.1
ember-exam:
specifier: ^10.0.0
ember-load-initializers:
specifier: ^3.0.1
version: 3.0.1([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
@@ -572,7 +563,7 @@ importers:
version: 4.2.2(@babel/[email protected])
ember-qunit:
specifier: ^9.0.4
ember-source:
specifier: ~6.6.0
version: 6.6.0(patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected])
@@ -674,7 +665,7 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.11.1
markdown-it:
specifier: 14.0.0
version: 14.0.0
@@ -726,7 +717,7 @@ importers:
version: 7.28.4([email protected])
ember-auto-import:
specifier: ^2.11.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -739,7 +730,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -792,13 +783,13 @@ importers:
version: 7.28.4([email protected])
'@ember/render-modifiers':
specifier: ^3.0.0
- version: 3.0.0(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
+ version: 3.0.0(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
'@floating-ui/dom':
specifier: ^1.7.4
version: 1.7.4
ember-auto-import:
specifier: ^2.11.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -820,7 +811,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -880,7 +871,7 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.11.1
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -896,7 +887,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -965,10 +956,10 @@ importers:
version: link:../discourse-i18n
ember-auto-import:
specifier: ^2.11.1
ember-cached-decorator-polyfill:
specifier: ^1.0.2
- version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
+ version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))
ember-cli-babel:
specifier: ^8.2.0
version: 8.2.0(@babel/[email protected])
@@ -990,7 +981,7 @@ importers:
version: 2.2.0
'@embroider/test-setup':
specifier: ^4.0.0
'@glimmer/component':
specifier: ^2.0.0
version: 2.0.0
@@ -1144,7 +1135,7 @@ importers:
version: 1.10.0
ember-auto-import:
specifier: ^2.11.1
packages:
@@ -2303,35 +2294,14 @@ packages:
'@glimmer/[email protected]':
resolution: {integrity: sha512-A+Cp5m6vZMAEu0Kg/YwU2dJZXyYxVJs2zI57d3CP6NctmX7FsT8WjViiRUmt5abVmMmRH5b8BUovqY6GSMAdrw==}
- '@glint/[email protected]':
- resolution: {integrity: sha512-PCiajENyPfNkFfSDhqIcQ0DXzJZrPc1g7v5o8FyLDtvSwmM+/wlmpI4yJDXgo2TGJKFowjSOY1MKFRMiEd36GA==}
+ '@glint/[email protected]':
+ resolution: {integrity: sha512-EDWJJl0Bz7GCfGh6CzfAAy2a6AATjkH1qh0Dz7ERgJj1WUfe+liWZCoBHs1bDbexNrEPoUdkOZCzqFObaP9NBA==}
hasBin: true
peerDependencies:
typescript: '>=5.6.0'
- '@glint/[email protected]':
- resolution: {integrity: sha512-hLogEykHVUwC+aElg8W1XMp9edcxiKO+ZZufrWcgHUBFTtsoJCP8jWYb0H+1XgLTEnnSV+2OyO6yMPsegGUWkg==}
- peerDependencies:
- '@glimmer/component': '>=1.1.2'
- '@glint/core': '*'
- '@glint/template': '*'
- ember-cli-htmlbars: ^6.0.1
- ember-modifier: ^3.2.7 || ^4.0.0
- peerDependenciesMeta:
- ember-cli-htmlbars:
- optional: true
- ember-modifier:
- optional: true
-
- '@glint/[email protected]':
- resolution: {integrity: sha512-OLcmZ1MtHyyt5LZqUUdBxBviUV8apoXzb46yBNn68JREzzkkmVQIKr4YZuNtwrmGrmUMGGr7G5og56rWur0IXw==}
- peerDependencies:
- '@glint/core': '*'
- '@glint/environment-ember-loose': '*'
- '@glint/template': '*'
-
- '@glint/[email protected]':
- resolution: {integrity: sha512-T1jnkJ4g9kj4CQFdax6/AE8rdd8S5+1/88l63w1xPjfSByhKt3ES6Noko3fPx9WhV7gZxalgg6sjBoZlhPZabg==}
+ '@glint/[email protected]':
+ resolution: {integrity: sha512-/VuVbS+p2ON/qYVlTljIBnNMR3eUiu202uXdYJHTQ7bfFWmLija+ZfdgQCjdm83uZUMXQqtWvjOwwFXe5cvPtg==}
'@handlebars/[email protected]':
resolution: {integrity: sha512-EP9uEDZv/L5Qh9IWuMUGJRfwhXJ4h1dqKTT4/3+tY0eu7sPis7xh23j61SYUnNF4vqCQvvUXpDo9Bh/+q1zASA==}
@@ -3034,28 +3004,28 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-f9JE8oy9C2rBcCWxUYKUF23hOXz4mwgVXFjk7nHhxzplaoVjEOsKpBm8NI2nBH7Cwu8DRxDwBsbIxMl/8wlLxw==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-YuUIzo9zwC2IkN7FStIcVl1YS9w5vkSFEZfPvnu0IbIMaR9WHhc9ZxvlT+91vrcSoRY469H2jwbrGqpG7m1KaQ==}
peerDependencies:
typescript: '*'
- '@volar/[email protected]':
- resolution: {integrity: sha512-RLrFdXEaQBWfSnYGVxvR2WrO6Bub0unkdHYIdC31HzIEqATIuuhRRzYu76iGPZ6OtA4Au1SnW0ZwIqPP217YhA==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-hEEd5ET/oSmBC6pi1j6NaNYRWoAiDhINbT8rmwtINugR39loROSlufGdYMF9TaKGfz+ViGs1Idi3mAhnuPcoGQ==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-KC0YqTXCZMaImMWyAKC+dLB2BXjfz80kqesJkV6oXxJsGEQPfmdqug299idwtrT6FVSmZ7q5UrPfvgKwA0S3JA==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-k0iO+tybMGMMyrNdWOxgFkP0XJTdbH0w+WZlM54RzJU3WZSjHEupwL30klpM7ep4FO6qyQa03h+VcGHD4Q8gEg==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-nifOPGYYPnCmxja6/ML/Gl2EgFkUdw4gLbYqbh8FjqX3gSpXSZl/0ebqORjKo1KW56YWHWRZd1jFutEtCiRYhA==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-h5mU9DZ/6u3LCB9xomJtorNG6awBNnk9VuCioGsp6UtFiM8amvS5FcsaC3dabdL9zO0z+Gq9vIEMb/5u9K6jGQ==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-bUFIKvn2U0AWojOaqf63ER0N/iHIBYZPpNGogfLPQ68F5Eet6FnLlyho7BS0y2HJ1jFhSif7AcuTx1TqsCzRzw==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-Z1Uc8IB57Lm6k7q6KIDu/p+JWtf3xsXJqAX/5r18hYOTpJyBn0KXUR8oTJ4WFYOcDzWC9n3IflGgHowx6U6z9Q==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-8nIP0qGt1jANEuWY8Pm5658UsxbWl3p4N5XUNA/SZmuHvb9C3vygjLIWFHf0+Apbvy6yNwbKsRxawoYCoh+kkQ==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-ZF3Ejtv6mfwXHuR6aZGsh1ksvAdSZUfWKGacXa9S+Mnc3MpSPgxzHN3PwdXGt26HfRDWGuykJc8y6lVs20dDKw==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-HJB73OTJDgPc80K30wxi3if4fSsZZAOScbj2fcicMuOPoOkcf9NNAINb33o+DzhBdF9xTKC1gnPmIRDous5S0g==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-lAB5zJghWxVPqfcStmAP1ZqQacMpe90UrP5RJ3arDyrhy4aCUQqmxPPLB2PWDKugvylmO41ljK7vZ+t6INMTag==}
'@vscode/[email protected]':
resolution: {integrity: sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==}
@@ -10254,25 +10224,25 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@ember/[email protected](@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))':
+ '@ember/[email protected](@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected]))':
dependencies:
'@babel/core': 7.28.4([email protected])
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
ember-cli-babel: 8.2.0(@babel/[email protected])
ember-modifier-manager-polyfill: 1.2.0(@babel/[email protected])
ember-source: 6.6.0(patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected])
optionalDependencies:
- '@glint/template': 1.6.0-alpha.2
+ '@glint/template': 1.6.1
transitivePeerDependencies:
- supports-color
'@ember/[email protected]': {}
dependencies:
- '@ember/test-waiters': 4.1.1(@glint/[email protected])
+ '@ember/test-waiters': 4.1.1(@glint/[email protected])
'@embroider/addon-shim': 1.10.0
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
'@simple-dom/interface': 1.4.0
decorator-transforms: 2.3.0(@babel/[email protected])
dom-element-descriptors: 0.5.1
@@ -10281,10 +10251,10 @@ snapshots:
- '@glint/template'
- supports-color
dependencies:
'@embroider/addon-shim': 1.10.0
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
transitivePeerDependencies:
- '@glint/template'
- supports-color
@@ -10298,16 +10268,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.28.4([email protected])
- '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
transitivePeerDependencies:
- supports-color
- webpack
dependencies:
'@babel/code-frame': 7.27.1
'@babel/core': 7.28.4([email protected])
@@ -10318,8 +10288,8 @@ snapshots:
'@babel/preset-env': 7.28.3(@babel/[email protected])([email protected])
'@babel/runtime': 7.28.2
'@babel/traverse': 7.28.4([email protected])
- '@embroider/core': 3.5.5(@glint/[email protected])
- '@embroider/macros': 1.16.12(@glint/[email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/macros': 1.16.12(@glint/[email protected])
'@types/babel__code-frame': 7.0.6
'@types/yargs': 17.0.33
assert-never: 1.4.0
@@ -10360,12 +10330,12 @@ snapshots:
- supports-color
- utf-8-validate
- '@embroider/[email protected](@glint/[email protected])':
+ '@embroider/[email protected](@glint/[email protected])':
dependencies:
'@babel/core': 7.28.4([email protected])
'@babel/parser': 7.28.4
'@babel/traverse': 7.28.4([email protected])
- '@embroider/macros': 1.16.12(@glint/[email protected])
+ '@embroider/macros': 1.16.12(@glint/[email protected])
'@embroider/shared-internals': 2.9.0([email protected])
assert-never: 1.4.0
babel-plugin-ember-template-compilation: 2.4.1
@@ -10394,12 +10364,12 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
- '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
webpack: 5.99.9(@swc/[email protected])([email protected])
- '@embroider/[email protected](@glint/[email protected])':
+ '@embroider/[email protected](@glint/[email protected])':
dependencies:
'@embroider/shared-internals': 2.9.0([email protected])
assert-never: 1.4.0
@@ -10410,11 +10380,11 @@ snapshots:
resolve: 1.22.10
semver: 7.7.2
optionalDependencies:
- '@glint/template': 1.6.0-alpha.2
+ '@glint/template': 1.6.1
transitivePeerDependencies:
- supports-color
- '@embroider/[email protected](@glint/[email protected])':
+ '@embroider/[email protected](@glint/[email protected])':
dependencies:
'@embroider/shared-internals': 3.0.1
assert-never: 1.4.0
@@ -10425,16 +10395,16 @@ snapshots:
resolve: 1.22.10
semver: 7.7.2
optionalDependencies:
- '@glint/template': 1.6.0-alpha.2
+ '@glint/template': 1.6.1
transitivePeerDependencies:
- supports-color
dependencies:
- '@ember/test-waiters': 4.1.1(@glint/[email protected])
+ '@ember/test-waiters': 4.1.1(@glint/[email protected])
'@embroider/addon-shim': 1.10.0
optionalDependencies:
- '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
transitivePeerDependencies:
- '@glint/template'
- supports-color
@@ -10491,22 +10461,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
lodash: 4.17.21
resolve: 1.22.10
optionalDependencies:
- '@embroider/compat': 3.8.5(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
- '@embroider/core': 3.5.5(@glint/[email protected])
- '@embroider/webpack': 4.1.0(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
+ '@embroider/compat': 3.8.5(@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/webpack': 4.1.0(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
dependencies:
'@babel/core': 7.28.4([email protected])
'@babel/preset-env': 7.28.3(@babel/[email protected])([email protected])
- '@embroider/core': 3.5.5(@glint/[email protected])
- '@embroider/hbs-loader': 3.0.3(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
+ '@embroider/core': 3.5.5(@glint/[email protected])
+ '@embroider/hbs-loader': 3.0.3(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))
'@embroider/shared-internals': 2.9.0([email protected])
'@types/supports-color': 8.1.3
assert-never: 1.4.0
@@ -10872,24 +10842,26 @@ snapshots:
dependencies:
'@glimmer/interfaces': 0.94.6
dependencies:
- '@glimmer/syntax': 0.93.1
- '@volar/kit': 2.4.12([email protected])
- '@volar/language-core': 2.4.12
- '@volar/language-server': 2.4.12
- '@volar/language-service': 2.4.12
- '@volar/source-map': 2.4.12
- '@volar/test-utils': 2.4.12
- '@volar/typescript': 2.4.12
+ '@glimmer/syntax': 0.95.0
+ '@glint/template': 1.6.1
+ '@volar/kit': 2.4.23([email protected])
+ '@volar/language-core': 2.4.23
+ '@volar/language-server': 2.4.23
+ '@volar/language-service': 2.4.23
+ '@volar/source-map': 2.4.23
+ '@volar/test-utils': 2.4.23
+ '@volar/typescript': 2.4.23
computeds: 0.0.1
+ content-tag: 3.1.3
escape-string-regexp: 4.0.0
semver: 7.7.2
silent-error: 1.1.1
typescript: 5.6.3
uuid: 8.3.2
- volar-service-html: 0.0.64(@volar/[email protected])
- volar-service-typescript: 0.0.65(@volar/[email protected])
+ volar-service-html: 0.0.64(@volar/[email protected])
+ volar-service-typescript: 0.0.65(@volar/[email protected])
vscode-languageserver-protocol: 3.17.5
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
@@ -10897,23 +10869,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@glimmer/component': 2.0.0
- '@glint/core': 2.0.0-alpha.3([email protected])
- '@glint/template': 1.6.0-alpha.2
- optionalDependencies:
- ember-cli-htmlbars: 6.3.0
- ember-modifier: 4.2.2(@babel/[email protected])
-
- dependencies:
- '@glint/core': 2.0.0-alpha.3([email protected])
- '@glint/environment-ember-loose': 2.0.0-alpha.3(@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))
- '@glint/template': 1.6.0-alpha.2
- content-tag: 3.1.3
-
- '@glint/[email protected]': {}
+ '@glint/[email protected]': {}
'@handlebars/[email protected]': {}
@@ -11680,24 +11636,24 @@ snapshots:
loupe: 3.1.4
tinyrainbow: 2.0.0
dependencies:
- '@volar/language-service': 2.4.12
- '@volar/typescript': 2.4.12
+ '@volar/language-service': 2.4.23
+ '@volar/typescript': 2.4.23
typesafe-path: 0.2.2
typescript: 5.6.3
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/source-map': 2.4.12
+ '@volar/source-map': 2.4.23
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/language-core': 2.4.12
- '@volar/language-service': 2.4.12
- '@volar/typescript': 2.4.12
+ '@volar/language-core': 2.4.23
+ '@volar/language-service': 2.4.23
+ '@volar/typescript': 2.4.23
path-browserify: 1.0.1
request-light: 0.7.0
vscode-languageserver: 9.0.1
@@ -11705,25 +11661,25 @@ snapshots:
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/language-core': 2.4.12
+ '@volar/language-core': 2.4.23
vscode-languageserver-protocol: 3.17.5
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
- '@volar/[email protected]': {}
+ '@volar/[email protected]': {}
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/language-core': 2.4.12
- '@volar/language-server': 2.4.12
+ '@volar/language-core': 2.4.23
+ '@volar/language-server': 2.4.23
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/language-core': 2.4.12
+ '@volar/language-core': 2.4.23
path-browserify: 1.0.1
vscode-uri: 3.1.0
@@ -13389,9 +13345,9 @@ snapshots:
dependencies:
- '@ember/test-waiters': 4.1.1(@glint/[email protected])
+ '@ember/test-waiters': 4.1.1(@glint/[email protected])
'@embroider/addon-shim': 1.10.0
decorator-transforms: 2.3.0(@babel/[email protected])
transitivePeerDependencies:
@@ -13399,7 +13355,7 @@ snapshots:
- '@glint/template'
- supports-color
dependencies:
'@babel/core': 7.28.4([email protected])
'@babel/plugin-proposal-class-properties': 7.18.6(@babel/[email protected])
@@ -13407,7 +13363,7 @@ snapshots:
'@babel/plugin-proposal-private-methods': 7.18.6(@babel/[email protected])
'@babel/plugin-transform-class-static-block': 7.28.3(@babel/[email protected])([email protected])
'@babel/preset-env': 7.28.3(@babel/[email protected])([email protected])
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
'@embroider/shared-internals': 2.9.1
babel-plugin-ember-modules-api-polyfill: 3.5.0
@@ -13460,9 +13416,9 @@ snapshots:
- '@babel/core'
- supports-color
- [email protected](@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected])):
+ [email protected](@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected])):
dependencies:
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
'@glimmer/tracking': 1.1.2
babel-import-util: 1.4.1
ember-cache-primitive-polyfill: 1.0.1(@babel/[email protected])
@@ -13871,15 +13827,15 @@ snapshots:
- eslint
- typescript
dependencies:
'@babel/core': 7.28.4([email protected])
chalk: 5.6.0
cli-table3: 0.6.5
debug: 4.4.3([email protected])
ember-cli-babel: 8.2.0(@babel/[email protected])
ember-source: 6.6.0(patch_hash=nsmtwj6thcg4lxkztr5oqzscwe)(@glimmer/[email protected])([email protected])
execa: 8.0.1
fs-extra: 11.3.1
@@ -13917,11 +13873,11 @@ snapshots:
- '@babel/core'
- supports-color
dependencies:
- '@ember/test-helpers': 5.3.0(@babel/[email protected])(@glint/[email protected])
+ '@ember/test-helpers': 5.3.0(@babel/[email protected])(@glint/[email protected])
'@embroider/addon-shim': 1.10.0
- '@embroider/macros': 1.19.1(@glint/[email protected])
+ '@embroider/macros': 1.19.1(@glint/[email protected])
qunit: 2.24.1
qunit-theme-ember: 1.0.0
transitivePeerDependencies:
@@ -19013,15 +18969,15 @@ snapshots:
- tsx
- yaml
dependencies:
vscode-html-languageservice: 5.5.2
vscode-languageserver-textdocument: 1.0.12
vscode-uri: 3.1.0
optionalDependencies:
- '@volar/language-service': 2.4.12
+ '@volar/language-service': 2.4.23
dependencies:
path-browserify: 1.0.1
semver: 7.7.2
@@ -19030,7 +18986,7 @@ snapshots:
vscode-nls: 5.2.0
vscode-uri: 3.1.0
optionalDependencies:
- '@volar/language-service': 2.4.12
+ '@volar/language-service': 2.4.23
dependencies:
diff --git a/script/build_jsconfig.rb b/script/build_jsconfig.rb
index fc88e2a78db..4cccc3e4d2a 100755
--- a/script/build_jsconfig.rb
+++ b/script/build_jsconfig.rb
@@ -42,13 +42,7 @@ def write_config(package_dir, extras: {})
"include" => namespaces.flat_map { |ns, paths| paths.map { |p| relative(package_dir, p) } },
"exclude" => [
"app/assets/javascripts/discourse/tests/unit/utils/decorators-test.js", # Native class decorators - unsupported by ts/glint
- "app/assets/javascripts/discourse/tests/integration/component-templates-test.gjs", # hbs`` tagged templates - https://github.com/typed-ember/glint/issues/705
- "**/*.hbs",
],
- "glint" => {
- "environment" => %w[ember-loose ember-template-imports],
- "checkStandaloneTemplates" => false,
- },
}
output = <<~JSON