Skip to content

Commit

Permalink
Rename adminSiteServer files from .tsx to .ts
Browse files Browse the repository at this point in the history
Several files had the .tsx extension despite not containing any JSX.
  • Loading branch information
rakyi committed Jan 7, 2025
1 parent 73f93f8 commit b6980bc
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
{
"name": "Launch admin server",
"program": "${workspaceFolder}/adminSiteServer/app.tsx",
"program": "${workspaceFolder}/adminSiteServer/app.ts",
"request": "launch",
"type": "node",
"runtimeExecutable": "yarn",
Expand All @@ -113,7 +113,7 @@
},
{
"name": "Launch admin server (via fnm)",
"program": "${workspaceFolder}/adminSiteServer/app.tsx",
"program": "${workspaceFolder}/adminSiteServer/app.ts",
"request": "launch",
"type": "node",
"runtimeExecutable": "fnm",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"refreshPageviews": "tsx --tsconfig tsconfig.tsx.json db/refreshPageviewsFromDatasette.ts",
"revertLastDbMigration": "tsx --tsconfig tsconfig.tsx.json node_modules/typeorm/cli.js migration:revert -d db/dataSource.ts",
"startAdminServer": "node --enable-source-maps ./itsJustJavascript/adminSiteServer/app.js",
"startAdminDevServer": "tsx watch --ignore '**.mjs' --tsconfig tsconfig.tsx.json adminSiteServer/app.tsx",
"startAdminDevServer": "tsx watch --ignore '**.mjs' --tsconfig tsconfig.tsx.json adminSiteServer/app.ts",
"startLocalCloudflareFunctions": "wrangler pages dev",
"startDeployQueueServer": "node --enable-source-maps ./itsJustJavascript/baker/startDeployQueueServer.js",
"startLernaWatcher": "lerna watch --scope '@ourworldindata/*' -- lerna run build --scope=\\$LERNA_PACKAGE_NAME --include-dependents",
Expand Down

0 comments on commit b6980bc

Please sign in to comment.