Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

travix-ui-kit

Package Overview
Dependencies
Maintainers
5
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

travix-ui-kit - npm Package Compare versions

Comparing version 0.6.8 to 0.6.9

_site/build/0.86dc4ff8.js

47

builder/builder.js

@@ -10,2 +10,17 @@ const path = require('path');

const defaultOutputThemeFile = path.join(__dirname, '..', 'dist', 'theme.css');
function buildTheme(builder, themeFiles) {
return builder.build(themeFiles);
}
function buildThemeCSS(builder, themeFiles, output) {
return buildTheme(builder, themeFiles)
.then(result => outputFile(output, result));
}
function buildThemeJS(builder, themeFiles, output) {
return buildTheme(builder, themeFiles)
.then(result => outputFile(output, `window.TravixTheme = ${JSON.stringify(result)};`));
}
/**

@@ -38,2 +53,11 @@ * Triggers the build process.

const outputThemeJs = path.join(
path.dirname(output),
`${path.basename(output, path.extname(output))}.js`
);
const builderJS = themeBuilder({
format: 'jsflat',
prefix: 'tx',
});
if (watch) {

@@ -43,13 +67,18 @@ builder.watch(themeFiles, (result) => {

});
builderJS.watch(themeFiles, (result) => {
outputFile(outputThemeJs, `window.TravixTheme = ${JSON.stringify(result)};`);
});
}
return builder.build(themeFiles)
.then(result => outputFile(output, result))
.then(() => runWebpackAndCopyFilesToFinalDestination({
cssDir,
jsDir,
watch,
webpackConfig,
webpackNodeEnv: { 'process.env.NODE_ENV': environment },
}));
return Promise.all([
buildThemeCSS(builder, themeFiles, output),
buildThemeJS(builderJS, themeFiles, outputThemeJs),
]).then(() => runWebpackAndCopyFilesToFinalDestination({
cssDir,
jsDir,
watch,
webpackConfig,
webpackNodeEnv: { 'process.env.NODE_ENV': environment },
}));
};
# Change Log
## [v0.6.8](https://github.com/Travix-International/travix-ui-kit/tree/v0.6.8) (2017-06-29)
[Full Changelog](https://github.com/Travix-International/travix-ui-kit/compare/v0.6.7...v0.6.8)
**Fixed bugs:**
- Modal component is still rendered \(although transparent\) after closed by clicking on overlay [\#109](https://github.com/Travix-International/travix-ui-kit/issues/109)
**Merged pull requests:**
- Change SlidingPanel to use the refs [\#116](https://github.com/Travix-International/travix-ui-kit/pull/116) ([mAiNiNfEcTiOn](https://github.com/mAiNiNfEcTiOn))
## [v0.6.7](https://github.com/Travix-International/travix-ui-kit/tree/v0.6.7) (2017-06-28)

@@ -4,0 +15,0 @@ [Full Changelog](https://github.com/Travix-International/travix-ui-kit/compare/v0.6.6...v0.6.7)

2

package.json
{
"name": "travix-ui-kit",
"version": "0.6.8",
"version": "0.6.9",
"description": "Travix UI kit",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc