Remove libsass as a dependency
libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Backports PR #9192
**Commit 1:**
Migrate UI Framework source into Kibana.
- Add dependencies to package.json.
- Add task for building UI Framework docs and serving locally.
- Import UI Framework scss from autoload/styles.js instead of importing the CSS in base.less.
* Original sha: de3f34f8d5
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-22T22:27:11Z
**Commit 2:**
Refactor UI Framework directory structure.
* Original sha: 4e54844577
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-05T23:03:01Z
**Commit 3:**
Remove babel-polyfill.
* Original sha: 43854bccc4
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-05T23:47:42Z
**Commit 4:**
Fix typos and include SCSS synchronously.
* Original sha: fe5bab1d81
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-10T00:33:17Z
**Commit 5:**
Update with latest changes to UI Framework.
* Original sha: a44140a59d
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-13T01:47:09Z
---------
**Commit 1:**
[tests/functional] auto-rebuild assets in test:ui:server task
While working on some functional tests I had to re-run the `test:ui:server` task several times to rebuild the front-end assets. I'm not sure why that should be necessary, so this updates the server used in that specific task to auto-rebuild the assets.
* Original sha: ea303935a1
* Authored by spalger <email@spalger.com> on 2016-09-19T20:15:04Z
---------
**Commit 1:**
fixes plugin path in .gitignore
* Original sha: f74eb9b4cb
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:40:21Z
**Commit 2:**
Moves version from plugin installer to utils
* Original sha: ae492ff066
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:41:19Z
**Commit 3:**
Adds plugin version check to kibana startup
* Original sha: 83d0821054
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:41:40Z
**Commit 4:**
Changes plugin version to 'kibana' in text fixture
* Original sha: 922c04abe6
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T19:07:09Z
**Commit 5:**
Merge branch 'master' into check-plugin-version-on-startup
* Original sha: 5da33adfdb
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T14:45:01Z
**Commit 6:**
review changes to check_version
* Original sha: 2802410573
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T16:53:28Z
**Commit 7:**
reworked logic to remove config when deleting a plugin from plugin_collection
* Original sha: 2f52be62ae
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T20:11:43Z
**Commit 8:**
Adds a kibanaVersion property to the Plugin class
* Original sha: e920bca051
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T21:04:41Z
**Commit 9:**
move enabled check into it's own mixin, and cleaned up how you disable a plugin
* Original sha: 049c029764
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-16T17:22:47Z
---------
**Commit 1:**
Ignore .out files.
Some built-in commands use it for default output (e.g. nohup), and it can be useful to have a handle for temp output.
* Original sha: 6db5d4e317
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-09-08T16:50:04Z
Currently, `npm start` and `npm run test:dev` use the same webpack "working directory". This allows them to share assets, which seems great, but when webpack writes it's record-keeping files to disk it can lead to difficult to debug "Property call of undefined is not a function" errors. By writing it's optimization output to a different directory we prevent those collisions so that both the test server and the dev server can be run side-by-side
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
Babel needs a path to write its cache, which it automatically places to $HOME or tmp if
$HOME is not defined. This causes problems when the $HOME directory is not writable or
we just do not want to write to such a central location. So This moves the cache to the
project directory by setting the BABEL_CACHE_PATH environment variable.