diff --git a/.travis.yml b/.travis.yml index 40c6ef772..e019fca93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ before_install: before_script: - npm install -g lerna@3.2.1 - - npm run bootstrap + - npm run setup - lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core - lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core - lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core diff --git a/package.json b/package.json index 54127ff3a..41b945d51 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,8 @@ "private": true, "scripts": { "bootstrap": "lerna bootstrap", + "setup": "npm run bootstrap && npm run build:uikit", + "build:uikit": "lerna exec --scope @pattern-lab/uikit-workshop -- npm run build", "precommit": "pretty-quick --staged", "prettier": "prettier --config .prettierrc --write ./**/*.js", "test": "lerna run test", diff --git a/packages/uikit-workshop/.patternlabrc.js b/packages/uikit-workshop/.patternlabrc.js new file mode 100644 index 000000000..2eaa244c1 --- /dev/null +++ b/packages/uikit-workshop/.patternlabrc.js @@ -0,0 +1,5 @@ +// .rc config file allowing users to customize folder locations, etc that are wired up to be configurable in the build process (via cosmic config) -- this example lives in the root of UIKit however can live in a higher-level parent as part of your project's config! + +module.exports = { + // buildDir: '../../../www/pattern-lab', +} \ No newline at end of file diff --git a/packages/uikit-workshop/dist/index.html b/packages/uikit-workshop/dist/index.html index c63d63f16..0e41f8578 100644 --- a/packages/uikit-workshop/dist/index.html +++ b/packages/uikit-workshop/dist/index.html @@ -1,8 +1,402 @@ -