{"id":30528183,"url":"https://github.com/troychaplin/wp-dependency-manager","last_synced_at":"2026-04-30T02:34:42.457Z","repository":{"id":299332295,"uuid":"998142868","full_name":"troychaplin/wp-dependency-manager","owner":"troychaplin","description":"A modern WordPress development setup using a monorepo architecture with Turbo for build orchestration and npm workspaces for package management.","archived":false,"fork":false,"pushed_at":"2025-08-20T01:58:17.000Z","size":2896,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-20T02:30:51.913Z","etag":null,"topics":["experimental","monorepo","tooling","wordpress"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troychaplin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2025-06-08T00:31:28.000Z","updated_at":"2025-08-20T02:06:46.000Z","dependencies_parsed_at":"2025-08-25T05:46:50.596Z","dependency_job_id":null,"html_url":"https://github.com/troychaplin/wp-dependency-manager","commit_stats":null,"previous_names":["troychaplin/wp-monorepo-manager","troychaplin/wp-dependency-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/troychaplin/wp-dependency-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fwp-dependency-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fwp-dependency-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fwp-dependency-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fwp-dependency-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troychaplin","download_url":"https://codeload.github.com/troychaplin/wp-dependency-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fwp-dependency-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272291258,"owners_count":24908165,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["experimental","monorepo","tooling","wordpress"],"created_at":"2025-08-27T04:37:42.111Z","updated_at":"2026-04-30T02:34:37.439Z","avatar_url":"https://github.com/troychaplin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Dependency Manager\n\n\u003e ⚠️ **Development Status**: This is a prototype tool currently in active development. Features and APIs may change without notice. Not recommended for production use.\n\nA build tool for managing WordPress themes and plugins in a monorepo structure. This package provides standardized configurations and build tools for efficient WordPress development.\n\n## Features\n\n- **Monorepo Management**: Use Turborepo to manage multiple WordPress themes and plugins\n- **Standardized Configurations**: Pre-configured settings for ESLint, StyleLint, PHPCS, and Webpack\n- **Build Tools**: Unified build process for all themes and plugins\n- **Development Workflow**: Consistent development experience across projects\n- **Code Quality**: Enforced coding standards across all projects\n\n## Installation \u0026 Testing\n\n\u003e 📦 **Package Status**: This package is not yet published to npm. For testing and development, please see [TEST.md](./docs/TEST.md) for setup instructions using local development methods.\n\n## Quick Start\n\n### Global Installation (Recommended)\n\n```bash\n# Install globally\nnpm install -g wp-dependency-manager\n\n# Navigate to your WordPress installation\ncd /path/to/your/wordpress-site\n\n# Set up monorepo structure\nwp-dependency setup\n\n# Create a theme (optional)\nwp-dependency setup:theme\n\n# Create a plugin (optional)\nwp-dependency setup:plugin\n\n# Build all projects\nnpm run build\n```\n\n### Local Installation\n\n```bash\n# Navigate to your WordPress installation\ncd /path/to/your/wordpress-site\n\n# Install locally\nnpm install wp-dependency-manager\n\n# Set up monorepo structure\nnpx wp-dependency setup\n\n# Create projects and build\nnpx wp-dependency setup:theme\nnpm run build\n```\n\n## Available Commands\n\n### CLI Commands\n- `wp-dependency setup` - Create monorepo structure\n- `wp-dependency setup:theme` - Create a new theme\n- `wp-dependency setup:plugin` - Create a new plugin\n\n### NPM Scripts (after setup)\n- `npm run build` - Build all themes and plugins\n- `npm run build:force` - Force rebuild (bypasses turbo cache)\n\n## Project Structure\n\nAfter setup, your WordPress installation will include:\n\n```\nyour-wordpress-site/\n├── package.json             # Monorepo configuration\n├── turbo.json               # Build orchestration\n├── composer.json            # PHP dependencies\n├── .eslintrc.json           # Code quality configs\n├── .stylelintrc.json\n├── .prettierrc\n├── phpcs.xml.dist\n├── wp-content/\n│   ├── themes/your-theme/   # Generated themes\n│   │   ├── src/             # Source files\n│   │   └── dist/            # Built assets\n│   └── plugins/your-plugin/ # Generated plugins\n│       ├── src/             # Source files\n│       └── dist/            # Built assets\n```\n\n## Safety Features\n\nThe setup includes automatic backup and safety options:\n\n- **Automatic backups** of existing config files\n- **`--dry-run`** - Preview changes without modifying files\n- **`--safe`** - Only create files that don't exist\n- **Recovery instructions** for restoring backups\n\n## Requirements\n\n- Node.js 14+ and npm\n- Existing WordPress installation\n- Standard WordPress directory structure (`wp-content/themes/`, `wp-content/plugins/`)\n\n## Documentation\n\n- **[DOCS.md](./docs/DOCS.md)** - Complete documentation, configuration details, and advanced usage\n- **[TEST.md](./docs/TEST.md)** - Test scenarios and validation procedures\n- **[REVIEW.md](./docs/REVIEW.md)** - Known limitations, hard-coded dependencies, and improvement areas\n\n## Known Issues\n\n**Build Cache Issues**: New themes/plugins may not build correctly on first attempt. Use `npm run build:force` to bypass cache and rebuild properly.\n\n## Contributing\n\nContributions welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) and review [REVIEW.md](./REVIEW.md) to understand current limitations.\n\n## License\n\nMIT License - see [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fwp-dependency-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroychaplin%2Fwp-dependency-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fwp-dependency-manager/lists"}