Skip to content

Commit

Permalink
Add @glint/type-test package
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreeman committed Dec 8, 2022
1 parent 79927ab commit cd75080
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
yarn-error.log
test-packages/ephemeral
.eslintcache
*.tsbuildinfo
*.js.map
1 change: 1 addition & 0 deletions packages/type-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/
22 changes: 22 additions & 0 deletions packages/type-test/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "@glint/type-test",
"version": "1.0.0-beta.1",
"repository": "typed-ember/glint",
"description": "Tools for testing inferred types in Glint-enabled templates",
"license": "MIT",
"author": "Dan Freeman (https://github.com/dfreeman)",
"type": "commonjs",
"main": "lib/index.js",
"exports": {
".": "./lib/index.js"
},
"scripts": {
"test": "glint -p __tests__"
},
"dependencies": {
"expect-type": "^0.15.0"
},
"peerDependencies": {
"@glint/template": "^1.0.0-beta.1"
}
}
9 changes: 9 additions & 0 deletions packages/type-test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.compileroptions.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
},
"include": ["src"],
"references": [{ "path": "../template" }]
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{ "path": "packages/environment-ember-template-imports" },
{ "path": "packages/environment-glimmerx" },
{ "path": "packages/template" },
{ "path": "packages/type-test" },
{ "path": "packages/vscode" },
{ "path": "packages/scripts" },
{ "path": "test-packages/test-utils" }
Expand Down

0 comments on commit cd75080

Please sign in to comment.