aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-05-24 18:00:25 +0200
committerFlorian Dold <florian@dold.me>2022-05-24 18:00:25 +0200
commit07e1818679b1ec33d506abd50f5659048997a847 (patch)
treeca4eaed270c055d5a7c86ac91a85a4b0ef21d083
parent16cc179edf0d35449c7a4f0824db86601b3a05ba (diff)
Revert "no need to compile after install"
This reverts commit c3ba7fb5238c303aaff8ca4fcfaa8142f9651a84.
-rw-r--r--packages/anastasis-core/package.json3
-rw-r--r--packages/idb-bridge/package.json1
-rw-r--r--packages/pogen/package.json1
-rw-r--r--packages/taler-util/package.json1
-rw-r--r--packages/taler-wallet-cli/package.json1
-rw-r--r--packages/taler-wallet-core/package.json1
-rw-r--r--packages/taler-wallet-webextension/package.json2
7 files changed, 9 insertions, 1 deletions
diff --git a/packages/anastasis-core/package.json b/packages/anastasis-core/package.json
index 2fd69799c..a339f271a 100644
--- a/packages/anastasis-core/package.json
+++ b/packages/anastasis-core/package.json
@@ -6,6 +6,7 @@
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
+ "prepare": "tsc && rollup -c",
"compile": "tsc && rollup -c",
"pretty": "prettier --write src",
"test": "tsc && ava",
@@ -39,4 +40,4 @@
"lib/**/*test.*"
]
}
-}
+} \ No newline at end of file
diff --git a/packages/idb-bridge/package.json b/packages/idb-bridge/package.json
index 638a3ad34..b26ce20eb 100644
--- a/packages/idb-bridge/package.json
+++ b/packages/idb-bridge/package.json
@@ -11,6 +11,7 @@
"private": false,
"scripts": {
"test": "tsc && ava",
+ "prepare": "tsc && rollup -c",
"compile": "tsc && rollup -c",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
diff --git a/packages/pogen/package.json b/packages/pogen/package.json
index 0beb12a27..5f6b99664 100644
--- a/packages/pogen/package.json
+++ b/packages/pogen/package.json
@@ -7,6 +7,7 @@
"author": "Florian Dold",
"license": "GPL-2.0+",
"scripts": {
+ "prepare": "tsc",
"compile": "tsc"
},
"devDependencies": {
diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json
index 1933b9796..42ca8cb2a 100644
--- a/packages/taler-util/package.json
+++ b/packages/taler-util/package.json
@@ -22,6 +22,7 @@
"license": "AGPL-3.0-or-later",
"private": false,
"scripts": {
+ "prepare": "tsc",
"compile": "tsc",
"test": "tsc && ava",
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json
index ce40827f6..e43090560 100644
--- a/packages/taler-wallet-cli/package.json
+++ b/packages/taler-wallet-cli/package.json
@@ -16,6 +16,7 @@
"taler-wallet-cli": "./bin/taler-wallet-cli"
},
"scripts": {
+ "prepare": "tsc && rollup -c",
"compile": "tsc && rollup -c",
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
"pretty": "prettier --write src"
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json
index fd882347e..65b6916c9 100644
--- a/packages/taler-wallet-core/package.json
+++ b/packages/taler-wallet-core/package.json
@@ -12,6 +12,7 @@
"author": "Florian Dold",
"license": "GPL-3.0",
"scripts": {
+ "prepare": "tsc && rollup -c",
"compile": "tsc && rollup -c",
"pretty": "prettier --write src",
"test": "tsc && ava",
diff --git a/packages/taler-wallet-webextension/package.json b/packages/taler-wallet-webextension/package.json
index 7ab9d2682..33a13a0b1 100644
--- a/packages/taler-wallet-webextension/package.json
+++ b/packages/taler-wallet-webextension/package.json
@@ -13,6 +13,8 @@
"test:coverage": "nyc pnpm test",
"compile": "tsc && ./build-fast-with-linaria.mjs",
"dev": "./dev.mjs",
+ "compile:test": "rollup -c rollup.config.test.js -m",
+ "prepare": "rollup -c -m",
"pretty": "prettier --write src",
"i18n:extract": "pogen extract",
"i18n:merge": "pogen merge",