Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore: add Husky pre-commit hook for lint and test
johaven281e32df28e0
diff --git a/.husky/pre-commit b/.husky/pre-commitnew file mode 100644index 00000000..8c83e28b--- /dev/null+++ b/.husky/pre-commit@@ -0,0 +1 @@+npm run lint && npm run test\ No newline at end of filediff --git a/package-lock.json b/package-lock.jsonindex c08ab55e..1aef26ce 100644--- a/package-lock.json+++ b/package-lock.json@@ -17,6 +17,7 @@],"devDependencies": {"commit-and-tag-version": "^12.5.1",+ "husky": "^9.1.7","prettier": "^3.4.1"},"engines": {@@ -19099,6 +19100,22 @@"node": ">=10.17.0"}},+ "node_modules/husky": {+ "version": "9.1.7",+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",+ "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "husky": "bin.js"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/typicode"+ }+ },"node_modules/iconv-lite": {"version": "0.6.3","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",diff --git a/package.json b/package.jsonindex 3a0d11c9..c0578a78 100755--- a/package.json+++ b/package.json@@ -29,6 +29,7 @@"frontend"],"scripts": {+ "prepare": "husky","build": "npm run build -ws","release:build": "npm run build && node scripts/build/release.mjs","release:clean": "rm -rf release",@@ -44,6 +45,7 @@},"devDependencies": {"commit-and-tag-version": "^12.5.1",+ "husky": "^9.1.7","prettier": "^3.4.1"},"commit-and-tag-version": {