fix: committing from root folder
This commit is contained in:
1 parent
0c9bcd1bd5
commit
db941d246c
5 files changed
+91
-19
No files matched your search
+16
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 90,
|
||||||
|
"useTabs": true,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"singleQuote": false,
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"proseWrap": "preserve",
|
||||||
|
"bracketSameLine": false,
|
||||||
|
"singleAttributePerLine": true,
|
||||||
|
"semi": true,
|
||||||
|
"jsx-single-quote": false,
|
||||||
|
"quoteProps": "as-needed",
|
||||||
|
"arrowParens": "always",
|
||||||
|
"trailingComma": "es5",
|
||||||
|
"htmlWhitespaceSensitivity": "css"
|
||||||
|
}
|
||||||
Generated
+16
@@ -23,6 +23,7 @@
|
|||||||
"dayjs": "1.11.11",
|
"dayjs": "1.11.11",
|
||||||
"joi": "17.13.1",
|
"joi": "17.13.1",
|
||||||
"jwt-decode": "^4.0.0",
|
"jwt-decode": "^4.0.0",
|
||||||
|
"prettier": "^3.3.3",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-redux": "9.1.2",
|
"react-redux": "9.1.2",
|
||||||
@@ -5314,6 +5315,21 @@
|
|||||||
"node": ">= 0.8.0"
|
"node": ">= 0.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/prettier": {
|
||||||
|
"version": "3.3.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz",
|
||||||
|
"integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
|
||||||
|
"license": "MIT",
|
||||||
|
"bin": {
|
||||||
|
"prettier": "bin/prettier.cjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/prop-types": {
|
"node_modules/prop-types": {
|
||||||
"version": "15.8.1",
|
"version": "15.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
"dayjs": "1.11.11",
|
"dayjs": "1.11.11",
|
||||||
"joi": "17.13.1",
|
"joi": "17.13.1",
|
||||||
"jwt-decode": "^4.0.0",
|
"jwt-decode": "^4.0.0",
|
||||||
|
"prettier": "^3.3.3",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-redux": "9.1.2",
|
"react-redux": "9.1.2",
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
.card {
|
.card {
|
||||||
padding: 2em;
|
padding: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-the-docs {
|
.read-the-docs {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
+56
-17
@@ -70,7 +70,11 @@ function App() {
|
|||||||
<ThemeProvider theme={mode === "light" ? lightTheme : darkTheme}>
|
<ThemeProvider theme={mode === "light" ? lightTheme : darkTheme}>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route exact path="/" element={<HomeLayout />}>
|
<Route
|
||||||
|
exact
|
||||||
|
path="/"
|
||||||
|
element={<HomeLayout />}
|
||||||
|
>
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
path="/"
|
path="/"
|
||||||
@@ -119,21 +123,34 @@ function App() {
|
|||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="advanced-settings"
|
path="advanced-settings"
|
||||||
element={
|
element={<ProtectedRoute Component={AdvancedSettingsWithAdminProp} />}
|
||||||
<ProtectedRoute Component={AdvancedSettingsWithAdminProp} />
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/profile"
|
path="account/profile"
|
||||||
element={<ProtectedRoute Component={Account} open="profile" />}
|
element={
|
||||||
|
<ProtectedRoute
|
||||||
|
Component={Account}
|
||||||
|
open="profile"
|
||||||
|
/>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/password"
|
path="account/password"
|
||||||
element={<ProtectedRoute Component={Account} open="password" />}
|
element={
|
||||||
|
<ProtectedRoute
|
||||||
|
Component={Account}
|
||||||
|
open="password"
|
||||||
|
/>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="account/team"
|
path="account/team"
|
||||||
element={<ProtectedRoute Component={Account} open="team" />}
|
element={
|
||||||
|
<ProtectedRoute
|
||||||
|
Component={Account}
|
||||||
|
open="team"
|
||||||
|
/>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed"
|
path="pagespeed"
|
||||||
@@ -145,9 +162,7 @@ function App() {
|
|||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed/:monitorId"
|
path="pagespeed/:monitorId"
|
||||||
element={
|
element={<ProtectedRoute Component={PageSpeedDetailsWithAdminProp} />}
|
||||||
<ProtectedRoute Component={PageSpeedDetailsWithAdminProp} />
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="pagespeed/configure/:monitorId"
|
path="pagespeed/configure/:monitorId"
|
||||||
@@ -155,15 +170,39 @@ function App() {
|
|||||||
/>
|
/>
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route exact path="/login" element={<Login />} />
|
<Route
|
||||||
|
exact
|
||||||
|
path="/login"
|
||||||
|
element={<Login />}
|
||||||
|
/>
|
||||||
|
|
||||||
<Route exact path="/register" element={<AdminCheckedRegister />} />
|
<Route
|
||||||
<Route exact path="/register/:token" element={<Register />} />
|
exact
|
||||||
|
path="/register"
|
||||||
|
element={<AdminCheckedRegister />}
|
||||||
|
/>
|
||||||
|
<Route
|
||||||
|
exact
|
||||||
|
path="/register/:token"
|
||||||
|
element={<Register />}
|
||||||
|
/>
|
||||||
{/* <Route path="/toast" element={<ToastComponent />} /> */}
|
{/* <Route path="/toast" element={<ToastComponent />} /> */}
|
||||||
<Route path="*" element={<NotFound />} />
|
<Route
|
||||||
<Route path="/forgot-password" element={<ForgotPassword />} />
|
path="*"
|
||||||
<Route path="/check-email" element={<CheckEmail />} />
|
element={<NotFound />}
|
||||||
<Route path="/set-new-password/:token" element={<SetNewPassword />} />
|
/>
|
||||||
|
<Route
|
||||||
|
path="/forgot-password"
|
||||||
|
element={<ForgotPassword />}
|
||||||
|
/>
|
||||||
|
<Route
|
||||||
|
path="/check-email"
|
||||||
|
element={<CheckEmail />}
|
||||||
|
/>
|
||||||
|
<Route
|
||||||
|
path="/set-new-password/:token"
|
||||||
|
element={<SetNewPassword />}
|
||||||
|
/>
|
||||||
<Route
|
<Route
|
||||||
path="/new-password-confirmed"
|
path="/new-password-confirmed"
|
||||||
element={<NewPasswordConfirmed />}
|
element={<NewPasswordConfirmed />}
|
||||||
|
|||||||
Reference in new issue
Block a user