Skip to content

WIP: Added composer to theme. Added 'asset-packagist'.#34

Open
hog-seruj wants to merge 1 commit into8.x-7.xfrom
theme-composer
Open

WIP: Added composer to theme. Added 'asset-packagist'.#34
hog-seruj wants to merge 1 commit into8.x-7.xfrom
theme-composer

Conversation

@hog-seruj
Copy link
Copy Markdown
Collaborator

@hog-seruj hog-seruj commented Aug 29, 2017

@hog-seruj hog-seruj changed the title Added composer to theme. Added 'asset-packagist'. WIP: Added composer to theme. Added 'asset-packagist'. Aug 29, 2017
Copy link
Copy Markdown
Contributor

@andypost andypost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of unneeded chages

Comment thread STARTERKIT/composer.json
@@ -0,0 +1,35 @@
{
"name": "drupal/skilld-zen",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name should be skilld-labs/zen as repo

Comment thread STARTERKIT/composer.lock
@@ -0,0 +1,267 @@
{
"_readme": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not commit lock file in starterkit

Comment thread STARTERKIT/composer.json
"require": {
"oomphinc/composer-installers-extender": "^1.1",
"fxp/composer-asset-plugin": "~1.3",
"npm-asset/slick-carousel": "^1.7"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure that carousel is required?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, because in all projects we install this librarie and write base configuration for it. Also will be ok to add FontAwesome or another font with icons.

Comment thread STARTERKIT/composer.json
"npm-asset"
],
"installer-paths": {
"libraries/{$name}": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need libraries folder and not just vendor ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to our theme structure all libraries stacked in folder 'libraries'.

Comment thread STARTERKIT/composer.json
],
"authors": [
{
"name": "HOG",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that better set it to 'skilld'

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NP. I'll change it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants