Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Remove husky and lint-staged

Mike Cao251433075827
diff --git a/.husky/pre-commit b/.husky/pre-commit
deleted file mode 100755
index 2312dc587..000000000
--- a/.husky/pre-commit
+++ /dev/null
@@ -1 +0,0 @@
-npx lint-staged
diff --git a/package.json b/package.json
index 068bc4351..22a5cc112 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,6 @@
"download-country-names": "node scripts/download-country-names.js",
"download-language-names": "node scripts/download-language-names.js",
"change-password": "node scripts/change-password.js",
- "prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install",
"postbuild": "node scripts/postbuild.js",
"test": "jest",
"cypress-open": "cypress open cypress run",
@@ -48,11 +47,6 @@
"format": "biome format --write .",
"check": "biome check --write"
},
- "lint-staged": {
- "**/*.{js,jsx,ts,tsx,json,css}": [
- "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
- ]
- },
"cacheDirectories": [
".next/cache"
],
@@ -141,9 +135,7 @@
"cross-env": "^10.1.0",
"cypress": "^13.6.6",
"dotenv-cli": "^11.0.0",
- "husky": "^9.1.7",
"jest": "^29.7.0",
- "lint-staged": "^16.2.6",
"postcss": "^8.5.6",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^15.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e9e0e7553..a88138823 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -255,15 +255,9 @@ importers:
dotenv-cli:
specifier: ^11.0.0
version: 11.0.0
- husky:
- specifier: ^9.1.7
- version: 9.1.7
jest:
specifier: ^29.7.0
- lint-staged:
- specifier: ^16.2.6
- version: 16.2.7
postcss:
specifier: ^8.5.6
version: 8.5.6
@@ -334,6 +328,8 @@ importers:
specifier: ^5.9.3
version: 5.9.3
+ dist: {}
+
packages:
'@ampproject/[email protected]':
@@ -4305,11 +4301,6 @@ packages:
resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
engines: {node: '>=10.17.0'}
- resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
- engines: {node: '>=18'}
- hasBin: true
-
resolution: {integrity: sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==}
engines: {node: '>=0.10.0'}
@@ -4902,11 +4893,6 @@ packages:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
- resolution: {integrity: sha512-lDIj4RnYmK7/kXMya+qJsmkRFkGolciXjrsZ6PC25GdTfWOAWetR0ZbsNXRAj1EHHImRSalc+whZFg56F5DVow==}
- engines: {node: '>=20.17'}
- hasBin: true
-
resolution: {integrity: sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==}
engines: {node: '>=10.0.0'}
@@ -6701,10 +6687,6 @@ packages:
resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==}
engines: {node: '>=10.0.0'}
- resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}
- engines: {node: '>=10'}
- deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
resolution: {integrity: sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g==}
@@ -11635,8 +11617,6 @@ snapshots:
-
dependencies:
safer-buffer: 2.1.2
@@ -12401,16 +12381,6 @@ snapshots:
- dependencies:
- commander: 14.0.2
- listr2: 9.0.5
- micromatch: 4.0.8
- nano-spawn: 2.0.0
- pidtree: 0.6.0
- string-argv: 0.3.2
- yaml: 2.8.1
-
dependencies:
cli-truncate: 2.1.0