Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Fork the wporg-developer-blog repo for the environment, and add the required mu-plugins (servehappy-config) & themes (wporg-main, wporg).
  • Loading branch information
ryelle committed Jul 19, 2022
0 parents commit 1962763
Show file tree
Hide file tree
Showing 14 changed files with 13,221 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**/.DS_STORE
/**/.idea
/**/.svn
/**/build
/**/node_modules
/vendor
*.map
wp-cli.yml

# Allow local environment overrides.
.wp-env.override.json

# Configs from wporg-repo-tools.
.eslintrc.js
.prettierrc.js
.stylelintrc
phpcs.xml.dist

# Ignore everything in source...
/source/wp-content/*
/source/wp-content/themes/*
/source/wp-content/mu-plugins/*

# ...except the actual source of this project.
!/source/wp-content/themes
!/source/wp-content/themes/wporg-main-2022
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14
31 changes: 31 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"config": {
"WP_DEBUG": true,
"SCRIPT_DEBUG": true,
"WP_DEBUG_LOG": "/tmp/wp-errors.log",
"FS_METHOD": "direct",
"WP_ENVIRONMENT_TYPE": "local",
"JETPACK_DEV_DEBUG": true,
"WPORG_SANDBOXED": true,
"WP_MARKET_SHARE": 43,
"WP_CORE_STABLE_BRANCH": "6.0",
"WP_CORE_LATEST_RELEASE": "6.0.1"
},
"core": "WordPress/WordPress#master",
"plugins": [
"./source/wp-content/plugins/gutenberg",
"./source/wp-content/plugins/jetpack",
"./source/wp-content/plugins/wordpress-importer"
],
"themes": [
"./source/wp-content/themes/wporg",
"./source/wp-content/themes/wporg-main",
"./source/wp-content/themes/wporg-main-2022",
"./source/wp-content/themes/wporg-parent-2021"
],
"mappings": {
"env": "./env",
"wp-content/mu-plugins": "./source/wp-content/mu-plugins",
"wp-content/mu-plugins/0-sandbox.php": "./env/0-sandbox.php"
}
}
106 changes: 106 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"name": "wporg/wporg-main-2022",
"description": "",
"homepage": "https://wordpress.org",
"license": "GPL-2.0-or-later",
"support": {
"issues": "https://github.com/WordPress/wporg-main-2022/issues"
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-paths": {
"source/wp-content/mu-plugins/{$name}/": [
"type:wordpress-muplugin"
],
"source/wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"source/wp-content/themes/{$name}/": [
"type:wordpress-theme"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org/"
},
{
"type": "vcs",
"url": "git@github.com:WordPress/wporg-repo-tools.git"
},
{
"type": "vcs",
"url": "git@github.com:WordPress/wporg-mu-plugins.git"
},
{
"type": "vcs",
"url": "git@github.com:WordPress/wporg-parent-2021.git"
},
{
"type": "package",
"package": [
{
"name": "wordpress-meta/wporg",
"type": "wordpress-theme",
"version": "1",
"source": {
"type": "svn",
"url": "https://meta.svn.wordpress.org/sites/",
"reference": "trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/"
}
},
{
"name": "wordpress-meta/wporg-main",
"type": "wordpress-theme",
"version": "1",
"source": {
"type": "svn",
"url": "https://meta.svn.wordpress.org/sites/",
"reference": "trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/"
}
},
{
"name": "wordpress-meta/pub",
"type": "wordpress-muplugin",
"version": "1",
"source": {
"type": "svn",
"url": "https://meta.svn.wordpress.org/sites/",
"reference": "trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/"
}
}
]
}
],
"require": {},
"require-dev": {
"composer/installers": "~1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^7.5.20",
"wordpress-meta/pub": "1",
"wordpress-meta/wporg": "1",
"wordpress-meta/wporg-main": "1",
"wp-coding-standards/wpcs": "2.*",
"wp-phpunit/wp-phpunit": "^5.4",
"wpackagist-plugin/gutenberg": "*",
"wpackagist-plugin/jetpack": "*",
"wpackagist-plugin/wordpress-importer": "*",
"wporg/wporg-repo-tools": "dev-trunk",
"wporg/wporg-mu-plugins": "dev-build",
"wporg/wporg-parent-2021": "dev-build"
},
"scripts": {
"format": "phpcbf -p",
"lint": "phpcs"
}
}
Loading

0 comments on commit 1962763

Please sign in to comment.