Merge pull request #8652 from edlinklater/patch-2

FIX incorrect composer module type
This commit is contained in:
Robbie Averill 2018-11-30 19:55:08 +01:00 committed by GitHub
commit f1170255cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ up by [addons.silverstripe.org](http://addons.silverstripe.org/) website due to
Note that SilverStripe modules have the following distinct characteristics: Note that SilverStripe modules have the following distinct characteristics:
- SilverStripe can hook in to the composer installation process by declaring `type: silverstripe/vendormodule`. - SilverStripe can hook in to the composer installation process by declaring `type: silverstripe-vendormodule`.
- Any folder which should be exposed to the public webroot must be declared in the `extra.expose` config. - Any folder which should be exposed to the public webroot must be declared in the `extra.expose` config.
These paths will be automatically rewritten to public urls which don't directly serve files from the `vendor` These paths will be automatically rewritten to public urls which don't directly serve files from the `vendor`
folder. For instance, `vendor/my-vendor/my-module/client` will be rewritten to folder. For instance, `vendor/my-vendor/my-module/client` will be rewritten to