Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

chore(ts): update tsconfig.json in ts/scripts

jkomynobab3adf1c029
diff --git a/ts/scripts/create-example.sh b/ts/scripts/create-example.sh
index 6389792d9..c0285dbe3 100755
--- a/ts/scripts/create-example.sh
+++ b/ts/scripts/create-example.sh
@@ -43,7 +43,7 @@ cat > "$EXAMPLE_PATH/package.json" << EOL
},
"devDependencies": {
"@types/bun": "^1.2.9",
- "typescript": "^5.8.3"
+ "typescript": "catalog:"
}
}
EOL
@@ -52,15 +52,15 @@ EOL
cat > "$EXAMPLE_PATH/tsconfig.json" << EOL
{
"compilerOptions": {
- "target": "ESNext",
- "module": "ESNext",
+ "target": "es2022",
+ "module": "esnext",
"declaration": true,
"declarationDir": "./dist",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
- "moduleResolution": "node",
+ "moduleResolution": "bundler",
"skipLibCheck": true,
"resolveJsonModule": true
},
diff --git a/ts/scripts/create-provider.sh b/ts/scripts/create-provider.sh
index e90fc7209..6d14f050b 100644
--- a/ts/scripts/create-provider.sh
+++ b/ts/scripts/create-provider.sh
@@ -57,8 +57,8 @@ cat > "$TOOLSET_PATH/package.json" << EOL
},
"devDependencies": {
"@composio/core": "workspace:*",
- "tsup": "^8.4.0",
- "typescript": "^5.8.3"
+ "tsup": "catalog:",
+ "typescript": "catalog:"
}
}
EOL
@@ -68,14 +68,14 @@ cat > "$TOOLSET_PATH/tsconfig.json" << EOL
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
- "target": "ESNext",
- "module": "ESNext",
+ "target": "es2022",
+ "module": "esnext",
"declaration": true,
"declarationDir": "./dist",
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
- "moduleResolution": "node",
+ "moduleResolution": "bundler",
"skipLibCheck": true,
"resolveJsonModule": true
},