Skip to content

Commit c309fb3

Browse files
committed
feat: deliver initial production-ready repository architecture
1 parent ef9524e commit c309fb3

192 files changed

Lines changed: 5121 additions & 1962 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.py]
12+
indent_size = 2
13+
14+
[LICENSE]
15+
trim_trailing_whitespace = false

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Cloudflare Build Readiness
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
readiness:
13+
name: Production build readiness
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '24'
22+
- name: Install dependencies
23+
run: npm install --no-audit --no-fund
24+
- name: Build production output
25+
run: npm run build
26+
- name: Verify required output
27+
run: test -f dist/index.html && test -f dist/pagefind/pagefind.js
28+
29+
# Production deployment is intentionally performed by Cloudflare Pages Git integration.

.github/workflows/validate.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Validate
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: validate-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
schema:
18+
name: Schema and Python
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Set up Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: '3.13'
27+
cache: pip
28+
- name: Install validator dependencies
29+
run: python -m pip install --upgrade pip -r requirements.txt
30+
- name: Validate examples and fixtures
31+
run: python scripts/validate.py --all
32+
- name: Run regression tests
33+
run: python -m unittest discover -s test -p 'test_*.py'
34+
35+
frontend:
36+
name: Frontend quality
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
- name: Set up Node.js
42+
uses: actions/setup-node@v4
43+
with:
44+
node-version: '24'
45+
- name: Install dependencies
46+
run: npm install --no-audit --no-fund
47+
- name: Check formatting
48+
run: npm run format:check
49+
- name: Type-check and lint
50+
run: npm run check
51+
- name: Build registry and search index
52+
run: npm run build
53+
- name: Upload static build
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: schema-registry-dist
57+
path: dist
58+
if-no-files-found: error

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Astro and build output
5+
.astro/
6+
dist/
7+
public/pagefind/
8+
9+
# Python
10+
__pycache__/
11+
*.py[cod]
12+
.venv/
13+
venv/
14+
15+
# Release artifacts
16+
release/
17+
*.zip.sha256
18+
19+
# Environment and local tooling
20+
.env
21+
.env.*
22+
!.env.example
23+
.DS_Store
24+
Thumbs.db
25+
.vscode/*
26+
!.vscode/extensions.json
27+
!.vscode/settings.json
28+
29+
# Project update workspace
30+
project/update/
31+
project/update/**

.nvmrc

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

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.astro/
2+
dist/
3+
node_modules/
4+
public/pagefind/
5+
release/
6+
project/sandbox-*.html

.prettierrc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"plugins": [
3+
"prettier-plugin-astro",
4+
"prettier-plugin-tailwindcss"
5+
],
6+
"singleQuote": true,
7+
"tabWidth": 2,
8+
"useTabs": false,
9+
"printWidth": 100,
10+
"trailingComma": "all",
11+
"overrides": [
12+
{
13+
"files": "*.astro",
14+
"options": {
15+
"parser": "astro"
16+
}
17+
}
18+
],
19+
"tailwindStylesheet": "./src/styles/global.css"
20+
}

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"astro-build.astro-vscode",
4+
"bradlc.vscode-tailwindcss",
5+
"dbaeumer.vscode-eslint",
6+
"esbenp.prettier-vscode"
7+
]
8+
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.formatOnSave": true,
4+
"files.eol": "\n",
5+
"[astro]": {
6+
"editor.defaultFormatter": "astro-build.astro-vscode"
7+
}
8+
}

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Changelog
2+
3+
All notable changes to YGit Schema are documented in this file.
4+
5+
The project follows [Semantic Versioning](https://semver.org/) for the VPMS format and registry releases.
6+
7+
## [1.0.0] - 2026-07-28
8+
9+
### Added
10+
11+
- Complete VPMS Version 1 JSON Schema using Draft 2020-12.
12+
- Strict validation for root and nested objects, semantic versions, paths, URIs, email addresses, and timestamps.
13+
- Official minimal and full valid fixtures plus negative regression fixtures.
14+
- Cross-platform Python validation and deterministic release automation.
15+
- Production Astro registry portal with Tailwind CSS, TypeScript, MDX, Shiki, Pagefind, and Lucide icons.
16+
- Frozen design-system layouts, component library, responsive behavior, accessibility support, SEO metadata, sitemap, and Cloudflare Pages assets.
17+
- GitHub Actions for schema validation, tests, linting, type checking, formatting, and production build readiness.
18+
- Complete user and developer documentation for installation, authoring, reference, validation, versioning, migration, troubleshooting, and release workflows.
19+
20+
### Fixed
21+
22+
- Synchronized the official full example with the Version 1 schema.
23+
- Corrected schema URLs, example filenames, version types, project reference filenames, and documentation status statements.
24+
- Standardized text files on UTF-8, LF line endings, and two-space indentation where applicable.

0 commit comments

Comments
 (0)