repo: make incremental builds faster, don't use TypeScript build mode

(build mode should not be necessary since pnpm handles dependencies inside the repo)
This commit is contained in:
Florian Dold 2023-08-29 13:55:14 +02:00
parent f86e23255a
commit 5aa883b5d1
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
7 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"compile": "tsc --build && ./build-node.mjs", "compile": "tsc && ./build-node.mjs",
"test": "tsc", "test": "tsc",
"clean": "rimraf lib dist tsconfig.tsbuildinfo", "clean": "rimraf lib dist tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"

View File

@ -11,7 +11,7 @@
"private": false, "private": false,
"scripts": { "scripts": {
"test": "tsc && ava", "test": "tsc && ava",
"compile": "tsc --build", "compile": "tsc",
"clean": "rimraf dist lib tsconfig.tsbuildinfo", "clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"
}, },

View File

@ -7,7 +7,7 @@
"author": "Florian Dold", "author": "Florian Dold",
"license": "GPL-2.0+", "license": "GPL-2.0+",
"scripts": { "scripts": {
"compile": "tsc --build" "compile": "tsc"
}, },
"devDependencies": { "devDependencies": {
"po2json": "^0.4.5", "po2json": "^0.4.5",

View File

@ -16,7 +16,7 @@
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"compile": "tsc --build && ./build.mjs", "compile": "tsc && ./build.mjs",
"check": "tsc", "check": "tsc",
"test": "tsc", "test": "tsc",
"clean": "rimraf lib dist tsconfig.tsbuildinfo", "clean": "rimraf lib dist tsconfig.tsbuildinfo",
@ -42,4 +42,4 @@
"@gnu-taler/taler-wallet-core": "workspace:*", "@gnu-taler/taler-wallet-core": "workspace:*",
"tslib": "^2.5.3" "tslib": "^2.5.3"
} }
} }

View File

@ -57,7 +57,7 @@
} }
}, },
"scripts": { "scripts": {
"compile": "tsc --build", "compile": "tsc",
"test": "tsc && ava", "test": "tsc && ava",
"clean": "rimraf dist lib tsconfig.tsbuildinfo", "clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"

View File

@ -16,7 +16,7 @@
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"compile": "tsc --build && ./build-node.mjs", "compile": "tsc && ./build-node.mjs",
"test": "tsc", "test": "tsc",
"clean": "rimraf lib dist tsconfig.tsbuildinfo", "clean": "rimraf lib dist tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"
@ -41,4 +41,4 @@
"@gnu-taler/taler-wallet-core": "workspace:*", "@gnu-taler/taler-wallet-core": "workspace:*",
"tslib": "^2.5.3" "tslib": "^2.5.3"
} }
} }

View File

@ -12,7 +12,7 @@
"author": "Florian Dold", "author": "Florian Dold",
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"compile": "tsc --build", "compile": "tsc",
"pretty": "prettier --write src", "pretty": "prettier --write src",
"test": "tsc && ava", "test": "tsc && ava",
"coverage": "tsc && c8 --src src --all ava", "coverage": "tsc && c8 --src src --all ava",