diff --git a/.config/tsconfig.json b/.config/tsconfig.json deleted file mode 100644 index 7aa67cf1..00000000 --- a/.config/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/tsconfig", - "compilerOptions": { - "allowJs": false, - "allowSyntheticDefaultImports": true, - "composite": true, - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "incremental": true, - "inlineSources": false, - "isolatedModules": true, - "module": "NodeNext", - "moduleResolution": "NodeNext", - "noEmitOnError": true, - "removeComments": false, - "skipLibCheck": true, - "strict": true, - "target": "ESNext", - "verbatimModuleSyntax": true - } -} diff --git a/.moon/toolchain.yml b/.moon/toolchain.yml deleted file mode 100644 index d5632597..00000000 --- a/.moon/toolchain.yml +++ /dev/null @@ -1,14 +0,0 @@ -node: - packageManager: pnpm - addEnginesConstraint: true - dedupeOnLockfileChange: true - dependencyVersionFormat: workspace - inferTasksFromScripts: false - syncProjectWorkspaceDependencies: true - syncVersionManagerConfig: nodenv - -typescript: - createMissingConfig: true - routeOutDirToCache: true - syncProjectReferences: true - syncProjectReferencesToPaths: true diff --git a/.moon/workspace.yml b/.moon/workspace.yml deleted file mode 100644 index 15e82d8d..00000000 --- a/.moon/workspace.yml +++ /dev/null @@ -1,24 +0,0 @@ -projects: - site: 'apps/site' - -# codeowners: -# syncOnRun: true -# orderBy: project-name -# globalPaths: -# '*': ['@alexanderniebuhr'] - -vcs: - manager: git - provider: github - defaultBranch: 'main' - remoteCandidates: - - "origin" - - "upstream" - -runner: - inheritColorsForPipedTasks: true - -experiments: - taskOutputBoundaries: true - -telemetry: true diff --git a/.node-version b/.node-version index 119f15a0..d4b7699d 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.15.1 \ No newline at end of file +20.18.1 diff --git a/.prototools b/.prototools deleted file mode 100644 index 67c8aa28..00000000 --- a/.prototools +++ /dev/null @@ -1,9 +0,0 @@ -# renovate: datasource=github-tags depName=moonrepo/moon -moon = "1.26.7" -# renovate: datasource=node-version depName=node versioning=node -node = "20.15.1" -# renovate: datasource=npm depName=pnpm -pnpm = "9.4.0" - -[plugins] -moon = "source:https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml" diff --git a/apps/site/astro.config.ts b/apps/site/astro.config.ts deleted file mode 100644 index bdfdc350..00000000 --- a/apps/site/astro.config.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { defineConfig } from 'astro/config'; - -import { resolve } from 'node:path'; -import cloudflare from '@astrojs/cloudflare'; -import db from '@astrojs/db'; -import starlight from '@astrojs/starlight'; -import tailwind from '@astrojs/tailwind'; -import icon from 'astro-icon'; - -export default defineConfig({ - build: { - inlineStylesheets: 'auto', - }, - scopedStyleStrategy: 'attribute', - base: '/', - devToolbar: { - enabled: true, - }, - site: 'https://astrolicious.dev/', - prefetch: { - prefetchAll: false, - defaultStrategy: 'hover', - }, - experimental: { - clientPrerender: true, - globalRoutePriority: true, - directRenderScript: true, - }, - integrations: [ - db(), - starlight({ - title: 'Astrolicious', - customCss: ['./src/styles/starlight.css'], - favicon: '/favicon.png', - components: { - Head: './src/components/starlight/StarlightHead.astro', - Header: './src/components/starlight/StarlightHeader.astro', - Sidebar: './src/components/starlight/StarlightSidebar.astro', - Footer: './src/components/starlight/StarlightFooter.astro', - }, - }), - tailwind({ - applyBaseStyles: false, - }), - icon({ - include: { - ri: ['github-fill', 'twitter-x-fill', 'discord-fill', 'global-fill'], - ph: ['dot-duotone'], - }, - }), - ], - output: 'hybrid', - adapter: cloudflare({ - imageService: 'passthrough', - routes: { - extend: { - exclude: [{ pattern: '/pagefind/*' }], - }, - }, - }), - vite: { - resolve: { - alias: { - '~': resolve(import.meta.dirname, './src'), - }, - }, - ssr: { - external: ['node:url', 'node:child_process', 'node:path', 'node:fs'], - }, - build: { - minify: false, - cssMinify: false, - }, - }, -}); diff --git a/apps/site/db/config.ts b/apps/site/db/config.ts deleted file mode 100644 index 8ba55e92..00000000 --- a/apps/site/db/config.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { column, defineDb, defineTable } from 'astro:db'; - -const Submission = defineTable({ - columns: { - id: column.number({ primaryKey: true }), - integration_url: column.text(), - author_url: column.text(), - is_author: column.boolean(), - message: column.text({ optional: true }), - }, -}); - -export default defineDb({ - tables: { - Submission, - }, -}); diff --git a/apps/site/moon.yml b/apps/site/moon.yml deleted file mode 100644 index a42dfe95..00000000 --- a/apps/site/moon.yml +++ /dev/null @@ -1,67 +0,0 @@ -type: application -language: typescript -stack: frontend - -fileGroups: - sources: - - "public/**/*" - - "src/**/*" - - "package.json" - - "astro.config.ts" - - "wrangler.toml" - tests: - - "tests/**/*" - -tasks: - astro: - command: "astro" - local: true - - sync: - command: "astro sync" - inputs: - - "@group(sources)" - - check: - deps: - - "~:sync" - command: "astro check" - inputs: - - "@group(sources)" - - imports: - command: "biome check --apply --formatter-enabled=false --linter-enabled=false ./" - inputs: - - "@group(sources)" - - format: - deps: - - "~:imports" - command: "biome format --write ./" - inputs: - - "@group(sources)" - - lint: - deps: - - "~:format" - command: "biome lint --apply ./" - inputs: - - "@group(sources)" - - build: - deps: - - "~:lint" - - "~:check" - command: "astro build --remote" - inputs: - - "@group(sources)" - outputs: - - "dist" - - dev: - command: "astro dev" - local: true - options: - persistent: true - runInCI: false - cache: false diff --git a/apps/site/package.json b/apps/site/package.json deleted file mode 100644 index 51b79135..00000000 --- a/apps/site/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "site", - "type": "module", - "version": "0.0.0", - "private": true, - "dependencies": { - "@astrojs/check": "0.7.0", - "@astrojs/cloudflare": "11.0.4", - "@astrojs/db": "0.14.3", - "@astrojs/starlight": "0.25.4", - "@astrojs/starlight-tailwind": "2.0.3", - "@astrojs/tailwind": "5.1.3", - "@fontsource-variable/dosis": "5.0.20", - "@fontsource-variable/inter": "5.0.20", - "@iconify-json/ph": "1.1.14", - "@iconify-json/ri": "1.1.22", - "@tailwindcss/forms": "0.5.7", - "@tailwindcss/typography": "0.5.13", - "astro": "4.11.6", - "astro-icon": "1.1.0", - "sanitize-html": "2.13.0", - "simple-stack-form": "0.1.12", - "tailwindcss": "3.4.7", - "zod": "3.23.8" - }, - "devDependencies": { - "@types/sanitize-html": "2.11.0", - "wrangler": "3.62.0" - }, - "scripts": { - "astro": "astro" - } -} diff --git a/apps/site/src/components/starlight/StarlightFooter.astro b/apps/site/src/components/starlight/StarlightFooter.astro deleted file mode 100644 index 76561c15..00000000 --- a/apps/site/src/components/starlight/StarlightFooter.astro +++ /dev/null @@ -1,8 +0,0 @@ ---- -import Footer from '@astrojs/starlight/components/Footer.astro'; -import type { Props } from '@astrojs/starlight/props'; -import Analytics from '../layout/Analytics.astro'; ---- - -