Module scaffolding

88 views
Skip to first unread message

David Craig

unread,
Oct 30, 2015, 11:57:48 PM10/30/15
to SilverStripe Core Development
Hey. I've been messing around with Yeoman and made a SilverStripe module generator. Hopefully it's useful for people https://github.com/flashbackzoo/generator-silverstripe-module

Corey Sewell

unread,
Nov 1, 2015, 4:47:34 PM11/1/15
to SilverStripe Core Development
Very nice! Looks very useful

Nicolaas Thiemen Francken - Sunny Side Up

unread,
Nov 4, 2015, 2:53:00 PM11/4/15
to silverstripe-dev
Hi David


Cheers

Nicolaas

--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.



--
Nicolaas Thiemen Francken
  www.sunnysideup.co.nz
  phone: +64221697577

David Craig

unread,
Nov 5, 2015, 3:29:39 PM11/5/15
to SilverStripe Core Development, n...@sunnysideup.co.nz
Hey Nicolaas. No it won't be on addons because it's not a composer package. I don't think I'll make it composer package because it wouldn't make sense to composer install it as a module. So it will just be an npm package at this stage. You raise a interesting point though - it would be cool to have a place for non-composer SilverStripe modules and utilities to live...

Corey Sewell

unread,
Nov 5, 2015, 5:38:10 PM11/5/15
to SilverStripe Core Development, n...@sunnysideup.co.nz
It would be good to have a page of addons for Silverstripe which are not a module or theme. 
In the meantime, I would suggest mentioning your generator in the How to Publish a SilverStripe module or Modules documentation. You can edit and submit a pull request here for the Publish page and here for the Modules page

Mike

unread,
Nov 8, 2015, 3:32:27 AM11/8/15
to SilverStripe Core Development, n...@sunnysideup.co.nz
I think it should still appear as a developer tool (via search?) on addons.silverstripe.org, rather then having a separate place for other addons that don't use composer.

It would be good to get discussion going about how to handle tools like this more broadly on addons to make them easily available to everyone. Are there any other cases of tools which don't use composer and should really appear there?

David Craig

unread,
Nov 8, 2015, 4:35:55 AM11/8/15
to SilverStripe Core Development
There's a few other bits and pieces on npm - this for example https://github.com/jeffwhitfield/shipit-silverstripe

The number of SilverStripe modules on npm will increase if the whole ReactJS thing goes ahead. But there's not much at this stage.

Nicolaas Thiemen Francken - Sunny Side Up

unread,
Nov 8, 2015, 2:21:30 PM11/8/15
to silverstripe-dev
On 8 November 2015 at 21:32, Mike <mand...@gmail.com> wrote:
I think it should still appear as a developer tool (via search?) on addons.silverstripe.org, rather then having a separate place for other addons that don't use composer.

​+1​
 

Cam Findlay

unread,
Nov 17, 2015, 8:17:11 PM11/17/15
to SilverStripe Core Development
I whipped this up at the last hackfest too https://github.com/silverstripe/silverstripe-module

allows you to start a module quickly with 

composer create-project silverstripe/module module-name


Still needs some good default travis and scrutinizer setups and perhaps considering moving the docs about the module skeleton to the wiki and writing a post-install script to clean up and make the composer.json ready to roll for packagist submission. If you fancy improving fire a PR though.


On Saturday, 31 October 2015 16:57:48 UTC+13, David Craig wrote:

Marcus Nyeholt

unread,
Nov 20, 2015, 2:46:28 PM11/20/15
to silverst...@googlegroups.com
Should that be

composer create-project silverstripe-module/skeleton

?

(silverstripe/module fails) 

Cam Findlay

unread,
Nov 20, 2015, 5:41:42 PM11/20/15
to SilverStripe Core Development
Cheers Marcus, corrected in the docs.


On Saturday, 21 November 2015 08:46:28 UTC+13, Marcus Nyeholt wrote:
Should that be

composer create-project silverstripe-module/skeleton

?

(silverstripe/module fails) 
On Wed, Nov 18, 2015 at 12:17 PM, Cam Findlay <c...@silverstripe.com> wrote:
I whipped this up at the last hackfest too https://github.com/silverstripe/silverstripe-module

allows you to start a module quickly with 

composer create-project silverstripe/module module-name


Still needs some good default travis and scrutinizer setups and perhaps considering moving the docs about the module skeleton to the wiki and writing a post-install script to clean up and make the composer.json ready to roll for packagist submission. If you fancy improving fire a PR though.


On Saturday, 31 October 2015 16:57:48 UTC+13, David Craig wrote:
Hey. I've been messing around with Yeoman and made a SilverStripe module generator. Hopefully it's useful for people https://github.com/flashbackzoo/generator-silverstripe-module

--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-dev+unsubscribe@googlegroups.com.
To post to this group, send email to silverstripe-dev@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages