📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix eslint and fix lint error
Maksim Mruga81897a0d0fd
diff --git a/.eslintrc.js b/.eslintrc.jsdeleted file mode 100644index 2061cd226..000000000--- a/.eslintrc.js+++ /dev/null@@ -1,4 +0,0 @@-/** @type {import('eslint').Linter.Config} */-module.exports = {- extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],-};diff --git a/app/entry.client.tsx b/app/entry.client.tsxindex 94d5dc0de..ef3398303 100644--- a/app/entry.client.tsx+++ b/app/entry.client.tsx@@ -4,15 +4,15 @@* For more information, see https://remix.run/file-conventions/entry.client*/-import { RemixBrowser } from "@remix-run/react";-import { startTransition, StrictMode } from "react";-import { hydrateRoot } from "react-dom/client";+import { RemixBrowser } from '@remix-run/react'+import { startTransition, StrictMode } from 'react'+import { hydrateRoot } from 'react-dom/client'startTransition(() => {hydrateRoot(document,<StrictMode><RemixBrowser />- </StrictMode>- );-});+ </StrictMode>,+ )+})diff --git a/app/entry.server.tsx b/app/entry.server.tsxindex a7b6d13f0..bd5223a66 100644--- a/app/entry.server.tsx+++ b/app/entry.server.tsx@@ -4,43 +4,45 @@* For more information, see https://remix.run/file-conventions/entry.server*/-import { PassThrough } from "node:stream";+import { PassThrough } from 'node:stream'-import type { AppLoadContext, EntryContext } from "@remix-run/node";-import { Response } from "@remix-run/node";-import { RemixServer } from "@remix-run/react";-import isbot from "isbot";-import { renderToPipeableStream } from "react-dom/server";+import type { AppLoadContext, EntryContext } from '@remix-run/node'+import { Response } from '@remix-run/node'+import { RemixServer } from '@remix-run/react'+import isbot from 'isbot'+import { renderToPipeableStream } from 'react-dom/server'-const ABORT_DELAY = 5_000;+const ABORT_DELAY = 5_000export default function handleRequest(request: Request,responseStatusCode: number,responseHeaders: Headers,remixContext: EntryContext,- loadContext: AppLoadContext+ loadContext: AppLoadContext,) {- return isbot(request.headers.get("user-agent"))+ return isbot(request.headers.get('user-agent'))+ // eslint-disable-next-line no-use-before-define? handleBotRequest(- request,- responseStatusCode,- responseHeaders,- remixContext- )+ request,+ responseStatusCode,+ responseHeaders,+ remixContext,+ )+ // eslint-disable-next-line no-use-before-define: handleBrowserRequest(- request,- responseStatusCode,- responseHeaders,- remixContext- );+ request,+ responseStatusCode,+ responseHeaders,+ remixContext,+ )}function handleBotRequest(request: Request,responseStatusCode: number,responseHeaders: Headers,- remixContext: EntryContext+ remixContext: EntryContext,) {return new Promise((resolve, reject) => {const { pipe, abort } = renderToPipeableStream(@@ -51,38 +53,38 @@ function handleBotRequest(/>,{onAllReady() {- const body = new PassThrough();+ const body = new PassThrough()- responseHeaders.set("Content-Type", "text/html");+ responseHeaders.set('Content-Type', 'text/html')resolve(new Response(body, {headers: responseHeaders,status: responseStatusCode,- })- );+ }),+ )- pipe(body);+ pipe(body)},onShellError(error: unknown) {- reject(error);+ reject(error)},onError(error: unknown) {- responseStatusCode = 500;- console.error(error);+ responseStatusCode = 500+ console.error(error)},- }- );+ },+ )- setTimeout(abort, ABORT_DELAY);- });+ setTimeout(abort, ABORT_DELAY)+ })}function handleBrowserRequest(request: Request,responseStatusCode: number,responseHeaders: Headers,- remixContext: EntryContext+ remixContext: EntryContext,) {return new Promise((resolve, reject) => {const { pipe, abort } = renderToPipeableStream(@@ -93,29 +95,29 @@ function handleBrowserRequest(/>,{onShellReady() {- const body = new PassThrough();+ const body = new PassThrough()- responseHeaders.set("Content-Type", "text/html");+ responseHeaders.set('Content-Type', 'text/html')resolve(new Response(body, {headers: responseHeaders,status: responseStatusCode,- })- );+ }),+ )- pipe(body);+ pipe(body)},onShellError(error: unknown) {- reject(error);+ reject(error)},onError(error: unknown) {- console.error(error);- responseStatusCode = 500;+ console.error(error)+ responseStatusCode = 500},- }- );+ },+ )- setTimeout(abort, ABORT_DELAY);- });+ setTimeout(abort, ABORT_DELAY)+ })}diff --git a/app/root.tsx b/app/root.tsxindex 4960699e1..c84d490ff 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -1,7 +1,5 @@-import { cssBundleHref } from "@remix-run/css-bundle";-import type { LinksFunction } from "@remix-run/node";-import tailwindCss from "./css/tailwind.css";-+import { cssBundleHref } from '@remix-run/css-bundle'+import type { LinksFunction } from '@remix-run/node'import {Links,LiveReload,@@ -9,21 +7,22 @@ import {Outlet,Scripts,ScrollRestoration,-} from "@remix-run/react";+} from '@remix-run/react'+import tailwindCss from './css/tailwind.css'export const links: LinksFunction = () => [...(cssBundleHref ? [- { rel: "stylesheet", href: cssBundleHref },- { rel: "stylesheet", href: tailwindCss },+ { rel: 'stylesheet', href: cssBundleHref },+ { rel: 'stylesheet', href: tailwindCss },] : []),-];+]export default function App() {return (- <html lang="en">+ <html lang='en'><head>- <meta charSet="utf-8" />- <meta name="viewport" content="width=device-width,initial-scale=1" />+ <meta charSet='utf-8' />+ <meta name='viewport' content='width=device-width,initial-scale=1' /><Meta /><Links /></head>@@ -34,5 +33,5 @@ export default function App() {<LiveReload /></body></html>- );+ )}diff --git a/app/routes/_index.tsx b/app/routes/_index.tsxindex 5352b9722..9f93ad81b 100644--- a/app/routes/_index.tsx+++ b/app/routes/_index.tsx@@ -1,41 +1,41 @@-import type { V2_MetaFunction } from "@remix-run/node";+import type { V2_MetaFunction } from '@remix-run/node'export const meta: V2_MetaFunction = () => {return [- { title: "New Remix App" },- { name: "description", content: "Welcome to Remix!" },- ];-};+ { title: 'New Remix App' },+ { name: 'description', content: 'Welcome to Remix!' },+ ]+}export default function Index() {return (- <div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.8" }}>+ <div style={{ fontFamily: 'system-ui, sans-serif', lineHeight: '1.8' }}><h1>Welcome to Remix</h1><ul><li><a- target="_blank"- href="https://remix.run/tutorials/blog"- rel="noreferrer"+ target='_blank'+ href='https://remix.run/tutorials/blog'+ rel='noreferrer'>15m Quickstart Blog Tutorial</a></li><li><a- target="_blank"- href="https://remix.run/tutorials/jokes"- rel="noreferrer"+ target='_blank'+ href='https://remix.run/tutorials/jokes'+ rel='noreferrer'>Deep Dive Jokes App Tutorial</a></li><li>- <a target="_blank" href="https://remix.run/docs" rel="noreferrer">+ <a target='_blank' href='https://remix.run/docs' rel='noreferrer'>Remix Docs</a></li></ul></div>- );+ )}diff --git a/package-lock.json b/package-lock.jsonindex e6b43a675..8e2e5735d 100644--- a/package-lock.json+++ b/package-lock.json@@ -66,9 +66,11 @@"@types/react-flatpickr": "^3.8.8","@types/react-test-renderer": "^18.0.0","@types/redux-mock-store": "^1.0.3",+ "@typescript-eslint/parser": "^5.59.8",+ "@typescript-eslint/typescript-estree": "^5.59.8","autoprefixer": "^10.4.14","cross-env": "^7.0.3",- "eslint": "^8.39.0",+ "eslint": "^8.42.0","eslint-config-airbnb": "^19.0.4","eslint-config-react-app": "^7.0.1","eslint-plugin-jsx-a11y": "^6.7.1",@@ -80,7 +82,7 @@"resize-observer-polyfill": "^1.5.1","source-map-explorer": "^2.5.3","tailwindcss": "^3.3.2",- "typescript": "^5.0.4"+ "typescript": "^5.1.3"},"engines": {"node": ">=14"diff --git a/package.json b/package.jsonindex cbb341f4e..d97e49d58 100644--- a/package.json+++ b/package.json@@ -11,19 +11,16 @@"lint:tsc": "tsc --noEmit"},"dependencies": {- "@remix-run/css-bundle": "^1.16.1",- "@remix-run/node": "^1.16.1",- "@remix-run/react": "^1.16.1",- "@remix-run/serve": "^1.16.1",- "isbot": "^3.6.8",- "react": "^18.2.0",- "react-dom": "^18.2.0","@blaumaus/react-alert": "^7.0.5","@headlessui/react": "^1.7.14","@heroicons/react": "^2.0.17","@nivo/core": "^0.81.0","@nivo/sankey": "^0.81.0","@reduxjs/toolkit": "^1.9.5",+ "@remix-run/css-bundle": "^1.16.1",+ "@remix-run/node": "^1.16.1",+ "@remix-run/react": "^1.16.1",+ "@remix-run/serve": "^1.16.1","@swetrix/sdk": "^1.0.0","@tailwindcss/forms": "^0.5.3","axios": "^1.4.0",@@ -40,10 +37,13 @@"i18next": "^22.4.15","i18next-browser-languagedetector": "^7.0.1","i18next-http-backend": "^2.2.0",+ "isbot": "^3.6.8","jszip": "^3.10.1","lodash": "^4.17.21","nanoid": "^4.0.2","prop-types": "^15.8.1",+ "react": "^18.2.0",+ "react-dom": "^18.2.0","react-flagkit": "^2.0.4","react-flatpickr": "^3.10.13","react-helmet-async": "^1.3.0",@@ -174,22 +174,22 @@"devDependencies": {"@remix-run/dev": "^1.16.1","@remix-run/eslint-config": "^1.16.1",- "@types/react": "^18.0.35",- "@types/react-dom": "^18.0.11",- "tailwindcss": "^3.3.2",- "typescript": "^5.0.4","@tailwindcss/typography": "^0.5.9","@types/debug": "^4.1.7","@types/jest": "^29.5.1","@types/lodash": "^4.14.194","@types/node": "^18.16.2","@types/prop-types": "^15.7.5",+ "@types/react": "^18.0.35",+ "@types/react-dom": "^18.0.11","@types/react-flatpickr": "^3.8.8","@types/react-test-renderer": "^18.0.0","@types/redux-mock-store": "^1.0.3",+ "@typescript-eslint/parser": "^5.59.8",+ "@typescript-eslint/typescript-estree": "^5.59.8","autoprefixer": "^10.4.14","cross-env": "^7.0.3",- "eslint": "^8.39.0",+ "eslint": "^8.42.0","eslint-config-airbnb": "^19.0.4","eslint-config-react-app": "^7.0.1","eslint-plugin-jsx-a11y": "^6.7.1",@@ -199,7 +199,9 @@"history": "^5.3.0","postcss": "^8.4.23","resize-observer-polyfill": "^1.5.1",- "source-map-explorer": "^2.5.3"+ "source-map-explorer": "^2.5.3",+ "tailwindcss": "^3.3.2",+ "typescript": "^5.1.3"},"engines": {"node": ">=14"diff --git a/public/build/_assets/tailwind-36MTF67E.css.map b/public/build/_assets/tailwind-36MTF67E.css.mapdeleted file mode 100644index 6c5e3436b..000000000--- a/public/build/_assets/tailwind-36MTF67E.css.map+++ /dev/null@@ -1,7 +0,0 @@-{- "version": 3,- "sources": ["../../../app/css/tailwind.css"],- "sourcesContent": ["@tailwind base;\n@tailwind components;\n@tailwind utilities;"],- "mappings": ";AAAA;;;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;;AAAA;;AAAA;;;;AAAA;;;;;;;;;AAAA;;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AAAA;;AAAA;;AAAA;;;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;;;;;;;;;;;;;AAAA;;AAAA;AAAA;;;AAAA;AAAA;;AAAA;;;AAAA;AAAA;;;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAAA;;AAAA;;AAAA;AAAA;;AAAA;;;;;;;;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;",- "names": []-}diff --git a/public/build/_assets/tailwind-QRQT4R5G.css b/public/build/_assets/tailwind-QRQT4R5G.cssdeleted file mode 100644index 24ad6cad8..000000000--- a/public/build/_assets/tailwind-QRQT4R5G.css+++ /dev/null@@ -1,500 +0,0 @@-/* app/css/tailwind.css */-*,-:before,-:after {- box-sizing: border-box;- border-width: 0;- border-style: solid;- border-color: #e5e7eb;-}-:before,-:after {- --tw-content: "";-}-html {- line-height: 1.5;- -webkit-text-size-adjust: 100%;- tab-size: 4;- font-family:- ui-sans-serif,- system-ui,- -apple-system,- BlinkMacSystemFont,- Segoe UI,- Roboto,- Helvetica Neue,- Arial,- Noto Sans,- sans-serif,- "Apple Color Emoji",- "Segoe UI Emoji",- Segoe UI Symbol,- "Noto Color Emoji";- font-feature-settings: normal;- font-variation-settings: normal;-}-body {- margin: 0;- line-height: inherit;-}-hr {- height: 0;- color: inherit;- border-top-width: 1px;-}-abbr:where([title]) {- -webkit-text-decoration: underline dotted;- text-decoration: underline dotted;-}-h1,-h2,-h3,-h4,-h5,-h6 {- font-size: inherit;- font-weight: inherit;-}-a {- color: inherit;- text-decoration: inherit;-}-b,-strong {- font-weight: bolder;-}-code,-kbd,-samp,-pre {- font-family:- ui-monospace,- SFMono-Regular,- Menlo,- Monaco,- Consolas,- Liberation Mono,- Courier New,- monospace;- font-size: 1em;-}-small {- font-size: 80%;-}-sub,-sup {- font-size: 75%;- line-height: 0;- position: relative;- vertical-align: baseline;-}-sub {- bottom: -.25em;-}-sup {- top: -.5em;-}-table {- text-indent: 0;- border-color: inherit;- border-collapse: collapse;-}-button,-input,-optgroup,-select,-textarea {- font-family: inherit;- font-size: 100%;- font-weight: inherit;- line-height: inherit;- color: inherit;- margin: 0;- padding: 0;-}-button,-select {- text-transform: none;-}-button,-[type=button],-[type=reset],-[type=submit] {- -webkit-appearance: button;- background-color: transparent;- background-image: none;-}-:-moz-focusring {- outline: auto;-}-:-moz-ui-invalid {- box-shadow: none;-}-progress {- vertical-align: baseline;-}-::-webkit-inner-spin-button,-::-webkit-outer-spin-button {- height: auto;-}-[type=search] {- -webkit-appearance: textfield;- outline-offset: -2px;-}-::-webkit-search-decoration {- -webkit-appearance: none;-}-::-webkit-file-upload-button {- -webkit-appearance: button;- font: inherit;-}-summary {- display: list-item;-}-blockquote,-dl,-dd,-h1,-h2,-h3,-h4,-h5,-h6,-hr,-figure,-p,-pre {- margin: 0;-}-fieldset {- margin: 0;- padding: 0;-}-legend {- padding: 0;-}-ol,-ul,-menu {- list-style: none;- margin: 0;- padding: 0;-}-textarea {- resize: vertical;-}-input::placeholder,-textarea::placeholder {- opacity: 1;- color: #9ca3af;-}-button,-[role=button] {- cursor: pointer;-}-:disabled {- cursor: default;-}-img,-svg,-video,-canvas,-audio,-iframe,-embed,-object {- display: block;- vertical-align: middle;-}-img,-video {- max-width: 100%;- height: auto;-}-[hidden] {- display: none;-}-[type=text],-[type=email],-[type=url],-[type=password],-[type=number],-[type=date],-[type=datetime-local],-[type=month],-[type=search],-[type=tel],-[type=time],-[type=week],-[multiple],-textarea,-select {- appearance: none;- background-color: #fff;- border-color: #6b7280;- border-width: 1px;- border-radius: 0;- padding: .5rem .75rem;- font-size: 1rem;- line-height: 1.5rem;- --tw-shadow: 0 0 #0000;-}-[type=text]:focus,-[type=email]:focus,-[type=url]:focus,-[type=password]:focus,-[type=number]:focus,-[type=date]:focus,-[type=datetime-local]:focus,-[type=month]:focus,-[type=search]:focus,-[type=tel]:focus,-[type=time]:focus,-[type=week]:focus,-[multiple]:focus,-textarea:focus,-select:focus {- outline: 2px solid transparent;- outline-offset: 2px;- --tw-ring-inset: var(--tw-empty, );- --tw-ring-offset-width: 0px;- --tw-ring-offset-color: #fff;- --tw-ring-color: #2563eb;- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);- box-shadow:- var(--tw-ring-offset-shadow),- var(--tw-ring-shadow),- var(--tw-shadow);- border-color: #2563eb;-}-input::placeholder,-textarea::placeholder {- color: #6b7280;- opacity: 1;-}-::-webkit-datetime-edit-fields-wrapper {- padding: 0;-}-::-webkit-date-and-time-value {- min-height: 1.5em;-}-::-webkit-datetime-edit,-::-webkit-datetime-edit-year-field,-::-webkit-datetime-edit-month-field,-::-webkit-datetime-edit-day-field,-::-webkit-datetime-edit-hour-field,-::-webkit-datetime-edit-minute-field,-::-webkit-datetime-edit-second-field,-::-webkit-datetime-edit-millisecond-field,-::-webkit-datetime-edit-meridiem-field {- padding-top: 0;- padding-bottom: 0;-}-select {- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");- background-position: right .5rem center;- background-repeat: no-repeat;- background-size: 1.5em 1.5em;- padding-right: 2.5rem;- -webkit-print-color-adjust: exact;- print-color-adjust: exact;-}-[multiple] {- background-image: initial;- background-position: initial;- background-repeat: unset;- background-size: initial;- padding-right: .75rem;- -webkit-print-color-adjust: unset;- print-color-adjust: unset;-}-[type=checkbox],-[type=radio] {- appearance: none;- padding: 0;- -webkit-print-color-adjust: exact;- print-color-adjust: exact;- display: inline-block;- vertical-align: middle;- background-origin: border-box;- -webkit-user-select: none;- user-select: none;- flex-shrink: 0;- height: 1rem;- width: 1rem;- color: #2563eb;- background-color: #fff;- border-color: #6b7280;- border-width: 1px;- --tw-shadow: 0 0 #0000;-}-[type=checkbox] {- border-radius: 0;-}-[type=radio] {- border-radius: 100%;-}-[type=checkbox]:focus,-[type=radio]:focus {- outline: 2px solid transparent;- outline-offset: 2px;- --tw-ring-inset: var(--tw-empty, );- --tw-ring-offset-width: 2px;- --tw-ring-offset-color: #fff;- --tw-ring-color: #2563eb;- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);- box-shadow:- var(--tw-ring-offset-shadow),- var(--tw-ring-shadow),- var(--tw-shadow);-}-[type=checkbox]:checked,-[type=radio]:checked {- border-color: transparent;- background-color: currentColor;- background-size: 100% 100%;- background-position: center;- background-repeat: no-repeat;-}-[type=checkbox]:checked {- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");-}-[type=radio]:checked {- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");-}-[type=checkbox]:checked:hover,-[type=checkbox]:checked:focus,-[type=radio]:checked:hover,-[type=radio]:checked:focus {- border-color: transparent;- background-color: currentColor;-}-[type=checkbox]:indeterminate {- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");- border-color: transparent;- background-color: currentColor;- background-size: 100% 100%;- background-position: center;- background-repeat: no-repeat;-}-[type=checkbox]:indeterminate:hover,-[type=checkbox]:indeterminate:focus {- border-color: transparent;- background-color: currentColor;-}-[type=file] {- background: unset;- border-color: inherit;- border-width: 0;- border-radius: 0;- padding: 0;- font-size: unset;- line-height: inherit;-}-[type=file]:focus {- outline: 1px solid ButtonText;- outline: 1px auto -webkit-focus-ring-color;-}-*,-:before,-:after {- --tw-border-spacing-x: 0;- --tw-border-spacing-y: 0;- --tw-translate-x: 0;- --tw-translate-y: 0;- --tw-rotate: 0;- --tw-skew-x: 0;- --tw-skew-y: 0;- --tw-scale-x: 1;- --tw-scale-y: 1;- --tw-pan-x: ;- --tw-pan-y: ;- --tw-pinch-zoom: ;- --tw-scroll-snap-strictness: proximity;- --tw-gradient-from-position: ;- --tw-gradient-via-position: ;- --tw-gradient-to-position: ;- --tw-ordinal: ;- --tw-slashed-zero: ;- --tw-numeric-figure: ;- --tw-numeric-spacing: ;- --tw-numeric-fraction: ;- --tw-ring-inset: ;- --tw-ring-offset-width: 0px;- --tw-ring-offset-color: #fff;- --tw-ring-color: rgb(59 130 246 / .5);- --tw-ring-offset-shadow: 0 0 #0000;- --tw-ring-shadow: 0 0 #0000;- --tw-shadow: 0 0 #0000;- --tw-shadow-colored: 0 0 #0000;- --tw-blur: ;- --tw-brightness: ;- --tw-contrast: ;- --tw-grayscale: ;- --tw-hue-rotate: ;- --tw-invert: ;- --tw-saturate: ;- --tw-sepia: ;- --tw-drop-shadow: ;- --tw-backdrop-blur: ;- --tw-backdrop-brightness: ;- --tw-backdrop-contrast: ;- --tw-backdrop-grayscale: ;- --tw-backdrop-hue-rotate: ;- --tw-backdrop-invert: ;- --tw-backdrop-opacity: ;- --tw-backdrop-saturate: ;- --tw-backdrop-sepia: ;-}-::backdrop {- --tw-border-spacing-x: 0;- --tw-border-spacing-y: 0;- --tw-translate-x: 0;- --tw-translate-y: 0;- --tw-rotate: 0;- --tw-skew-x: 0;- --tw-skew-y: 0;- --tw-scale-x: 1;- --tw-scale-y: 1;- --tw-pan-x: ;- --tw-pan-y: ;- --tw-pinch-zoom: ;- --tw-scroll-snap-strictness: proximity;- --tw-gradient-from-position: ;- --tw-gradient-via-position: ;- --tw-gradient-to-position: ;- --tw-ordinal: ;- --tw-slashed-zero: ;- --tw-numeric-figure: ;- --tw-numeric-spacing: ;- --tw-numeric-fraction: ;- --tw-ring-inset: ;- --tw-ring-offset-width: 0px;- --tw-ring-offset-color: #fff;- --tw-ring-color: rgb(59 130 246 / .5);- --tw-ring-offset-shadow: 0 0 #0000;- --tw-ring-shadow: 0 0 #0000;- --tw-shadow: 0 0 #0000;- --tw-shadow-colored: 0 0 #0000;- --tw-blur: ;- --tw-brightness: ;- --tw-contrast: ;- --tw-grayscale: ;- --tw-hue-rotate: ;- --tw-invert: ;- --tw-saturate: ;- --tw-sepia: ;- --tw-drop-shadow: ;- --tw-backdrop-blur: ;- --tw-backdrop-brightness: ;- --tw-backdrop-contrast: ;- --tw-backdrop-grayscale: ;- --tw-backdrop-hue-rotate: ;- --tw-backdrop-invert: ;- --tw-backdrop-opacity: ;- --tw-backdrop-saturate: ;- --tw-backdrop-sepia: ;-}-/*# sourceMappingURL=/build/_assets/tailwind-36MTF67E.css.map */diff --git a/remix.config.js b/remix.config.jsindex 6e742c351..700e1d2ff 100644--- a/remix.config.js+++ b/remix.config.js@@ -1,17 +1,17 @@/** @type {import('@remix-run/dev').AppConfig} */module.exports = {- ignoredRouteFiles: ["**/.*"],- // appDirectory: "app",+ ignoredRouteFiles: ['**/.*'],+ appDirectory: 'app',// assetsBuildDirectory: "public/build",// serverBuildPath: "build/index.js",// publicPath: "/build/",tailwind: true,postcss: true,- serverModuleFormat: "cjs",- // future: {- // v2_errorBoundary: true,- // v2_meta: true,- // v2_normalizeFormMethod: true,- // v2_routeConvention: true,- // },-};+ serverModuleFormat: 'cjs',+ future: {+ v2_errorBoundary: true,+ v2_meta: true,+ v2_normalizeFormMethod: true,+ v2_routeConvention: true,+ },+}