From bfcb6770099c5b0d4dc041cb36bdf51ebcbbcefb Mon Sep 17 00:00:00 2001 From: Andrew Aitken-Fincham Date: Wed, 21 Mar 2018 16:02:19 +0000 Subject: [PATCH 1/2] Update 4.1.0.md Add the `"type": "silverstripe-recipe"` line that is required as per https://github.com/silverstripe/vendor-plugin/issues/4 --- docs/en/04_Changelogs/4.1.0.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/en/04_Changelogs/4.1.0.md b/docs/en/04_Changelogs/4.1.0.md index 53cd05c55..ba75f63cf 100644 --- a/docs/en/04_Changelogs/4.1.0.md +++ b/docs/en/04_Changelogs/4.1.0.md @@ -170,6 +170,16 @@ to the web server, you can also use the composer.json `expose` directive to syml } ``` +You will also need to set your project `type` to `silverstripe-recipe` like so: + +**composer.json** (in project root) + +```json +{ + "type": "silverstripe-recipe" +} +``` + Then run the composer helper `composer vendor-expose` in your project root. This will symlink (or copy) the `mysite/client` directory to `public/resources/mysite/client`. From b82b1b26fe7628f91f573f9a731ea03081dfda68 Mon Sep 17 00:00:00 2001 From: Andrew Aitken-Fincham Date: Wed, 21 Mar 2018 16:20:09 +0000 Subject: [PATCH 2/2] Update 4.1.0.md Update to reflect `silverstripe-*` restriction, rather than just recipe --- docs/en/04_Changelogs/4.1.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/04_Changelogs/4.1.0.md b/docs/en/04_Changelogs/4.1.0.md index ba75f63cf..92f047f5f 100644 --- a/docs/en/04_Changelogs/4.1.0.md +++ b/docs/en/04_Changelogs/4.1.0.md @@ -170,13 +170,13 @@ to the web server, you can also use the composer.json `expose` directive to syml } ``` -You will also need to set your project `type` to `silverstripe-recipe` like so: +You will also need to set your project `type` to `silverstripe-something`, for example `silverstripe-project` like so: **composer.json** (in project root) ```json { - "type": "silverstripe-recipe" + "type": "silverstripe-project" } ```