Skip to content

Commit

Permalink
feat: add glint to test-app
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycalleri committed Sep 28, 2023
1 parent c0d372c commit e549bc9
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 8 deletions.
58 changes: 51 additions & 7 deletions pnpm-lock.yaml

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

3 changes: 3 additions & 0 deletions test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"@embroider/test-setup": "3.0.1",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@glint/core": "^1.2.0",
"@glint/environment-ember-loose": "^1.2.0",
"@glint/template": "^1.2.0",
"@tsconfig/ember": "^3.0.1",
"@types/qunit": "^2.19.6",
"@typescript-eslint/eslint-plugin": "^6.5.0",
Expand Down
8 changes: 7 additions & 1 deletion test-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"*": ["types/*"]
}
},
"include": ["app/**/*", "tests/**/*", "types/**/*"]
"include": ["app/**/*", "tests/**/*", "types/**/*"],
"glint": {
"environment": "ember-loose",
"transform": {
"include": ["app/**", "tests/**"]
}
}
}
5 changes: 5 additions & 0 deletions test-app/types/glint.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import '@glint/environment-ember-loose';

declare module '@glint/environment-ember-loose/registry' {
export default interface Registry {}
}

0 comments on commit e549bc9

Please sign in to comment.