diff --git a/.npmrc b/.npmrc
index cffe8cdef1..1b78f1c6f2 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1 +1,2 @@
save-exact=true
+legacy-peer-deps=true
diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
index 2626818955..cdd5ea5a49 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/footer.mdx
@@ -16,7 +16,6 @@ function App() {
className="custom-footer"
onClick={() => alert("This is dummy footer")}
>
- {" "}
custom footer
diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
index 8fbf228df1..2494df108f 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/api/children-components/main-menu.mdx
@@ -14,8 +14,7 @@ function App() {
Item1
- (isMobile: boolean, appState:{" "}
+ (isMobile: boolean, appState:
AppState
@@ -29,8 +29,7 @@ function App() {
}}
onClick={() => window.alert("This is dummy top right UI")}
>
- {" "}
- Click me{" "}
+ Click me
);
}}
@@ -55,8 +54,7 @@ function App() {
(
- {" "}
- Dummy stats will be shown here{" "}
+ Dummy stats will be shown here
)}
/>
@@ -105,8 +103,7 @@ function App() {
return (
/locales",
+ "/src/packages/excalidraw/dist/",
+ "/src/packages/excalidraw/types",
+ "/src/packages/excalidraw/example"
+ ],
"transformIgnorePatterns": [
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)"
],
@@ -127,6 +137,7 @@
"test:typecheck": "tsc",
"test:update": "yarn test:app --updateSnapshot --watchAll=false",
"test": "yarn test:app",
+ "test:coverage": "react-scripts test --passWithNoTests --coverage --watchAll",
"autorelease": "node scripts/autorelease.js",
"prerelease": "node scripts/prerelease.js",
"release": "node scripts/release.js"
diff --git a/public/index.html b/public/index.html
index a8633fc4df..f65e481f33 100644
--- a/public/index.html
+++ b/public/index.html
@@ -150,6 +150,14 @@
<% if (process.env.REACT_APP_DISABLE_TRACKING !== 'true') { %>
+
+
+
+
<% if (process.env.REACT_APP_GOOGLE_ANALYTICS_ID) { %>
- <% } %>
-
-
<% } %>
@@ -244,5 +227,17 @@
Excalidraw
+
+
+