Skip to content

Commit

Permalink
feat: remove pre-built uikit dist folder and switch to auto-building …
Browse files Browse the repository at this point in the history
…when bootstrapping OR when publishing to NPM
  • Loading branch information
sghoweri committed Oct 12, 2019
1 parent fcbb970 commit b5dd553
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 43 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
},
"private": true,
"scripts": {
"postinstall": "npm run bootstrap",
"bootstrap": "lerna bootstrap",
"setup": "npm install && npm run build:uikit",
"postinstall": "lerna run postbootstrap",
"setup": "yarn",
"build:uikit": "cd packages/uikit-workshop && npm run build",
"precommit": "pretty-quick --staged",
"lint:fix": "npm run lint -- --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/uikit-workshop/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ src/bower_components/*
.sass-cache/*
.DS_Store
/.eslintignore
dist
6 changes: 0 additions & 6 deletions packages/uikit-workshop/dist/index.html

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions packages/uikit-workshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "Front-end assets and templates for the default Pattern Lab workshop view",
"main": "gulpfile.js",
"scripts": {
"prepublish": "npm run build",
"postbootstrap": "npm run build",
"build": "webpack-cli --config webpack.config.js --progress --bail --display=minimal",
"watch": "webpack-cli --config webpack.config.js --progress --watch --display=minimal",
"test": "npm run build"
Expand Down

0 comments on commit b5dd553

Please sign in to comment.