diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index aef4d8f166d..f1314528f5b 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -11,9 +11,16 @@ jobs: steps: - name: Check out repo uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + - name: Download dependencies + run: npm ci - name: Run prettier run: |- - npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,json}' + npx prettier -c 'apps/**/*.{js,jsx,ts,tsx,css,md,mdx,json}' # [Joshen] Temp disable the following due to an issue # https://github.com/EPMatt/reviewdog-action-prettier/issues/34 # uses: EPMatt/reviewdog-action-prettier@v1 @@ -42,9 +49,16 @@ jobs: steps: - name: Check out repo uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + - name: Download dependencies + run: npm ci - name: Run prettier run: |- - npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,json}' + npx prettier -c 'i18n/**/*.{js,jsx,ts,tsx,css,md,mdx,json}' # uses: EPMatt/reviewdog-action-prettier@v1 # with: # github_token: ${{ secrets.github_token }} diff --git a/.prettierrc b/.prettierrc index b9bda117c38..c60d3ab91ef 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,5 +5,7 @@ "singleQuote": true, "printWidth": 100, "endOfLine": "lf", - "sqlKeywordCase": "lower" + "sqlKeywordCase": "lower", + "pluginSearchDirs": false, + "plugins": ["prettier-plugin-sql-cst"] } diff --git a/apps/docs/components/MDX/social_provider_settings_supabase.mdx b/apps/docs/components/MDX/social_provider_settings_supabase.mdx index 1cc3771e6f3..38e0d9e5bfe 100644 --- a/apps/docs/components/MDX/social_provider_settings_supabase.mdx +++ b/apps/docs/components/MDX/social_provider_settings_supabase.mdx @@ -3,4 +3,4 @@ - Click on [`Providers`](https://app.supabase.com/project/_/auth/providers) under the Configuration section - Click on **{props.provider}** from the accordion list to expand and turn **{props.provider} Enabled** to ON - Enter your **{props.provider} Client ID** and **{props.provider} Client Secret** saved in the previous step -- Click `Save` \ No newline at end of file +- Click `Save` diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 0411ecbe36a..840c07ac2a0 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -297,6 +297,10 @@ export const cli = { items: [ { name: 'Overview', url: '/guides/cli' }, { name: 'Managing Environments', url: '/guides/cli/managing-environments' }, + { + name: 'Using environment variables in config.toml', + url: '/guides/cli/using-environment-variables-in-config', + }, ], } @@ -858,6 +862,10 @@ export const supabase_cli = { items: [ { name: 'Overview', url: '/guides/cli' }, { name: 'Managing Environments', url: '/guides/cli/managing-environments' }, + { + name: 'Using environment variables in config.toml', + url: '/guides/cli/using-environment-variables-in-config', + }, { name: 'Reference', url: undefined, @@ -936,6 +944,10 @@ export const platform = { name: 'HTTP and Project Issues', url: '/guides/platform/troubleshooting', }, + { + name: 'High CPU Usage', + url: '/guides/platform/exhaust-cpu', + }, ], }, ], diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx index 3ade00aad45..15dd0f831d1 100644 --- a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx @@ -56,7 +56,7 @@ const TopNavBar: FC = () => { } return ( -