aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/package.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 12:05:27 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 12:05:27 +0100
commit62d816402c6ddccf22c9ac68822cf100f61662d6 (patch)
tree3963ce347ea0278e22f63eb16615ef3a23c23bf9 /packages/shared/package.json
parentbuild: Simplify clean script (diff)
downloadsophie-62d816402c6ddccf22c9ac68822cf100f61662d6.tar.gz
sophie-62d816402c6ddccf22c9ac68822cf100f61662d6.tar.zst
sophie-62d816402c6ddccf22c9ac68822cf100f61662d6.zip
build: Use shared packages through modules
By running the build for the shared packages only once, errors in them are reported only once in watch mode. We still have to point jest to the original source files (and rebuild the shared source files as part of the test), because it won't load the "module" entry of the shared packages. However, as a benefit, jest can now run even if the shared packages haven't been built yet.
Diffstat (limited to 'packages/shared/package.json')
-rw-r--r--packages/shared/package.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/shared/package.json b/packages/shared/package.json
index e2b2c77..e4b57b0 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -3,7 +3,6 @@
3 "version": "0.1.0", 3 "version": "0.1.0",
4 "private": true, 4 "private": true,
5 "sideEffects": false, 5 "sideEffects": false,
6 "main": "src/index.ts",
7 "module": "dist/index.mjs", 6 "module": "dist/index.mjs",
8 "types": "dist/index.d.ts", 7 "types": "dist/index.d.ts",
9 "scripts": { 8 "scripts": {