Skip to content

Commit

Permalink
attempt to tweak ts perf further
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowsink committed Sep 20, 2024
1 parent 0e072b5 commit 70ae798
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"husky": "^8.0.3",
"rimraf": "^4.4.1",
"rome": "^11.0.0",
"typescript": "^4.9.5"
"typescript": "^5.6.2"
},
"overrides": {
"babel-plugin-jsx-dom-expressions": "0.35.23"
Expand Down
4 changes: 2 additions & 2 deletions packages/shelter-defs/rootdefs.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ShelterApi } from "shelter/src/windowApi";
import { ShelterPluginApi } from "shelter/src/plugins";

export { ShelterApi };
export { ShelterPluginApi };
export type { ShelterApi };
export type { ShelterPluginApi };

export * from "shelter/src/types";

Expand Down
10 changes: 8 additions & 2 deletions packages/shelter-defs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"include": ["*.ts", "../*/*.d.ts", "../shelter/src/index.ts", "../shelter-ui/src/index.tsx", "../../globals.d.ts"],
"include": ["rootdefs.ts", "../*/*.d.ts", "../shelter/src/**/*", "../shelter-ui/src/**/*", "../../globals.d.ts"],
"compilerOptions": {
"rootDir": "..",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "./dist",
"jsx": "preserve",
"jsxImportSource": "solid-js"
"jsxImportSource": "solid-js",

"skipDefaultLibCheck": true,
"skipLibCheck": true,
"isolatedModules": true,
"composite": true
}
}
2 changes: 1 addition & 1 deletion packages/shelter-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"postcss": "^8.4.35",
"postcss-modules": "^6.0.0",
"solid-js": "1.6.16",
"typescript": "^5.3.3"
"typescript": "^5.6.2"
},
"peerDependencies": {
"solid-js": "^1.6.16"
Expand Down
9 changes: 7 additions & 2 deletions packages/shelter-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"include": ["./src/*", "../../globals.d.ts"],
"include": ["./src/**/*", "../../globals.d.ts"],
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
Expand All @@ -10,6 +10,11 @@

"outDir": "dist",
"emitDeclarationOnly": true,
"strictFunctionTypes": true
"strictFunctionTypes": true,

"skipDefaultLibCheck": true,
"skipLibCheck": true,
"isolatedModules": true,
"composite": true
}
}
4 changes: 3 additions & 1 deletion packages/shelter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"jsxImportSource": "solid-js",
"noEmit": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true
"skipLibCheck": true,
"isolatedModules": true,
"composite": true
}
}
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

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

0 comments on commit 70ae798

Please sign in to comment.