add typescript transpilation for legacy node support ☹️ (#2190)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled

* add typescript transpilation for legacy node support ☹️

* add typescript as devdep
This commit is contained in:
Neal Shah
2025-12-17 02:56:56 -05:00
committed by GitHub
parent 28526eb6b7
commit d76adcf831
2 changed files with 35 additions and 2 deletions
+9 -2
View File
@@ -1,5 +1,12 @@
{
"name": "@heyputer/app-telemetry",
"main": "app-user-count.ts",
"type": "module"
"main": "app-user-count.js",
"type": "module",
"scripts": {
"postinstall": "tsc --noCheck",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"typescript": "^5.9.3"
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"target": "ES2024",
"module": "nodenext",
"moduleResolution": "nodenext",
"rootDir": "./",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"sourceMap": true,
},
"include": [
"app-user-count.ts",
],
"exclude": [
"**/*.test.ts",
"**/*.spec.ts",
"**/test/**",
"**/tests/**",
"node_modules",
"dist",
"*.js"
]
}