aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 03:00:31 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-30 03:00:31 +0100
commit07841e7ae24fa12a0c1a055f92e2bf7d1bd2bdf4 (patch)
tree0d29893a4998da5f912592c9154f0c26e182e17b
parentrefactor: Improve logging (diff)
downloadsophie-07841e7ae24fa12a0c1a055f92e2bf7d1bd2bdf4.tar.gz
sophie-07841e7ae24fa12a0c1a055f92e2bf7d1bd2bdf4.tar.zst
sophie-07841e7ae24fa12a0c1a055f92e2bf7d1bd2bdf4.zip
build: Simplify clean script
-rw-r--r--package.json2
-rw-r--r--packages/main/package.json1
-rw-r--r--packages/preload/package.json1
-rw-r--r--packages/renderer/package.json1
-rw-r--r--packages/service-inject/package.json1
-rw-r--r--packages/service-preload/package.json1
-rw-r--r--packages/service-shared/package.json1
-rw-r--r--packages/shared/package.json1
8 files changed, 1 insertions, 8 deletions
diff --git a/package.json b/package.json
index 03c1696..e30d6fd 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
15 }, 15 },
16 "main": "packages/main/dist/index.cjs", 16 "main": "packages/main/dist/index.cjs",
17 "scripts": { 17 "scripts": {
18 "clean": "rimraf dist .log && yarn workspaces foreach run clean", 18 "clean": "rimraf dist packages/*/dist packages/*/tsconfig.tsbuildinfo .vite",
19 "test": "yarn workspaces foreach -vpt run test", 19 "test": "yarn workspaces foreach -vpt run test",
20 "build": "node scripts/build.js", 20 "build": "node scripts/build.js",
21 "precompile": "cross-env MODE=production yarn run build", 21 "precompile": "cross-env MODE=production yarn run build",
diff --git a/packages/main/package.json b/packages/main/package.json
index a1af489..c118d2b 100644
--- a/packages/main/package.json
+++ b/packages/main/package.json
@@ -5,7 +5,6 @@
5 "main": "dist/index.cjs", 5 "main": "dist/index.cjs",
6 "types": "dist-types/index.d.ts", 6 "types": "dist-types/index.d.ts",
7 "scripts": { 7 "scripts": {
8 "clean": "rimraf dist",
9 "typecheck": "tsc" 8 "typecheck": "tsc"
10 }, 9 },
11 "dependencies": { 10 "dependencies": {
diff --git a/packages/preload/package.json b/packages/preload/package.json
index 5eb6055..ac21618 100644
--- a/packages/preload/package.json
+++ b/packages/preload/package.json
@@ -6,7 +6,6 @@
6 "main": "dist/index.cjs", 6 "main": "dist/index.cjs",
7 "types": "dist-types/index.d.ts", 7 "types": "dist-types/index.d.ts",
8 "scripts": { 8 "scripts": {
9 "clean": "rimraf dist",
10 "test": "jest", 9 "test": "jest",
11 "typecheck": "tsc" 10 "typecheck": "tsc"
12 }, 11 },
diff --git a/packages/renderer/package.json b/packages/renderer/package.json
index 1d34cdb..fb13129 100644
--- a/packages/renderer/package.json
+++ b/packages/renderer/package.json
@@ -5,7 +5,6 @@
5 "main": "dist/index.html", 5 "main": "dist/index.html",
6 "types": "dist-types/index.d.ts", 6 "types": "dist-types/index.d.ts",
7 "scripts": { 7 "scripts": {
8 "clean": "rimraf dist",
9 "typecheck": "tsc" 8 "typecheck": "tsc"
10 }, 9 },
11 "dependencies": { 10 "dependencies": {
diff --git a/packages/service-inject/package.json b/packages/service-inject/package.json
index 94cd825..825de24 100644
--- a/packages/service-inject/package.json
+++ b/packages/service-inject/package.json
@@ -6,7 +6,6 @@
6 "main": "dist/index.cjs", 6 "main": "dist/index.cjs",
7 "types": "dist-types/index.d.ts", 7 "types": "dist-types/index.d.ts",
8 "scripts": { 8 "scripts": {
9 "clean": "rimraf dist",
10 "typecheck": "tsc" 9 "typecheck": "tsc"
11 }, 10 },
12 "dependencies": { 11 "dependencies": {
diff --git a/packages/service-preload/package.json b/packages/service-preload/package.json
index fb67a8e..7cbdfc8 100644
--- a/packages/service-preload/package.json
+++ b/packages/service-preload/package.json
@@ -5,7 +5,6 @@
5 "main": "dist/index.js", 5 "main": "dist/index.js",
6 "types": "dist-types/index.d.ts", 6 "types": "dist-types/index.d.ts",
7 "scripts": { 7 "scripts": {
8 "clean": "rimraf dist",
9 "typecheck": "tsc" 8 "typecheck": "tsc"
10 }, 9 },
11 "dependencies": { 10 "dependencies": {
diff --git a/packages/service-shared/package.json b/packages/service-shared/package.json
index b9128c6..6f34a9d 100644
--- a/packages/service-shared/package.json
+++ b/packages/service-shared/package.json
@@ -6,7 +6,6 @@
6 "main": "src/index.ts", 6 "main": "src/index.ts",
7 "types": "dist/index.d.ts", 7 "types": "dist/index.d.ts",
8 "scripts": { 8 "scripts": {
9 "clean": "rimraf dist tsconfig.tsbuildinfo",
10 "typecheck": "tsc" 9 "typecheck": "tsc"
11 }, 10 },
12 "dependencies": { 11 "dependencies": {
diff --git a/packages/shared/package.json b/packages/shared/package.json
index 3db4cb1..e2b2c77 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -7,7 +7,6 @@
7 "module": "dist/index.mjs", 7 "module": "dist/index.mjs",
8 "types": "dist/index.d.ts", 8 "types": "dist/index.d.ts",
9 "scripts": { 9 "scripts": {
10 "clean": "rimraf dist tsconfig.tsbuildinfo",
11 "typecheck": "tsc" 10 "typecheck": "tsc"
12 }, 11 },
13 "dependencies": { 12 "dependencies": {