repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

build: add tsc typecheck script and tsconfig

53aadc4c16d14bd1f776bc8a4d845b44a3d5870f

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

+29 / −0 text lines

Diff layout

package.json

Modified

+6 / −0 text lines

66 "workspaces": [
77 "extensions/*"
88 ],
9 "scripts": {
10 "typecheck": "tsc --noEmit"
11 },
12 "devDependencies": {
13 "typescript": "^5.7.3"
14 },
915 "pi": {
1016 "extensions": [
1117 "extensions/*/index.ts"

tsconfig.json

Added
new file mode 100644

+23 / −0 text lines

1{
2 "compilerOptions": {
3 "target": "ESNext",
4 "module": "ESNext",
5 "moduleResolution": "bundler",
6 "strict": true,
7 "esModuleInterop": true,
8 "skipLibCheck": true,
9 "noEmit": true,
10 "resolveJsonModule": true,
11 "allowImportingTsExtensions": true
12 },
13 "include": [
14 "extensions/**/*.ts",
15 "skills/**/*.ts",
16 "prompts/**/*.ts",
17 "themes/**/*.ts"
18 ],
19 "exclude": [
20 "node_modules",
21 "**/*.test.ts"
22 ]
23}