Skip to content

Make all paths configurable #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dmolsen opened this issue May 17, 2016 · 1 comment
Open

Make all paths configurable #35

dmolsen opened this issue May 17, 2016 · 1 comment

Comments

@dmolsen
Copy link
Member

dmolsen commented May 17, 2016

patternDir needs to be added as a config option and as an installable path for composer.json.

@EvanLovely
Copy link
Member

PL Node's settings has this that should be emulated:

{
  "paths" : {
        "source" : {
          "root": "./source/",
          "patterns" : "./source/_patterns/",
          "data" : "./source/_data/",
          "meta": "./source/_meta/",
          "annotations" : "./source/_annotations/",
          "styleguide" : "./node_modules/styleguidekit-assets-default/dist/",
          "patternlabFiles" : "./node_modules/styleguidekit-mustache-default/views/",
          "js" : "./source/js",
          "images" : "./source/images",
          "fonts" : "./source/fonts",
          "css" : "./source/css/"
        },
        "public" : {
          "root" : "./public/",
          "patterns" : "./public/patterns/",
          "data" : "./public/styleguide/data/",
          "annotations" : "./public/annotations/",
          "styleguide" : "./public/styleguide/",
          "js" : "./public/js",
          "images" : "./public/images",
          "fonts" : "./public/fonts",
          "css" : "./public/css"
        }
      }
}

As long as pre-existing installs don't break, there's no reason we should wait until 3.x.

@EvanLovely EvanLovely changed the title Add support for patternDir Make all paths configurable Nov 2, 2017
@EvanLovely EvanLovely removed their assignment Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants