Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 176 additions & 0 deletions .aiignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
# An .aiignore file follows the same syntax as a .gitignore file.
# .gitignore documentation: https://git-scm.com/docs/gitignore

# Secrets and environment
.env
.env.*
.envrc
*.key
*.pem
*.p12
*.pfx
*.crt
*.cert
*.der
*.pub
*.gpg
*.asc
*_credentials.*
*credentials*.json
secrets.*
secret.*
id_rsa*
id_dsa*
ssh_config
.gnupg/

# Brand- and env-specific configs
envs/
config/
config/*.local.*
*.local.*
*.dev.*
*.prod.*
*.staging.*


# Node.js
node_modules/
npm-debug.log*
package-lock.json
.pnpm-store/
.pnp.*
.yarn/*
.yarn-cache/
.yarnrc*
.yarn/*
.cache/
.npm/
.nvmrc

# Logs and runtime artifacts
logs/
*.log
*.pid
*.seed
*.pid.lock
tmp/
temp/
.cache/
coverage/
.nyc_output/
dist/
build/
out/
.tsbuildinfo

# Bundled/static artifacts
public/
dashboard/
static/
assets/build/
*.min.js
*.map

# Test outputs
junit.xml
test-results/
reports/
coverage-final.json
lcov.info

# IDE/editor configs
.idea/
.vscode/
*.iml
*.ipr
*.iws
*.swp
*.swo
.DS_Store
Thumbs.db

# OS / tooling
*.bak
*.tmp
*.orig
*.patch
*.tar
*.tar.*
*.zip
*.7z
*.gz
*.bz2

# PHP / Composer
vendor/
composer.lock
phpunit.xml
phpunit.xml.dist
.cache/phpunit/*
.phpunit.result.cache

# WordPress-specific
wp-config.php
wp-content/uploads/
wp-content/cache/
wp-content/upgrade/
wp-content/backups-*/
wp-content/advanced-cache.php
wp-content/object-cache.php
wp-content/debug.log

# Docker / containers
docker-compose*.yml
Dockerfile*
.dockerignore
.docker/
docker/
compose/
*.env.docker
.env.docker*

# CI/CD tokens and artifacts
.github/
.gitlab/
.gitlab-ci.yml
.github/workflows/
*.pem.enc
*.secret
*.token
*.vault
*.vault.json

# Sentry / telemetry
.sentryclirc
.sentry-*
.sentry/*

# Swagger/OpenAPI generated artifacts
swagger-definitions/*.yml
swagger-definitions/**/*.yml

# Database dumps
*.sql
*.sqlite
*.sqlite3
dump/
backups/

# Screenshots and media
screenshot-service/**/*.png
screenshot-service/**/*.jpg
screenshot-service/**/*.jpeg
*.png
*.jpg
*.jpeg
*.gif
*.mp4
*.mov

# Project-specific services
plugin-provisioner-service/.env*
screenshot-service/.env*
wp-cloud-migrator/.env*
wp-migrator/.env*
wp-update-manager/.env*
30 changes: 16 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']

steps:
- name: Checkout code
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install PHPCS and WordPress Coding Standards
run: |
composer require --dev squizlabs/php_codesniffer wp-coding-standards/wpcs --no-interaction
vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs
vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra

- name: Run PHPCS
run: vendor/bin/phpcs
Expand All @@ -72,14 +72,17 @@ jobs:
- name: Configure npm authentication
working-directory: frontend
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
echo "//registry.npmjs.org/:_authToken=${{ secrets.DOGADO_TOKEN }}" > .npmrc
echo "always-auth=true" >> .npmrc

- name: Install dependencies
working-directory: frontend
run: npm ci

- name: Verify @dogado/gravity installation
working-directory: frontend
run: npm list @dogado/gravity

- name: Run ESLint
working-directory: frontend
run: npm run lint
Expand Down Expand Up @@ -123,9 +126,8 @@ jobs:
- name: Configure npm authentication
working-directory: frontend
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
echo "//registry.npmjs.org/:_authToken=${{ secrets.DOGADO_TOKEN }}" > .npmrc
echo "always-auth=true" >> .npmrc

- name: Install dependencies
working-directory: frontend
Expand Down Expand Up @@ -169,12 +171,12 @@ jobs:
php-version: '8.2'
tools: composer:v2


- name: Configure npm authentication
working-directory: frontend
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
echo "//registry.npmjs.org/:_authToken=${{ secrets.DOGADO_TOKEN }}" > .npmrc
echo "always-auth=true" >> .npmrc

- name: Install dependencies
run: |
Expand Down Expand Up @@ -229,12 +231,12 @@ jobs:
php-version: '8.2'
tools: composer:v2


- name: Configure npm authentication
working-directory: frontend
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
echo "//registry.npmjs.org/:_authToken=${{ secrets.DOGADO_TOKEN }}" > .npmrc
echo "always-auth=true" >> .npmrc

- name: Install dependencies and build
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Thumbs.db
# Build artifacts
frontend/build/
frontend/standalone/
assets/min-css/

# CI/CD
.phpcs-cache
Expand Down
1 change: 0 additions & 1 deletion assets/min-css/marketplace.min.css

This file was deleted.

Loading