{"id":14954838,"url":"https://github.com/wordpress/pattern-directory","last_synced_at":"2025-04-04T15:10:26.823Z","repository":{"id":37662999,"uuid":"303861532","full_name":"WordPress/pattern-directory","owner":"WordPress","description":"The WordPress Block Pattern Directory","archived":false,"fork":false,"pushed_at":"2025-02-10T03:31:33.000Z","size":20121,"stargazers_count":130,"open_issues_count":77,"forks_count":40,"subscribers_count":15,"default_branch":"trunk","last_synced_at":"2025-03-27T13:12:53.663Z","etag":null,"topics":["wporg"],"latest_commit_sha":null,"homepage":"https://wordpress.org/patterns/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WordPress.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-14T00:34:11.000Z","updated_at":"2025-03-22T02:46:43.000Z","dependencies_parsed_at":"2024-12-28T05:11:25.895Z","dependency_job_id":"55d1e1c4-8afd-4e2f-ad4a-91cbdc8efa9c","html_url":"https://github.com/WordPress/pattern-directory","commit_stats":{"total_commits":560,"total_committers":19,"mean_commits":"29.473684210526315","dds":0.2589285714285714,"last_synced_commit":"7052381a0efeb014d612d2fe16ba4bef9b477588"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fpattern-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fpattern-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fpattern-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2Fpattern-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WordPress","download_url":"https://codeload.github.com/WordPress/pattern-directory/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198463,"owners_count":20900080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wporg"],"created_at":"2024-09-24T13:09:30.079Z","updated_at":"2025-04-04T15:10:26.774Z","avatar_url":"https://github.com/WordPress.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress.org Pattern Directory\n\n## Prerequisites\n- Docker\n- Node/NPM\n- Composer\n\n## Setup\n1. `npm install`\n2. `npm run create`\n3. Visit site at `localhost:8888`\n\n### Stopping \u0026 Starting Environment\n\nIf you need to work on another project, your environment can be safely stopped with:\n\n\tnpm run wp-env stop\n\nWhen you want to come back to work, bring the project back up with:\n\n\tnpm run wp-env start\n\nMake sure you're in the project root (same as `.wp-env.json`), otherwise `wp-env` will create a new site instance in one of the sub-projects (and you'll spend a while wondering why nothing's synced 🤨).\n\n### WP-CLI Commands\n\nYou can run wp-cli commands on your site using the cli container. Send any command to it like this:\n\n\tnpm run wp-env run cli \"theme list\"\n\n### Removing Environment\n\nTo remove your environment entirely, you can [destroy it.](https://github.com/WordPress/gutenberg/tree/master/packages/env#6-nuke-everything-and-start-again-) This will wipe everything associated with your site!\n\n\tnpm run wp-env destroy\n\n## Development\n\nWhile working on the theme \u0026 plugin, you might need to rebuild the CSS or JavaScript.\n\nTo build both projects, you can run:\n\n\tnpm run build --workspaces\n\nTo build one at a time, run\n\n\tnpm run --workspace=wporg-pattern-directory\n\nIf you want to watch for changes, run `start`. This can only be run in one project at a time:\n\n\tnpm start --workspace=wporg-pattern-directory\n\n### Workspaces\n\nThe available workspaces are:\n\n\t\"wporg-pattern-creator\": \"public_html/wp-content/plugins/pattern-creator\"\n\t\"wporg-pattern-directory\": \"public_html/wp-content/plugins/pattern-directory\"\n\t\"wporg-pattern-directory-theme\": \"public_html/wp-content/themes/pattern-directory\"\n\n### Linting\n\nThis project has eslint, stylelint, and phpcs set up for linting the code. This ensures all developers are working from the same style. To check your code before pushing it to the repo, run\n\n\tnpm run lint:css --workspaces\n\tnpm run lint:js --workspaces\n\tcomposer run lint\n\nThese checks will also be run automatically on each PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fpattern-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress%2Fpattern-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Fpattern-directory/lists"}