-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Use tsx for scripts and local env"
This reverts commit 5a56145.
- Loading branch information
Showing
8 changed files
with
121 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,31 +6,31 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"batchTagWithGpt": "tsx --tsconfig tsconfig.tsx.json baker/batchTagWithGpt.ts", | ||
"buildAndDeploySite": "tsx --tsconfig tsconfig.tsx.json baker/buildAndDeploySite.ts", | ||
"batchTagWithGpt": "node --enable-source-maps ./itsJustJavascript/baker/batchTagWithGpt.js", | ||
"buildAndDeploySite": "node --enable-source-maps ./itsJustJavascript/baker/buildAndDeploySite.js", | ||
"buildCoverage": "jest --coverage=true --coverageProvider=v8", | ||
"buildLocalBake": "tsx --tsconfig tsconfig.tsx.json baker/buildLocalBake.ts", | ||
"buildLocalBake": "node --enable-source-maps ./itsJustJavascript/baker/buildLocalBake.js", | ||
"buildTsc": "tsc -b -verbose", | ||
"buildLerna": "lerna run build", | ||
"buildViteAdmin": "vite build --config vite.config-admin.mts", | ||
"buildViteSite": "vite build --config vite.config-site.mts", | ||
"buildVite": "yarn buildViteSite && yarn buildViteAdmin", | ||
"bakeGdocPosts": "tsx --tsconfig tsconfig.tsx.json baker/bakeGdocPosts.ts", | ||
"bakeGdocPosts": "node --enable-source-maps ./itsJustJavascript/baker/bakeGdocPosts.js", | ||
"cleanTsc": "rm -rf itsJustJavascript && tsc -b -clean", | ||
"deployContentPreview": "PREVIEW_BRANCH=${PREVIEW_BRANCH:-} ./ops/buildkite/deploy-content-preview", | ||
"fetchServerStatus": "tsx --tsconfig tsconfig.tsx.json baker/liveCommit.ts", | ||
"fetchServerStatus": "node --enable-source-maps ./itsJustJavascript/baker/liveCommit.js", | ||
"fixLint": "eslint . --fix", | ||
"fixPrettierAll": "yarn prettier --write \"**/*.{tsx,ts,jsx,js,json,md,html,css,scss,yml}\"", | ||
"runRegionsUpdater": "tsx --tsconfig tsconfig.tsx.json devTools/regionsUpdater/update.ts", | ||
"runDbMigrations": "tsx node_modules/typeorm/cli.js migration:run -d db/dataSource.ts", | ||
"refreshPageviews": "tsx --tsconfig tsconfig.tsx.json db/refreshPageviewsFromDatasette.ts", | ||
"revertLastDbMigration": "tsx node_modules/typeorm/cli.js migration:revert -d db/dataSource.ts", | ||
"runRegionsUpdater": "node --enable-source-maps ./itsJustJavascript/devTools/regionsUpdater/update.js", | ||
"runDbMigrations": "yarn typeorm migration:run -d itsJustJavascript/db/dataSource.js", | ||
"refreshPageviews": "node --enable-source-maps ./itsJustJavascript/db/refreshPageviewsFromDatasette.js", | ||
"revertLastDbMigration": "yarn typeorm migration:revert -d itsJustJavascript/db/dataSource.js", | ||
"startAdminServer": "node --enable-source-maps ./itsJustJavascript/adminSiteServer/app.js", | ||
"startAdminDevServer": "tsx watch --tsconfig tsconfig.tsx.json adminSiteServer/app.tsx", | ||
"startLocalCloudflareFunctions": "wrangler pages dev localBake --compatibility-date 2023-10-09", | ||
"startDeployQueueServer": "node --enable-source-maps ./itsJustJavascript/baker/startDeployQueueServer.js", | ||
"startLernaWatcher": "lerna watch --scope '@ourworldindata/*' -- lerna run build --scope=\\$LERNA_PACKAGE_NAME --include-dependents", | ||
"startTmuxServer": "node_modules/tmex/tmex dev \"yarn startLernaWatcher\" \"yarn startAdminDevServer\" \"yarn startViteServer\"", | ||
"startTmuxServer": "node_modules/tmex/tmex dev \"yarn startTscServer\" \"yarn startLernaWatcher\" \"yarn startAdminServer\" \"yarn startViteServer\"", | ||
"startTscServer": "tsc -b -verbose -watch", | ||
"startViteServer": "vite dev", | ||
"startSiteFront": "./devTools/vite/startVite.sh", | ||
"startLocalBakeServer": "http-server ./localBake -p 3000", | ||
|
@@ -39,7 +39,7 @@ | |
"testLint": "eslint .", | ||
"testPrettierAll": "yarn prettier --check \"**/*.{tsx,ts,jsx,js,json,md,html,css,scss,yml}\"", | ||
"testJest": "lerna run buildTests && jest", | ||
"testSiteNavigation": "tsx --tsconfig tsconfig.tsx.json devTools/navigationTest/navigationTest.ts", | ||
"testSiteNavigation": "node --enable-source-maps ./itsJustJavascript/devTools/navigationTest/navigationTest.js", | ||
"generateDbTypes": "npx @rmp135/sql-ts -c db/sql-ts/sql-ts-config.json" | ||
}, | ||
"dependencies": { | ||
|
@@ -249,7 +249,7 @@ | |
"sass": "^1.69.5", | ||
"tmex": "^1.0.8", | ||
"topojson-server": "^3.0.1", | ||
"tsx": "^4.10.2", | ||
"tsc-watch": "^6.0.4", | ||
"vite": "^4.4.10", | ||
"vite-plugin-checker": "^0.6.4", | ||
"vite-plugin-warmup": "^0.1.0", | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.