Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: upgrade prettier/eslint + autofix (#20785)

Kevin Grünebergf7e60bf324d5
diff --git a/.github/workflows/autofix_linters.yml b/.github/workflows/autofix_linters.yml
new file mode 100644
index 00000000000..ca8882d7e04
--- /dev/null
+++ b/.github/workflows/autofix_linters.yml
@@ -0,0 +1,58 @@
+name: Autofix Linting Checks
+
+on:
+ pull_request:
+ types:
+ - labeled
+
+# Cancel old builds on new commit for same workflow + branch/PR
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ autofix:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ if: ${{ github.event_name == 'pull_request' && (github.event.label.name == 'autofix') }}
+ steps:
+ - name: Calculate number of commits
+ run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
+
+ - uses: actions/checkout@v4
+ with:
+ ref: ${{ github.head_ref }}
+ sparse-checkout: apps
+ fetch-depth: ${{ env.PR_FETCH_DEPTH }}
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version-file: '.nvmrc'
+
+ # Installing all dependencies takes up to three minutes, hacking around to only installing prettier+deps
+ - name: Install required dependencies
+ run: |
+ rm package.json
+ rm package-lock.json
+ npm i [email protected] prettier-plugin-sql-cst
+
+ - name: Run Prettier in fix mode
+ run: |
+ npx prettier --write 'apps/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'
+
+ - name: Commit changes and push to existing branch
+ run: |
+ git checkout -- package.json
+ git checkout -- package-lock.json
+ git config --global user.name 'github-tidy-bot'
+ git config --global user.email '[email protected]'
+ if [[ `git status --porcelain` ]]; then
+ echo "[bot] Changes detected, committing."
+
+ echo "[bot] Running in non-squash mode."
+ git commit -am "ci: Autofix updates from GitHub workflow"
+ git push
+ else
+ echo "[bot] No changes detected, nothing to commit."
+ fi
diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml
index 379248ed601..cc2d29c5659 100644
--- a/.github/workflows/prettier.yml
+++ b/.github/workflows/prettier.yml
@@ -27,7 +27,7 @@ jobs:
run: |
rm package.json
rm package-lock.json
- npm i prettier@2 prettier-plugin-sql-cst
+ npm i [email protected] prettier-plugin-sql-cst
- name: Run prettier
run: |-
npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'
@@ -50,7 +50,7 @@ jobs:
run: |
rm package.json
rm package-lock.json
- npm i prettier@2 prettier-plugin-sql-cst
+ npm i [email protected] prettier-plugin-sql-cst
- name: Run prettier
run: |-
npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,mdx,json}'
@@ -68,7 +68,7 @@ jobs:
run: |
rm package.json
rm package-lock.json
- npm i prettier@2 prettier-plugin-sql-cst
+ npm i [email protected] prettier-plugin-sql-cst
- name: Run prettier
run: |-
# Check mdx files which contain sql code blocks
diff --git a/apps/database-new/app/[threadId]/[runId]/UserChat.tsx b/apps/database-new/app/[threadId]/[runId]/UserChat.tsx
index 8abc0683a6e..f1457b55ff6 100644
--- a/apps/database-new/app/[threadId]/[runId]/UserChat.tsx
+++ b/apps/database-new/app/[threadId]/[runId]/UserChat.tsx
@@ -138,8 +138,8 @@ const UserChat = ({ message, isLatest, times, run }: UserChatProps) => {
{replyDuration !== undefined
? ` with ${replyDuration}s response`
: isLoading
- ? ', generating response...'
- : ''}
+ ? ', generating response...'
+ : ''}
</p>
)}
</div>
diff --git a/apps/database-new/app/globals.css b/apps/database-new/app/globals.css
index bbe375023cc..11c393d6b2d 100644
--- a/apps/database-new/app/globals.css
+++ b/apps/database-new/app/globals.css
@@ -8,56 +8,64 @@
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Book.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Book.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BookItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BookItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BookItalic.woff) format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-MediumItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-MediumItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-MediumItalic.woff) format('woff');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Bold.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Bold.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Bold.woff) format('woff');
font-weight: 700;
font-style: 600;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BoldItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BoldItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BoldItalic.woff) format('woff');
font-style: 600;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Black.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Black.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Black.woff) format('woff');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BlackItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BlackItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BlackItalic.woff) format('woff');
font-weight: 800;
font-style: italic;
@@ -66,7 +74,8 @@
@font-face {
font-family: 'source code pro';
src: url('/fonts/source-code-pro/SourceCodePro-Regular.eot');
- src: url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),
+ src:
+ url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),
url('/fonts/source-code-pro/SourceCodePro-Regular.woff') format('woff'),
url('/fonts/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'),
url('/fonts/source-code-pro/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');
diff --git a/apps/database-new/package.json b/apps/database-new/package.json
index db88150b75c..1fbb366d25e 100644
--- a/apps/database-new/package.json
+++ b/apps/database-new/package.json
@@ -17,7 +17,7 @@
"common": "*",
"config": "*",
"dayjs": "^1.11.10",
- "eslint-config-next": "^14.0.3",
+ "eslint-config-next": "^14.1.0",
"lodash": "^4.17.21",
"lucide-react": "^0.292.0",
"next": "^14.0.3",
diff --git a/apps/database-new/tsconfig.json b/apps/database-new/tsconfig.json
index 881d250a669..2b727367ee7 100644
--- a/apps/database-new/tsconfig.json
+++ b/apps/database-new/tsconfig.json
@@ -15,15 +15,15 @@
"incremental": true,
"plugins": [
{
- "name": "next"
- }
+ "name": "next",
+ },
],
"paths": {
"@/*": ["./*"],
// handle ui package paths
- "@ui/*": ["./../../packages/ui/src/*"]
- }
+ "@ui/*": ["./../../packages/ui/src/*"],
+ },
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/database-new/types/supabase.ts b/apps/database-new/types/supabase.ts
index 6a883759f1d..7050f57386e 100644
--- a/apps/database-new/types/supabase.ts
+++ b/apps/database-new/types/supabase.ts
@@ -46,7 +46,7 @@ export interface Database {
columns: ['user_id']
referencedRelation: 'users'
referencedColumns: ['id']
- }
+ },
]
}
responses_ai: {
@@ -92,7 +92,7 @@ export interface Database {
columns: ['user_id']
referencedRelation: 'users'
referencedColumns: ['id']
- }
+ },
]
}
threads: {
@@ -132,7 +132,7 @@ export interface Database {
columns: ['user_id']
referencedRelation: 'users'
referencedColumns: ['id']
- }
+ },
]
}
}
diff --git a/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.ComboBox.tsx b/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.ComboBox.tsx
index fa68260238a..5f2047470bd 100644
--- a/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.ComboBox.tsx
+++ b/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.ComboBox.tsx
@@ -64,8 +64,8 @@ export function ComboBox<Opt extends ComboBoxOption>({
{isLoading
? 'Loading...'
: options.length === 0
- ? `No ${name} found`
- : selectedOptionDisplayName ?? `Select a ${name}...`}
+ ? `No ${name} found`
+ : selectedOptionDisplayName ?? `Select a ${name}...`}
<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
</Button>
</PopoverTrigger>
diff --git a/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx b/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx
index dfe36c3b34d..b316a6cdbb8 100644
--- a/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx
+++ b/apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx
@@ -98,14 +98,14 @@ function OrgProjectSelector() {
const stateSummary: ProjectOrgDataState = isUserLoading
? 'userLoading'
: !isLoggedIn
- ? 'loggedOut'
- : anyIsPending
- ? 'loggedIn.dataPending'
- : anyIsError
- ? 'loggedIn.dataError'
- : projects?.length === 0
- ? 'loggedIn.dataSuccess.hasNoData'
- : 'loggedIn.dataSuccess.hasData'
+ ? 'loggedOut'
+ : anyIsPending
+ ? 'loggedIn.dataPending'
+ : anyIsError
+ ? 'loggedIn.dataError'
+ : projects?.length === 0
+ ? 'loggedIn.dataSuccess.hasNoData'
+ : 'loggedIn.dataSuccess.hasData'
const formattedData: ComboBoxOption[] = useMemo(
() =>
@@ -194,16 +194,16 @@ function BranchSelector() {
const stateSummary: BranchesDataState = userLoading
? 'userLoading'
: !isLoggedIn
- ? 'loggedOut'
- : !hasBranches
- ? 'loggedIn.noBranches'
- : isPending
- ? 'loggedIn.branches.dataPending'
- : isError
- ? 'loggedIn.branches.dataError'
- : data.length === 0
- ? 'loggedIn.branches.dataSuccess.noData'
- : 'loggedIn.branches.dataSuccess.hasData'
+ ? 'loggedOut'
+ : !hasBranches
+ ? 'loggedIn.noBranches'
+ : isPending
+ ? 'loggedIn.branches.dataPending'
+ : isError
+ ? 'loggedIn.branches.dataError'
+ : data.length === 0
+ ? 'loggedIn.branches.dataSuccess.noData'
+ : 'loggedIn.branches.dataSuccess.hasData'
const formattedData: ComboBoxOption[] =
stateSummary !== 'loggedIn.branches.dataSuccess.hasData'
@@ -282,14 +282,14 @@ function VariableView({ variable, className }: { variable: Variable; className?:
const stateSummary: VariableDataState = isUserLoading
? 'userLoading'
: !isLoggedIn
- ? 'loggedOut'
- : !ref
- ? 'loggedIn.noSelectedProject'
- : isPending
- ? 'loggedIn.selectedProject.dataPending'
- : isError
- ? 'loggedIn.selectedProject.dataError'
- : 'loggedIn.selectedProject.dataSuccess'
+ ? 'loggedOut'
+ : !ref
+ ? 'loggedIn.noSelectedProject'
+ : isPending
+ ? 'loggedIn.selectedProject.dataPending'
+ : isError
+ ? 'loggedIn.selectedProject.dataError'
+ : 'loggedIn.selectedProject.dataSuccess'
let variableValue: string = null
if (stateSummary === 'loggedIn.selectedProject.dataSuccess') {
@@ -319,8 +319,8 @@ function VariableView({ variable, className }: { variable: Variable; className?:
stateSummary === 'loggedIn.selectedProject.dataPending'
? 'Loading...'
: stateSummary === 'loggedIn.selectedProject.dataSuccess'
- ? variableValue
- : `YOUR ${prettyFormatVariable[variable].toUpperCase()}`
+ ? variableValue
+ : `YOUR ${prettyFormatVariable[variable].toUpperCase()}`
}
/>
<CopyToClipboard text={variableValue ?? ''}>
diff --git a/apps/docs/components/RealtimeLimitsEstimater.tsx b/apps/docs/components/RealtimeLimitsEstimater.tsx
index d8e153c2d3b..822c95f5a83 100644
--- a/apps/docs/components/RealtimeLimitsEstimater.tsx
+++ b/apps/docs/components/RealtimeLimitsEstimater.tsx
@@ -158,8 +158,8 @@ export default function RealtimeLimitsEstimater({}) {
{computeAddOn === 'micro'
? 'Micro'
: computeAddOn === 'small'
- ? 'Small to medium'
- : 'Large to 16XL'}
+ ? 'Small to medium'
+ : 'Large to 16XL'}
</h4>
<table className="table-auto">
<thead>
diff --git a/apps/docs/components/reference/RefFunctionSection.tsx b/apps/docs/components/reference/RefFunctionSection.tsx
index 733e07030f0..19d14023f54 100644
--- a/apps/docs/components/reference/RefFunctionSection.tsx
+++ b/apps/docs/components/reference/RefFunctionSection.tsx
@@ -126,14 +126,14 @@ const RefFunctionSection: React.FC<IRefFunctionSection> = (props) => {
const codeBlockLang = example?.code?.startsWith('```js')
? 'js'
: example?.code?.startsWith('```ts')
- ? 'ts'
- : example?.code?.startsWith('```dart')
- ? 'dart'
- : example?.code?.startsWith('```c#')
- ? 'csharp'
- : example?.code?.startsWith('```kotlin')
- ? 'kotlin'
- : 'js'
+ ? 'ts'
+ : example?.code?.startsWith('```dart')
+ ? 'dart'
+ : example?.code?.startsWith('```c#')
+ ? 'csharp'
+ : example?.code?.startsWith('```kotlin')
+ ? 'kotlin'
+ : 'js'
// `
// import { createClient } from '@supabase/supabase-js'
diff --git a/apps/docs/generator/legacy.ts b/apps/docs/generator/legacy.ts
index 9cb6dced62c..cf066ef1d0a 100644
--- a/apps/docs/generator/legacy.ts
+++ b/apps/docs/generator/legacy.ts
@@ -259,10 +259,10 @@ function extractParamTypeAsString(paramDefinition) {
x.value
? `<code>${x.value}</code>`
: x.name
- ? `<code>${x.name}</code>`
- : x.type
- ? `<code>${x.type}</code>`
- : ''
+ ? `<code>${x.name}</code>`
+ : x.type
+ ? `<code>${x.type}</code>`
+ : ''
)
.join(' | ')
}
diff --git a/apps/docs/generator/tsconfig.json b/apps/docs/generator/tsconfig.json
index 8615cb5639e..457c226ceae 100644
--- a/apps/docs/generator/tsconfig.json
+++ b/apps/docs/generator/tsconfig.json
@@ -5,9 +5,9 @@
"noImplicitAny": false,
"baseUrl": ".",
"paths": {
- "~/*": ["./*"]
- }
+ "~/*": ["./*"],
+ },
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/docs/internals/generate-sitemap.mjs b/apps/docs/internals/generate-sitemap.mjs
index 52c00e86bbc..c82e2709deb 100644
--- a/apps/docs/internals/generate-sitemap.mjs
+++ b/apps/docs/internals/generate-sitemap.mjs
@@ -53,7 +53,7 @@ async function generate() {
</urlset>
`
- const formatted = prettier.format(sitemap, {
+ const formatted = await prettier.format(sitemap, {
...prettierConfig,
parser: 'html',
})
diff --git a/apps/docs/internals/tsconfig.json b/apps/docs/internals/tsconfig.json
index de1ecb67a32..3f7e8747893 100644
--- a/apps/docs/internals/tsconfig.json
+++ b/apps/docs/internals/tsconfig.json
@@ -7,9 +7,9 @@
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
- "~/*": ["./*"]
- }
+ "~/*": ["./*"],
+ },
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/docs/layouts/SiteLayout.tsx b/apps/docs/layouts/SiteLayout.tsx
index 0b63909f289..d73be4e01df 100644
--- a/apps/docs/layouts/SiteLayout.tsx
+++ b/apps/docs/layouts/SiteLayout.tsx
@@ -201,8 +201,8 @@ const MobileHeader = memo(function MobileHeader() {
{mobileMenuOpen
? 'Close'
: menuLevel
- ? levelsData[menuLevel].name
- : levelsData['home'].name}
+ ? levelsData[menuLevel].name
+ : levelsData['home'].name}
</span>
</div>
)
diff --git a/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx b/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx
index 7cc9a02f4dd..30e18a67355 100644
--- a/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx
+++ b/apps/docs/pages/guides/database/extensions/uuid-ossp.mdx
@@ -88,7 +88,6 @@ create table contacts (
id uuid default uuid_generate_v4(),
first_name text,
last_name text,
-
primary key (id)
);
```
diff --git a/apps/docs/pages/guides/database/sql-to-api.mdx b/apps/docs/pages/guides/database/sql-to-api.mdx
index fa031db611b..9e8a486d0ae 100644
--- a/apps/docs/pages/guides/database/sql-to-api.mdx
+++ b/apps/docs/pages/guides/database/sql-to-api.mdx
@@ -13,7 +13,7 @@ Select a set of columns from a single table with where, order by, and limit clau
```sql
select first_name, last_name, team_id, age
from players
-where age between 20 and 24 and team_id <> 'STL'
+where age between 20 and 24 and team_id != 'STL'
order by last_name, first_name desc
limit 20;
```
@@ -52,7 +52,7 @@ Select all columns from a single table with a complex where clause: AND OR AND
```sql
select *
from players
-where ((team_id = 'CHN' and age > 35) or (team_id <> 'CHN' and age is not null));
+where ((team_id = 'CHN' and age > 35) or (team_id != 'CHN' and age is not null));
```
```js
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx
index a21b2410a15..cae2ef8bba7 100644
--- a/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx
+++ b/apps/docs/pages/guides/getting-started/tutorials/with-angular.mdx
@@ -230,7 +230,10 @@ export class AccountComponent implements OnInit {
avatar_url: '',
})
- constructor(private readonly supabase: SupabaseService, private formBuilder: FormBuilder) {}
+ constructor(
+ private readonly supabase: SupabaseService,
+ private formBuilder: FormBuilder
+ ) {}
async ngOnInit(): Promise<void> {
await this.getProfile()
@@ -421,7 +424,10 @@ export class AvatarComponent {
@Output() upload = new EventEmitter<string>()
- constructor(private readonly supabase: SupabaseService, private readonly dom: DomSanitizer) {}
+ constructor(
+ private readonly supabase: SupabaseService,
+ private readonly dom: DomSanitizer
+ ) {}
async downloadImage(path: string) {
try {
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx
index 1c082b246cf..19f4343bcda 100644
--- a/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx
+++ b/apps/docs/pages/guides/getting-started/tutorials/with-ionic-angular.mdx
@@ -70,7 +70,10 @@ export interface Profile {
export class SupabaseService {
private supabase: SupabaseClient
- constructor(private loadingCtrl: LoadingController, private toastCtrl: ToastController) {
+ constructor(
+ private loadingCtrl: LoadingController,
+ private toastCtrl: ToastController
+ ) {
this.supabase = createClient(environment.supabaseUrl, environment.supabaseKey)
}
@@ -252,7 +255,10 @@ export class AccountPage implements OnInit {
email = ''
- constructor(private readonly supabase: SupabaseService, private router: Router) {}
+ constructor(
+ private readonly supabase: SupabaseService,
+ private router: Router
+ ) {}
ngOnInit() {
this.getEmail()
this.getProfile()
@@ -319,7 +325,10 @@ import { SupabaseService } from './supabase.service'
styleUrls: ['app.component.scss'],
})
export class AppComponent {
- constructor(private supabase: SupabaseService, private router: Router) {
+ constructor(
+ private supabase: SupabaseService,
+ private router: Router
+ ) {
this.supabase.authChanges((_, session) => {
console.log(session)
if (session?.user) {
@@ -474,7 +483,10 @@ export class AvatarComponent {
@Output() upload = new EventEmitter<string>()
- constructor(private readonly supabase: SupabaseService, private readonly dom: DomSanitizer) {
+ constructor(
+ private readonly supabase: SupabaseService,
+ private readonly dom: DomSanitizer
+ ) {
addIcons({ person })
}
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx
index f5634a1db9b..f250a8f7631 100644
--- a/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx
+++ b/apps/docs/pages/guides/getting-started/tutorials/with-svelte.mdx
@@ -121,11 +121,11 @@ Let's create a new component for that called `Account.svelte`.
```html src/lib/Account.svelte
<script lang="ts">
- import { onMount } from "svelte";
- import type { AuthSession } from "@supabase/supabase-js";
- import { supabase } from "../supabaseClient";
+ import { onMount } from 'svelte'
+ import type { AuthSession } from '@supabase/supabase-js'
+ import { supabase } from '../supabaseClient'
- export let session: AuthSession;
+ export let session: AuthSession
let loading = false
let username: string | null = null
@@ -191,23 +191,23 @@ Let's create a new component for that called `Account.svelte`.
}
</script>
-<form on:submit|preventDefault={updateProfile} class="form-widget">
+<form on:submit|preventDefault="{updateProfile}" class="form-widget">
<div>Email: {session.user.email}</div>
<div>
<label for="username">Name</label>
- <input id="username" type="text" bind:value={username} />
+ <input id="username" type="text" bind:value="{username}" />
</div>
<div>
<label for="website">Website</label>
- <input id="website" type="text" bind:value={website} />
+ <input id="website" type="text" bind:value="{website}" />
</div>
<div>
- <button type="submit" class="button primary block" disabled={loading}>
+ <button type="submit" class="button primary block" disabled="{loading}">
{loading ? 'Saving ...' : 'Update profile'}
</button>
</div>
- <button type="button" class="button block" on:click={() => supabase.auth.signOut()}>
- Sign Out
+ <button type="button" class="button block" on:click="{()" ="">
+ supabase.auth.signOut()}> Sign Out
</button>
</form>
```
diff --git a/apps/docs/scripts/search/sources/base.ts b/apps/docs/scripts/search/sources/base.ts
index b061c6eec63..931a57290f7 100644
--- a/apps/docs/scripts/search/sources/base.ts
+++ b/apps/docs/scripts/search/sources/base.ts
@@ -12,7 +12,10 @@ export type Section = {
export abstract class BaseLoader {
type: string
- constructor(public source: string, public path: string) {}
+ constructor(
+ public source: string,
+ public path: string
+ ) {}
abstract load(): Promise<BaseSource[]>
}
@@ -23,7 +26,10 @@ export abstract class BaseSource {
meta?: Json
sections?: Section[]
- constructor(public source: string, public path: string) {}
+ constructor(
+ public source: string,
+ public path: string
+ ) {}
abstract process(): { checksum: string; meta?: Json; ragIgnore?: boolean; sections: Section[] }
diff --git a/apps/docs/scripts/search/sources/github-discussion.ts b/apps/docs/scripts/search/sources/github-discussion.ts
index 5a27de92c39..429a14af5c0 100644
--- a/apps/docs/scripts/search/sources/github-discussion.ts
+++ b/apps/docs/scripts/search/sources/github-discussion.ts
@@ -77,7 +77,10 @@ export async function fetchDiscussions(owner: string, repo: string, categoryId:
export class GitHubDiscussionLoader extends BaseLoader {
type = 'github-discussions' as const
- constructor(source: string, public discussion: Discussion) {
+ constructor(
+ source: string,
+ public discussion: Discussion
+ ) {
super(source, discussion.url)
}
@@ -89,7 +92,11 @@ export class GitHubDiscussionLoader extends BaseLoader {
export class GitHubDiscussionSource extends BaseSource {
type = 'github-discussions' as const
- constructor(source: string, path: string, public discussion: Discussion) {
+ constructor(
+ source: string,
+ path: string,
+ public discussion: Discussion
+ ) {
super(source, path)
}
diff --git a/apps/docs/scripts/search/sources/markdown.ts b/apps/docs/scripts/search/sources/markdown.ts
index 49c5f42b373..d9fed991201 100644
--- a/apps/docs/scripts/search/sources/markdown.ts
+++ b/apps/docs/scripts/search/sources/markdown.ts
@@ -192,7 +192,10 @@ export type ProcessedMdx = {
export class MarkdownLoader extends BaseLoader {
type = 'markdown' as const
- constructor(source: string, public filePath: string) {
+ constructor(
+ source: string,
+ public filePath: string
+ ) {
const path = filePath.replace(/^pages/, '').replace(/\.mdx?$/, '')
super(source, path)
}
@@ -206,7 +209,11 @@ export class MarkdownLoader extends BaseLoader {
export class MarkdownSource extends BaseSource {
type = 'markdown' as const
- constructor(source: string, path: string, public contents: string) {
+ constructor(
+ source: string,
+ path: string,
+ public contents: string
+ ) {
super(source, path)
}
diff --git a/apps/docs/scripts/search/sources/partner-integrations.ts b/apps/docs/scripts/search/sources/partner-integrations.ts
index cdbb758971a..e675a1149a6 100644
--- a/apps/docs/scripts/search/sources/partner-integrations.ts
+++ b/apps/docs/scripts/search/sources/partner-integrations.ts
@@ -34,7 +34,10 @@ export async function fetchPartners() {
export class IntegrationLoader extends BaseLoader {
type = 'partner-integration' as const
- constructor(source: string, public partnerData: PartnerData) {
+ constructor(
+ source: string,
+ public partnerData: PartnerData
+ ) {
const relPath = `/partners/integrations/${partnerData.slug}`
super(source, relPath)
}
@@ -47,7 +50,11 @@ export class IntegrationLoader extends BaseLoader {
export class IntegrationSource extends BaseSource {
type = 'partner-integration' as const
- constructor(source: string, path: string, public partnerData: PartnerData) {
+ constructor(
+ source: string,
+ path: string,
+ public partnerData: PartnerData
+ ) {
super(source, path)
}
diff --git a/apps/docs/scripts/tsconfig.json b/apps/docs/scripts/tsconfig.json
index de1ecb67a32..3f7e8747893 100644
--- a/apps/docs/scripts/tsconfig.json
+++ b/apps/docs/scripts/tsconfig.json
@@ -7,9 +7,9 @@
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
- "~/*": ["./*"]
- }
+ "~/*": ["./*"],
+ },
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/docs/spec/parser/package.json b/apps/docs/spec/parser/package.json
index 2129f457569..963b826eb15 100644
--- a/apps/docs/spec/parser/package.json
+++ b/apps/docs/spec/parser/package.json
@@ -25,7 +25,7 @@
"@types/lodash": "^4.14.202",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.21",
- "prettier": "^2.8.8",
+ "prettier": "^4.0.0-alpha.8",
"tsx": "^4.7.0"
},
"prettier": {
diff --git a/apps/docs/styles/Home.module.css b/apps/docs/styles/Home.module.css
index 6d7be21e752..d113f01f909 100644
--- a/apps/docs/styles/Home.module.css
+++ b/apps/docs/styles/Home.module.css
@@ -91,7 +91,9 @@
text-decoration: none;
border: 1px solid #eaeaea;
border-radius: 10px;
- transition: color 0.15s ease, border-color 0.15s ease;
+ transition:
+ color 0.15s ease,
+ border-color 0.15s ease;
max-width: 300px;
}
diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json
index cbc90dcb0d5..8a55df06d90 100644
--- a/apps/docs/tsconfig.json
+++ b/apps/docs/tsconfig.json
@@ -5,7 +5,7 @@
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
- "@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths
+ "@ui/*": ["./../../packages/ui/src/*"], // handle ui package paths
},
"target": "es2015",
"lib": ["dom", "dom.iterable", "esnext"],
@@ -19,14 +19,14 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
- "module": "esnext"
+ "module": "esnext",
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"pages/guides/append-test.js",
- "jest.config.mjs"
+ "jest.config.mjs",
],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/docs/types/api.d.ts b/apps/docs/types/api.d.ts
index 933a4402157..2c654f2efcb 100644
--- a/apps/docs/types/api.d.ts
+++ b/apps/docs/types/api.d.ts
@@ -9,8 +9,8 @@ type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T
type OneOf<T extends any[]> = T extends [infer Only]
? Only
: T extends [infer A, infer B, ...infer Rest]
- ? OneOf<[XOR<A, B>, ...Rest]>
- : never
+ ? OneOf<[XOR<A, B>, ...Rest]>
+ : never
export interface paths {
'/platform/notifications': {
@@ -3846,7 +3846,7 @@ export interface components {
message?: string
status?: string
},
- string
+ string,
]
>
result?: Record<string, never>[]
diff --git a/apps/studio/components/grid/components/common/Hooks.tsx b/apps/studio/components/grid/components/common/Hooks.tsx
index b1d6ef0f778..1d52d6524ba 100644
--- a/apps/studio/components/grid/components/common/Hooks.tsx
+++ b/apps/studio/components/grid/components/common/Hooks.tsx
@@ -62,12 +62,12 @@ export function useKeyboardShortcuts(
return event.metaKey && event.shiftKey
? `Command+Shift+${event.key}`
: event.metaKey
- ? `Command+${event.key}`
- : event.shiftKey && event.key === 'Enter'
- ? `Shift+${event.key}`
- : event.ctrlKey && event.key
- ? `Control+${event.key}`
- : event.key
+ ? `Command+${event.key}`
+ : event.shiftKey && event.key === 'Enter'
+ ? `Shift+${event.key}`
+ : event.ctrlKey && event.key
+ ? `Control+${event.key}`
+ : event.key
}
React.useEffect(() => {
diff --git a/apps/studio/components/grid/components/common/Shortcuts.tsx b/apps/studio/components/grid/components/common/Shortcuts.tsx
index 9323fc1b874..e9d4ba0b56a 100644
--- a/apps/studio/components/grid/components/common/Shortcuts.tsx
+++ b/apps/studio/components/grid/components/common/Shortcuts.tsx
@@ -18,8 +18,8 @@ export function Shortcuts({ gridRef }: ShortcutsProps) {
return navigator?.appVersion.indexOf('Win') !== -1
? 'windows'
: navigator?.appVersion.indexOf('Mac') !== -1
- ? 'macos'
- : 'unknown'
+ ? 'macos'
+ : 'unknown'
}
const metakey = getClientOS() === 'windows' ? 'Control' : 'Command'
setMetaKey(metakey)
diff --git a/apps/studio/components/grid/components/header/Header.tsx b/apps/studio/components/grid/components/header/Header.tsx
index d0e9d1c3465..bbdacf9c5d3 100644
--- a/apps/studio/components/grid/components/header/Header.tsx
+++ b/apps/studio/components/grid/components/header/Header.tsx
@@ -370,8 +370,8 @@ const RowHeader = ({ table, sorts, filters }: RowHeaderProps) => {
{allRowsSelected
? `${totalRows} rows selected`
: selectedRows.size > 1
- ? `${selectedRows.size} rows selected`
- : `${selectedRows.size} row selected`}
+ ? `${selectedRows.size} rows selected`
+ : `${selectedRows.size} row selected`}
</span>
{!allRowsSelected && totalRows > allRows.length && (
<Button type="link" onClick={() => onSelectAllRows()}>
@@ -404,8 +404,8 @@ const RowHeader = ({ table, sorts, filters }: RowHeaderProps) => {
{allRowsSelected
? `Delete ${totalRows} rows`
: selectedRows.size > 1
- ? `Delete ${selectedRows.size} rows`
- : `Delete ${selectedRows.size} row`}
+ ? `Delete ${selectedRows.size} rows`
+ : `Delete ${selectedRows.size} row`}
</Button>
</Tooltip.Trigger>
diff --git a/apps/studio/components/grid/components/header/filter/FilterRow.tsx b/apps/studio/components/grid/components/header/filter/FilterRow.tsx
index 3be749c3164..3dcf9c383b2 100644
--- a/apps/studio/components/grid/components/header/filter/FilterRow.tsx
+++ b/apps/studio/components/grid/components/header/filter/FilterRow.tsx
@@ -25,8 +25,8 @@ const FilterRow = ({ table, filter, filterIdx, onChange, onDelete, onKeyDown }:
column?.format === 'timestamptz'
? 'yyyy-mm-dd hh:mm:ss+zz'
: column?.format === 'timestamp'
- ? 'yyyy-mm-dd hh:mm:ss'
- : 'Enter a value'
+ ? 'yyyy-mm-dd hh:mm:ss'
+ : 'Enter a value'
return (
<div className="sb-grid-filter-row px-3">
diff --git a/apps/studio/components/grid/utils/gridColumns.tsx b/apps/studio/components/grid/utils/gridColumns.tsx
index 09f1110add0..e2c259b2c4d 100644
--- a/apps/studio/components/grid/utils/gridColumns.tsx
+++ b/apps/studio/components/grid/utils/gridColumns.tsx
@@ -56,8 +56,8 @@ export function getGridColumns(
const columnWidth = options?.defaultWidth
? options.defaultWidth
: columnDefaultWidth < columnWidthBasedOnName
- ? columnWidthBasedOnName
- : columnDefaultWidth
+ ? columnWidthBasedOnName
+ : columnDefaultWidth
const columnDefinition: CalculatedColumn<SupaRow> = {
key: x.name,
diff --git a/apps/studio/components/interfaces/Account/AuditLogs.tsx b/apps/studio/components/interfaces/Account/AuditLogs.tsx
index b5e12226513..93ec9d85a0c 100644
--- a/apps/studio/components/interfaces/Account/AuditLogs.tsx
+++ b/apps/studio/components/interfaces/Account/AuditLogs.tsx
@@ -247,8 +247,8 @@ const AuditLogs = () => {
{project?.name
? 'Project: '
: organization?.name
- ? 'Organization: '
- : null}
+ ? 'Organization: '
+ : null}
{project?.name ?? organization?.name ?? '-'}
</p>
<p
@@ -258,8 +258,8 @@ const AuditLogs = () => {
{log.target.metadata.project_ref
? 'Ref: '
: log.target.metadata.org_slug
- ? 'Slug: '
- : null}
+ ? 'Slug: '
+ : null}
{log.target.metadata.project_ref ?? log.target.metadata.org_slug}
</p>
</Table.td>
diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index 79b15b87693..ed5b3f297b1 100644
--- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -59,8 +59,8 @@ const ProviderForm = ({ config, provider }: ProviderFormProps) => {
initialValues[key] = configValue
? configValue
: provider.properties[key].type === 'boolean'
- ? false
- : ''
+ ? false
+ : ''
}
}
})
diff --git a/apps/studio/components/interfaces/Auth/Policies/Policies.utils.ts b/apps/studio/components/interfaces/Auth/Policies/Policies.utils.ts
index f0b1ea30fd2..ebfcc71f43e 100644
--- a/apps/studio/components/interfaces/Auth/Policies/Policies.utils.ts
+++ b/apps/studio/components/interfaces/Auth/Policies/Policies.utils.ts
@@ -22,8 +22,8 @@ export const createSQLPolicy = (
definition: definition
? definition.replace(/\s+/g, ' ').trim()
: definition === undefined
- ? null
- : definition,
+ ? null
+ : definition,
check: check ? check.replace(/\s+/g, ' ').trim() : check === undefined ? null : check,
}
diff --git a/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx b/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx
index ac1364f0927..1d63cccb332 100644
--- a/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx
+++ b/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx
@@ -89,8 +89,8 @@ const EnableExtensionModal = ({ visible, extension, onCancel }: EnableExtensionM
defaultSchema !== undefined && defaultSchema !== null
? defaultSchema
: values.schema === 'custom'
- ? values.name
- : values.schema
+ ? values.name
+ : values.schema
enableExtension({
projectRef: project.ref,
diff --git a/apps/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx b/apps/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx
index 8b9041ec3d3..d4463792e32 100644
--- a/apps/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/HTTPRequestFields.tsx
@@ -67,8 +67,8 @@ const HTTPRequestFields = ({
{type === 'http_request'
? 'HTTP Request'
: type === 'supabase_function'
- ? 'Edge Function'
- : ''}
+ ? 'Edge Function'
+ : ''}
</FormSectionLabel>
}
>
diff --git a/apps/studio/components/interfaces/Database/Roles/RolesList.tsx b/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
index 7dd0d9f0c5b..9a3b5c0ae33 100644
--- a/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
+++ b/apps/studio/components/interfaces/Database/Roles/RolesList.tsx
@@ -128,10 +128,10 @@ const RolesList = () => {
maxConnectionLimit === 0 || maxConnectionLimit === undefined
? 'bg-control'
: totalActiveConnections > 0.9 * maxConnectionLimit
- ? 'bg-red-800'
- : totalActiveConnections > 0.75 * maxConnectionLimit
- ? 'bg-amber-900'
- : 'bg-green-800'
+ ? 'bg-red-800'
+ : totalActiveConnections > 0.75 * maxConnectionLimit
+ ? 'bg-amber-900'
+ : 'bg-green-800'
}
labelTop={
Number.isInteger(maxConnectionLimit)
diff --git a/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx b/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
index 657108ab6f4..81670b645e0 100644
--- a/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
+++ b/apps/studio/components/interfaces/Home/NewProjectPanel/APIKeys.tsx
@@ -142,10 +142,10 @@ const APIKeys = () => {
!canReadAPIKeys
? 'You need additional permissions to view API keys'
: jwtSecretUpdateStatus === JwtSecretUpdateStatus.Failed
- ? 'JWT secret update failed, new API key may have issues'
- : jwtSecretUpdateStatus === JwtSecretUpdateStatus.Updating
- ? 'Updating JWT secret...'
- : apiService?.defaultApiKey
+ ? 'JWT secret update failed, new API key may have issues'
+ : jwtSecretUpdateStatus === JwtSecretUpdateStatus.Updating
+ ? 'Updating JWT secret...'
+ : apiService?.defaultApiKey
}
onChange={() => {}}
descriptionText={
diff --git a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
index eacdfffe40c..bcf5b2e642f 100644
--- a/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
+++ b/apps/studio/components/interfaces/Home/ProjectList/ProjectCardStatus.tsx
@@ -73,8 +73,8 @@ export const ProjectCardStatus = ({
const alertType = isCritical
? 'destructive'
: projectStatus === 'isPaused'
- ? 'default'
- : 'warning'
+ ? 'default'
+ : 'warning'
if (
(activeWarnings.length === 0 || warningContent === undefined) &&
diff --git a/apps/studio/components/interfaces/Home/ServiceStatus.tsx b/apps/studio/components/interfaces/Home/ServiceStatus.tsx
index 8999e80dcc8..4673737ced8 100644
--- a/apps/studio/components/interfaces/Home/ServiceStatus.tsx
+++ b/apps/studio/components/interfaces/Home/ServiceStatus.tsx
@@ -151,8 +151,8 @@ const ServiceStatus = () => {
{service.isLoading
? 'Checking status'
: service.isSuccess
- ? 'No issues'
- : 'Unable to connect'}
+ ? 'No issues'
+ : 'Unable to connect'}
</p>
</div>
{service.isLoading ? (
diff --git a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
index 8866b280720..f5e5e328ad5 100644
--- a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
+++ b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
@@ -379,8 +379,8 @@ const AuditLogs = () => {
{project?.name
? 'Project: '
: organization?.name
- ? 'Organization: '
- : null}
+ ? 'Organization: '
+ : null}
{project?.name ?? organization?.name ?? 'Unknown'}
</p>
<p
@@ -392,8 +392,8 @@ const AuditLogs = () => {
{log.target.metadata.project_ref
? 'Ref: '
: log.target.metadata.org_slug
- ? 'Slug: '
- : null}
+ ? 'Slug: '
+ : null}
{log.target.metadata.project_ref ?? log.target.metadata.org_slug}
</p>
</Table.td>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
index 0c795398bf9..ee1684e5c4e 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx
@@ -112,10 +112,10 @@ const BillingMetric = ({
isUsageBillingEnabled
? 'text-gray-dark-800'
: isExceededLimit
- ? 'text-red-900'
- : isApproachingLimit
- ? 'text-yellow-1000'
- : 'text-gray-dark-800'
+ ? 'text-red-900'
+ : isApproachingLimit
+ ? 'text-yellow-1000'
+ : 'text-gray-dark-800'
}
/>
</svg>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
index d4b7ff6545f..7ba12b84031 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/UpcomingInvoice.tsx
@@ -134,8 +134,8 @@ const UpcomingInvoice = ({ slug }: UpcomingInvoiceProps) => {
{item.unit_price === 0
? 'FREE'
: item.unit_price
- ? formatCurrency(item.unit_price)
- : null}
+ ? formatCurrency(item.unit_price)
+ : null}
</td>
)}
<td className="py-2 text-sm text-right">{formatCurrency(item.amount)}</td>
@@ -195,15 +195,15 @@ const UpcomingInvoice = ({ slug }: UpcomingInvoiceProps) => {
{fee.usage_original
? `${formatUsage(fee.usage_metric!, fee.usage_original)}`
: fee.quantity
- ? fee.quantity
- : null}
+ ? fee.quantity
+ : null}
</td>
<td className="py-2 text-sm">
{fee.unit_price_desc
? `${fee.unit_price_desc}`
: fee.unit_price
- ? formatCurrency(fee.unit_price)
- : null}
+ ? formatCurrency(fee.unit_price)
+ : null}
</td>
<td className="py-2 text-sm text-right max-w-[70px]">
{formatCurrency(fee.amount) ?? formatCurrency(0)}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx
index e50dd0dfd24..77b4e6ccb73 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/ProjectUpdateDisabledTooltip.tsx
@@ -30,8 +30,8 @@ const ProjectUpdateDisabledTooltip = ({
{projectUpdateDisabled
? 'Subscription changes are currently disabled. Our engineers are working on a fix.'
: projectNotActive
- ? 'Unable to update subscription as project is currently not active'
- : ''}
+ ? 'Unable to update subscription as project is currently not active'
+ : ''}
</span>
</div>
</Tooltip.Content>
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
index 94e4df7c536..ba8be5691fc 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
@@ -408,10 +408,10 @@ const PlanUpdateSidePanel = () => {
{item.unit_price_desc
? item.unit_price_desc
: item.unit_price === 0
- ? 'FREE'
- : item.unit_price
- ? `${formatCurrency(item.unit_price)}`
- : ''}
+ ? 'FREE'
+ : item.unit_price
+ ? `${formatCurrency(item.unit_price)}`
+ : ''}
</Table.td>
<Table.td className="text-right">
{formatCurrency(item.total_price)}
diff --git a/apps/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx b/apps/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
index bd9eea80a27..792b45ccddd 100644
--- a/apps/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
+++ b/apps/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
@@ -55,8 +55,8 @@ const GeneralSettings = () => {
values.isOptedIntoAi && !existingOptInTags.includes(OPT_IN_TAGS.AI_SQL)
? existingOptInTags.concat([OPT_IN_TAGS.AI_SQL])
: !values.isOptedIntoAi && existingOptInTags.includes(OPT_IN_TAGS.AI_SQL)
- ? existingOptInTags.filter((x) => x !== OPT_IN_TAGS.AI_SQL)
- : existingOptInTags
+ ? existingOptInTags.filter((x) => x !== OPT_IN_TAGS.AI_SQL)
+ : existingOptInTags
updateOrganization(
{ slug, name: values.name, opt_in_tags: updatedOptInTags },
diff --git a/apps/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx b/apps/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx
index 278d563d808..987f544f56f 100644
--- a/apps/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx
+++ b/apps/studio/components/interfaces/Organization/Usage/UsageSection/AttributeUsage.tsx
@@ -159,9 +159,9 @@ const AttributeUsage = ({
? 'bg-foreground-light'
: 'bg-red-900'
: usageBasedBilling === false &&
- usageRatio >= USAGE_APPROACHING_THRESHOLD
- ? 'bg-amber-900'
- : 'bg-foreground-light'
+ usageRatio >= USAGE_APPROACHING_THRESHOLD
+ ? 'bg-amber-900'
+ : 'bg-foreground-light'
)}
bgClass="bg-surface-300"
value={usageMeta?.usage ?? 0}
@@ -205,8 +205,8 @@ const AttributeUsage = ({
{(usageMeta?.pricing_free_units ?? 0) === -1 || usageExcess < 0
? `0${attribute.unit === 'bytes' ? ' GB' : ''}`
: attribute.unit === 'bytes'
- ? `${usageExcess.toFixed(2)} GB`
- : usageExcess.toLocaleString()}
+ ? `${usageExcess.toFixed(2)} GB`
+ : usageExcess.toLocaleString()}
</p>
</div>
)}
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx
index b156deec8db..02361fe320e 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx
@@ -35,10 +35,10 @@ const Bucket = ({ language, apikey, endpoint }: ContentProps) => {
{allowedMimeTypes === null
? 'All types are allowed'
: (allowedMimeTypes ?? []).length === 0
- ? 'No types are allowed'
- : (allowedMimeTypes ?? []).length > 1
- ? (allowedMimeTypes ?? []).join(', ')
- : 'Unknown'}
+ ? 'No types are allowed'
+ : (allowedMimeTypes ?? []).length > 1
+ ? (allowedMimeTypes ?? []).join(', ')
+ : 'Unknown'}
</p>
<p className="text-sm text-foreground-light">
Max file size limit:{' '}
diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts b/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts
index 3780225b2f4..67b9adefa81 100644
--- a/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts
+++ b/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts
@@ -603,11 +603,11 @@ export const DOCS_RESOURCE_CONTENT: {
curl -X POST '${endpoint}/rest/v1/rpc/${rpcName}' \\${bashParams}
-H "Content-Type: application/json" \\
-H "apikey: ${apiKey}" ${
- showBearer
- ? `\\
+ showBearer
+ ? `\\
-H "Authorization: Bearer ${apiKey}"`
- : ''
- }
+ : ''
+ }
`,
js: `
let { data, error } = await supabase
diff --git a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
index 24c2e95b290..bed81a02361 100644
--- a/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
+++ b/apps/studio/components/interfaces/Reports/ReportFilterBar.tsx
@@ -121,7 +121,7 @@ const ReportFilterBar = ({
key: productFilter.filterKey,
compare: 'matches',
value: productFilter.filterValue,
- } as ReportFilterItem)
+ }) as ReportFilterItem
)
onRemoveFilters(toRemove)
if (nextProductFilter) {
diff --git a/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx b/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
index 89ced5c0ad2..e9f47b7d94f 100644
--- a/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
+++ b/apps/studio/components/interfaces/Reports/renderers/ApiRenderers.tsx
@@ -289,8 +289,8 @@ const RouteTdContent = (datum: RouteTdContentProps) => (
datum.status_code >= 400
? 'bg-orange-500'
: datum.status_code >= 300
- ? 'bg-yellow-500'
- : 'bg-green-500'
+ ? 'bg-yellow-500'
+ : 'bg-green-500'
}`}
value={String(datum.status_code)}
/>
diff --git a/apps/studio/components/interfaces/Settings/API/JWTSettings.tsx b/apps/studio/components/interfaces/Settings/API/JWTSettings.tsx
index 07fcf82edbe..85137afe434 100644
--- a/apps/studio/components/interfaces/Settings/API/JWTSettings.tsx
+++ b/apps/studio/components/interfaces/Settings/API/JWTSettings.tsx
@@ -112,10 +112,10 @@ const JWTSettings = () => {
!canReadJWTSecret
? 'You need additional permissions to view the JWT secret'
: isJwtSecretUpdateFailed
- ? 'JWT secret update failed'
- : isUpdatingJwtSecret
- ? 'Updating JWT secret...'
- : config?.jwt_secret || ''
+ ? 'JWT secret update failed'
+ : isUpdatingJwtSecret
+ ? 'Updating JWT secret...'
+ : config?.jwt_secret || ''
}
className="input-mono"
descriptionText={
diff --git a/apps/studio/components/interfaces/Settings/API/ServiceList.tsx b/apps/studio/components/interfaces/Settings/API/ServiceList.tsx
index 68d9e952f54..33e374feee8 100644
--- a/apps/studio/components/interfaces/Settings/API/ServiceList.tsx
+++ b/apps/studio/components/interfaces/Settings/API/ServiceList.tsx
@@ -78,8 +78,8 @@ const ServiceList = () => {
const endpoint = !showReadReplicasUI
? primaryEndpoint
: isCustomDomainActive && state.selectedDatabaseId === projectRef
- ? `https://${customDomainData.customDomain.hostname}`
- : selectedDatabase?.restUrl
+ ? `https://${customDomainData.customDomain.hostname}`
+ : selectedDatabase?.restUrl
return (
<div>
diff --git a/apps/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx
index 3e4316a7688..a684c1a1903 100644
--- a/apps/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/ComputeInstanceSidePanel.tsx
@@ -199,8 +199,8 @@ const ComputeInstanceSidePanel = () => {
isFreePlan
? 'Unable to update compute instance on a free plan'
: !canUpdateCompute
- ? 'You do not have permission to update compute instance'
- : undefined
+ ? 'You do not have permission to update compute instance'
+ : undefined
}
header={
<div className="flex items-center justify-between">
diff --git a/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
index 649d419c735..7299a828cb2 100644
--- a/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx
@@ -139,8 +139,8 @@ const CustomDomainSidePanel = () => {
isFreePlan
? 'Unable to enable custom domain on a free plan'
: !canUpdateCustomDomain
- ? 'You do not have permission to update custom domain'
- : undefined
+ ? 'You do not have permission to update custom domain'
+ : undefined
}
header={
<div className="flex items-center justify-between">
diff --git a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
index 0f6e31660bb..11311df16c1 100644
--- a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
@@ -127,8 +127,8 @@ const IPv4SidePanel = () => {
isFreePlan
? 'Unable to enable IPv4 on a free plan'
: !canUpdateIPv4
- ? 'You do not have permission to update IPv4'
- : undefined
+ ? 'You do not have permission to update IPv4'
+ : undefined
}*/
header={
<div className="flex items-center justify-between">
diff --git a/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
index 4d5edb2c350..e539aa53a37 100644
--- a/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
+++ b/apps/studio/components/interfaces/Settings/Addons/PITRSidePanel.tsx
@@ -173,10 +173,10 @@ const PITRSidePanel = () => {
hasHipaaAddon
? 'Unable to change PITR with HIPAA add-on'
: isFreePlan
- ? 'Unable to enable point in time recovery on a free plan'
- : !canUpdatePitr
- ? 'You do not have permission to update PITR'
- : undefined
+ ? 'Unable to enable point in time recovery on a free plan'
+ : !canUpdatePitr
+ ? 'You do not have permission to update PITR'
+ : undefined
}
header={
<div className="flex items-center justify-between">
diff --git a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
index 62997d38072..aa74d940fba 100644
--- a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
@@ -135,8 +135,8 @@ const ResetDbPassword = ({ disabled = false }) => {
{!canResetDbPassword
? 'You need additional permissions to reset the database password'
: !isProjectActive
- ? 'Unable to reset database password as project is not active'
- : ''}
+ ? 'Unable to reset database password as project is not active'
+ : ''}
</span>
</div>
</Tooltip.Content>
diff --git a/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
index 81050b91d0b..d08ee2e9460 100644
--- a/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
@@ -159,8 +159,8 @@ const SSLConfiguration = () => {
{!canUpdateSSLEnforcement
? 'You need additional permissions to update SSL enforcement for your project'
: !hasAccessToSSLEnforcement
- ? 'Your project does not have access to SSL enforcement'
- : ''}
+ ? 'Your project does not have access to SSL enforcement'
+ : ''}
</span>
</div>
</Tooltip.Content>
diff --git a/apps/studio/components/interfaces/Settings/Database/UsePoolerCheckbox.tsx b/apps/studio/components/interfaces/Settings/Database/UsePoolerCheckbox.tsx
index 743ecab44ee..e3be18abd05 100644
--- a/apps/studio/components/interfaces/Settings/Database/UsePoolerCheckbox.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/UsePoolerCheckbox.tsx
@@ -136,8 +136,8 @@ export const UsePoolerCheckbox = ({
{checked
? 'Resolves to IPv4'
: resolvesToIpV6
- ? 'Resolves to IPv6'
- : 'Will resolve to IPv6'}
+ ? 'Resolves to IPv6'
+ : 'Will resolve to IPv6'}
</Badge>
)}
</div>
diff --git a/apps/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx b/apps/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
index 9ae8336041d..38e0212c385 100644
--- a/apps/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
+++ b/apps/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
@@ -84,12 +84,12 @@ const PauseProjectButton = () => {
{isPaused
? 'Your project is already paused'
: !canPauseProject
- ? 'You need additional permissions to pause this project'
- : !isProjectActive
- ? 'Unable to pause project as project is not active'
- : !isFreePlan
- ? 'Projects on a paid plan will always be running'
- : ''}
+ ? 'You need additional permissions to pause this project'
+ : !isProjectActive
+ ? 'Unable to pause project as project is not active'
+ : !isFreePlan
+ ? 'Projects on a paid plan will always be running'
+ : ''}
</span>
</div>
</Tooltip.Content>
diff --git a/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx b/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
index ec58289b469..b496a0604ee 100644
--- a/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
+++ b/apps/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
@@ -150,8 +150,8 @@ const RestartServerButton = () => {
{!canRestartProject
? 'You need additional permissions to restart this project'
: !isProjectActive
- ? 'Unable to restart project as project is not active'
- : ''}
+ ? 'Unable to restart project as project is not active'
+ : ''}
</span>
</div>
</Tooltip.Content>
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx
index 035992db678..9139532007d 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx
@@ -71,8 +71,8 @@ const InfrastructureActivity = () => {
subscription === undefined
? `/`
: subscription.plan.id === 'free'
- ? `/org/${organization?.slug ?? '[slug]'}/billing#subscription`
- : `/project/${projectRef}/settings/addons`
+ ? `/org/${organization?.slug ?? '[slug]'}/billing#subscription`
+ : `/project/${projectRef}/settings/addons`
const categoryMeta = INFRA_ACTIVITY_METRICS.find((category) => category.key === 'infra')
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
index 1cbda74d9cd..6ae2ec00bb3 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx
@@ -159,14 +159,14 @@ const MapView = ({
name: hasNoDatabases
? undefined
: hasPrimary
- ? `Primary Database${
- replicas.length > 0
- ? ` + ${replicas.length} replica${replicas.length > 1 ? 's' : ''} `
- : ''
- }`
- : `${replicas.length} Read Replica${
- replicas.length > 1 ? 's' : ''
- } deployed`,
+ ? `Primary Database${
+ replicas.length > 0
+ ? ` + ${replicas.length} replica${replicas.length > 1 ? 's' : ''} `
+ : ''
+ }`
+ : `${replicas.length} Read Replica${
+ replicas.length > 1 ? 's' : ''
+ } deployed`,
},
})
}}
@@ -192,8 +192,8 @@ const MapView = ({
hasNoDatabases
? 'fill-background-surface-300 stroke-border-stronger'
: hasPrimary
- ? 'fill-brand stroke-brand-500'
- : 'fill-brand-500 stroke-brand-400'
+ ? 'fill-brand stroke-brand-500'
+ : 'fill-brand-500 stroke-brand-400'
}`}
/>
</Marker>
diff --git a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
index 30cc6f8cebc..0055238a699 100644
--- a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
+++ b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx
@@ -123,8 +123,8 @@ You can change the scope of the access for Supabase by configuring
process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'
? 'https://vercel.com/integrations/supabase'
: process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging'
- ? `https://vercel.com/integrations/supabase-v2-staging`
- : 'https://vercel.com/integrations/supabase-v2-local'
+ ? `https://vercel.com/integrations/supabase-v2-staging`
+ : 'https://vercel.com/integrations/supabase-v2-local'
let connections =
(isProjectScoped
diff --git a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
index 7b748cc5b60..551dc527343 100644
--- a/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
+++ b/apps/studio/components/interfaces/Settings/Logs/LogTable.tsx
@@ -301,8 +301,8 @@ const LogTable = ({
queryType
? 'flex w-1/2 flex-col'
: focusedLog
- ? 'flex w-1/2 flex-col'
- : 'hidden w-0'
+ ? 'flex w-1/2 flex-col'
+ : 'hidden w-0'
}
>
<LogSelection
diff --git a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
index 8badfcd353c..bb470d8e067 100644
--- a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
+++ b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
@@ -141,8 +141,8 @@ const EditBucketModal = ({ visible, bucket, onClose }: EditBucketModalProps) =>
!bucket?.public && values.public
? 'Warning: Making bucket public'
: bucket?.public && !values.public
- ? 'Warning: Making bucket private'
- : ''
+ ? 'Warning: Making bucket private'
+ : ''
}
variant="warning"
withIcon
@@ -151,8 +151,8 @@ const EditBucketModal = ({ visible, bucket, onClose }: EditBucketModalProps) =>
{!bucket?.public && values.public
? `This will make all objects in the bucket "${bucket?.name}" public`
: bucket?.public && !values.public
- ? `All objects in "${bucket?.name}" will be made private and will only be accessible via signed URLs or downloaded with the right authorisation headers`
- : ''}
+ ? `All objects in "${bucket?.name}" will be made private and will only be accessible via signed URLs or downloaded with the right authorisation headers`
+ : ''}
</p>
</Alert>
)}
diff --git a/apps/studio/components/interfaces/Support/SupportForm.tsx b/apps/studio/components/interfaces/Support/SupportForm.tsx
index 5a851f1d66a..a5d381ecd1f 100644
--- a/apps/studio/components/interfaces/Support/SupportForm.tsx
+++ b/apps/studio/components/interfaces/Support/SupportForm.tsx
@@ -99,19 +99,19 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
selectedProjectFromUrl !== undefined
? selectedProjectFromUrl.ref
: projects.length > 0
- ? projects[0].ref
- : 'no-project'
+ ? projects[0].ref
+ : 'no-project'
)
const selectedOrganizationSlug =
selectedOrganizationFromUrl !== undefined
? selectedOrganizationFromUrl.slug
: selectedProjectRef !== 'no-project'
- ? organizations?.find((org) => {
- const project = projects.find((project) => project.ref === selectedProjectRef)
- return org.id === project?.organization_id
- })?.slug
- : organizations?.[0]?.slug
+ ? organizations?.find((org) => {
+ const project = projects.find((project) => project.ref === selectedProjectRef)
+ return org.id === project?.organization_id
+ })?.slug
+ : organizations?.[0]?.slug
const { data: subscription, isLoading: isLoadingSubscription } = useOrgSubscriptionQuery({
orgSlug: selectedOrganizationSlug,
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
index b38a841a4fa..02889333aa6 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx
@@ -41,8 +41,8 @@ const InputField = ({
field.defaultValue === null
? ''
: typeof field.defaultValue === 'string' && field.defaultValue.length === 0
- ? 'EMPTY'
- : `Default: ${field.defaultValue}`
+ ? 'EMPTY'
+ : `Default: ${field.defaultValue}`
}
onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}
/>
@@ -129,10 +129,10 @@ const InputField = ({
field.value === null && field.defaultValue === null
? 'NULL'
: field.value === ''
- ? 'EMPTY'
- : typeof field.defaultValue === 'string' && field.defaultValue.length === 0
- ? 'EMPTY'
- : `NULL (Default: ${field.defaultValue})`
+ ? 'EMPTY'
+ : typeof field.defaultValue === 'string' && field.defaultValue.length === 0
+ ? 'EMPTY'
+ : `NULL (Default: ${field.defaultValue})`
}
actions={
<div className="mr-1 mt-0.5">
@@ -253,8 +253,8 @@ const InputField = ({
field.isIdentity
? 'Automatically generated as identity'
: field.defaultValue !== null
- ? `Default: ${field.defaultValue}`
- : 'NULL'
+ ? `Default: ${field.defaultValue}`
+ : 'NULL'
}
disabled={!isEditable}
onChange={(event: any) => onUpdateField({ [field.name]: event.target.value })}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
index da215279651..38bd01beb42 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx
@@ -72,8 +72,8 @@ const DrilldownPane = ({ pane, jsonData, activeKey, onSelectKey = noop }: Drilld
{isNull(jsonData[key])
? 'null'
: typeof jsonData[key] === 'string'
- ? `"${jsonData[key]}"`
- : jsonData[key].toString()}
+ ? `"${jsonData[key]}"`
+ : jsonData[key].toString()}
</p>
</div>
))}
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
index 1ce268496bd..43e863e68f2 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts
@@ -25,14 +25,14 @@ export const generateRowFields = (
isUndefined(row) && TEXT_TYPES.includes(column.format)
? null
: isUndefined(row) && column.format === 'bool' && !column.is_nullable
- ? column.default_value
- : isUndefined(row) && column.format === 'bool' && column.is_nullable
- ? 'null'
- : isUndefined(row)
- ? ''
- : DATETIME_TYPES.includes(column.format)
- ? convertPostgresDatetimeToInputDatetime(column.format, row[column.name])
- : parseValue(row[column.name], column.format)
+ ? column.default_value
+ : isUndefined(row) && column.format === 'bool' && column.is_nullable
+ ? 'null'
+ : isUndefined(row)
+ ? ''
+ : DATETIME_TYPES.includes(column.format)
+ ? convertPostgresDatetimeToInputDatetime(column.format, row[column.name])
+ : parseValue(row[column.name], column.format)
const foreignKey = find(relationships, (relationship) => {
return (
@@ -164,8 +164,8 @@ export const generateRowObjectFromFields = (
const value = TEXT_TYPES.includes(field.format)
? field.value
: (field?.value ?? '').length === 0
- ? null
- : field.value
+ ? null
+ : field.value
if (isArray && value !== null) {
rowObject[field.name] = tryParseJson(value)
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
index 01d262f175e..5c995586c8d 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
@@ -332,11 +332,11 @@ const SidePanelEditor = ({
.filter((t: any) => t.id !== table.id)
.map((t: any) => `${t.schema}.${t.name}`)
: !isAlreadyEnabled && enabled
- ? // Toggle realtime on
- [`${table.schema}.${table.name}`].concat(
- publicationTables.map((t: any) => `${t.schema}.${t.name}`)
- )
- : null
+ ? // Toggle realtime on
+ [`${table.schema}.${table.name}`].concat(
+ publicationTables.map((t: any) => `${t.schema}.${t.name}`)
+ )
+ : null
if (realtimeTables === null) return
await updatePublication({
id,
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.ts b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.ts
index 710e32ab7e9..55edf993958 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.ts
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.ts
@@ -117,18 +117,18 @@ export const addForeignKey = async (
deletion_action === FOREIGN_KEY_CASCADE_ACTION.CASCADE
? 'ON DELETE CASCADE'
: deletion_action === FOREIGN_KEY_CASCADE_ACTION.RESTRICT
- ? 'ON DELETE RESTRICT'
- : deletion_action === FOREIGN_KEY_CASCADE_ACTION.SET_DEFAULT
- ? 'ON DELETE SET DEFAULT'
- : deletion_action === FOREIGN_KEY_CASCADE_ACTION.SET_NULL
- ? 'ON DELETE SET NULL'
- : ''
+ ? 'ON DELETE RESTRICT'
+ : deletion_action === FOREIGN_KEY_CASCADE_ACTION.SET_DEFAULT
+ ? 'ON DELETE SET DEFAULT'
+ : deletion_action === FOREIGN_KEY_CASCADE_ACTION.SET_NULL
+ ? 'ON DELETE SET NULL'
+ : ''
const updateAction =
update_action === FOREIGN_KEY_CASCADE_ACTION.CASCADE
? 'ON UPDATE CASCADE'
: update_action === FOREIGN_KEY_CASCADE_ACTION.RESTRICT
- ? 'ON UPDATE RESTRICT'
- : ''
+ ? 'ON UPDATE RESTRICT'
+ : ''
const query = `
ALTER TABLE "${relationship.source_schema}"."${relationship.source_table_name}"
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
index 31fae8ea413..46d002c9d45 100644
--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
@@ -107,8 +107,8 @@ const SpreadsheetImportPreview = ({
{previewHeaders.length === 0
? 'No headers have been selected'
: previewRows.length === 0
- ? 'Your CSV contains no data'
- : ''}
+ ? 'Your CSV contains no data'
+ : ''}
</p>
</div>
)}
diff --git a/apps/studio/components/interfaces/TableGridEditor/TableDefinition.tsx b/apps/studio/components/interfaces/TableGridEditor/TableDefinition.tsx
index 24f1b77b044..a9bbb9c2d1a 100644
--- a/apps/studio/components/interfaces/TableGridEditor/TableDefinition.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/TableDefinition.tsx
@@ -61,8 +61,8 @@ const TableDefinition = ({ id }: TableDefinitionProps) => {
entityType?.type === ENTITY_TYPE.VIEW
? `create view ${entityType.schema}.${entityType.name} as\n`
: entityType?.type === ENTITY_TYPE.MATERIALIZED_VIEW
- ? `create materialized view ${entityType.schema}.${entityType.name} as\n`
- : ''
+ ? `create materialized view ${entityType.schema}.${entityType.name} as\n`
+ : ''
const formattedDefinition = useMemo(
() =>
diff --git a/apps/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx b/apps/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
index 0edd3f13aac..d27807aeb18 100644
--- a/apps/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
+++ b/apps/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
@@ -118,7 +118,7 @@ const TableGridEditor = ({
result: any[]
}
| undefined
- )
+ ),
][]
}
diff --git a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
index 05e34dbde57..e30ee64bfc3 100644
--- a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
+++ b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/GithubRepositorySelection.tsx
@@ -49,8 +49,8 @@ const GithubRepositorySelection = ({
process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'
? `https://github.com/apps/supabase/installations/new?state=${ref}`
: process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging'
- ? `https://github.com/apps/supabase-staging/installations/new?state=${ref}`
- : `https://github.com/apps/supabase-local-testing/installations/new?state=${ref}`
+ ? `https://github.com/apps/supabase-staging/installations/new?state=${ref}`
+ : `https://github.com/apps/supabase-local-testing/installations/new?state=${ref}`
function onSelectConnectRepo() {
if (integration) {
diff --git a/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx b/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
index ded658b071d..6a02018ec54 100644
--- a/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
+++ b/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
@@ -75,8 +75,8 @@ const OrganizationDropdown = ({ isNewNav = false }: OrganizationDropdownProps) =
const href = router.pathname.includes('[slug]')
? router.pathname.replace('[slug]', org.slug)
: isNewNav
- ? `/org/${org.slug}`
- : `/org/${org.slug}/general`
+ ? `/org/${org.slug}`
+ : `/org/${org.slug}/general`
return (
<CommandItem_Shadcn_
key={org.slug}
diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationRow.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationRow.tsx
index 2557ef355fb..1c04871edc5 100644
--- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationRow.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationRow.tsx
@@ -130,8 +130,8 @@ const NotificationRow: ItemRenderer<Notification, NotificationRowProps> = ({
const url = action.url.includes('[ref]')
? action.url.replace('[ref]', project?.ref ?? '_')
: action.url.includes('[slug]')
- ? action.url.replace('[slug]', organization?.slug ?? '_')
- : action.url
+ ? action.url.replace('[slug]', organization?.slug ?? '_')
+ : action.url
return (
<Button
key={key}
diff --git a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx
index f2f89535ba2..1096e4aa355 100644
--- a/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopoverV2/NotificationsPopover.tsx
@@ -55,8 +55,8 @@ const NotificationsPopoverV2 = () => {
activeTab === 'archived'
? 'archived'
: snap.filterStatuses.includes('unread')
- ? 'new'
- : undefined,
+ ? 'new'
+ : undefined,
filters: {
priority: snap.filterPriorities,
organizations: snap.filterOrganizations,
@@ -100,8 +100,8 @@ const NotificationsPopoverV2 = () => {
hasCritical
? 'border-destructive-500 hover:border-destructive-600 hover:bg-destructive-300'
: hasWarning
- ? 'border-warning-500 hover:border-warning-600 hover:bg-warning-300'
- : ''
+ ? 'border-warning-500 hover:border-warning-600 hover:bg-warning-300'
+ : ''
)}
icon={
hasCritical ? (
@@ -228,10 +228,10 @@ const NotificationsPopoverV2 = () => {
: ''
}`
: snap.numFiltersApplied > 0
- ? `No notifications based on the ${snap.numFiltersApplied} filter${
- snap.numFiltersApplied > 1 ? 's' : ''
- } applied`
- : 'All caught up'}
+ ? `No notifications based on the ${snap.numFiltersApplied} filter${
+ snap.numFiltersApplied > 1 ? 's' : ''
+ } applied`
+ : 'All caught up'}
</p>
<p className="text-foreground-lighter text-xs w-60 mx-auto text-center">
{activeTab === 'archived'
diff --git a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx
index 88fc29dfe29..bf99be9868e 100644
--- a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx
@@ -92,12 +92,12 @@ const ProjectLayout = ({
{title
? `${title} | Supabase`
: selectedTable
- ? `${selectedTable} | ${projectName} | ${organizationName} | Supabase`
- : projectName
- ? `${projectName} | ${organizationName} | Supabase`
- : organizationName
- ? `${organizationName} | Supabase`
- : 'Supabase'}
+ ? `${selectedTable} | ${projectName} | ${organizationName} | Supabase`
+ : projectName
+ ? `${projectName} | ${organizationName} | Supabase`
+ : organizationName
+ ? `${organizationName} | Supabase`
+ : 'Supabase'}
</title>
<meta name="description" content="Supabase Studio" />
</Head>
diff --git a/apps/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/apps/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
index bbbfae28bb5..989c9927934 100644
--- a/apps/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
@@ -161,8 +161,8 @@ const UpgradingState = () => {
(progressStage - 2 <= 0
? 0
: progressStage > 6
- ? 5
- : progressStage - 2) * -28
+ ? 5
+ : progressStage - 2) * -28
}px`,
}}
>
@@ -191,15 +191,15 @@ const UpgradingState = () => {
isCurrent
? 'text-foreground'
: isCompleted
- ? 'text-foreground-light'
- : 'text-foreground-lighter'
+ ? 'text-foreground-light'
+ : 'text-foreground-lighter'
} hover:text-foreground transition`}
>
{isCurrent
? message.progress
: isCompleted
- ? message.completed
- : message.initial}
+ ? message.completed
+ : message.initial}
</p>
</div>
)
diff --git a/apps/studio/components/to-be-cleaned/Charts/ChartHandler.tsx b/apps/studio/components/to-be-cleaned/Charts/ChartHandler.tsx
index ca155ac2572..e996f82213c 100644
--- a/apps/studio/components/to-be-cleaned/Charts/ChartHandler.tsx
+++ b/apps/studio/components/to-be-cleaned/Charts/ChartHandler.tsx
@@ -111,12 +111,12 @@ const ChartHandler = ({
highlightedValue = highlightedValue
? highlightedValue
: provider === 'daily-stats' && !attribute.includes('ingress') && !attribute.includes('egress')
- ? chartData?.maximum
- : provider === 'daily-stats'
- ? chartData?.total
- : provider === 'log-stats'
- ? chartData?.totalGrouped?.[attribute]
- : chartData?.data[chartData?.data.length - 1]?.[attribute]
+ ? chartData?.maximum
+ : provider === 'daily-stats'
+ ? chartData?.total
+ : provider === 'log-stats'
+ ? chartData?.totalGrouped?.[attribute]
+ : chartData?.data[chartData?.data.length - 1]?.[attribute]
if (loading) {
return (
diff --git a/apps/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx b/apps/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
index f11c5de3846..ff6e0ee43da 100644
--- a/apps/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
+++ b/apps/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
@@ -41,8 +41,8 @@ const Header = ({
let FOCUS_FORMAT = customDateFormat
? customDateFormat
: format == '%'
- ? DATE_FORMAT__WITH_TIME
- : DATE_FORMAT__DATE_ONLY
+ ? DATE_FORMAT__WITH_TIME
+ : DATE_FORMAT__DATE_ONLY
let title = ''
diff --git a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.tsx b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.tsx
index 6cb51e9639f..c782c431f27 100644
--- a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.tsx
+++ b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/ConfirmDeleteModal.tsx
@@ -26,14 +26,14 @@ const ConfirmDeleteModal = ({
const title = multipleFiles
? `Confirm deletion of ${selectedItemsToDelete.length} items`
: selectedItemsToDelete.length === 1
- ? `Confirm deletion of ${selectedItemsToDelete[0].name}`
- : ``
+ ? `Confirm deletion of ${selectedItemsToDelete[0].name}`
+ : ``
const description = multipleFiles
? `Are you sure you want to delete the selected ${selectedItemsToDelete.length} items?`
: selectedItemsToDelete.length === 1
- ? `Are you sure you want to delete the selected ${selectedItemsToDelete[0].type.toLowerCase()}?`
- : ``
+ ? `Are you sure you want to delete the selected ${selectedItemsToDelete[0].type.toLowerCase()}?`
+ : ``
const onConfirmDelete = () => {
setDeleting(true)
diff --git a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
index f8cc0459e10..05ceb155cc9 100644
--- a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
+++ b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
@@ -53,8 +53,8 @@ export const RowIcon = ({ view, status, fileType, mimeType }: any) => {
fileType === STORAGE_ROW_TYPES.BUCKET
? `${BASE_PATH}/img/bucket-filled.svg`
: fileType === STORAGE_ROW_TYPES.FOLDER
- ? `${BASE_PATH}/img/folder-filled.svg`
- : `${BASE_PATH}/img/file-filled.svg`
+ ? `${BASE_PATH}/img/folder-filled.svg`
+ : `${BASE_PATH}/img/file-filled.svg`
return (
<SVG
src={iconSrc}
@@ -299,8 +299,8 @@ const FileExplorerRow: ItemRenderer<any, FileExplorerRowProps> = ({
view === STORAGE_VIEWS.LIST && item.isCorrupted
? `calc(100% - 60px)`
: view === STORAGE_VIEWS.LIST && !item.isCorrupted
- ? `calc(100% - 50px)`
- : '100%'
+ ? `calc(100% - 50px)`
+ : '100%'
if (item.status === STORAGE_ROW_STATUS.EDITING) {
return <FileExplorerRowEditing view={view} item={item} columnIndex={columnIndex} />
diff --git a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.tsx b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.tsx
index 50493605580..ac3d2c8edf2 100644
--- a/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.tsx
+++ b/apps/studio/components/to-be-cleaned/Storage/StorageExplorer/MoveItemsModal.tsx
@@ -30,8 +30,8 @@ const MoveItemsModal = ({
const title = multipleFiles
? `Moving ${selectedItemsToMove.length} items within ${bucketName}`
: selectedItemsToMove.length === 1
- ? `Moving ${selectedItemsToMove[0]?.name} within ${bucketName}`
- : ``
+ ? `Moving ${selectedItemsToMove[0]?.name} within ${bucketName}`
+ : ``
const description = `Enter the path to where you'd like to move the file${
multipleFiles ? 's' : ''
diff --git a/apps/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx b/apps/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx
index 2e9ea99e09c..d27ac34b5ff 100644
--- a/apps/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx
+++ b/apps/studio/components/to-be-cleaned/Storage/StorageSettings/StorageSettings.tsx
@@ -74,9 +74,8 @@ const StorageConfig = ({ config, projectRef, organizationSlug }: any) => {
const onValidate = (values: any) => {
const errors = {} as any
if (values.fileSizeLimit > formattedMaxLimit) {
- errors[
- 'fileSizeLimit'
- ] = `Maximum limit is up to ${formattedMaxLimit.toLocaleString()} ${selectedUnit}.`
+ errors['fileSizeLimit'] =
+ `Maximum limit is up to ${formattedMaxLimit.toLocaleString()} ${selectedUnit}.`
}
return errors
}
diff --git a/apps/studio/components/ui/Charts/Charts.utils.tsx b/apps/studio/components/ui/Charts/Charts.utils.tsx
index f35702ebeaf..34c9f6783f1 100644
--- a/apps/studio/components/ui/Charts/Charts.utils.tsx
+++ b/apps/studio/components/ui/Charts/Charts.utils.tsx
@@ -83,12 +83,11 @@ export const useChartSize = (
const minHeight = sizeMap[size]
const Container: React.FC<React.PropsWithChildren> = useMemo(
() =>
- ({ children }) =>
- (
- <ResponsiveContainer height={minHeight} minHeight={minHeight} width="100%">
- {children as JSX.Element}
- </ResponsiveContainer>
- ),
+ ({ children }) => (
+ <ResponsiveContainer height={minHeight} minHeight={minHeight} width="100%">
+ {children as JSX.Element}
+ </ResponsiveContainer>
+ ),
[size]
)
return {
@@ -111,17 +110,20 @@ export const useStacked = ({
} & Pick<CommonChartProps<Record<string, number>>, 'data'>) => {
const stackedData = useMemo(() => {
if (!data) return []
- const mapping = data.reduce((acc, datum) => {
- const x = datum[xAxisKey]
- const y = datum[yAxisKey]
- const s = datum[stackKey]
- if (!acc[x]) {
- acc[x] = {}
- }
+ const mapping = data.reduce(
+ (acc, datum) => {
+ const x = datum[xAxisKey]
+ const y = datum[yAxisKey]
+ const s = datum[stackKey]
+ if (!acc[x]) {
+ acc[x] = {}
+ }
- acc[x][s] = y
- return acc
- }, {} as Record<string, Record<string, number>>)
+ acc[x][s] = y
+ return acc
+ },
+ {} as Record<string, Record<string, number>>
+ )
const flattened = Object.entries(mapping).map(([x, sMap]) => ({
...sMap,
diff --git a/apps/studio/components/ui/Dialogs/ConfirmDialog.tsx b/apps/studio/components/ui/Dialogs/ConfirmDialog.tsx
index 239b0f3723d..4039b157739 100644
--- a/apps/studio/components/ui/Dialogs/ConfirmDialog.tsx
+++ b/apps/studio/components/ui/Dialogs/ConfirmDialog.tsx
@@ -85,8 +85,8 @@ const ConfirmModal = ({
{buttonLoadingLabel && loading
? buttonLoadingLabel
: buttonLabel
- ? buttonLabel
- : 'Confirm'}
+ ? buttonLabel
+ : 'Confirm'}
</Button>
</div>
</Modal.Content>
diff --git a/apps/studio/components/ui/MultiSelect/index.tsx b/apps/studio/components/ui/MultiSelect/index.tsx
index c22641b89b9..4398c0ed31c 100644
--- a/apps/studio/components/ui/MultiSelect/index.tsx
+++ b/apps/studio/components/ui/MultiSelect/index.tsx
@@ -104,8 +104,8 @@ export default function MultiSelect({
const updatedPayload = allowDuplicateSelection
? [..._selected.concat([option.value])]
: isActive
- ? [...without(_selected, option.value)]
- : [..._selected.concat([option.value])]
+ ? [...without(_selected, option.value)]
+ : [..._selected.concat([option.value])]
// Payload must always include disabled options
const compulsoryOptions = options
diff --git a/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx b/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
index 9a9dcb701a9..566f135772b 100644
--- a/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
+++ b/apps/studio/components/ui/ProjectSettings/DisplayApiSettings.tsx
@@ -107,10 +107,10 @@ const DisplayApiSettings = () => {
!canReadAPIKeys
? 'You need additional permissions to view API keys'
: jwtSecretUpdateStatus === JwtSecretUpdateStatus.Failed
- ? 'JWT secret update failed, new API key may have issues'
- : jwtSecretUpdateStatus === JwtSecretUpdateStatus.Updating
- ? 'Updating JWT secret...'
- : x.api_key
+ ? 'JWT secret update failed, new API key may have issues'
+ : jwtSecretUpdateStatus === JwtSecretUpdateStatus.Updating
+ ? 'Updating JWT secret...'
+ : x.api_key
}
onChange={() => {}}
descriptionText={
diff --git a/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx b/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
index 312e2accf72..09de63ce683 100644
--- a/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
+++ b/apps/studio/components/ui/ProjectSettings/DisplayConfigSettings.tsx
@@ -78,8 +78,8 @@ const DisplayConfigSettings = () => {
jwtSecretUpdateStatus === JwtSecretUpdateStatus.Failed
? 'JWT secret update failed'
: jwtSecretUpdateStatus === JwtSecretUpdateStatus.Updating
- ? 'Updating JWT secret...'
- : jwtSecret
+ ? 'Updating JWT secret...'
+ : jwtSecret
}
className="input-mono"
descriptionText="Used to decode your JWTs. You can also use this to mint your own JWTs."
diff --git a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx
index 6c30301afd8..3e88bec826a 100644
--- a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx
+++ b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx
@@ -78,12 +78,12 @@ const ResourceExhaustionWarningBanner = () => {
metric === undefined
? undefined
: metric === null
- ? '/project/[ref]/settings/[infra-path]'
- : metric === 'disk_space' || metric === 'read_only'
- ? '/project/[ref]/settings/database'
- : metric === 'auth_email_rate_limit'
- ? '/project/[ref]/settings/auth'
- : `/project/[ref]/settings/[infra-path]#${metric}`
+ ? '/project/[ref]/settings/[infra-path]'
+ : metric === 'disk_space' || metric === 'read_only'
+ ? '/project/[ref]/settings/database'
+ : metric === 'auth_email_rate_limit'
+ ? '/project/[ref]/settings/auth'
+ : `/project/[ref]/settings/[infra-path]#${metric}`
)
?.replace('[ref]', ref ?? 'default')
?.replace('[infra-path]', 'infrastructure')
diff --git a/apps/studio/data/api.d.ts b/apps/studio/data/api.d.ts
index b746c68aa90..5657cb98345 100644
--- a/apps/studio/data/api.d.ts
+++ b/apps/studio/data/api.d.ts
@@ -9,8 +9,8 @@ type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T
type OneOf<T extends any[]> = T extends [infer Only]
? Only
: T extends [infer A, infer B, ...infer Rest]
- ? OneOf<[XOR<A, B>, ...Rest]>
- : never
+ ? OneOf<[XOR<A, B>, ...Rest]>
+ : never
export interface paths {
'/platform/notifications': {
@@ -3843,7 +3843,7 @@ export interface components {
message?: string
status?: string
},
- string
+ string,
]
>
result?: Record<string, never>[]
diff --git a/apps/studio/data/database/entity-definitions-query.ts b/apps/studio/data/database/entity-definitions-query.ts
index 5c6d93a1dac..9ee7702057f 100644
--- a/apps/studio/data/database/entity-definitions-query.ts
+++ b/apps/studio/data/database/entity-definitions-query.ts
@@ -85,7 +85,7 @@ export type EntityDefinitionsData = EntityDefinition[]
export type EntityDefinitionsError = unknown
export const useEntityDefinitionsQuery = <
- TData extends EntityDefinitionsData = EntityDefinitionsData
+ TData extends EntityDefinitionsData = EntityDefinitionsData,
>(
{ limit, projectRef, connectionString }: EntityDefinitionsVariables,
options: UseQueryOptions<ExecuteSqlData, EntityDefinitionsError, TData> = {}
diff --git a/apps/studio/data/database/foreign-key-constraints-query.ts b/apps/studio/data/database/foreign-key-constraints-query.ts
index 28978c86bc4..b57ac57f84a 100644
--- a/apps/studio/data/database/foreign-key-constraints-query.ts
+++ b/apps/studio/data/database/foreign-key-constraints-query.ts
@@ -82,7 +82,7 @@ export type ForeignKeyConstraintsData = ForeignKeyConstraint[]
export type ForeignKeyConstraintsError = unknown
export const useForeignKeyConstraintsQuery = <
- TData extends ForeignKeyConstraintsData = ForeignKeyConstraintsData
+ TData extends ForeignKeyConstraintsData = ForeignKeyConstraintsData,
>(
{ projectRef, connectionString, schema }: ForeignKeyConstraintsVariables,
options: UseQueryOptions<ExecuteSqlData, ForeignKeyConstraintsError, TData> = {}
diff --git a/apps/studio/data/organizations/organization-billing-subscription-preview.ts b/apps/studio/data/organizations/organization-billing-subscription-preview.ts
index 95f2d7bc6b2..93d23d6133a 100644
--- a/apps/studio/data/organizations/organization-billing-subscription-preview.ts
+++ b/apps/studio/data/organizations/organization-billing-subscription-preview.ts
@@ -73,7 +73,7 @@ export type OrganizationBillingSubscriptionPreviewData = Awaited<
>
export const useOrganizationBillingSubscriptionPreview = <
- TData = OrganizationBillingSubscriptionPreviewData
+ TData = OrganizationBillingSubscriptionPreviewData,
>(
{ organizationSlug, tier }: OrganizationBillingSubscriptionPreviewVariables,
{
diff --git a/apps/studio/data/organizations/organization-join-token-validation-query.ts b/apps/studio/data/organizations/organization-join-token-validation-query.ts
index 87cce40f05e..09c7af60ccd 100644
--- a/apps/studio/data/organizations/organization-join-token-validation-query.ts
+++ b/apps/studio/data/organizations/organization-join-token-validation-query.ts
@@ -30,7 +30,7 @@ export type OrganizationJoinTokenValidationData = Awaited<
export type OrganizationJoinTokenValidationError = ResponseError
export const useOrganizationJoinTokenValidationQuery = <
- TData = OrganizationJoinTokenValidationData
+ TData = OrganizationJoinTokenValidationData,
>(
{ slug, token }: OrganizationJoinTokenValidationVariables,
{
diff --git a/apps/studio/data/profile/mfa-authenticator-assurance-level-query.ts b/apps/studio/data/profile/mfa-authenticator-assurance-level-query.ts
index f5b2ae77113..d0d5c440e35 100644
--- a/apps/studio/data/profile/mfa-authenticator-assurance-level-query.ts
+++ b/apps/studio/data/profile/mfa-authenticator-assurance-level-query.ts
@@ -21,7 +21,7 @@ type CustomAuthMFAGetAuthenticatorAssuranceLevelError = NonNullable<
>
export const useAuthenticatorAssuranceLevelQuery = <
- TData = CustomAuthMFAGetAuthenticatorAssuranceLevelData
+ TData = CustomAuthMFAGetAuthenticatorAssuranceLevelData,
>({
enabled = true,
...options
diff --git a/apps/studio/hooks/deprecated.ts b/apps/studio/hooks/deprecated.ts
index 09421348386..4bd98e7dcf3 100644
--- a/apps/studio/hooks/deprecated.ts
+++ b/apps/studio/hooks/deprecated.ts
@@ -62,12 +62,12 @@ function useKeyboardShortcuts(
return event.metaKey && event.shiftKey
? `Command+Shift+${event.key}`
: event.metaKey
- ? `Command+${event.key}`
- : event.shiftKey && event.key === 'Enter'
- ? `Shift+${event.key}`
- : event.ctrlKey && event.key
- ? `Control+${event.key}`
- : event.key
+ ? `Command+${event.key}`
+ : event.shiftKey && event.key === 'Enter'
+ ? `Shift+${event.key}`
+ : event.ctrlKey && event.key
+ ? `Control+${event.key}`
+ : event.key
}
useEffect(() => {
diff --git a/apps/studio/lib/helpers.ts b/apps/studio/lib/helpers.ts
index 6b3cfa9868f..82354e42e9b 100644
--- a/apps/studio/lib/helpers.ts
+++ b/apps/studio/lib/helpers.ts
@@ -55,8 +55,8 @@ export const getURL = () => {
process?.env?.NEXT_PUBLIC_SITE_URL && process.env.NEXT_PUBLIC_SITE_URL !== ''
? process.env.NEXT_PUBLIC_SITE_URL
: process?.env?.VERCEL_URL && process.env.VERCEL_URL !== ''
- ? process.env.VERCEL_URL
- : 'https://supabase.com/dashboard'
+ ? process.env.VERCEL_URL
+ : 'https://supabase.com/dashboard'
return url.includes('http') ? url : `https://${url}`
}
diff --git a/apps/studio/package.json b/apps/studio/package.json
index e7f3f310d18..231177ef520 100644
--- a/apps/studio/package.json
+++ b/apps/studio/package.json
@@ -140,14 +140,14 @@
"autoprefixer": "^10.4.14",
"common": "*",
"config": "*",
- "eslint-config-next": "^13.5.6",
+ "eslint-config-next": "^14.1.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"openapi-types": "^12.1.3",
"openapi-typescript": "^6.7.1",
"postcss": "^8.4.31",
- "prettier": "^2.8.8",
+ "prettier": "^4.0.0-alpha.8",
"sass": "^1.68.0",
"storybook-dark-mode": "^3.0.1",
"tailwindcss": "^3.4.1",
diff --git a/apps/studio/pages/project/[ref]/reports/query-performance.tsx b/apps/studio/pages/project/[ref]/reports/query-performance.tsx
index e48b7e18ef3..25121909a5d 100644
--- a/apps/studio/pages/project/[ref]/reports/query-performance.tsx
+++ b/apps/studio/pages/project/[ref]/reports/query-performance.tsx
@@ -125,8 +125,8 @@ const QueryPerformanceReport: NextPageWithLayout = () => {
{indexHitRate >= 0.99
? checkAlert
: indexHitRate >= 0.95
- ? warnAlert
- : dangerAlert}
+ ? warnAlert
+ : dangerAlert}
<div className="flex items-baseline">
<span className="text-3xl">
{(queryHitRate?.data![0]?.ratio * 100).toFixed(2)}
@@ -142,8 +142,8 @@ const QueryPerformanceReport: NextPageWithLayout = () => {
{tableHitRate >= 0.99
? checkAlert
: tableHitRate >= 0.95
- ? warnAlert
- : dangerAlert}
+ ? warnAlert
+ : dangerAlert}
<div className="flex items-baseline">
<span className="text-3xl">
{(queryHitRate?.data![1]?.ratio * 100).toFixed(2)}
diff --git a/apps/studio/pages/sign-in-fly-tos.tsx b/apps/studio/pages/sign-in-fly-tos.tsx
index 509eee18942..b173eca40ba 100644
--- a/apps/studio/pages/sign-in-fly-tos.tsx
+++ b/apps/studio/pages/sign-in-fly-tos.tsx
@@ -47,8 +47,8 @@ const SignInFlyTos = () => {
fly_extension_id
? getProjectByFlyExtensionId({ flyExtensionId: fly_extension_id as string })
: fly_organization_id
- ? getOrgByFlyOrgId({ flyOrganizationId: fly_organization_id as string })
- : setLoading(false)
+ ? getOrgByFlyOrgId({ flyOrganizationId: fly_organization_id as string })
+ : setLoading(false)
}, [isReady])
const onSignInWithFly = async () => {
diff --git a/apps/studio/pages/support/new.tsx b/apps/studio/pages/support/new.tsx
index 76ffea0a429..966b277c320 100644
--- a/apps/studio/pages/support/new.tsx
+++ b/apps/studio/pages/support/new.tsx
@@ -55,8 +55,8 @@ const SupportPage = () => {
{isLoading
? 'Checking status'
: isHealthy
- ? 'All systems operational'
- : 'Active incident ongoing'}
+ ? 'All systems operational'
+ : 'Active incident ongoing'}
</Link>
</Button>
</Tooltip.Trigger>
diff --git a/apps/studio/pages/vercel/integrate.tsx b/apps/studio/pages/vercel/integrate.tsx
index 38b349d0a5a..0c04b7dcf41 100644
--- a/apps/studio/pages/vercel/integrate.tsx
+++ b/apps/studio/pages/vercel/integrate.tsx
@@ -616,8 +616,8 @@ const ProjectLinkItem = observer(
result.status === 'waiting'
? 'text-foreground-light'
: result.status === 'fail'
- ? 'text-foreground-light'
- : 'text-foreground'
+ ? 'text-foreground-light'
+ : 'text-foreground'
}`}
>
{result?.message ?? 'Processing...'}
diff --git a/apps/studio/stores/pgmeta/TableStore.ts b/apps/studio/stores/pgmeta/TableStore.ts
index 23088868c23..220920ec0c9 100644
--- a/apps/studio/stores/pgmeta/TableStore.ts
+++ b/apps/studio/stores/pgmeta/TableStore.ts
@@ -36,11 +36,14 @@ export default class TableStore extends PostgresMetaInterface<PostgresTable> {
if (columnsResponse.error) throw columnsResponse.error
// merge 2 response to create the final array
- const columnsByTableId = (columnsResponse as PostgresColumn[]).reduce((acc, curr) => {
- acc[curr.table_id] ??= []
- acc[curr.table_id].push(curr)
- return acc
- }, {} as Record<string, PostgresColumn[]>)
+ const columnsByTableId = (columnsResponse as PostgresColumn[]).reduce(
+ (acc, curr) => {
+ acc[curr.table_id] ??= []
+ acc[curr.table_id].push(curr)
+ return acc
+ },
+ {} as Record<string, PostgresColumn[]>
+ )
const tables: PostgresTable[] = []
tablesResponse.forEach((table: PostgresTable) => {
const columns = columnsByTableId[table.id]
diff --git a/apps/studio/tsconfig.json b/apps/studio/tsconfig.json
index 677ac2f3da9..df8cb48123e 100644
--- a/apps/studio/tsconfig.json
+++ b/apps/studio/tsconfig.json
@@ -17,15 +17,15 @@
"downlevelIteration": true,
"incremental": true,
"paths": {
- "@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths
+ "@ui/*": ["./../../packages/ui/src/*"], // handle ui package paths
},
"useDefineForClassFields": true,
"plugins": [
{
- "name": "next"
- }
- ]
+ "name": "next",
+ },
+ ],
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", ".next/types/**/*.ts"],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules"],
}
diff --git a/apps/studio/types/userContent.ts b/apps/studio/types/userContent.ts
index 24e4a25c382..83ea9647e77 100644
--- a/apps/studio/types/userContent.ts
+++ b/apps/studio/types/userContent.ts
@@ -1,5 +1,5 @@
export interface UserContent<
- T = Dashboards.Content | SqlSnippets.Content | LogSqlSnippets.Content
+ T = Dashboards.Content | SqlSnippets.Content | LogSqlSnippets.Content,
> {
id?: string
name: string
diff --git a/apps/www/_blog/2022-03-08-postgres-audit.mdx b/apps/www/_blog/2022-03-08-postgres-audit.mdx
index bf5ad751917..3ea7ac3d7cb 100644
--- a/apps/www/_blog/2022-03-08-postgres-audit.mdx
+++ b/apps/www/_blog/2022-03-08-postgres-audit.mdx
@@ -104,20 +104,20 @@ So instead, we'll lean on PostgreSQL's schema-less [`JSONB` data type](https://w
That approach has the added benefit of allowing us to store multiple tables' audit history in a single audit table.
```sql
-create table audit.record_version(
- id bigserial primary key,
+create table audit.record_version (
+ id bigserial primary key,
-- auditing metadata
- record_id uuid, -- identifies a new record by it's table + primary key
- old_record_id uuid, -- ^
- op varchar(8) not null, -- INSERT/UPDATE/DELETE/TRUNCATE
- ts timestamptz not null default now(),
+ record_id uuid, -- identifies a new record by it's table + primary key
+ old_record_id uuid, -- ^
+ op varchar(8) not null, -- INSERT/UPDATE/DELETE/TRUNCATE
+ ts timestamptz not null default now(),
-- table identifiers
- table_oid oid not null, -- pg internal id for a table
- table_schema name not null, -- audited table's schema name e.g. 'public'
- table_name name not null, -- audited table's table name e.g. 'account'
+ table_oid oid not null, -- pg internal id for a table
+ table_schema name not null, -- audited table's schema name e.g. 'public'
+ table_name name not null, -- audited table's table name e.g. 'account'
-- record data
- record jsonb, -- contents of the new record
- old_record jsonb -- previous record contents (for UPDATE/DELETE)
+ record jsonb, -- contents of the new record
+ old_record jsonb -- previous record contents (for UPDATE/DELETE)
);
```
diff --git a/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx b/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
index d5a1f64196e..cd6380cef06 100644
--- a/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
+++ b/apps/www/_blog/2022-08-24-building-a-realtime-trello-board-with-supabase-and-angular.mdx
@@ -614,7 +614,10 @@ import { filter, map, take } from 'rxjs/operators'
providedIn: 'root',
})
export class AuthGuard implements CanActivate {
- constructor(private auth: AuthService, private router: Router) {}
+ constructor(
+ private auth: AuthService,
+ private router: Router
+ ) {}
canActivate(): Observable<boolean | UrlTree> {
return this.auth.currentUser.pipe(
diff --git a/apps/www/_blog/2022-11-08-authentication-in-ionic-angular.mdx b/apps/www/_blog/2022-11-08-authentication-in-ionic-angular.mdx
index e34c4d02fa7..d4440080197 100644
--- a/apps/www/_blog/2022-11-08-authentication-in-ionic-angular.mdx
+++ b/apps/www/_blog/2022-11-08-authentication-in-ionic-angular.mdx
@@ -1479,7 +1479,11 @@ import { App, URLOpenListenerEvent } from '@capacitor/app'
styleUrls: ['app.component.scss'],
})
export class AppComponent {
- constructor(private zone: NgZone, private router: Router, private authService: AuthService) {
+ constructor(
+ private zone: NgZone,
+ private router: Router,
+ private authService: AuthService
+ ) {
this.setupListener()
}
diff --git a/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx b/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx
index 2213babdbf0..f8b6a3b7900 100644
--- a/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx
+++ b/apps/www/_blog/2023-03-01-geo-queries-with-postgis-in-ionic-angular.mdx
@@ -501,7 +501,10 @@ export class StorePage implements OnInit {
long: undefined,
}
- constructor(public modalCtrl: ModalController, private storesService: StoresService) {}
+ constructor(
+ public modalCtrl: ModalController,
+ private storesService: StoresService
+ ) {}
ngOnInit() {}
@@ -629,7 +632,10 @@ export class HomePage {
selectedMarker: StoreMarker | null = null
selectedStore: StoreResult | null = null
- constructor(private storesService: StoresService, private modalCtrl: ModalController) {}
+ constructor(
+ private storesService: StoresService,
+ private modalCtrl: ModalController
+ ) {}
ionViewDidEnter() {
this.createMap()
diff --git a/apps/www/_blog/2023-10-03-postgres-dynamic-table-partitioning.mdx b/apps/www/_blog/2023-10-03-postgres-dynamic-table-partitioning.mdx
index a757bb9c220..922254a3ca1 100644
--- a/apps/www/_blog/2023-10-03-postgres-dynamic-table-partitioning.mdx
+++ b/apps/www/_blog/2023-10-03-postgres-dynamic-table-partitioning.mdx
@@ -38,20 +38,20 @@ Partitioning is a simple solution, but for Postgres this usually requires settin
Let’s explore a working example showing how to escape this situation using dynamic table partitioning. We’ll setup a simulated “chat app” that has to store possibly millions of chat messages per day. The first step is to set up a fake “Large Table” problem to simulate a data set that has grown past where Postgres can handle it all in one table. So first, we’ll add a couple of new tables for our example chat app:
```sql
-CREATE TABLE chats(
+create table chats (
id bigserial,
- created_at timestamptz NOT NULL DEFAULT now(),
- PRIMARY KEY (id)
+ created_at timestamptz not null default now(),
+ primary key (id)
);
-CREATE TABLE chat_messages(
+create table chat_messages (
id bigserial,
- created_at timestamptz NOT NULL,
- chat_id bigint NOT NULL,
- chat_created_at timestamptz NOT NULL,
- message text NOT NULL,
- PRIMARY KEY (id),
- FOREIGN KEY (chat_id) REFERENCES chats(id)
+ created_at timestamptz not null,
+ chat_id bigint not null,
+ chat_created_at timestamptz not null,
+ message text not null,
+ primary key (id),
+ foreign key (chat_id) references chats (id)
);
```
diff --git a/apps/www/components/Blog/BlogFilters.tsx b/apps/www/components/Blog/BlogFilters.tsx
index 0288f3055a1..16334a64187 100644
--- a/apps/www/components/Blog/BlogFilters.tsx
+++ b/apps/www/components/Blog/BlogFilters.tsx
@@ -125,8 +125,8 @@ const BlogFilters = ({ posts, setPosts, setCategory, allCategories, handlePosts
category === 'all' && !searchKey && !activeCategory
? 'alternative'
: category === activeCategory
- ? 'alternative'
- : 'outline'
+ ? 'alternative'
+ : 'outline'
}
onClick={() => setCategory(category)}
size={is2XL ? 'tiny' : 'small'}
diff --git a/apps/www/components/Blog/BlogListItem.tsx b/apps/www/components/Blog/BlogListItem.tsx
index 3ba168ca5c6..096476bab12 100644
--- a/apps/www/components/Blog/BlogListItem.tsx
+++ b/apps/www/components/Blog/BlogListItem.tsx
@@ -35,8 +35,8 @@ const BlogListItem = ({ post }: Props) => {
!post.thumb
? `/images/blog/blog-placeholder.png`
: post.type === 'casestudy'
- ? post.thumb
- : `/images/blog/${post.thumb}`
+ ? post.thumb
+ : `/images/blog/${post.thumb}`
}
className="scale-100 object-cover overflow-hidden transform transition-transform group-hover:scale-105"
alt={`${post.title} thumbnail`}
diff --git a/apps/www/components/Charts/PGCharts.tsx b/apps/www/components/Charts/PGCharts.tsx
index 9b1740b7180..3297eab4e9b 100644
--- a/apps/www/components/Charts/PGCharts.tsx
+++ b/apps/www/components/Charts/PGCharts.tsx
@@ -85,8 +85,8 @@ const Chart = () => {
selection === 'latency'
? 'Latency (ms)'
: selection === 'avg_latency'
- ? 'Avg latency per result (ms)'
- : 'Number of results',
+ ? 'Avg latency per result (ms)'
+ : 'Number of results',
position: 'insideBottom',
offset: -32,
fill: 'hsl(var(--foreground-default))',
diff --git a/apps/www/components/CodeBlock/CodeBlock.module.css b/apps/www/components/CodeBlock/CodeBlock.module.css
index fdf6fa2cc28..93c8a85902c 100644
--- a/apps/www/components/CodeBlock/CodeBlock.module.css
+++ b/apps/www/components/CodeBlock/CodeBlock.module.css
@@ -4,7 +4,9 @@
.code-line {
@apply block;
- transition: filter 500ms ease, opacity 500ms ease;
+ transition:
+ filter 500ms ease,
+ opacity 500ms ease;
transition-delay: 200ms;
}
diff --git a/apps/www/components/CodeBlock/CodeBlock.tsx b/apps/www/components/CodeBlock/CodeBlock.tsx
index 52d2596aec3..2931926a6aa 100644
--- a/apps/www/components/CodeBlock/CodeBlock.tsx
+++ b/apps/www/components/CodeBlock/CodeBlock.tsx
@@ -44,8 +44,8 @@ function CodeBlock(props: CodeBlockProps) {
let lang = props.lang
? props.lang
: props.className
- ? props.className.replace('language-', '')
- : 'js'
+ ? props.className.replace('language-', '')
+ : 'js'
// force jsx to be js highlighted
if (lang === 'jsx') lang = 'js'
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index 94dbe57f4f5..997f91464bd 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -76,8 +76,8 @@ const Footer = (props: Props) => {
forceDark
? supabaseLogoWordmarkDark
: mounted && resolvedTheme?.includes('dark')
- ? supabaseLogoWordmarkDark
- : supabaseLogoWordmarkLight
+ ? supabaseLogoWordmarkDark
+ : supabaseLogoWordmarkLight
}
width={160}
height={30}
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
index 1bf9d786c03..17042c750ca 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/index.tsx
@@ -63,8 +63,8 @@ export const LaunchSection = (props: WeekDayProps) => {
nextDayNotShipped
? 'launch-week-timeline-border--approaching'
: props.shipped
- ? 'border-brand'
- : 'border-purple-700',
+ ? 'border-brand'
+ : 'border-purple-700',
className,
].join(' ')}
></div>
diff --git a/apps/www/components/LaunchWeek/7/Releases/index.tsx b/apps/www/components/LaunchWeek/7/Releases/index.tsx
index 891509fe248..6ab3fef9cca 100644
--- a/apps/www/components/LaunchWeek/7/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/index.tsx
@@ -305,8 +305,8 @@ export default function LW7Releases() {
i === 2 && isTablet
? aiImageMobileVariant
: i !== 0
- ? opacityVariant
- : undefined
+ ? opacityVariant
+ : undefined
}
>
<Image
diff --git a/apps/www/components/LaunchWeek/7/Ticket/form.module.css b/apps/www/components/LaunchWeek/7/Ticket/form.module.css
index 1bdf317bbc9..f125b0db7f9 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/form.module.css
+++ b/apps/www/components/LaunchWeek/7/Ticket/form.module.css
@@ -91,7 +91,9 @@
background-color: var(--gray);
border-radius: var(--space-2x);
border: 1px solid transparent;
- transition: border-color 0.2s ease, background-color 0.2s ease;
+ transition:
+ border-color 0.2s ease,
+ background-color 0.2s ease;
display: block;
}
@@ -139,7 +141,9 @@
outline: none;
font-weight: 500;
color: white;
- transition: background-color 0.2s ease, color 0.2s ease;
+ transition:
+ background-color 0.2s ease,
+ color 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
diff --git a/apps/www/components/LaunchWeek/7/Ticket/ticket-image.module.css b/apps/www/components/LaunchWeek/7/Ticket/ticket-image.module.css
index 8af0bcf2aa6..d029dd2b818 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/ticket-image.module.css
+++ b/apps/www/components/LaunchWeek/7/Ticket/ticket-image.module.css
@@ -11,7 +11,23 @@
.page {
width: 1700px;
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
- 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Noto Sans', 'Noto Sans JP',
- 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans HK', sans-serif;
+ font-family:
+ 'Inter',
+ -apple-system,
+ BlinkMacSystemFont,
+ 'Segoe UI',
+ 'Roboto',
+ 'Oxygen',
+ 'Ubuntu',
+ 'Cantarell',
+ 'Fira Sans',
+ 'Droid Sans',
+ 'Helvetica Neue',
+ 'Noto Sans',
+ 'Noto Sans JP',
+ 'Noto Sans KR',
+ 'Noto Sans SC',
+ 'Noto Sans TC',
+ 'Noto Sans HK',
+ sans-serif;
}
diff --git a/apps/www/components/LaunchWeek/7/Ticket/ticket-visual.module.css b/apps/www/components/LaunchWeek/7/Ticket/ticket-visual.module.css
index 9056698878f..51e87c860bf 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/ticket-visual.module.css
+++ b/apps/www/components/LaunchWeek/7/Ticket/ticket-visual.module.css
@@ -1,7 +1,9 @@
.visual {
transform: translateZ(0);
background-image: linear-gradient(154.77deg, #cb88ff 29.4%, #cb88ff 120.47%);
- box-shadow: 0px 1px 27px #9e44ef10, 0 0 0 1px rgba(121, 89, 134, 0.237),
+ box-shadow:
+ 0px 1px 27px #9e44ef10,
+ 0 0 0 1px rgba(121, 89, 134, 0.237),
inset 0 0px 0 -2px rgba(0, 0, 0, 0.55);
/* border: 1px solid rgba(0, 0, 0, 0.05); */
border-radius: 16px;
diff --git a/apps/www/components/LaunchWeek/7/Ticket/ticket.module.css b/apps/www/components/LaunchWeek/7/Ticket/ticket.module.css
index f582c2c1a1b..039da0784c6 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/ticket.module.css
+++ b/apps/www/components/LaunchWeek/7/Ticket/ticket.module.css
@@ -5,8 +5,11 @@
rgba(255, 255, 255, 0) 103.29%
);
z-index: 10;
- box-shadow: 0 1px 1px rgba(131, 6, 184, 0.08), 0 2px 2px rgba(128, 6, 184, 0.08),
- inset 0 0.5px 0px 0.5px rgba(255, 255, 255, 0.1), inset 0 -3px 0 -2px rgba(255, 255, 255, 0.08),
+ box-shadow:
+ 0 1px 1px rgba(131, 6, 184, 0.08),
+ 0 2px 2px rgba(128, 6, 184, 0.08),
+ inset 0 0.5px 0px 0.5px rgba(255, 255, 255, 0.1),
+ inset 0 -3px 0 -2px rgba(255, 255, 255, 0.08),
0px 4px 20px rgba(118, 7, 170, 0.1);
}
@@ -136,7 +139,9 @@
.gold-text {
color: #f4cf72;
- text-shadow: 0 0 1px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.1);
+ text-shadow:
+ 0 0 1px rgba(0, 0, 0, 0.5),
+ 0 0 4px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
diff --git a/apps/www/components/LaunchWeek/8/Ticket/form.module.css b/apps/www/components/LaunchWeek/8/Ticket/form.module.css
index d982d30f265..c938c3db442 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/form.module.css
+++ b/apps/www/components/LaunchWeek/8/Ticket/form.module.css
@@ -91,7 +91,9 @@
background-color: var(--gray);
border-radius: var(--space-2x);
border: 1px solid transparent;
- transition: border-color 0.2s ease, background-color 0.2s ease;
+ transition:
+ border-color 0.2s ease,
+ background-color 0.2s ease;
display: block;
}
@@ -139,7 +141,9 @@
outline: none;
font-weight: 500;
color: white;
- transition: background-color 0.2s ease, color 0.2s ease;
+ transition:
+ background-color 0.2s ease,
+ color 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
diff --git a/apps/www/components/LaunchWeek/8/Ticket/ticket-visual.module.css b/apps/www/components/LaunchWeek/8/Ticket/ticket-visual.module.css
index f399e967aa1..4563a5a3ead 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/ticket-visual.module.css
+++ b/apps/www/components/LaunchWeek/8/Ticket/ticket-visual.module.css
@@ -9,7 +9,8 @@
),
hsla(200, 43%, 1%, 0.8);
/* background: hsla(200, 43%, 1%, 0.2); */
- box-shadow: 0px 1px 27px rgba(158, 68, 239, 0.06),
+ box-shadow:
+ 0px 1px 27px rgba(158, 68, 239, 0.06),
/* 0 0 0 1px rgba(121, 89, 134, 0.25), */ 0 10px 20px 0px rgba(20, 17, 21, 0.8),
inset 0 0.2px 1px 0.2px rgba(214, 210, 210, 0.4),
inset -0.4px -0.4px 1px -0.3px rgba(74, 252, 175, 0.4);
diff --git a/apps/www/components/LaunchWeek/8/Ticket/ticket.module.css b/apps/www/components/LaunchWeek/8/Ticket/ticket.module.css
index 51d423c3b22..1ddc404bf7c 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/ticket.module.css
+++ b/apps/www/components/LaunchWeek/8/Ticket/ticket.module.css
@@ -2,11 +2,15 @@
background: linear-gradient(137.46deg, rgba(125, 196, 176, 0.04) 0%, rgba(255, 255, 255, 0) 100%),
linear-gradient(137.46deg, rgba(255, 255, 255, 0) 6.19%, rgba(255, 255, 255, 0) 103.29%);
z-index: 10;
- box-shadow: 0 1px 1px rgba(131, 6, 184, 0.1), 0 1px 1px rgba(128, 6, 184, 0.1),
- 0 20px 30px -30px rgba(76, 195, 138, 0.05), 0 80px 40px -40px rgba(128, 6, 184, 0.04),
+ box-shadow:
+ 0 1px 1px rgba(131, 6, 184, 0.1),
+ 0 1px 1px rgba(128, 6, 184, 0.1),
+ 0 20px 30px -30px rgba(76, 195, 138, 0.05),
+ 0 80px 40px -40px rgba(128, 6, 184, 0.04),
inset 0.25px 0.3px 0px 0.3px rgba(209, 243, 227, 0.1),
inset 0.25px 0.3px 0px 0.3px rgba(76, 195, 138, 0.02),
- inset 0 -3px 0 -2px rgba(255, 255, 255, 0.08), 0px 4px 20px rgba(118, 7, 170, 0.1);
+ inset 0 -3px 0 -2px rgba(255, 255, 255, 0.08),
+ 0px 4px 20px rgba(118, 7, 170, 0.1);
}
.hero {
@@ -131,7 +135,9 @@
.gold-text {
color: #f4cf72;
- text-shadow: 0 0 1px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.1);
+ text-shadow:
+ 0 0 1px rgba(0, 0, 0, 0.5),
+ 0 0 4px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
@@ -141,10 +147,14 @@
}
.ticket-number {
- text-shadow: 0 0px 2px rgba(22, 22, 22, 0.9), 0 0px 6px rgba(131, 6, 184, 0.9),
+ text-shadow:
+ 0 0px 2px rgba(22, 22, 22, 0.9),
+ 0 0px 6px rgba(131, 6, 184, 0.9),
0 0px 12px rgba(217, 195, 226, 0.5);
}
.ticket-number-gold {
- text-shadow: 0 0px 2px rgba(22, 22, 22, 0.9), 0 0px 6px rgba(255, 195, 125, 0.9),
+ text-shadow:
+ 0 0px 2px rgba(22, 22, 22, 0.9),
+ 0 0px 6px rgba(255, 195, 125, 0.9),
0 0px 12px rgba(226, 224, 195, 0.5);
}
diff --git a/apps/www/components/OpenSource/Repos.tsx b/apps/www/components/OpenSource/Repos.tsx
index 50d1d592026..252c3cc017d 100644
--- a/apps/www/components/OpenSource/Repos.tsx
+++ b/apps/www/components/OpenSource/Repos.tsx
@@ -138,8 +138,8 @@ const Repos = ({ tabs }: Props) => {
slider.isEnd
? SWIPER_STATE.END
: slider.isBeginning
- ? SWIPER_STATE.START
- : SWIPER_STATE.MIDDLE
+ ? SWIPER_STATE.START
+ : SWIPER_STATE.MIDDLE
)
}
className="relative flex md:hidden justify-center max-w-full w-full overflow-hidden items-center rounded-full bg-surface-100 p-2"
diff --git a/apps/www/internals/generate-sitemap.mjs b/apps/www/internals/generate-sitemap.mjs
index 09088f341ed..d99cd90dbc8 100644
--- a/apps/www/internals/generate-sitemap.mjs
+++ b/apps/www/internals/generate-sitemap.mjs
@@ -9,6 +9,7 @@ import prettier from 'prettier'
async function generate() {
const prettierConfig = await prettier.resolveConfig('./.prettierrc.js')
+
const pages = await globby([
'pages/*.js',
'pages/*.tsx',
@@ -96,7 +97,7 @@ async function generate() {
</urlset>
`
- const formatted = prettier.format(sitemap, {
+ const formatted = await prettier.format(sitemap, {
...prettierConfig,
parser: 'html',
})
diff --git a/apps/www/lib/constants.ts b/apps/www/lib/constants.ts
index 288053121c5..1752b361eb0 100644
--- a/apps/www/lib/constants.ts
+++ b/apps/www/lib/constants.ts
@@ -31,8 +31,8 @@ export const SITE_URL =
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
? 'https://supabase.com/launch-week'
: process.env.NEXT_PUBLIC_VERCEL_URL
- ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/launch-week`
- : 'http://localhost:3000/launch-week'
+ ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/launch-week`
+ : 'http://localhost:3000/launch-week'
export const SITE_ORIGIN = new URL(SITE_URL).origin
export const TWITTER_USER_NAME = 'supabase'
export const LW7_DATE = 'April 10th 2023'
diff --git a/apps/www/lib/database.types.ts b/apps/www/lib/database.types.ts
index c834e0a4110..2d2ff80377f 100644
--- a/apps/www/lib/database.types.ts
+++ b/apps/www/lib/database.types.ts
@@ -124,7 +124,7 @@ export interface Database {
columns: ['contact']
referencedRelation: 'partner_contacts'
referencedColumns: ['id']
- }
+ },
]
}
}
diff --git a/apps/www/pages/customers/customers.module.css b/apps/www/pages/customers/customers.module.css
index 673690668c4..5c85f6cd587 100644
--- a/apps/www/pages/customers/customers.module.css
+++ b/apps/www/pages/customers/customers.module.css
@@ -1,11 +1,8 @@
.bg-visual {
animation: fadeIn 3s ease-out both;
background-image:
- /* Bg glow */ radial-gradient(
- 80% 100% at 50% 75%,
- #3ecf8e10 0%,
- #0d0e1200 100%
- ),
+ /* Bg glow */
+ radial-gradient(80% 100% at 50% 75%, #3ecf8e10 0%, #0d0e1200 100%),
radial-gradient(40% 70% at 50% 80%, #3ecf8e20 0%, #3ecf8e00 100%),
/* radial-gradient(100% 100% at 50% 80%, #1c1c1c50 0%, #3ecf8e00 100%), */
/* Stars from left to right =================================== */
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index 219b2db1922..524f9b61745 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -146,8 +146,8 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
const ticketType = user?.metadata?.hasSecretTicket
? 'secret'
: user?.golden
- ? 'platinum'
- : 'regular'
+ ? 'platinum'
+ : 'regular'
const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/og/${ticketType}/${username}.png`
diff --git a/apps/www/public/css/fonts.css b/apps/www/public/css/fonts.css
index fe4b1f5fc1a..cb6474c7949 100644
--- a/apps/www/public/css/fonts.css
+++ b/apps/www/public/css/fonts.css
@@ -4,56 +4,64 @@
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Book.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Book.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BookItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BookItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BookItalic.woff) format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-MediumItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-MediumItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-MediumItalic.woff) format('woff');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Bold.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Bold.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Bold.woff) format('woff');
font-weight: 700;
font-style: 600;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BoldItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BoldItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BoldItalic.woff) format('woff');
font-style: 600;
font-style: italic;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-Black.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-Black.woff2) format('woff2'),
url(/fonts/custom/CustomFont-Black.woff) format('woff');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'circular';
- src: url(/fonts/custom/CustomFont-BlackItalic.woff2) format('woff2'),
+ src:
+ url(/fonts/custom/CustomFont-BlackItalic.woff2) format('woff2'),
url(/fonts/custom/CustomFont-BlackItalic.woff) format('woff');
font-weight: 800;
font-style: italic;
@@ -64,7 +72,8 @@
@font-face {
font-family: 'source code pro';
src: url('/fonts/source-code-pro/SourceCodePro-Regular.eot');
- src: url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),
+ src:
+ url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),
url('/fonts/source-code-pro/SourceCodePro-Regular.woff') format('woff'),
url('/fonts/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'),
url('/fonts/source-code-pro/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index 292e23afe60..3a59219be81 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -19,7 +19,8 @@
@font-face {
font-family: 'custom-font';
- src: url(../../../packages/common/assets/fonts/CustomFont-Book.woff2) format('woff2'),
+ src:
+ url(../../../packages/common/assets/fonts/CustomFont-Book.woff2) format('woff2'),
url(../../../packages/common/assets/fonts/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
@@ -28,7 +29,8 @@
@font-face {
font-family: 'custom-font';
- src: url(../../../packages/common/assets/fonts/CustomFont-Medium.woff2) format('woff2'),
+ src:
+ url(../../../packages/common/assets/fonts/CustomFont-Medium.woff2) format('woff2'),
url(../../../packages/common/assets/fonts/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
diff --git a/apps/www/supabase/functions/hubspot-notification/index.ts b/apps/www/supabase/functions/hubspot-notification/index.ts
index bfffec856cd..e3aab3535cc 100644
--- a/apps/www/supabase/functions/hubspot-notification/index.ts
+++ b/apps/www/supabase/functions/hubspot-notification/index.ts
@@ -79,10 +79,10 @@ serve(async (req) => {
input.table === 'partner_contacts'
? PARTNER_FORM_ID
: input.table === 'dpa_downloads'
- ? DPA_FORM_ID
- : input.table === 'soc2_requests'
- ? SOC2_FORM_ID
- : ENTERPRISE_FORM_ID
+ ? DPA_FORM_ID
+ : input.table === 'soc2_requests'
+ ? SOC2_FORM_ID
+ : ENTERPRISE_FORM_ID
// Using HubSpot's submit data to a form API
// https://legacydocs.hubspot.com/docs/methods/forms/submit_form
diff --git a/apps/www/tsconfig.json b/apps/www/tsconfig.json
index dd54cfebcf6..6f01b16d407 100644
--- a/apps/www/tsconfig.json
+++ b/apps/www/tsconfig.json
@@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
- "@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths
+ "@ui/*": ["./../../packages/ui/src/*"], // handle ui package paths
},
"downlevelIteration": true,
"target": "es5",
@@ -22,10 +22,10 @@
"incremental": true,
"plugins": [
{
- "name": "next"
- }
- ]
+ "name": "next",
+ },
+ ],
},
"exclude": ["node_modules", "supabase"],
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"]
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
}
diff --git a/package-lock.json b/package-lock.json
index 4a6f3bc8e88..b8626598f9c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,10 +15,10 @@
"packages/*"
],
"devDependencies": {
- "eslint": "^8.45.0",
+ "eslint": "^8.56.0",
"eslint-config-custom": "*",
- "prettier": "^2.8.8",
- "prettier-plugin-sql-cst": "^0.5.0",
+ "prettier": "^4.0.0-alpha.8",
+ "prettier-plugin-sql-cst": "^0.11.0",
"sass": "^1.68.0",
"supabase": "^1.45.2",
"turbo": "^1.11.2"
@@ -40,7 +40,7 @@
"common": "*",
"config": "*",
"dayjs": "^1.11.10",
- "eslint-config-next": "^14.0.3",
+ "eslint-config-next": "^14.1.0",
"lodash": "^4.17.21",
"lucide-react": "^0.292.0",
"next": "^14.0.3",
@@ -69,11 +69,11 @@
"integrity": "sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA=="
},
"apps/database-new/node_modules/@next/eslint-plugin-next": {
- "version": "14.0.3",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.0.3.tgz",
- "integrity": "sha512-j4K0n+DcmQYCVnSAM+UByTVfIHnYQy2ODozfQP+4RdwtRDfobrIvKq1K4Exb2koJ79HSSa7s6B2SA8T/1YR3RA==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.0.tgz",
+ "integrity": "sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==",
"dependencies": {
- "glob": "7.1.7"
+ "glob": "10.3.10"
}
},
"apps/database-new/node_modules/@next/swc-darwin-arm64": {
@@ -304,11 +304,11 @@
}
},
"apps/database-new/node_modules/eslint-config-next": {
- "version": "14.0.3",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.0.3.tgz",
- "integrity": "sha512-IKPhpLdpSUyKofmsXUfrvBC49JMUTdeaD8ZIH4v9Vk0sC1X6URTuTJCLtA0Vwuj7V/CQh0oISuSTvNn5//Buew==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.0.tgz",
+ "integrity": "sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==",
"dependencies": {
- "@next/eslint-plugin-next": "14.0.3",
+ "@next/eslint-plugin-next": "14.1.0",
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
"eslint-import-resolver-node": "^0.3.6",
@@ -381,25 +381,6 @@
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
}
},
- "apps/database-new/node_modules/glob": {
- "version": "7.1.7",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
- "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"apps/database-new/node_modules/lucide-react": {
"version": "0.292.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.292.0.tgz",
@@ -751,7 +732,7 @@
"@types/lodash": "^4.14.202",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.21",
- "prettier": "^2.8.8",
+ "prettier": "^4.0.0-alpha.8",
"tsx": "^4.7.0"
}
},
@@ -881,14 +862,14 @@
"autoprefixer": "^10.4.14",
"common": "*",
"config": "*",
- "eslint-config-next": "^13.5.6",
+ "eslint-config-next": "^14.1.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"openapi-types": "^12.1.3",
"openapi-typescript": "^6.7.1",
"postcss": "^8.4.31",
- "prettier": "^2.8.8",
+ "prettier": "^4.0.0-alpha.8",
"sass": "^1.68.0",
"storybook-dark-mode": "^3.0.1",
"tailwindcss": "^3.4.1",
@@ -896,11 +877,12 @@
}
},
"apps/studio/node_modules/@next/eslint-plugin-next": {
- "version": "13.5.6",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.0.tgz",
+ "integrity": "sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==",
"dev": true,
- "license": "MIT",
"dependencies": {
- "glob": "7.1.7"
+ "glob": "10.3.10"
}
},
"apps/studio/node_modules/ajv": {
@@ -934,11 +916,12 @@
}
},
"apps/studio/node_modules/eslint-config-next": {
- "version": "13.5.6",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.0.tgz",
+ "integrity": "sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==",
"dev": true,
- "license": "MIT",
"dependencies": {
- "@next/eslint-plugin-next": "13.5.6",
+ "@next/eslint-plugin-next": "14.1.0",
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
"eslint-import-resolver-node": "^0.3.6",
@@ -1011,25 +994,6 @@
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
}
},
- "apps/studio/node_modules/glob": {
- "version": "7.1.7",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"apps/studio/node_modules/json-schema-traverse": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
@@ -4468,8 +4432,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.2",
- "license": "MIT",
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
+ "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
@@ -4490,11 +4455,13 @@
},
"node_modules/@eslint/eslintrc/node_modules/argparse": {
"version": "2.0.1",
- "license": "Python-2.0"
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"node_modules/@eslint/eslintrc/node_modules/globals": {
- "version": "13.22.0",
- "license": "MIT",
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -4507,7 +4474,8 @@
},
"node_modules/@eslint/eslintrc/node_modules/js-yaml": {
"version": "4.1.0",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"dependencies": {
"argparse": "^2.0.1"
},
@@ -4517,7 +4485,8 @@
},
"node_modules/@eslint/eslintrc/node_modules/type-fest": {
"version": "0.20.2",
- "license": "(MIT OR CC0-1.0)",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
"engines": {
"node": ">=10"
},
@@ -4526,8 +4495,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.50.0",
- "license": "MIT",
+ "version": "8.56.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz",
+ "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
@@ -4702,11 +4672,12 @@
}
},
"node_modules/@humanwhocodes/config-array": {
- "version": "0.11.11",
- "license": "Apache-2.0",
+ "version": "0.11.14",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
+ "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
"dependencies": {
- "@humanwhocodes/object-schema": "^1.2.1",
- "debug": "^4.1.1",
+ "@humanwhocodes/object-schema": "^2.0.2",
+ "debug": "^4.3.1",
"minimatch": "^3.0.5"
},
"engines": {
@@ -4725,12 +4696,18 @@
}
},
"node_modules/@humanwhocodes/object-schema": {
- "version": "1.2.1",
- "license": "BSD-3-Clause"
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz",
+ "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw=="
+ },
+ "node_modules/@iarna/toml": {
+ "version": "2.2.5",
+ "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz",
+ "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==",
+ "dev": true
},
"node_modules/@isaacs/cliui": {
"version": "8.0.2",
- "dev": true,
"license": "ISC",
"dependencies": {
"string-width": "^5.1.2",
@@ -4746,7 +4723,6 @@
},
"node_modules/@isaacs/cliui/node_modules/ansi-regex": {
"version": "6.0.1",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -4757,7 +4733,6 @@
},
"node_modules/@isaacs/cliui/node_modules/strip-ansi": {
"version": "7.1.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
@@ -6813,7 +6788,6 @@
},
"node_modules/@pkgjs/parseargs": {
"version": "0.11.0",
- "dev": true,
"license": "MIT",
"optional": true,
"engines": {
@@ -10378,6 +10352,21 @@
"node": ">=10"
}
},
+ "node_modules/@storybook/cli/node_modules/prettier": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
"node_modules/@storybook/cli/node_modules/semver": {
"version": "7.5.4",
"dev": true,
@@ -10445,6 +10434,21 @@
"url": "https://opencollective.com/storybook"
}
},
+ "node_modules/@storybook/codemod/node_modules/prettier": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
"node_modules/@storybook/components": {
"version": "7.5.3",
"dev": true,
@@ -11416,6 +11420,41 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@supabase/postgres-meta/node_modules/prettier": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/@supabase/postgres-meta/node_modules/prettier-plugin-sql": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-sql/-/prettier-plugin-sql-0.13.0.tgz",
+ "integrity": "sha512-Ui9603tDD6PFyr7JvIEoE6cIFMQnJVDriG+oLyVThsGo/MIl5ek18JhH3xtox9ux8jvyww/FUFrJzxpZ7FIdvw==",
+ "dev": true,
+ "dependencies": {
+ "node-sql-parser": "^4.4.0",
+ "sql-formatter": "^11.0.2",
+ "tslib": "^2.4.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unts"
+ },
+ "peerDependencies": {
+ "prettier": "^2.0.0"
+ }
+ },
"node_modules/@supabase/postgrest-js": {
"version": "1.9.2",
"resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.9.2.tgz",
@@ -12803,69 +12842,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@typescript-eslint/eslint-plugin": {
- "version": "5.62.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/regexpp": "^4.4.0",
- "@typescript-eslint/scope-manager": "5.62.0",
- "@typescript-eslint/type-utils": "5.62.0",
- "@typescript-eslint/utils": "5.62.0",
- "debug": "^4.3.4",
- "graphemer": "^1.4.0",
- "ignore": "^5.2.0",
- "natural-compare-lite": "^1.4.0",
- "semver": "^7.3.7",
- "tsutils": "^3.21.0"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "@typescript-eslint/parser": "^5.0.0",
- "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": {
- "version": "6.0.0",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": {
- "version": "7.5.4",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": {
- "version": "4.0.0",
- "dev": true,
- "license": "ISC"
- },
"node_modules/@typescript-eslint/parser": {
"version": "5.62.0",
"license": "BSD-2-Clause",
@@ -12906,32 +12882,6 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
- "node_modules/@typescript-eslint/type-utils": {
- "version": "5.62.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/typescript-estree": "5.62.0",
- "@typescript-eslint/utils": "5.62.0",
- "debug": "^4.3.4",
- "tsutils": "^3.21.0"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "*"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
"node_modules/@typescript-eslint/types": {
"version": "5.62.0",
"license": "MIT",
@@ -12995,81 +12945,6 @@
"version": "4.0.0",
"license": "ISC"
},
- "node_modules/@typescript-eslint/utils": {
- "version": "5.62.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@types/json-schema": "^7.0.9",
- "@types/semver": "^7.3.12",
- "@typescript-eslint/scope-manager": "5.62.0",
- "@typescript-eslint/types": "5.62.0",
- "@typescript-eslint/typescript-estree": "5.62.0",
- "eslint-scope": "^5.1.1",
- "semver": "^7.3.7"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/@typescript-eslint/utils/node_modules/eslint-scope": {
- "version": "5.1.1",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^4.1.1"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/@typescript-eslint/utils/node_modules/estraverse": {
- "version": "4.3.0",
- "dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/@typescript-eslint/utils/node_modules/lru-cache": {
- "version": "6.0.0",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@typescript-eslint/utils/node_modules/semver": {
- "version": "7.5.4",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@typescript-eslint/utils/node_modules/yallist": {
- "version": "4.0.0",
- "dev": true,
- "license": "ISC"
- },
"node_modules/@typescript-eslint/visitor-keys": {
"version": "5.62.0",
"license": "MIT",
@@ -13731,6 +13606,12 @@
"ansi-html": "bin/ansi-html"
}
},
+ "node_modules/ansi-purge": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-purge/-/ansi-purge-1.0.0.tgz",
+ "integrity": "sha512-kbm4dtp1jcI8ZWhttEPzmga9fwbhGMinIDghOcBng5q9dOsnM6PYV3ih+5TO4D7inGXU9zBmVi7x1Z4dluY85Q==",
+ "dev": true
+ },
"node_modules/ansi-red": {
"version": "0.1.1",
"license": "MIT",
@@ -13772,6 +13653,12 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/ansi-truncate": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-truncate/-/ansi-truncate-1.0.1.tgz",
+ "integrity": "sha512-azOe4swp0S5fXHD+6AJt6NpjNcGpVZJV21K0zXdOoM4bG3xDmptn3pWXCvHMLP7ARAi5dvY5ltAIFVqUvADlXQ==",
+ "dev": true
+ },
"node_modules/ansi-wrap": {
"version": "0.1.0",
"license": "MIT",
@@ -14060,6 +13947,16 @@
"version": "0.4.0",
"license": "MIT"
},
+ "node_modules/atomically": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/atomically/-/atomically-2.0.2.tgz",
+ "integrity": "sha512-Xfmb4q5QV7uqTlVdMSTtO5eF4DCHfNOdaPyKlbFShkzeNP+3lj3yjjcbdjSmEY4+pDBKJ9g26aP+ImTe88UHoQ==",
+ "dev": true,
+ "dependencies": {
+ "stubborn-fs": "^1.2.5",
+ "when-exit": "^2.0.0"
+ }
+ },
"node_modules/autolinker": {
"version": "0.28.1",
"license": "MIT",
@@ -17344,6 +17241,12 @@
"detect-port": "bin/detect-port.js"
}
},
+ "node_modules/dettle": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dettle/-/dettle-1.0.1.tgz",
+ "integrity": "sha512-/oD3At60ZfhgzpofJtyClNTrIACyMdRe+ih0YiHzAniN0IZnLdLpEzgR6RtGs3kowxUkTnvV/4t1FBxXMUdusQ==",
+ "dev": true
+ },
"node_modules/devlop": {
"version": "1.1.0",
"license": "MIT",
@@ -17610,7 +17513,6 @@
},
"node_modules/eastasianwidth": {
"version": "0.2.0",
- "dev": true,
"license": "MIT"
},
"node_modules/ecdsa-sig-formatter": {
@@ -18343,16 +18245,18 @@
}
},
"node_modules/eslint": {
- "version": "8.50.0",
- "license": "MIT",
+ "version": "8.56.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz",
+ "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.2",
- "@eslint/js": "8.50.0",
- "@humanwhocodes/config-array": "^0.11.11",
+ "@eslint/eslintrc": "^2.1.4",
+ "@eslint/js": "8.56.0",
+ "@humanwhocodes/config-array": "^0.11.13",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
"ajv": "^6.12.4",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
@@ -18487,6 +18391,7 @@
},
"node_modules/eslint-config-prettier": {
"version": "8.10.0",
+ "dev": true,
"license": "MIT",
"bin": {
"eslint-config-prettier": "bin/cli.js"
@@ -18647,6 +18552,7 @@
},
"node_modules/eslint-plugin-react": {
"version": "7.28.0",
+ "dev": true,
"license": "MIT",
"dependencies": {
"array-includes": "^3.1.4",
@@ -18683,6 +18589,7 @@
},
"node_modules/eslint-plugin-react/node_modules/doctrine": {
"version": "2.1.0",
+ "dev": true,
"license": "Apache-2.0",
"dependencies": {
"esutils": "^2.0.2"
@@ -18693,6 +18600,7 @@
},
"node_modules/eslint-plugin-react/node_modules/resolve": {
"version": "2.0.0-next.4",
+ "dev": true,
"license": "MIT",
"dependencies": {
"is-core-module": "^2.9.0",
@@ -18823,7 +18731,8 @@
},
"node_modules/espree": {
"version": "9.6.1",
- "license": "BSD-2-Clause",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
"dependencies": {
"acorn": "^8.9.0",
"acorn-jsx": "^5.3.2",
@@ -19274,6 +19183,15 @@
"node": ">= 6"
}
},
+ "node_modules/fast-ignore": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/fast-ignore/-/fast-ignore-1.1.1.tgz",
+ "integrity": "sha512-Gnvido88waUVtlDv/6VBeXv0TAlQK5lheknMwzHx9948B7uOFjyyLXsYBXixDScEXJB5fMjy4G1OOTH59VKvUA==",
+ "dev": true,
+ "dependencies": {
+ "grammex": "^3.1.2"
+ }
+ },
"node_modules/fast-json-parse": {
"version": "1.0.3",
"dev": true,
@@ -19565,6 +19483,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/find-up-json": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/find-up-json/-/find-up-json-2.0.2.tgz",
+ "integrity": "sha512-UpHMIdzLzZNHZ0vXVv3kHr2vq2MWA+hA8zlzlPH5XMGyYisIr/7/dNm5AjWR3ae6Onie9a1zgtExOqix+8ESQw==",
+ "dev": true
+ },
"node_modules/flat-cache": {
"version": "3.1.0",
"license": "MIT",
@@ -19611,7 +19535,6 @@
},
"node_modules/foreground-child": {
"version": "3.1.1",
- "dev": true,
"license": "ISC",
"dependencies": {
"cross-spawn": "^7.0.0",
@@ -20069,6 +19992,15 @@
"node": "6.* || 8.* || >= 10.*"
}
},
+ "node_modules/get-current-package": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/get-current-package/-/get-current-package-1.0.0.tgz",
+ "integrity": "sha512-mEZ43mmPMdRz+7vouBd/fhnEMRF0omBzcwwwf2GmbWSeZJGdWHRp9RGLZxW7ZnnZ14jPc3GreHh0s/7u7PZJpQ==",
+ "dev": true,
+ "dependencies": {
+ "find-up-json": "^2.0.1"
+ }
+ },
"node_modules/get-intrinsic": {
"version": "1.2.1",
"license": "MIT",
@@ -20256,7 +20188,6 @@
},
"node_modules/glob": {
"version": "10.3.10",
- "dev": true,
"license": "ISC",
"dependencies": {
"foreground-child": "^3.1.0",
@@ -20291,7 +20222,6 @@
},
"node_modules/glob/node_modules/brace-expansion": {
"version": "2.0.1",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0"
@@ -20299,7 +20229,6 @@
},
"node_modules/glob/node_modules/minimatch": {
"version": "9.0.3",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^2.0.1"
@@ -20371,6 +20300,12 @@
"version": "4.2.11",
"license": "ISC"
},
+ "node_modules/grammex": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/grammex/-/grammex-3.1.2.tgz",
+ "integrity": "sha512-vAvqD8s6mRbEeUymiRx78Z/QXVFNU3VCsMdkAlxzBMcdXvVVRfB01n+hADQw8fHrk7QxSdKzmmnkOKVjtPnRHg==",
+ "dev": true
+ },
"node_modules/graphemer": {
"version": "1.4.0",
"license": "MIT"
@@ -21485,6 +21420,16 @@
"node": ">=8"
}
},
+ "node_modules/import-meta-resolve": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz",
+ "integrity": "sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==",
+ "dev": true,
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/imurmurhash": {
"version": "0.1.4",
"license": "MIT",
@@ -21515,6 +21460,12 @@
"version": "2.0.4",
"license": "ISC"
},
+ "node_modules/ini-simple-parser": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/ini-simple-parser/-/ini-simple-parser-1.0.0.tgz",
+ "integrity": "sha512-cZUGzkBd1W8FoIbFNMbscMvIGwp+riO/4PaPAy2owQp0sja+ni6Yty11GBNnxaI1ePkSVXzPb8iMOOYuYw/MOQ==",
+ "dev": true
+ },
"node_modules/inline-style-parser": {
"version": "0.1.1",
"license": "MIT"
@@ -21553,6 +21504,12 @@
"loose-envify": "^1.0.0"
}
},
+ "node_modules/ionstore": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/ionstore/-/ionstore-1.0.0.tgz",
+ "integrity": "sha512-ikEvmeZFh9u5SkjKbFqJlmmhaQTulB3P7QoSoZ/xL8EDP5uj5QWbPeKcQ8ZJtszBLHRRnhIJJE8P1dhFx/oCMw==",
+ "dev": true
+ },
"node_modules/ip": {
"version": "2.0.0",
"license": "MIT"
@@ -22253,7 +22210,6 @@
},
"node_modules/jackspeak": {
"version": "2.3.6",
- "dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"@isaacs/cliui": "^8.0.2"
@@ -24217,6 +24173,12 @@
"version": "0.4.1",
"license": "MIT"
},
+ "node_modules/json-sorted-stringify": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-sorted-stringify/-/json-sorted-stringify-1.0.0.tgz",
+ "integrity": "sha512-r27DgPdI80AXd6Hm0zJ7nPCYTBFUersR7sn7xcYyafvcgYOvwmCXB+DKWazAe0YaCNHbxH5Qzt7AIhUzPD1ETg==",
+ "dev": true
+ },
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"license": "MIT"
@@ -24360,6 +24322,12 @@
"node": ">= 0.4.0"
}
},
+ "node_modules/kasi": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/kasi/-/kasi-1.1.0.tgz",
+ "integrity": "sha512-SvmC8+vhkDariSTz2182qyQ+mhwZ4W8TWaIHJcz358bYBeccQ8WBYj7uTtzHoCmpPHaoCm3PaOhzRg7Z8F4Lww==",
+ "dev": true
+ },
"node_modules/keyv": {
"version": "4.5.3",
"license": "MIT",
@@ -27236,7 +27204,6 @@
},
"node_modules/minipass": {
"version": "7.0.4",
- "dev": true,
"license": "ISC",
"engines": {
"node": ">=16 || 14 >=14.17"
@@ -27600,11 +27567,6 @@
"version": "1.4.0",
"license": "MIT"
},
- "node_modules/natural-compare-lite": {
- "version": "1.4.0",
- "dev": true,
- "license": "MIT"
- },
"node_modules/nearley": {
"version": "2.20.1",
"license": "MIT",
@@ -28071,9 +28033,10 @@
"integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw=="
},
"node_modules/node-sql-parser": {
- "version": "4.11.0",
+ "version": "4.18.0",
+ "resolved": "https://registry.npmjs.org/node-sql-parser/-/node-sql-parser-4.18.0.tgz",
+ "integrity": "sha512-2YEOR5qlI1zUFbGMLKNfsrR5JUvFg9LxIRVE+xJe962pfVLH0rnItqLzv96XVs1Y1UIR8FxsXAuvX/lYAWZ2BQ==",
"dev": true,
- "license": "Apache-2.0",
"dependencies": {
"big-integer": "^1.6.48"
},
@@ -29255,7 +29218,6 @@
},
"node_modules/path-scurry": {
"version": "1.10.1",
- "dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"lru-cache": "^9.1.1 || ^10.0.0",
@@ -29270,7 +29232,6 @@
},
"node_modules/path-scurry/node_modules/lru-cache": {
"version": "10.0.1",
- "dev": true,
"license": "ISC",
"engines": {
"node": "14 || >=16.14"
@@ -29497,6 +29458,16 @@
"node": ">=4"
}
},
+ "node_modules/pioppo": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/pioppo/-/pioppo-1.1.0.tgz",
+ "integrity": "sha512-8gZ58S4GBMkCGAEwBi98YgNFfXwcNql2sCXstolxnGUrsBnHA/BrKjsN4EbfCsKjQ4uERrEDfeh444ymGwNMdA==",
+ "dev": true,
+ "dependencies": {
+ "dettle": "^1.0.1",
+ "when-exit": "^2.1.0"
+ }
+ },
"node_modules/pirates": {
"version": "4.0.6",
"license": "MIT",
@@ -29797,45 +29768,112 @@
}
},
"node_modules/prettier": {
- "version": "2.8.8",
+ "version": "4.0.0-alpha.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-4.0.0-alpha.8.tgz",
+ "integrity": "sha512-7FFBkQb0Eg0wJRYzA7ucc31nqTjWgoSpmS0ey9OATHU6WiV0z53Uzo5hA3tZs/pbhhIG7YvOIBNmkRQ7Dr/k5A==",
"dev": true,
- "license": "MIT",
+ "dependencies": {
+ "@prettier/cli": "^0.3.0"
+ },
"bin": {
- "prettier": "bin-prettier.js"
+ "prettier": "bin/prettier.cjs"
},
"engines": {
- "node": ">=10.13.0"
+ "node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
- "node_modules/prettier-plugin-sql": {
- "version": "0.13.0",
+ "node_modules/prettier-plugin-sql-cst": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-sql-cst/-/prettier-plugin-sql-cst-0.11.1.tgz",
+ "integrity": "sha512-MZ8058LfIlNyGILQBeKE15PUTKGbP/QgflKcjkIl+JKgT4jiN6vecgfEhpMnhZLvopxX0xjuDyKM+/4mE0j6Ug==",
"dev": true,
- "license": "MIT",
"dependencies": {
- "node-sql-parser": "^4.4.0",
- "sql-formatter": "^11.0.2",
- "tslib": "^2.4.0"
+ "prettier": "^3.0.3",
+ "sql-parser-cst": "^0.24.0"
+ }
+ },
+ "node_modules/prettier-plugin-sql-cst/node_modules/prettier": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz",
+ "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin/prettier.cjs"
},
"engines": {
- "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ "node": ">=14"
},
"funding": {
- "url": "https://opencollective.com/unts"
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/prettier/node_modules/@prettier/cli": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@prettier/cli/-/cli-0.3.0.tgz",
+ "integrity": "sha512-8qq527QT5n8paE9eoHeulmGw7a3MroVk5+8ITf+xoWJn1gcVaZiOP6vb9OlwZv49hhdRZ1WX+0MyisSSXL/4fA==",
+ "dev": true,
+ "dependencies": {
+ "@iarna/toml": "^2.2.5",
+ "atomically": "^2.0.2",
+ "fast-ignore": "^1.1.1",
+ "find-up-json": "^2.0.2",
+ "import-meta-resolve": "^4.0.0",
+ "is-binary-path": "^2.1.0",
+ "js-yaml": "^4.1.0",
+ "json-sorted-stringify": "^1.0.0",
+ "json5": "^2.2.3",
+ "kasi": "^1.1.0",
+ "pioppo": "^1.1.0",
+ "specialist": "^1.4.0",
+ "tiny-editorconfig": "^1.0.0",
+ "tiny-jsonc": "^1.0.1",
+ "tiny-readdir-glob": "^1.2.1",
+ "tiny-spinner": "^2.0.3",
+ "worktank": "^2.6.0",
+ "zeptomatch": "^1.2.2"
+ },
+ "bin": {
+ "prettier-next": "dist/bin.js"
},
"peerDependencies": {
- "prettier": "^2.0.0"
+ "prettier": "^3.1.0 || ^4.0.0"
}
},
- "node_modules/prettier-plugin-sql-cst": {
- "version": "0.5.0",
+ "node_modules/prettier/node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
+ },
+ "node_modules/prettier/node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"dev": true,
- "license": "GPL-3.0-or-later",
"dependencies": {
- "prettier": "^2.8.2",
- "sql-parser-cst": "^0.12.0"
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/prettier/node_modules/prettier": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz",
+ "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==",
+ "dev": true,
+ "peer": true,
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/pretty-error": {
@@ -29921,6 +29959,12 @@
"version": "1.0.1",
"license": "ISC"
},
+ "node_modules/promise-make-naked": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/promise-make-naked/-/promise-make-naked-2.1.1.tgz",
+ "integrity": "sha512-BLvgZSNRkQNM5RGL4Cz8wK76WSb+t3VeMJL+/kxRBHI5+nliqZezranGGtiu/ePeFo5+CaLRvvGMzXrBuu2tAA==",
+ "dev": true
+ },
"node_modules/promise-retry": {
"version": "2.0.1",
"license": "MIT",
@@ -33314,7 +33358,6 @@
},
"node_modules/signal-exit": {
"version": "4.1.0",
- "dev": true,
"license": "ISC",
"engines": {
"node": ">=14"
@@ -33625,6 +33668,18 @@
"dev": true,
"license": "CC0-1.0"
},
+ "node_modules/specialist": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/specialist/-/specialist-1.4.0.tgz",
+ "integrity": "sha512-RO76zlzjdw4acNYH2oiDqmSc3jQTymiJapNI6w47XB1iOKOaWIYA+eZ07b8pCPCsHZPwNdxHTJihS0LHFelFOA==",
+ "dev": true,
+ "dependencies": {
+ "tiny-bin": "^1.7.0",
+ "tiny-colors": "^2.1.2",
+ "tiny-parse-argv": "^2.4.0",
+ "tiny-updater": "^3.5.1"
+ }
+ },
"node_modules/split.js": {
"version": "1.6.5",
"license": "MIT"
@@ -33643,8 +33698,9 @@
},
"node_modules/sql-formatter": {
"version": "11.0.2",
+ "resolved": "https://registry.npmjs.org/sql-formatter/-/sql-formatter-11.0.2.tgz",
+ "integrity": "sha512-6QumAdGHEnI5dXEq1d0aBRP876AyA9Wp/UE7wopKNA2Mp9sKGRKVqGgoWHk4dr0J0nceesC85Y0p36qmGoNqhw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"argparse": "^2.0.1",
"nearley": "^2.20.1"
@@ -33655,13 +33711,15 @@
},
"node_modules/sql-formatter/node_modules/argparse": {
"version": "2.0.1",
- "dev": true,
- "license": "Python-2.0"
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
},
"node_modules/sql-parser-cst": {
- "version": "0.12.1",
- "dev": true,
- "license": "GPL-2.0-or-later"
+ "version": "0.24.0",
+ "resolved": "https://registry.npmjs.org/sql-parser-cst/-/sql-parser-cst-0.24.0.tgz",
+ "integrity": "sha512-38NNWamo0PKv80Zn8r1iXgatkWEB04CPhun8nEQhEJlYBMSIV4OOt4g3diynjVHJSunNSQqAjKcwmhM0EeLCtg==",
+ "dev": true
},
"node_modules/sqlstring": {
"version": "2.3.3",
@@ -33797,6 +33855,12 @@
"node": ">= 0.8"
}
},
+ "node_modules/stdin-blocker": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/stdin-blocker/-/stdin-blocker-2.0.0.tgz",
+ "integrity": "sha512-fZ3txWyDSxOll6+ajX9akA5YzchyoEpVNsH8eWNY/ZnzlRoM0eW/zF8bm852KVpYutjNFQFvEF/RdZtlqxIZkQ==",
+ "dev": true
+ },
"node_modules/stickyfill": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/stickyfill/-/stickyfill-1.1.1.tgz",
@@ -33892,7 +33956,6 @@
},
"node_modules/string-width": {
"version": "5.1.2",
- "dev": true,
"license": "MIT",
"dependencies": {
"eastasianwidth": "^0.2.0",
@@ -33909,7 +33972,6 @@
"node_modules/string-width-cjs": {
"name": "string-width",
"version": "4.2.3",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -33922,12 +33984,10 @@
},
"node_modules/string-width-cjs/node_modules/emoji-regex": {
"version": "8.0.0",
- "dev": true,
"license": "MIT"
},
"node_modules/string-width/node_modules/ansi-regex": {
"version": "6.0.1",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -33938,7 +33998,6 @@
},
"node_modules/string-width/node_modules/strip-ansi": {
"version": "7.1.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
@@ -34048,7 +34107,6 @@
"node_modules/strip-ansi-cjs": {
"name": "strip-ansi",
"version": "6.0.1",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -34114,6 +34172,12 @@
"integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==",
"dev": true
},
+ "node_modules/stubborn-fs": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/stubborn-fs/-/stubborn-fs-1.2.5.tgz",
+ "integrity": "sha512-H2N9c26eXjzL/S/K+i/RHHcFanE74dptvvjM8iwzwbVcWY/zjBbgRqF3K0DY4+OD+uTTASTBvDoxPDaPN02D7g==",
+ "dev": true
+ },
"node_modules/studio": {
"resolved": "apps/studio",
"link": true
@@ -35156,10 +35220,118 @@
"safe-buffer": "~5.1.0"
}
},
+ "node_modules/tiny-bin": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/tiny-bin/-/tiny-bin-1.7.0.tgz",
+ "integrity": "sha512-6zK6sJysdpFy+5cYzYtbsaLTcTBBRAzsFKIHUBeo/UPhWqV/lyRqWNvndWRk4jeXidYPsRz7d8YDSs49jv8M2w==",
+ "dev": true,
+ "dependencies": {
+ "ansi-purge": "^1.0.0",
+ "get-current-package": "^1.0.0",
+ "tiny-colors": "^2.1.2",
+ "tiny-levenshtein": "^1.0.0",
+ "tiny-parse-argv": "^2.3.0",
+ "tiny-updater": "^3.5.1"
+ }
+ },
+ "node_modules/tiny-colors": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/tiny-colors/-/tiny-colors-2.1.2.tgz",
+ "integrity": "sha512-6peGRBtkYBJpVrQUWOPKrC0ECo6WotUlXxirVTKvihjdgxQETpKtLdCKIb68IHjJYH1AOE7GM7RnxFvkGHsqOg==",
+ "dev": true
+ },
+ "node_modules/tiny-cursor": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tiny-cursor/-/tiny-cursor-2.0.0.tgz",
+ "integrity": "sha512-6RKgFWBt6I1oYpaNZJvvp5x/jvzYDp+rjAVDam+7cmE0mrtlu8Lmpv81hQuvFuPa8Fuc/sd2shRWbdWTZqSNLg==",
+ "dev": true,
+ "dependencies": {
+ "when-exit": "^2.0.0"
+ }
+ },
+ "node_modules/tiny-editorconfig": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/tiny-editorconfig/-/tiny-editorconfig-1.0.0.tgz",
+ "integrity": "sha512-rxpWaSurnvPUkL2/qydRH10llK7MD1XfE38zoWTsp/ZWWYnnwPBzGUePBOcXFaNA3cJQm8ItqrofGeRJ6AVaew==",
+ "dev": true,
+ "dependencies": {
+ "ini-simple-parser": "^1.0.0",
+ "zeptomatch": "^1.1.3"
+ }
+ },
"node_modules/tiny-invariant": {
"version": "1.3.1",
"license": "MIT"
},
+ "node_modules/tiny-jsonc": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/tiny-jsonc/-/tiny-jsonc-1.0.1.tgz",
+ "integrity": "sha512-ik6BCxzva9DoiEfDX/li0L2cWKPPENYvixUprFdl3YPi4bZZUhDnNI9YUkacrv+uIG90dnxR5mNqaoD6UhD6Bw==",
+ "dev": true
+ },
+ "node_modules/tiny-levenshtein": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/tiny-levenshtein/-/tiny-levenshtein-1.0.0.tgz",
+ "integrity": "sha512-27KxXZhuXCP+xol3k4jMWms8+B6H2qEUlBMTmB5YT3uvFXFNft4Hw/MqurrHkDdC01nx1HIADcE1wR40byJf4Q==",
+ "dev": true
+ },
+ "node_modules/tiny-parse-argv": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tiny-parse-argv/-/tiny-parse-argv-2.4.0.tgz",
+ "integrity": "sha512-WTEsnmeHNr99hLQIDA+gnsS+fDsCDITlqgI+zEhx9M6ErPt0heoNZ1PGvql6wcf95sIx40J0MLYXaPveGwtpoA==",
+ "dev": true
+ },
+ "node_modules/tiny-readdir": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tiny-readdir/-/tiny-readdir-2.4.0.tgz",
+ "integrity": "sha512-LS7NQKLyLy/EepnIbOWDdkR4k8KPwPYkYCMZzQOttE5PhmXBbKqGdRk6ndIsTpB54hL208gREAtMftlb+aELrw==",
+ "dev": true,
+ "dependencies": {
+ "promise-make-naked": "^2.1.1"
+ }
+ },
+ "node_modules/tiny-readdir-glob": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/tiny-readdir-glob/-/tiny-readdir-glob-1.2.1.tgz",
+ "integrity": "sha512-KOjDu6u9iDSDr8+dUrkiDGohND70RMd9Iu6ZPu+HFZZktXQ9h+wbMWcrpCwcmo1QkE5+4ujuU8sXb8HgD3+IKA==",
+ "dev": true,
+ "dependencies": {
+ "tiny-readdir": "^2.4.0",
+ "zeptomatch": "^1.2.2"
+ }
+ },
+ "node_modules/tiny-spinner": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tiny-spinner/-/tiny-spinner-2.0.3.tgz",
+ "integrity": "sha512-zuhtClm08obM7aCzgRAbAmOpYm0ekAh/OTLZEJ/8SuVD+cxUdlqGGN5PRnc2Ate8xmbG3+ldPBnlwmHgJrftpg==",
+ "dev": true,
+ "dependencies": {
+ "stdin-blocker": "^2.0.0",
+ "tiny-colors": "^2.1.2",
+ "tiny-cursor": "^2.0.0",
+ "tiny-truncate": "^1.0.2"
+ }
+ },
+ "node_modules/tiny-truncate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/tiny-truncate/-/tiny-truncate-1.0.2.tgz",
+ "integrity": "sha512-XR2fjChcOjuz8Eu56zGwacYTKUHlhuzQ3VpD79yUwvWlLY3gCWorzRfBNXkmbwFjxzfmYZrC00cA4s/ET6mogw==",
+ "dev": true,
+ "dependencies": {
+ "ansi-truncate": "^1.0.1"
+ }
+ },
+ "node_modules/tiny-updater": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/tiny-updater/-/tiny-updater-3.5.1.tgz",
+ "integrity": "sha512-kh1922FSNPTmrdr353x+xJRTrrVFl9zq/Q1Vz47YNWhTO0jn3ZyZd6Cahe8qW5MLXg+gia+0G7b6HIgW7pbBMg==",
+ "dev": true,
+ "dependencies": {
+ "ionstore": "^1.0.0",
+ "tiny-colors": "^2.0.2",
+ "when-exit": "^2.1.1"
+ }
+ },
"node_modules/tiny-warning": {
"version": "1.0.3",
"license": "MIT"
@@ -35318,6 +35490,18 @@
"url": "https://github.com/sponsors/wooorm"
}
},
+ "node_modules/ts-api-utils": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz",
+ "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==",
+ "dev": true,
+ "engines": {
+ "node": ">=16.13.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.2.0"
+ }
+ },
"node_modules/ts-dedent": {
"version": "2.2.0",
"license": "MIT",
@@ -37138,6 +37322,12 @@
"node": ">=4.0"
}
},
+ "node_modules/webworker-shim": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/webworker-shim/-/webworker-shim-1.1.0.tgz",
+ "integrity": "sha512-LhPJDED3cM0+K9w4JjIio+RYPqvr712b3lyM+JjMR/rSD9elrSYHrrwE9qu3inPSSf60xqePgFgEwuAg17AuhA==",
+ "dev": true
+ },
"node_modules/whatwg-encoding": {
"version": "2.0.0",
"dev": true,
@@ -37169,6 +37359,12 @@
"node": ">=12"
}
},
+ "node_modules/when-exit": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/when-exit/-/when-exit-2.1.2.tgz",
+ "integrity": "sha512-u9J+toaf3CCxCAzM/484qNAxQE75rFdVgiFEEV8Xps2gzYhf0tx73s1WXDQhkwV17E3MxRMz40m7Ekd2/121Lg==",
+ "dev": true
+ },
"node_modules/which": {
"version": "2.0.2",
"license": "ISC",
@@ -37282,9 +37478,18 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/worktank": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/worktank/-/worktank-2.6.0.tgz",
+ "integrity": "sha512-bHqVyWbviQlUV7+wbd1yoZhjPXXk7ENVCNrlBARfVAg69AfOtnEMLc0hWo9ihaqmlO8WggdYGy/K+avWFSgBBQ==",
+ "dev": true,
+ "dependencies": {
+ "promise-make-naked": "^2.0.0",
+ "webworker-shim": "^1.1.0"
+ }
+ },
"node_modules/wrap-ansi": {
"version": "8.1.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^6.1.0",
@@ -37301,7 +37506,6 @@
"node_modules/wrap-ansi-cjs": {
"name": "wrap-ansi",
"version": "7.0.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
@@ -37317,7 +37521,6 @@
},
"node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -37331,12 +37534,10 @@
},
"node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
"version": "8.0.0",
- "dev": true,
"license": "MIT"
},
"node_modules/wrap-ansi-cjs/node_modules/string-width": {
"version": "4.2.3",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -37349,7 +37550,6 @@
},
"node_modules/wrap-ansi/node_modules/ansi-regex": {
"version": "6.0.1",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -37360,7 +37560,6 @@
},
"node_modules/wrap-ansi/node_modules/ansi-styles": {
"version": "6.2.1",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -37371,7 +37570,6 @@
},
"node_modules/wrap-ansi/node_modules/strip-ansi": {
"version": "7.1.0",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^6.0.1"
@@ -37571,6 +37769,15 @@
"version": "0.2.2",
"license": "MIT"
},
+ "node_modules/zeptomatch": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/zeptomatch/-/zeptomatch-1.2.2.tgz",
+ "integrity": "sha512-0ETdzEO0hdYmT8aXHHf5aMjpX+FHFE61sG4qKFAoJD2Umt3TWdCmH7ADxn2oUiWTlqBGC+SGr8sYMfr+37J8pQ==",
+ "dev": true,
+ "dependencies": {
+ "grammex": "^3.1.1"
+ }
+ },
"node_modules/zod": {
"version": "3.22.4",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz",
@@ -37688,9 +37895,9 @@
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/typography": "^0.5.9",
"deepmerge": "^4.2.2",
- "eslint-config-next": "^13.5.6",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-react": "7.28.0",
+ "eslint-config-next": "^14.1.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-plugin-react": "7.33.2",
"mini-svg-data-uri": "^1.4.3",
"tailwindcss-radix": "^2.0.0"
},
@@ -37700,11 +37907,11 @@
}
},
"packages/config/node_modules/@next/eslint-plugin-next": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.5.6.tgz",
- "integrity": "sha512-ng7pU/DDsxPgT6ZPvuprxrkeew3XaRf4LAT4FabaEO/hAbvVx4P7wqnqdbTdDn1kgTvsI4tpIgT4Awn/m0bGbg==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.0.tgz",
+ "integrity": "sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==",
"dependencies": {
- "glob": "7.1.7"
+ "glob": "10.3.10"
}
},
"packages/config/node_modules/doctrine": {
@@ -37718,11 +37925,11 @@
}
},
"packages/config/node_modules/eslint-config-next": {
- "version": "13.5.6",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.5.6.tgz",
- "integrity": "sha512-o8pQsUHTo9aHqJ2YiZDym5gQAMRf7O2HndHo/JZeY7TDD+W4hk6Ma8Vw54RHiBeb7OWWO5dPirQB+Is/aVQ7Kg==",
+ "version": "14.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.0.tgz",
+ "integrity": "sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==",
"dependencies": {
- "@next/eslint-plugin-next": "13.5.6",
+ "@next/eslint-plugin-next": "14.1.0",
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
"eslint-import-resolver-node": "^0.3.6",
@@ -37742,32 +37949,15 @@
}
}
},
- "packages/config/node_modules/eslint-config-next/node_modules/eslint-plugin-react": {
- "version": "7.33.2",
- "license": "MIT",
- "dependencies": {
- "array-includes": "^3.1.6",
- "array.prototype.flatmap": "^1.3.1",
- "array.prototype.tosorted": "^1.1.1",
- "doctrine": "^2.1.0",
- "es-iterator-helpers": "^1.0.12",
- "estraverse": "^5.3.0",
- "jsx-ast-utils": "^2.4.1 || ^3.0.0",
- "minimatch": "^3.1.2",
- "object.entries": "^1.1.6",
- "object.fromentries": "^2.0.6",
- "object.hasown": "^1.1.2",
- "object.values": "^1.1.6",
- "prop-types": "^15.8.1",
- "resolve": "^2.0.0-next.4",
- "semver": "^6.3.1",
- "string.prototype.matchall": "^4.0.8"
- },
- "engines": {
- "node": ">=4"
+ "packages/config/node_modules/eslint-config-prettier": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz",
+ "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==",
+ "bin": {
+ "eslint-config-prettier": "bin/cli.js"
},
"peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ "eslint": ">=7.0.0"
}
},
"packages/config/node_modules/eslint-import-resolver-typescript": {
@@ -37794,23 +37984,33 @@
"eslint-plugin-import": "*"
}
},
- "packages/config/node_modules/glob": {
- "version": "7.1.7",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
- "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
+ "packages/config/node_modules/eslint-plugin-react": {
+ "version": "7.33.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.33.2.tgz",
+ "integrity": "sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==",
"dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "array-includes": "^3.1.6",
+ "array.prototype.flatmap": "^1.3.1",
+ "array.prototype.tosorted": "^1.1.1",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.0.12",
+ "estraverse": "^5.3.0",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.6",
+ "object.fromentries": "^2.0.6",
+ "object.hasown": "^1.1.2",
+ "object.values": "^1.1.6",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.4",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.8"
},
"engines": {
- "node": "*"
+ "node": ">=4"
},
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
}
},
"packages/config/node_modules/globby": {
@@ -38434,6 +38634,21 @@
}
}
},
+ "packages/ui/node_modules/prettier": {
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin-prettier.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
"packages/ui/node_modules/react-day-picker": {
"version": "8.8.0",
"license": "MIT",
@@ -38523,12 +38738,12 @@
"@testdeck/jest": "^0.3.3",
"@types/jest": "^29.5.4",
"@types/node": "^17.0.24",
- "@typescript-eslint/eslint-plugin": "^5.10.0",
- "@typescript-eslint/parser": "^5.10.0",
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
+ "@typescript-eslint/parser": "^6.19.1",
"allure-commandline": "^2.17.2",
"allure-js-commons": "^2.0.0-beta.14",
"cross-fetch": "^3.1.5",
- "eslint": "^8.45.0",
+ "eslint": "^8.56.0",
"jest-allure2-adapter": "^0.3.12",
"jest-environment-jsdom": "^29.7.0",
"postgres": "^3.0.5",
@@ -38555,6 +38770,205 @@
"dev": true,
"license": "MIT"
},
+ "tests/node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz",
+ "integrity": "sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.5.1",
+ "@typescript-eslint/scope-manager": "6.19.1",
+ "@typescript-eslint/type-utils": "6.19.1",
+ "@typescript-eslint/utils": "6.19.1",
+ "@typescript-eslint/visitor-keys": "6.19.1",
+ "debug": "^4.3.4",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.4",
+ "natural-compare": "^1.4.0",
+ "semver": "^7.5.4",
+ "ts-api-utils": "^1.0.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha",
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "tests/node_modules/@typescript-eslint/parser": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz",
+ "integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "6.19.1",
+ "@typescript-eslint/types": "6.19.1",
+ "@typescript-eslint/typescript-estree": "6.19.1",
+ "@typescript-eslint/visitor-keys": "6.19.1",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "tests/node_modules/@typescript-eslint/scope-manager": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz",
+ "integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.19.1",
+ "@typescript-eslint/visitor-keys": "6.19.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "tests/node_modules/@typescript-eslint/type-utils": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz",
+ "integrity": "sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "6.19.1",
+ "@typescript-eslint/utils": "6.19.1",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^1.0.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "tests/node_modules/@typescript-eslint/types": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz",
+ "integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==",
+ "dev": true,
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "tests/node_modules/@typescript-eslint/typescript-estree": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz",
+ "integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.19.1",
+ "@typescript-eslint/visitor-keys": "6.19.1",
+ "debug": "^4.3.4",
+ "globby": "^11.1.0",
+ "is-glob": "^4.0.3",
+ "minimatch": "9.0.3",
+ "semver": "^7.5.4",
+ "ts-api-utils": "^1.0.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "tests/node_modules/@typescript-eslint/utils": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.1.tgz",
+ "integrity": "sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "@types/json-schema": "^7.0.12",
+ "@types/semver": "^7.5.0",
+ "@typescript-eslint/scope-manager": "6.19.1",
+ "@typescript-eslint/types": "6.19.1",
+ "@typescript-eslint/typescript-estree": "6.19.1",
+ "semver": "^7.5.4"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ }
+ },
+ "tests/node_modules/@typescript-eslint/visitor-keys": {
+ "version": "6.19.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz",
+ "integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.19.1",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "tests/node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
"tests/node_modules/jest-allure2-adapter": {
"version": "0.3.12",
"dev": true,
@@ -38572,6 +38986,54 @@
"version": "10.17.60",
"dev": true,
"license": "MIT"
+ },
+ "tests/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "tests/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "tests/node_modules/semver": {
+ "version": "7.5.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
+ "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
+ "dev": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "tests/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
}
}
}
diff --git a/package.json b/package.json
index 3cf4b38aeca..8dafa938c3c 100644
--- a/package.json
+++ b/package.json
@@ -35,10 +35,10 @@
"generate:types": "supabase gen types typescript --local > ./supabase/functions/common/database-types.ts"
},
"devDependencies": {
- "eslint": "^8.45.0",
+ "eslint": "^8.56.0",
"eslint-config-custom": "*",
- "prettier": "^2.8.8",
- "prettier-plugin-sql-cst": "^0.5.0",
+ "prettier": "^4.0.0-alpha.8",
+ "prettier-plugin-sql-cst": "^0.11.0",
"sass": "^1.68.0",
"supabase": "^1.45.2",
"turbo": "^1.11.2"
diff --git a/packages/config/package.json b/packages/config/package.json
index 6d3799f4592..ffd42f7d271 100644
--- a/packages/config/package.json
+++ b/packages/config/package.json
@@ -12,9 +12,9 @@
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/typography": "^0.5.9",
"deepmerge": "^4.2.2",
- "eslint-config-next": "^13.5.6",
- "eslint-config-prettier": "^8.3.0",
- "eslint-plugin-react": "7.28.0",
+ "eslint-config-next": "^14.1.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-plugin-react": "7.33.2",
"mini-svg-data-uri": "^1.4.3",
"tailwindcss-radix": "^2.0.0"
},
diff --git a/tests/package.json b/tests/package.json
index 9fa13d5a4c5..9a6cfcacf3a 100644
--- a/tests/package.json
+++ b/tests/package.json
@@ -22,12 +22,12 @@
"@testdeck/jest": "^0.3.3",
"@types/jest": "^29.5.4",
"@types/node": "^17.0.24",
- "@typescript-eslint/eslint-plugin": "^5.10.0",
- "@typescript-eslint/parser": "^5.10.0",
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
+ "@typescript-eslint/parser": "^6.19.1",
"allure-commandline": "^2.17.2",
"allure-js-commons": "^2.0.0-beta.14",
"cross-fetch": "^3.1.5",
- "eslint": "^8.45.0",
+ "eslint": "^8.56.0",
"ts-jest": "^29.1.1",
"jest-allure2-adapter": "^0.3.12",
"jest-environment-jsdom": "^29.7.0",