Skip to content

Commit de93971

Browse files
Updated example in about page
1 parent d212aec commit de93971

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/views/site/about.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"uid": 1000600,
2727
"name": "bower-asset/moment",
2828
"version": "2.13.0.0",
29+
"type": "bower-asset",
2930
"dist": {
3031
"type": "zip",
3132
"url": "https://api.github.com/repos/moment/moment/zipball/d6651c21c6131fbb5db891b60971357739015688",
@@ -48,18 +49,17 @@
4849
<p>Asset Packagist is NOT a plugin so it can't affect where the package will be installed.<br>
4950
By default <code>bower-asset/bootstrap</code> package will be installed to <code>vendor/bower-asset/bootstrap</code> folder.</p>
5051

51-
<p>But you can achieve installing to custom path with <code><a href="https://github.com/oomphinc/composer-installers-extender">oomphinc/composer-installers-extender</a></code> plugin like this:</p>
52+
<p>But you can achieve installing to custom path with <code><a href="https://github.com/composer/installers">composer/installers</a></code> plugin like this:</p>
5253
<pre><code>
5354
"require": {
54-
"oomphinc/composer-installers-extender": "*",
55+
"composer/installers": "~1.0",
5556
"bower-asset/bootstrap": "^3.3",
5657
"npm-asset/jquery": "^2.2"
5758
},
5859
"extra": {
59-
"installer-types": ["library"],
6060
"installer-paths": {
61-
"public/assets/bower/{$name}/": ["bower-asset/bootstrap"],
62-
"public/assets/npm/{$name}/": ["npm-asset/jquery"]
61+
"public/assets/bower/{$name}/": ["type:bower-asset"],
62+
"public/assets/npm/{$name}/": ["type:npm-asset"]
6363
}
6464
},
6565
"repositories": [

0 commit comments

Comments
 (0)