Skip to content

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.

Merge branch 'main' into 24-support-component-story-format-csf

Oleg Isonen5a74436d7444
diff --cc .eslintrc.json
index 1d8cf7ecde,4b43ba1898..2a6de29a8b
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@@ -25,17 -25,12 +25,18 @@@
}
},
"rules": {
+ "no-console": 2,
// It's too dumb to understand properly what's defined in ts
"react/prop-types": 0,
+ "no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
- { "argsIgnorePattern": "^_" }
+ {
+ "argsIgnorePattern": "^_",
+ "varsIgnorePattern": "^_",
+ "caughtErrorsIgnorePattern": "^_",
+ "ignoreRestSiblings": true
+ }
],
"react/react-in-jsx-scope": 0,
"func-style": ["error", "expression", { "allowArrowFunctions": true }],
diff --cc package.json
index 7e78059cd4,8257c6b6b7..8c95b10039
--- a/package.json
+++ b/package.json
@@@ -88,11 -94,11 +95,13 @@@
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/builder-webpack4": "^6.5.9",
+ "@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack4": "^6.5.9",
+ "@storybook/manager-webpack5": "^6.5.9",
"@storybook/react": "^6.5.9",
"@storybook/testing-library": "^0.0.13",
+ "@testing-library/react": "^12.1.5",
+ "@testing-library/react-hooks": "^8.0.1",
"@types/css-tree": "^1.0.7",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/hyphenate-style-name": "^1.0.0",
@@@ -125,12 -131,11 +134,12 @@@
"lint-staged": "^13.0.2",
"prettier": "^2.6.2",
"prisma": "^3.14.0",
+ "react-test-renderer": "^17.0.2",
"relative-deps": "^1.0.7",
- "typescript": "^4.1.2"
+ "typescript": "4.6.4"
},
"engines": {
- "node": ">=14 || <=16"
+ "node": ">=14 <=16"
},
"sideEffects": false,
"license": "MIT",