Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

Make all paths configurable #35

Description

@dmolsen

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

Activity

  1. self-assigned this
    on May 17, 2016
  2. EvanLovely commented on Oct 12, 2017

    @EvanLovely
    Contributor

    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.

  3. changed the title [-]Add support for patternDir[/-] [+]Make all paths configurable[/+] on Nov 2, 2017
  4. removed their assignment
    on Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions