Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Replace husky with simple-git-hooks (#854)
Bogdan Chadkina075ee0cc0ce
diff --git a/.husky/.gitignore b/.husky/.gitignoredeleted file mode 100644index 31354ec138..0000000000--- a/.husky/.gitignore+++ /dev/null@@ -1 +0,0 @@-_diff --git a/.husky/pre-commit b/.husky/pre-commitdeleted file mode 100755index fab6428a1a..0000000000--- a/.husky/pre-commit+++ /dev/null@@ -1,4 +0,0 @@-#!/bin/sh-. "$(dirname "$0")/_/husky.sh"--pnpm lint-stageddiff --git a/package.json b/package.jsonindex 748ea8ffd9..6ecdb04559 100644--- a/package.json+++ b/package.json@@ -10,13 +10,16 @@"checks": "turbo run checks","dev": "turbo run dev --parallel","format": "prettier --write \"**/*.{ts,tsx,md}\"",- "prepare": "husky install","build-storybook": "build-storybook","storybook": "turbo run storybook:run","storybook:build": "npm run build && turbo run storybook:build","storybook:ds:build": "turbo run storybook:build --filter=@webstudio-is/design-system","migrations": "cd apps/designer && pnpm migrations --dev",- "build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens"+ "build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",+ "prepare": "git config core.hooksPath .git/hooks/ && simple-git-hooks"+ },+ "simple-git-hooks": {+ "pre-commit": "pnpm lint-staged"},"devDependencies": {"@changesets/get-dependents-graph": "^1.3.4",@@ -25,9 +28,9 @@"@types/css-tree": "^2.0.0","@webstudio-is/eslint-config-custom": "workspace:^","chromatic": "^6.11.4",- "husky": "8.0.1","lint-staged": "^13.0.2","prettier": "2.7.1",+ "simple-git-hooks": "^2.8.1","tsx": "^3.9.0","turbo": "1.3.1","typescript": "4.7.4"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0c434ee931..f07ded0f26 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -19,9 +19,9 @@ importers:'@types/css-tree': ^2.0.0'@webstudio-is/eslint-config-custom': workspace:^chromatic: ^6.11.4- husky: 8.0.1lint-staged: ^13.0.2prettier: 2.7.1+ simple-git-hooks: ^2.8.1tsx: ^3.9.0turbo: 1.3.1typescript: 4.7.4@@ -32,9 +32,9 @@ importers:'@types/css-tree': 2.0.0'@webstudio-is/eslint-config-custom': link:packages/eslint-config-customchromatic: 6.11.4- husky: 8.0.1lint-staged: 13.0.3prettier: 2.7.1+ simple-git-hooks: 2.8.1tsx: 3.12.1turbo: 1.3.1typescript: 4.7.4@@ -14963,12 +14963,6 @@ packages:resolution: {integrity: sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==}engines: {node: '>=12.20.0'}- /husky/8.0.1:- resolution: {integrity: sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==}- engines: {node: '>=14'}- hasBin: true- dev: true-/hyphenate-style-name/1.0.4:resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==}dev: false@@ -20008,6 +20002,12 @@ packages:simple-concat: 1.0.1dev: false+ /simple-git-hooks/2.8.1:+ resolution: {integrity: sha512-DYpcVR1AGtSfFUNzlBdHrQGPsOhuuEJ/FkmPOOlFysP60AHd3nsEpkGq/QEOdtUyT1Qhk7w9oLmFoMG+75BDog==}+ hasBin: true+ requiresBuild: true+ dev: true+/simple-swizzle/0.2.2:resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}dependencies: