Skip to content

Build your personal knowledge base with Trilium Notes

fix(build): add dprint to optional dependencies to support ARMv7 (closes #1556)

Elian Doran60becbc38c93
diff --git a/package-lock.json b/package-lock.json
index 8cb7fde824..da65a3d3fb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -163,7 +163,6 @@
"copy-webpack-plugin": "13.0.0",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
- "dprint": "0.49.1",
"electron": "35.1.2",
"eslint": "9.23.0",
"esm": "3.2.25",
@@ -202,7 +201,8 @@
"webpack-dev-middleware": "7.4.2"
},
"optionalDependencies": {
- "appdmg": "0.6.6"
+ "appdmg": "0.6.6",
+ "dprint": "0.49.1"
}
},
"node_modules/@ampproject/remapping": {
@@ -581,7 +581,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -595,7 +594,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -609,7 +607,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -623,7 +620,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -637,7 +633,6 @@
"cpu": [
"riscv64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -651,7 +646,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -665,7 +659,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -679,7 +672,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -693,7 +685,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -9520,9 +9511,9 @@
"version": "0.49.1",
"resolved": "https://registry.npmjs.org/dprint/-/dprint-0.49.1.tgz",
"integrity": "sha512-pO9XH79SyXybj2Vhc9ITZMEI8cJkdlQQRoD8oEfPH6Jjpp/7WX5kIgECVd3DBOjjAdCSiW6R47v3gJBx/qZVkw==",
- "dev": true,
"hasInstallScript": true,
"license": "MIT",
+ "optional": true,
"bin": {
"dprint": "bin.js"
},
diff --git a/package.json b/package.json
index 1bcdd48a5f..6adef99ede 100644
--- a/package.json
+++ b/package.json
@@ -218,8 +218,7 @@
"bootstrap": "5.3.3",
"copy-webpack-plugin": "13.0.0",
"cross-env": "7.0.3",
- "css-loader": "7.1.2",
- "dprint": "0.49.1",
+ "css-loader": "7.1.2",
"electron": "35.1.2",
"eslint": "9.23.0",
"esm": "3.2.25",
@@ -258,6 +257,7 @@
"webpack-dev-middleware": "7.4.2"
},
"optionalDependencies": {
- "appdmg": "0.6.6"
+ "appdmg": "0.6.6",
+ "dprint": "0.49.1"
}
}