Skip to content

Releases: phase2/p2-theme-core

v11.0.0

14 Dec 00:16
Compare
Choose a tag to compare

v11.0.0

Release notes

  • All dependencies updated to latest minor versions
  • All npm audit fixs run

Breaking Changes

  • Drop support of Node 6

v10 Gulp stability

20 Dec 21:37
Compare
Choose a tag to compare

Update gulp commit to "gulp": "github:gulpjs/gulp#89acc5c"

v9 Gulp stability

20 Dec 21:38
88c725d
Compare
Choose a tag to compare

Update gulp to "gulp": "github:gulpjs/gulp#89acc5c"

gulp-inject lock, yml line width

30 Apr 23:15
Compare
Choose a tag to compare
  • Lock gulp-inject to 4.3.1
  • yml option enabled for default 80 character output
  • travis build tweaks to ensure npm5 and pattern-lab-starter (particle) v9

Lock gulp to pre-alpha.3

28 Dec 19:18
Compare
Choose a tag to compare
  • Lock gulp to commit prior to alpha.3 that breaks our use of gulp filesystem functions

Twig namespaces

28 Dec 19:16
Compare
Choose a tag to compare

Adding new patternLab.twigNamespaces functionality for more resilient and flexible include paths. Can now just do @molecules/filename.twig instead of @molecules/path/to/filename.twig. Injects config into Drupal theme file and Pattern Lab config file; requires both the Drupal Component Libraries module and the Pattern Lab Twig Namespaces plugin.

Example config:

patternLab: {
  twigNamespaces: {
    addToDrupalThemeFile: true,
    sets: ['base', 'atoms', 'molecules', 'organisms', 'templates', 'pages'].map((item, i) => ({
      namespace: item,
      paths: [`source/_patterns/0${i}-${item}`],
    }))
  }
},
drupal: {
  themeFile: 'patternlab.info.yml'
}

v9.2.2

28 Dec 19:15
Compare
Choose a tag to compare
  • Bower bundle renamed from bower_components.min.js to bower--deps.min.js - this only includes deps
  • bundleBower now outputs devDeps too as: bower--devDeps.min.js - this only includes devDeps

v9.2.0

28 Dec 19:14
Compare
Choose a tag to compare
  • Added ability to bundle all bower dependency JS files, uglify them, add sourcemaps and output to config.js.dest folder as bower_components.min.js. This is togglable by config.js.bundleBower and is set to true by default.