diff --git a/package.json b/package.json index 50248ca..fcd9b93 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "build:components": "tsup --dts", "release": "auto shipit", "lint": "eslint --ext .js,.ts,.tsx,.json .", - "fmt": "prettier --cache --write . && npm run lint -- --fix" + "fmt": "prettier --cache --write . && npm run lint -- --fix", + "tsc": "tsc" }, "author": "Oxide Computer Company ", "license": "MPL 2.0", diff --git a/tsconfig.json b/tsconfig.json index 031bcb7..2e92d60 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ "paths": { "~/*": ["./components/*"], "@/*": ["./*"] - } + }, + "allowImportingTsExtensions": true }, "include": ["components/**/*.ts", "components/**/*.tsx"], "references": [{ "path": "./tsconfig.node.json" }]