diff --git a/.commitlintrc.ts b/.commitlintrc.ts index 965f5a91..0d997938 100644 --- a/.commitlintrc.ts +++ b/.commitlintrc.ts @@ -1,4 +1,4 @@ -import { getWorkspacePackageNames } from './scripts/utils'; +import { getWorkspacePackageNames } from './scripts/utils' // ------------------------------------------------------------------ @@ -15,7 +15,7 @@ import { getWorkspacePackageNames } from './scripts/utils'; // ------------------------------------------------------------------ interface Context { - cwd?: string; + cwd?: string } // ------------------------------------------------------------------ @@ -26,24 +26,24 @@ interface Context { * @returns An array of all projects in the workspace */ function getProjects(context?: Context): string[] { - const ctx = context ?? {}; - const cwd = ctx.cwd ?? process.cwd(); + const ctx = context ?? {} + const cwd = ctx.cwd ?? process.cwd() return getWorkspacePackageNames(cwd) .reduce((projects: string[], name) => { if (name.startsWith('@')) { - const project = name.split('/')[1]; + const project = name.split('/')[1] if (typeof project === 'string') { - projects.push(project); + projects.push(project) } - projects.push(name); + projects.push(name) } - return projects; + return projects }, []) - .sort(); + .sort() } // We are exporting a custom commitlint configuration @@ -53,4 +53,4 @@ export default { rules: { 'scope-enum': (ctx: Context) => [2, 'always', getProjects(ctx)], }, -}; +} diff --git a/apps/docs/installation.mdx b/apps/docs/installation.mdx index 49dae824..51439439 100644 --- a/apps/docs/installation.mdx +++ b/apps/docs/installation.mdx @@ -132,7 +132,7 @@ OrbitKit currently ships with two authentication providers, Google and Github. Y - +
  1. Go to your Github Settings.
  2. Go to Developer Settings.
  3. @@ -153,7 +153,7 @@ OrbitKit currently ships with two authentication providers, Google and Github. Y
- +
  1. Go to the Google Cloud Console.
  2. Create a new project.
  3. diff --git a/apps/docs/introduction.mdx b/apps/docs/introduction.mdx index a63579a2..c008c56a 100644 --- a/apps/docs/introduction.mdx +++ b/apps/docs/introduction.mdx @@ -5,14 +5,14 @@ description: '🚀 OrbitKit is an enterprise ready monorepo StarterKit ready to --- Hero Light Hero Dark **OrbitKit** is not like any starterkit, it's built for **startups** & **big projects** alike, leveraging the newest technologies in a **monorepo codebase** to deliver a starterkit that scales with your business **from the start**. diff --git a/apps/docs/technologies/playwright.mdx b/apps/docs/technologies/playwright.mdx index e64917b4..ae992801 100644 --- a/apps/docs/technologies/playwright.mdx +++ b/apps/docs/technologies/playwright.mdx @@ -27,13 +27,13 @@ To write tests, you can create a new file in the `e2e` directory of the applicat Here is an example of a test file: ```typescript -import { expect, test } from '@playwright/test'; +import { expect, test } from '@playwright/test' test('has title', async ({ page }) => { - await page.goto('/'); + await page.goto('/') - await expect(page.getByText(/astro website/i)).toBeVisible(); -}); + await expect(page.getByText(/astro website/i)).toBeVisible() +}) ``` ## CI setup diff --git a/apps/marketing/astro.config.ts b/apps/marketing/astro.config.ts index 6e985fe6..d703ff5c 100644 --- a/apps/marketing/astro.config.ts +++ b/apps/marketing/astro.config.ts @@ -1,8 +1,8 @@ -import mdx from '@astrojs/mdx'; -import react from '@astrojs/react'; -import sitemap from '@astrojs/sitemap'; -import tailwind from '@astrojs/tailwind'; -import { defineConfig } from 'astro/config'; +import mdx from '@astrojs/mdx' +import react from '@astrojs/react' +import sitemap from '@astrojs/sitemap' +import tailwind from '@astrojs/tailwind' +import { defineConfig } from 'astro/config' // https://astro.build/config export default defineConfig({ @@ -13,4 +13,4 @@ export default defineConfig({ tailwind({ applyBaseStyles: false }), react(), ], -}); +}) diff --git a/apps/marketing/e2e/example.spec.ts b/apps/marketing/e2e/example.spec.ts index ab8f2ffe..27ab50d0 100644 --- a/apps/marketing/e2e/example.spec.ts +++ b/apps/marketing/e2e/example.spec.ts @@ -1,7 +1,7 @@ -import { expect, test } from '@playwright/test'; +import { expect, test } from '@playwright/test' test('has title', async ({ page }) => { - await page.goto('/'); + await page.goto('/') - await expect(page.getByText(/astro website/i)).toBeVisible(); -}); + await expect(page.getByText(/astro website/i)).toBeVisible() +}) diff --git a/apps/marketing/eslint.config.js b/apps/marketing/eslint.config.js index de02f6a8..9d11e9cd 100644 --- a/apps/marketing/eslint.config.js +++ b/apps/marketing/eslint.config.js @@ -1,4 +1,4 @@ -import { configs, defineConfig } from '@orbitkit/eslint'; +import { configs, defineConfig } from '@orbitkit/eslint' export default defineConfig( ...configs.base, @@ -12,4 +12,4 @@ export default defineConfig( }, }, }, -); +) diff --git a/apps/marketing/package.json b/apps/marketing/package.json index 8d17fdde..51dc06e6 100644 --- a/apps/marketing/package.json +++ b/apps/marketing/package.json @@ -22,7 +22,7 @@ "@orbitkit/ui": "workspace:^", "@t3-oss/env-core": "^0.10.1", "@total-typescript/ts-reset": "^0.5.1", - "astro": "^4.10.2", + "astro": "^4.10.3", "posthog-js": "^1.139.2", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -30,9 +30,9 @@ }, "devDependencies": { "@astrojs/check": "^0.7.0", - "@astrojs/mdx": "^3.1.0", - "@astrojs/react": "^3.5.0", - "@astrojs/sitemap": "^3.1.5", + "@astrojs/mdx": "^3.1.1", + "@astrojs/react": "^3.6.0", + "@astrojs/sitemap": "^3.1.6", "@astrojs/tailwind": "^5.1.0", "@orbitkit/eslint": "workspace:^", "@orbitkit/tailwind": "workspace:^", diff --git a/apps/marketing/playwright.config.ts b/apps/marketing/playwright.config.ts index 7c132ede..6aed9920 100644 --- a/apps/marketing/playwright.config.ts +++ b/apps/marketing/playwright.config.ts @@ -1,7 +1,7 @@ -import { defineConfig, devices } from '@playwright/test'; -import * as dotenv from 'dotenv'; +import { defineConfig, devices } from '@playwright/test' +import * as dotenv from 'dotenv' -dotenv.config({ path: './env.local' }); +dotenv.config({ path: './env.local' }) export default defineConfig({ testDir: './e2e', @@ -33,4 +33,4 @@ export default defineConfig({ url: 'http://localhost:4321', reuseExistingServer: !process.env['CI'], }, -}); +}) diff --git a/apps/marketing/postcss.config.cjs b/apps/marketing/postcss.config.cjs index 12a703d9..33ad091d 100644 --- a/apps/marketing/postcss.config.cjs +++ b/apps/marketing/postcss.config.cjs @@ -3,4 +3,4 @@ module.exports = { tailwindcss: {}, autoprefixer: {}, }, -}; +} diff --git a/apps/marketing/reset.d.ts b/apps/marketing/reset.d.ts index 12bd3edc..69fc8bf0 100644 --- a/apps/marketing/reset.d.ts +++ b/apps/marketing/reset.d.ts @@ -1 +1 @@ -import '@total-typescript/ts-reset'; +import '@total-typescript/ts-reset' diff --git a/apps/marketing/src/components/BaseHead.astro b/apps/marketing/src/components/BaseHead.astro index 377f0c31..813ba236 100644 --- a/apps/marketing/src/components/BaseHead.astro +++ b/apps/marketing/src/components/BaseHead.astro @@ -1,75 +1,75 @@ --- -import '@orbitkit/assets/fonts/stylesheet.css'; -import '@/styles/globals.css'; +import '@orbitkit/assets/fonts/stylesheet.css' +import '@/styles/globals.css' -import GeistMono from '@orbitkit/assets/fonts/GeistMonoVariable.ttf'; -import GeistSans from '@orbitkit/assets/fonts/GeistVariable.ttf'; +import GeistMono from '@orbitkit/assets/fonts/GeistMonoVariable.ttf' +import GeistSans from '@orbitkit/assets/fonts/GeistVariable.ttf' -import { consts } from '@/consts'; +import { consts } from '@/consts' interface Props { - title?: string; - description?: string; - image?: string; + title?: string + description?: string + image?: string } -const canonicalURL = new URL(Astro.url.pathname, Astro.site); +const canonicalURL = new URL(Astro.url.pathname, Astro.site) const { title = consts.site.title, description = consts.site.description, image = consts.site.previewImage, -} = Astro.props; +} = Astro.props --- - - - - + + + + - - + + - + {title} - - + + - - - - - + + + + + - - - - - + + + + + diff --git a/apps/marketing/src/components/FormattedDate.astro b/apps/marketing/src/components/FormattedDate.astro index 60b112c6..656471bd 100644 --- a/apps/marketing/src/components/FormattedDate.astro +++ b/apps/marketing/src/components/FormattedDate.astro @@ -1,9 +1,9 @@ --- interface Props { - date: Date; + date: Date } -const { date } = Astro.props; +const { date } = Astro.props ---