Closed koraysels closed 2 years ago
@koraysels we are currently in the process of combining this repo with https://github.com/WebDevStudios/nextjs-wordpress-starter into a monorepo. As part of that effort, we are splitting this headless theme into separate plugins, with the intention that those plugins will be available for installation via Composer. Our goal is to have this process complete within the next month.
@koraysels the first phase of the monorepo is complete, splitting the former theme into a smaller theme and several plugins, all available via Composer. Please see the updated docs for installation instructions: https://webdevstudios.github.io/nextjs-wordpress-starter/docs/backend/index#option-2-via-composer.
Specifically, you'll need to add the following to composer.json
(depending on which dependencies you need for your project):
"repositories": {
...
"wds-headless-acf": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-acf",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-acf.zip"
}
}
},
"wds-headless-algolia": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-algolia",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-algolia.zip"
}
}
},
"wds-headless-blocks": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-blocks",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-blocks.zip"
}
}
},
"wds-headless-core": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-core",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-core.zip"
}
}
},
"wds-headless-gravityforms": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-gravityforms",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-gravityforms.zip"
}
}
},
"wds-headless-seo": {
"type": "package",
"package": {
"type": "wordpress-plugin",
"name": "wds/wds-headless-seo",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-seo.zip"
}
}
},
"wds-headless-theme": {
"type": "package",
"package": {
"type": "wordpress-theme",
"name": "wds/wds-headless-theme",
"version": "1.0.0",
"dist": {
"type": "zip",
"url": "https://nextjs.wpengine.com/downloads/wds-headless-theme.zip"
}
}
}
},
...
"extra": {
"installer-paths": {
"plugins/{$name}/": [
"type:wordpress-plugin"
],
"themes/{$name}/": [
"type:wordpress-theme"
]
}
},
...
"require": {
"wds/wds-headless-acf": "^1.0.0",
"wds/wds-headless-algolia": "^1.0.0",
"wds/wds-headless-blocks": "^1.0.0",
"wds/wds-headless-core": "^1.0.0",
"wds/wds-headless-gravityforms": "^1.0.0",
"wds/wds-headless-seo": "^1.0.0",
"wds/wds-headless-theme": "^1.0.0",
}
hi, we use bedrock as our wordpress stack because it enables easy deployments and dependency management trought capistrano and composer respectively.
I would like to install this theme using composer .. is that possible ?