Skip to content

Commit

Permalink
Start normalizing agains trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ahegyes committed Aug 21, 2024
1 parent 8394a19 commit 8d1ba3c
Show file tree
Hide file tree
Showing 124 changed files with 50 additions and 829 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fill-in-scaffold.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const buildTemplate = async ( filePath ) => {
replacements = {
'Build Processes Demo': repository.custom_properties['human-title'] ?? repository.name,
'A demo project for showcasing standardized build processes for various asset types.': repository.description ?? '',
'https://build-processes-demo-production.mystagingwebsite.com': repository.homepage ?? 'https://wpspecialprojects.com',
'https://a8csp-project-scaffold-production.mystagingwebsite.com': repository.homepage ?? 'https://wpspecialprojects.com',
'build-processes-demo': repository.name,
'build_processes_demo': repository.custom_properties['php-globals-long-prefix'],
'bpd': repository.custom_properties['php-globals-short-prefix'],
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ mu-plugins/*
!mu-plugins/mu-loader.php
!mu-plugins/colophon
!mu-plugins/team51-tracking
!mu-plugins/wpcomsp-project-scaffold-features
!mu-plugins/a8csp-project-scaffold-features

themes/*
!themes/wpcomsp-project-scaffold
!themes/a8csp-project-scaffold

# Other wp-content exclusions
upgrade/*
Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "wpcomsp/project-scaffold",
"name": "a8csp/project-scaffold",
"type": "wordpress-project",

"description": "The scaffold for new projects used by the WordPress.com Special Projects team.",
"homepage": "https://wpcomsp-project-scaffold-production.mystagingwebsite.com",
"description": "The scaffold for new projects used by the Automattic Special Projects team.",
"homepage": "https://a8csp-project-scaffold-production.mystagingwebsite.com",
"license": "GPL-2.0-or-later",
"authors": [
{
Expand All @@ -27,7 +27,7 @@
}
],
"require": {
"php": ">=7.4",
"php": ">=8.3",
"ext-json": "*"
},
"require-dev": {
Expand All @@ -48,15 +48,15 @@
"@format:php:theme",
"@format:php:features"
],
"format:php:theme": "phpcbf --standard=./themes/wpcomsp-project-scaffold/.phpcs.xml.dist --basepath=. ./themes/wpcomsp-project-scaffold -v",
"format:php:features": "phpcbf --standard=./mu-plugins/wpcomsp-project-scaffold-features/.phpcs.xml.dist --basepath=. ./mu-plugins/wpcomsp-project-scaffold-features -v",
"format:php:theme": "phpcbf --standard=./themes/a8csp-project-scaffold/.phpcs.xml.dist --basepath=. ./themes/a8csp-project-scaffold -v",
"format:php:features": "phpcbf --standard=./mu-plugins/a8csp-project-scaffold-features/.phpcs.xml.dist --basepath=. ./mu-plugins/a8csp-project-scaffold-features -v",

"lint:php": [
"@lint:php:theme",
"@lint:php:features"
],
"lint:php:theme": "phpcs --standard=./themes/wpcomsp-project-scaffold/.phpcs.xml.dist --basepath=. ./themes/wpcomsp-project-scaffold -v",
"lint:php:features": "phpcs --standard=./mu-plugins/wpcomsp-project-scaffold-features/.phpcs.xml.dist --basepath=. ./mu-plugins/wpcomsp-project-scaffold-features -v",
"lint:php:theme": "phpcs --standard=./themes/a8csp-project-scaffold/.phpcs.xml.dist --basepath=. ./themes/a8csp-project-scaffold -v",
"lint:php:features": "phpcs --standard=./mu-plugins/a8csp-project-scaffold-features/.phpcs.xml.dist --basepath=. ./mu-plugins/a8csp-project-scaffold-features -v",

"internationalize": [
"@makepot:theme",
Expand All @@ -66,18 +66,18 @@
"@updatepo:features"
],

"makepot:theme": "wp i18n make-pot themes/wpcomsp-project-scaffold",
"updatepo:theme": "wp i18n update-po themes/wpcomsp-project-scaffold/languages/wpcomsp-project-scaffold.pot",
"makemo:theme": "wp i18n make-mo themes/wpcomsp-project-scaffold/languages",
"makepot:theme": "wp i18n make-pot themes/a8csp-project-scaffold",
"updatepo:theme": "wp i18n update-po themes/a8csp-project-scaffold/languages/a8csp-project-scaffold.pot",
"makemo:theme": "wp i18n make-mo themes/a8csp-project-scaffold/languages",

"makepot:features": "wp i18n make-pot mu-plugins/wpcomsp-project-scaffold-features",
"updatepo:features": "wp i18n update-po mu-plugins/wpcomsp-project-scaffold-features/languages/wpcomsp-project-scaffold-features.pot",
"makemo:features": "wp i18n make-mo mu-plugins/wpcomsp-project-scaffold-features/languages",
"makepot:features": "wp i18n make-pot mu-plugins/a8csp-project-scaffold-features",
"updatepo:features": "wp i18n update-po mu-plugins/a8csp-project-scaffold-features/languages/a8csp-project-scaffold-features.pot",
"makemo:features": "wp i18n make-mo mu-plugins/a8csp-project-scaffold-features/languages",

"packages-install": "@composer install --ignore-platform-reqs --no-interaction",
"packages-update": [
"@composer clear-cache",
"@composer update --prefer-stable --no-interaction"
"@composer update --prefer-stable --ignore-platform-reqs --no-interaction"
]
},
"config": {
Expand Down
63 changes: 32 additions & 31 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions mu-plugins/wpcomsp-project-scaffold-blocks/.phpcs.xml.dist

This file was deleted.

18 changes: 0 additions & 18 deletions mu-plugins/wpcomsp-project-scaffold-blocks/build/foobar/block.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8d1ba3c

Please sign in to comment.