Skip to content

Commit

Permalink
Merge pull request #29 from adrexia/feature/vendor
Browse files Browse the repository at this point in the history
FIX: Move module to vendor directory
  • Loading branch information
benmanu authored Jun 25, 2018
2 parents c233f44 + 58c699b commit b1e6cf1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions code/controllers/StyleGuideController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ public function setService($name, $paths = null) {
public function setRequirements() {

// styleguide requirements
Requirements::css(STYLEGUIDE_BASE . '/dist/css/screen.css');
Requirements::javascript(STYLEGUIDE_BASE . '/dist/js/core.js');
Requirements::css( 'benmanu/silverstripe-styleguide: dist/css/screen.css');
Requirements::javascript('benmanu/silverstripe-styleguide: dist/js/core.js');
Requirements::javascript($this->config()->prettify_url);

// theme requirements
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "benmanu/silverstripe-styleguide",
"description": "Generates a styleguide for a SilverStripe theme",
"type": "silverstripe-module",
"type": "silverstripe-vendormodule",
"homepage": "https://github.com/benmanu/silverstripe-styleguide",
"keywords": ["silverstripe", "styleguide", "kss"],
"support": {
Expand All @@ -14,14 +14,17 @@
}
],
"require": {
"silverstripe/framework": "4.x-dev",
"silverstripe/framework": "^4",
"symfony/finder": "~2.8",
"erusev/parsedown": "1.6.0"
},
"require-dev": {
"phpunit/PHPUnit": "~3.7@stable"
},
"extra": {
"installer-name": "styleguide"
"installer-name": "styleguide",
"expose": [
"dist"
]
}
}

0 comments on commit b1e6cf1

Please sign in to comment.