Skip to content

Commit 7ffff04

Browse files
committed
Glint 2
1 parent d9c532b commit 7ffff04

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

files/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint:hbs:fix": "ember-template-lint . --fix",
2323
"lint:js": "eslint . --cache",
2424
"lint:js:fix": "eslint . --fix<% if (typescript) { %>",
25-
"lint:types": "glint<% } %>",
25+
"lint:types": "ember-tsc --noEmit<% } %>",
2626
"start": "vite",
2727
"test": "vite build --mode development && ember test --path dist"
2828
},
@@ -59,10 +59,9 @@
5959
"@embroider/legacy-inspector-support": "^0.1.3",
6060
"@eslint/js": "^9.37.0",
6161
"@glimmer/component": "^2.0.0<% if (typescript) { %>",
62-
"@glint/core": "^1.5.2",
63-
"@glint/environment-ember-loose": "^1.5.2",
64-
"@glint/environment-ember-template-imports": "^1.5.2",
65-
"@glint/template": "^1.6.1<% } %>",
62+
"@glint/ember-tsc": "^1.0.4",
63+
"@glint/template": "^1.6.2",
64+
"@glint/tsserver-plugin": "^2.0.4<% } %>",
6665
"@rollup/plugin-babel": "^6.0.4<% if (typescript) { %>",
6766
"@types/qunit": "^2.19.13",
6867
"@types/rsvp": "^4.0.9<% if (emberData) {%>",

files/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"<%= name %>/*": ["./app/*"],
1212
"*": ["./types/*"]
1313
},
14-
"types": ["ember-source/types", "@embroider/core/virtual", "vite/client"]
14+
"types": [
15+
"ember-source/types",
16+
"@embroider/core/virtual",
17+
"vite/client",
18+
"@glint/ember-tsc/types"
19+
]
1520
}
1621
}

0 commit comments

Comments
 (0)