Skip to content

Commit d201ff7

Browse files
committed
chore: init starter (2026-05-25)
0 parents  commit d201ff7

9,079 files changed

Lines changed: 1372487 additions & 0 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.

.devcontainer/.env.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
COMPOSE_PROJECT_NAME="mage-os-ai-starter-daffodil"

.devcontainer/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env
2+
docker-compose.local.yml

.devcontainer/devcontainer.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"name": "mage-os-ai-starter-daffodil",
3+
"dockerComposeFile": [
4+
"docker-compose.yml",
5+
"magento2-devcontainer/compose/2.4.8/docker-compose.yml",
6+
"docker-compose.shared.yml",
7+
"docker-compose.local.yml"
8+
],
9+
"workspaceFolder": "/workspace",
10+
"service": "php",
11+
"containerEnv": {
12+
"CLAUDE_CONFIG_DIR": "/workspace/.claude"
13+
},
14+
"forwardPorts": [
15+
8000,
16+
8025,
17+
4200
18+
],
19+
"initializeCommand": {
20+
"submodules": "[ -f .devcontainer/magento2-devcontainer/.gitignore ] || git submodule update --init --recursive",
21+
"env": "[ -f .devcontainer/.env ] || cp .devcontainer/.env.sample .devcontainer/.env",
22+
"local-compose": "[ -f .devcontainer/docker-compose.local.yml ] || cp .devcontainer/docker-compose.local.yml.sample .devcontainer/docker-compose.local.yml"
23+
},
24+
"updateContentCommand": {
25+
"composer": "cd magento && composer install --no-interaction --prefer-dist",
26+
"npm": "cd daffodil && npm ci"
27+
},
28+
"postCreateCommand": ".devcontainer/magento2-devcontainer/bin/setup-install.sh | bash",
29+
"portsAttributes": {
30+
"8000": {
31+
"label": "Magento (Nginx)"
32+
},
33+
"8025": {
34+
"label": "Mailpit"
35+
},
36+
"4200": {
37+
"label": "Daffodil dev server"
38+
}
39+
},
40+
"customizations": {
41+
"vscode": {
42+
"extensions": [
43+
"angular.ng-template",
44+
"dbaeumer.vscode-eslint",
45+
"esbenp.prettier-vscode",
46+
"bmewburn.vscode-intelephense-client",
47+
"xdebug.php-debug"
48+
]
49+
}
50+
},
51+
"remoteUser": "dev",
52+
"features": {
53+
"ghcr.io/devcontainers/features/git:1": {},
54+
"ghcr.io/devcontainers/features/github-cli:1": {},
55+
"ghcr.io/devcontainers/features/node:1": {
56+
"version": "24",
57+
"installYarnUsingApt": false
58+
},
59+
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {},
60+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
61+
"moby": false
62+
}
63+
},
64+
"hostRequirements": {
65+
"cpus": 4,
66+
"memory": "8gb"
67+
}
68+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Loaded last so a local .devcontainer/.env (gitignored) can override secrets
2+
# without touching the committed .env.sample.
3+
services:
4+
php:
5+
env_file: .env
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Overrides the upstream magento2-devcontainer compose for the Daffodil
2+
# starter's monorepo layout: the repo root contains magento/ and daffodil/,
3+
# so we mount the whole repo at /workspace and point Magento services at
4+
# /workspace/magento. Angular work happens at /workspace/daffodil with
5+
# `ng serve` listening on 4200 (forwarded by devcontainer.json).
6+
services:
7+
php:
8+
volumes:
9+
- ../:/workspace:cached
10+
working_dir: /workspace/magento
11+
env_file: .env.sample
12+
# Expose the Daffodil dev server (ng serve --host 0.0.0.0) on the host.
13+
# devcontainer.json's forwardPorts: [4200] handles this from VS Code, but
14+
# explicit ports: makes it work for `devcontainer up` / raw `docker compose`
15+
# too — handy in CI and for quick smoke tests outside the editor.
16+
ports:
17+
- "4200:4200"
18+
nginx:
19+
environment:
20+
- MAGE_ROOT_DIR=/workspace/magento
21+
volumes:
22+
- ../:/workspace:cached
23+
- ./magento2-devcontainer/nginx/default:/etc/nginx/templates
24+
- ./magento2-devcontainer/nginx/fastcgi_params:/etc/nginx/fastcgi_params:ro

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
services: {}
Submodule magento2-devcontainer added at d09a135

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Basic dependabot.yml — keeps GitHub Actions and composer dependencies fresh.
2+
# The mirror.mage-os.org repository is declared in composer.json's "repositories"
3+
# field (added by `composer create-project --repository-url=…`), so Dependabot
4+
# picks it up automatically — no explicit `registries:` entry needed.
5+
version: 2
6+
updates:
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"
11+
- package-ecosystem: "composer"
12+
directory: "/magento"
13+
schedule:
14+
interval: "weekly"
15+
# Ignore test fixtures and update tool manifests that
16+
# are not actually used in production
17+
exclude-paths:
18+
- "dev/tests/**"
19+
- "update/**"

.github/workflows/check-store.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check Store
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
check-store:
12+
uses: graycoreio/github-actions-magento2/.github/workflows/check-store.yaml@v8.2.0
13+
with:
14+
path: "magento"
15+
secrets:
16+
composer_auth: ${{ secrets.COMPOSER_AUTH }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v5

0 commit comments

Comments
 (0)