Skip to content

Commit

Permalink
Refactor UI Framework directory structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Dec 5, 2016
1 parent de3f34f commit 4e54844
Show file tree
Hide file tree
Showing 56 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ selenium
*.swp
*.swo
*.out
src/ui_framework/public/*.js*
src/ui_framework/doc_site/build/*.js*
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"mocha": "mocha",
"mocha:debug": "mocha --debug-brk",
"sterilize": "grunt sterilize",
"uiFramework:start": "./node_modules/.bin/webpack-dev-server --config src/ui_framework/webpack.config.js --hot --inline --content-base src/ui_framework/public/"
"uiFramework:start": "webpack-dev-server --config src/ui_framework/doc_site/webpack.config.js --hot --inline --content-base src/ui_framework/doc_site/build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -92,6 +92,7 @@
"babel": "5.8.38",
"babel-core": "5.8.38",
"babel-loader": "5.3.2",
"babel-polyfill": "6.9.1",
"babel-runtime": "5.8.38",
"bluebird": "2.9.34",
"body-parser": "1.12.0",
Expand Down Expand Up @@ -218,7 +219,6 @@
"nock": "8.0.0",
"node-sass": "3.8.0",
"npm": "3.10.8",
"numeral": "1.5.3",
"portscanner": "1.0.0",
"proxyquire": "1.7.10",
"react": "15.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/autoload/styles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Kibana UI Framework
require('../../../ui_framework/src/framework/framework.scss');
require('../../../ui_framework/components/index.scss');

// All Kibana styles inside of the /styles dir
const context = require.context('../styles', false, /[\/\\](?!mixins|variables|_|\.)[^\/\\]+\.less/);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ $inputBorderColor--darkTheme: $inputBackgroundColor--darkTheme;
}
}

@import "components/local_nav/index";
@import "local_nav/index";
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@import "../framework/framework";
@import "../../components/index";
@import "./views/app";
@import "./components/guide_code_viewer/guide_code_viewer";
@import "./components/guide_nav/guide_nav";
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ module.exports = {
devtool: 'source-map',

entry: {
guide: './src/ui_framework/src/guide/index.js'
guide: './src/ui_framework/doc_site/src/index.js'
},

output: {
path: path.resolve(__dirname, 'src/ui_framework/public'),
path: path.resolve(__dirname, 'src/ui_framework/doc_site/build'),
filename: 'bundle.js'
},

resolve: {
root: [
path.resolve(__dirname, 'src/ui_framework/src')
path.resolve(__dirname, 'src/ui_framework/doc_site')
]
},

Expand Down

0 comments on commit 4e54844

Please sign in to comment.