Skip to content

Commit 1bc0eaa

Browse files
inits project (#1)
Co-authored-by: Florian Lefebvre <[email protected]>
1 parent 9eb132e commit 1bc0eaa

31 files changed

+7019
-0
lines changed

.config/tsconfig.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "http://json.schemastore.org/tsconfig",
3+
"compilerOptions": {
4+
"allowJs": false,
5+
"allowSyntheticDefaultImports": true,
6+
"composite": true,
7+
"declaration": true,
8+
"declarationMap": true,
9+
"emitDeclarationOnly": true,
10+
"esModuleInterop": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"incremental": true,
13+
"inlineSources": false,
14+
"isolatedModules": true,
15+
"module": "NodeNext",
16+
"moduleResolution": "NodeNext",
17+
"noEmitOnError": true,
18+
"removeComments": false,
19+
"skipLibCheck": true,
20+
"strict": true,
21+
"target": "ESNext",
22+
"verbatimModuleSyntax": true
23+
}
24+
}

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Automatically generated by moon. DO NOT MODIFY!
2+
# https://moonrepo.dev/docs/guides/codeowners
3+
4+
# (workspace)
5+
* @alexanderniebuhr

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.moon/cache
2+
.moon/docker
3+
4+
*.tsbuildinfo
5+
6+
node_modules
7+
8+
.DS_Store
9+
10+
.astro
11+
12+
.wrangler
13+
14+
dist

.moon/toolchain.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node:
2+
packageManager: pnpm
3+
addEnginesConstraint: true
4+
dedupeOnLockfileChange: true
5+
dependencyVersionFormat: workspace
6+
inferTasksFromScripts: false
7+
syncProjectWorkspaceDependencies: true
8+
syncVersionManagerConfig: nodenv
9+
10+
typescript:
11+
createMissingConfig: true
12+
routeOutDirToCache: true
13+
syncProjectReferences: true
14+
syncProjectReferencesToPaths: true

.moon/workspace.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
projects:
2+
site: 'apps/site'
3+
4+
codeowners:
5+
syncOnRun: true
6+
orderBy: project-name
7+
globalPaths:
8+
'*': ['@alexanderniebuhr']
9+
10+
vcs:
11+
manager: git
12+
provider: github
13+
defaultBranch: 'main'
14+
remoteCandidates:
15+
- "origin"
16+
- "upstream"
17+
18+
runner:
19+
inheritColorsForPipedTasks: true
20+
21+
experiments:
22+
taskOutputBoundaries: true
23+
24+
telemetry: true

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.11.1

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
exact=true
2+
shell-emulator=true
3+
engine-strict=true

.prototools

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
moon = "1.22.6"
2+
node = "20.11.1"
3+
pnpm = "8.15.4"
4+
5+
[plugins]
6+
moon = "source:https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml"

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib"
3+
}

apps/site/astro.config.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import { defineConfig } from 'astro/config';
2+
3+
import cloudflare from '@astrojs/cloudflare';
4+
import starlight from '@astrojs/starlight';
5+
import tailwind from '@astrojs/tailwind';
6+
7+
export default defineConfig({
8+
build: {
9+
inlineStylesheets: 'auto',
10+
},
11+
scopedStyleStrategy: 'attribute',
12+
base: '/',
13+
devToolbar: {
14+
enabled: true,
15+
},
16+
site: 'https://astrolicious.dev/',
17+
prefetch: {
18+
prefetchAll: false,
19+
defaultStrategy: 'hover',
20+
},
21+
experimental: {
22+
clientPrerender: true,
23+
globalRoutePriority: true,
24+
optimizeHoistedScript: true,
25+
},
26+
integrations: [
27+
tailwind({
28+
applyBaseStyles: false,
29+
nesting: true,
30+
}),
31+
starlight({
32+
title: 'Astrolicious Docs',
33+
pagefind: false,
34+
}),
35+
],
36+
output: 'server',
37+
adapter: cloudflare({
38+
imageService: 'passthrough',
39+
}),
40+
vite: {
41+
ssr: {
42+
external: ['node:url', 'node:child_process'],
43+
},
44+
build: {
45+
minify: false,
46+
cssMinify: false,
47+
},
48+
},
49+
});

apps/site/moon.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
type: application
2+
language: typescript
3+
stack: frontend
4+
5+
fileGroups:
6+
sources:
7+
- "public/**/*"
8+
- "src/**/*"
9+
- "astro.config.ts"
10+
tests:
11+
- "tests/**/*"
12+
13+
tasks:
14+
astro:
15+
command: "astro"
16+
local: true
17+
18+
check:
19+
command: "astro check"
20+
inputs:
21+
- "@group(sources)"
22+
23+
imports:
24+
command: "biome check --apply --formatter-enabled=false --linter-enabled=false ./"
25+
inputs:
26+
- "@group(sources)"
27+
28+
format:
29+
deps:
30+
- "~:imports"
31+
command: "biome format --write ./"
32+
inputs:
33+
- "@group(sources)"
34+
35+
lint:
36+
deps:
37+
- "~:format"
38+
command: "biome lint --apply ./"
39+
inputs:
40+
- "@group(sources)"
41+
42+
build:
43+
deps:
44+
- "~:lint"
45+
- "~:check"
46+
command: "astro build"
47+
inputs:
48+
- "@group(sources)"
49+
outputs:
50+
- "dist"
51+
52+
dev:
53+
command: "astro dev"
54+
local: true
55+
options:
56+
persistent: true
57+
runInCI: false
58+
cache: false

apps/site/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "site",
3+
"type": "module",
4+
"version": "0.0.0",
5+
"private": true,
6+
"dependencies": {
7+
"@astrojs/check": "0.5.6",
8+
"@astrojs/cloudflare": "0.0.0-cf-10-20240308120545",
9+
"astro": "4.4.15",
10+
"astro-icon": "1.1.0",
11+
"lightningcss": "1.24.0",
12+
"@astrojs/starlight": "0.21.1",
13+
"@tailwindcss/typography": "0.5.10",
14+
"@astrojs/tailwind": "5.1.0",
15+
"tailwindcss": "3.4.1"
16+
},
17+
"devDependencies": {
18+
"wrangler": "3.32.0"
19+
},
20+
"scripts": {
21+
"astro": "astro"
22+
}
23+
}

apps/site/public/favicon.png

370 KB
Loading

apps/site/public/hero.png

287 KB
Loading

apps/site/public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Allow: /
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Hello World, from Astrolicious! 🚀
2+
3+
### **We're over the moon to unveil our latest adventure**
4+
5+
Crafted with passion over weeks and constantly evolving, Astrolicious is our love letter to integration maintainers, community enthusiasts, and the entire Astro ecosystem.
6+
7+
**Our mission?**
8+
9+
To build an extraordinary community of innovation, collaboration, and enhancement that benefits everyone orbiting Astro.
10+
11+
## What is Astrolicious? 🧐
12+
13+
Astrolicious isn't just a name; it's a movement. A collective ambition to shine a spotlight on community integrations, amplifying their visibility, maintenance, and reliability. Think of us as an umbrella organization, but with a twist — where every drop of effort helps nourish the vast Astro ecosystem.
14+
15+
## Who's Fueling the Astrolicious Rocket? 🚀
16+
17+
Our crew? A dynamic blend of community pioneers, Astro's core members, and familiar faces from the Astro Discord. This fusion of minds ensures we stay true to Astro's vision while navigating the cosmos at warp speed. **Eager to join the expedition?** We're scouting for astronauts! 🌌
18+
19+
## What's on the Astrolicious Horizon? 🔭
20+
21+
Beneath our banner, stars are already aligning - expect a universe of projects, guides, and docs to explore soon. Have a look at who joined our galaxy already:
22+
23+
### `@astrolicious/i18n`
24+
25+
[`@astrolicious/i18n`](https://github.com/astrolicious/i18n) by [Florian](https://github.com/florian-lefebvre) is an i18n integration for Astro with server and client utilities, type safety and translations built-in. It solves some long standing issues regarding translating paths in different locales, including static and dynamic ones! Check the [docs](https://astro-i18n.netlify.app/) to learn more!
26+
27+
### `astro-tips.dev`
28+
[astro-tips.dev](https://astro-tips.dev) is an initiative to centralize useful Astro resources that do not fit the official docs but almost! This is just getting started but many maintainers have contributed or are interested in it already!
29+
30+
## How Can You Be a Part of This Stellar Journey? ✨
31+
32+
Your support is our rocket fuel! Follow us across the social cosmos. Share our vision with the community and let your voice be heard. We're all ears for feedback, ideas, and dreams. Together, let's make Astrolicious not just successful, but **legendary**.
33+
34+
---
35+
36+
Stay tuned for more updates by following us on [X](https://twitter.com/astroliciousdev) and on [GitHub](https://twitter.com/astroliciousdev). Together, we're not just reaching for the stars — we're shaping the future of the Astro ecosystem. 🚀💫

apps/site/src/content/config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { defineCollection, z } from 'astro:content';
2+
import { docsSchema } from '@astrojs/starlight/schema';
3+
4+
const blogCollection = defineCollection({
5+
type: 'content',
6+
schema: z.object({}),
7+
});
8+
9+
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
10+
const starlightCollection = defineCollection({ schema: docsSchema() as any });
11+
12+
export const collections = {
13+
docs: starlightCollection,
14+
blog: blogCollection,
15+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Astrolicious docs
3+
description: Learn more about my project in this docs site built with Starlight.
4+
---
5+
6+
Welcome to Astrolicious!
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Astrolicious docs
3+
description: Learn more about my project in this docs site built with Starlight.
4+
---
5+
6+
Welcome to Astrolicious!
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Test
3+
description: Learn more about my project in this docs site built with Starlight.
4+
---
5+
6+
Test to Astrolicious!

apps/site/src/env.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference path="../.astro/types.d.ts" />
2+
/// <reference types="astro/client" />

0 commit comments

Comments
 (0)