thinkful-ui
Advanced tools
Comparing version 0.1.8 to 0.2.0-alpha
{ | ||
"name": "thinkful-ui", | ||
"version": "0.1.8", | ||
"version": "0.2.0-alpha", | ||
"description": "Shared navigation and UI resources for Thinkful.", | ||
@@ -26,5 +26,4 @@ "main": "src/index.es6", | ||
"react": "^0.13.3", | ||
"remarkable-loader": "^0.1.0", | ||
"spark-md5": "0.0.5", | ||
"tfstyleguide": "^2.0.1" | ||
"tfstyleguide": "^2.1.0" | ||
}, | ||
@@ -36,14 +35,16 @@ "devDependencies": { | ||
"babel-runtime": "^5.4.7", | ||
"css-loader": "^0.13.1", | ||
"css-loader": "^0.14.4", | ||
"debug": "^2.2.0", | ||
"extract-text-webpack-plugin": "^0.8.0", | ||
"json-loader": "^0.5.1", | ||
"extract-text-webpack-plugin": "^0.8.1", | ||
"json-loader": "^0.5.2", | ||
"less": "^2.5.1", | ||
"less-loader": "^2.2.0", | ||
"node-libs-browser": "^0.5.2", | ||
"node-notifier": "^4.2.1", | ||
"react-hot-loader": "^1.2.7", | ||
"style-loader": "^0.12.2", | ||
"webpack": "^1.9.7", | ||
"webpack-dev-server": "^1.8.2" | ||
"remarkable-loader": "^0.1.0", | ||
"style-loader": "^0.12.3", | ||
"webpack": "^1.9.10", | ||
"webpack-dev-server": "^1.9.0" | ||
} | ||
} |
require('./app-bar.less'); | ||
module.exports = require('./Navigation'); | ||
module.exports = { | ||
AppBar: require('./Navigation') | ||
} |
@@ -83,2 +83,3 @@ const _ = require('lodash'); | ||
</ul> | ||
{user && | ||
<a className="app-nav-link app-nav-link__toggle" onClick={this.toggleMenu.bind(this)}> | ||
@@ -88,2 +89,3 @@ <span alt="Menu" className="app-nav-burger"></span> | ||
</a> | ||
} | ||
</nav> | ||
@@ -90,0 +92,0 @@ </div> |
'use strict'; | ||
var _ = require('lodash'); | ||
@@ -8,8 +7,7 @@ var path = require('path'); | ||
module.exports = function (options) { | ||
options = _.defaults({}, options, { | ||
__dirname: __dirname, | ||
displayName: 'TUI', | ||
entry: ['./client/index.jsx'], | ||
hotloadPort: process.env.HOTLOAD_PORT || 8888 | ||
entry: ['./client/index.es6'] | ||
}); | ||
@@ -46,7 +44,2 @@ | ||
var webpackConfig = { | ||
// Hotload Specific Config | ||
displayName: options.displayName, | ||
hotloadPort: options.hotloadPort, | ||
// Standard Webpack Config | ||
cache: true, | ||
@@ -69,6 +62,2 @@ devtool: 'source-map', | ||
'style', 'main.css', { disable: false, allChunks: true })], | ||
remarkable: { | ||
preset: 'full', | ||
html: true | ||
}, | ||
resolve: { | ||
@@ -78,3 +67,11 @@ extensions: ['', '.js', '.jsx', '.es', '.es6'], | ||
}, | ||
target: 'web' | ||
resolveLoader: { | ||
root: path.join(__dirname, 'node_modules')}, | ||
target: 'web', | ||
// Loader specific customization | ||
remarkable: { | ||
preset: 'full', | ||
html: true | ||
} | ||
}; | ||
@@ -81,0 +78,0 @@ |
@@ -8,5 +8,5 @@ 'use strict'; | ||
module.exports = function (webpackConfig) { | ||
var NAME = webpackConfig.displayName; | ||
var PORT = webpackConfig.hotloadPort; | ||
module.exports = function (webpackConfig, options) { | ||
var NAME = webpackConfig.displayName || options.displayName; | ||
var PORT = webpackConfig.hotloadPort || options.hotloadPort || 8888; | ||
var HOST = "http://localhost:" + PORT; | ||
@@ -13,0 +13,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5
1
28750
17
18
265
- Removedremarkable-loader@^0.1.0
- Removedargparse@1.0.10(transitive)
- Removedautolinker@0.28.1(transitive)
- Removedconcat-with-sourcemaps@1.1.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedgulp-header@1.8.12(transitive)
- Removedhighlight.js@8.9.1(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash.template@4.5.0(transitive)
- Removedlodash.templatesettings@4.2.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedremarkable@1.7.4(transitive)
- Removedremarkable-loader@0.1.0(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)
Updatedtfstyleguide@^2.1.0