Comparing version 0.1.12 to 0.1.14
@@ -24,3 +24,3 @@ "use strict"; | ||
_a[pkg.name] = config, | ||
_a) | ||
_a), | ||
}; | ||
@@ -48,3 +48,3 @@ } | ||
options.dllBuildDir = options.dllBuildDir || 'build/dll'; | ||
options.backendUrl = options.backendUrl || "http://{ip}:8080/graphql"; | ||
options.backendUrl = options.backendUrl || 'http://{ip}:8080/graphql'; | ||
options.webpackDevPort = options.webpackDevPort || 3000; | ||
@@ -51,0 +51,0 @@ options.webpackDll = options.webpackDll !== undefined ? options.webpackDll : true; |
@@ -49,3 +49,3 @@ "use strict"; | ||
} | ||
var spin = new Spin_1.default(process.argv, config.builders, config.options, overrides.dependencyPlatforms || {}); | ||
var spin = new Spin_1.default(cmd, config.builders, config.options, overrides.dependencyPlatforms || {}); | ||
for (var name in config.builders) { | ||
@@ -52,0 +52,0 @@ var builder = config.builders[name]; |
@@ -13,4 +13,4 @@ /// <reference types="webpack" /> | ||
depPlatforms: any; | ||
constructor(argv: string[], builders: any, options: any, depPlatforms: any); | ||
constructor(cmd: any, builders: any, options: any, depPlatforms: any); | ||
merge(config: Configuration, overrides: any): Configuration; | ||
} |
@@ -5,4 +5,4 @@ "use strict"; | ||
var Spin = (function () { | ||
function Spin(argv, builders, options, depPlatforms) { | ||
this.cmd = argv[2]; | ||
function Spin(cmd, builders, options, depPlatforms) { | ||
this.cmd = cmd; | ||
this.dev = this.cmd === 'watch' || this.cmd === 'test'; | ||
@@ -9,0 +9,0 @@ this.test = this.cmd === 'test'; |
@@ -1,2 +0,2 @@ | ||
declare const _default: any; | ||
export default _default; | ||
declare const testConfig: any; | ||
export default testConfig; |
@@ -5,3 +5,4 @@ "use strict"; | ||
var config = createConfig_1.default('test').builders; | ||
exports.default = config[Object.keys(config)[0]].config; | ||
var testConfig = config[Object.keys(config)[0]].config; | ||
exports.default = testConfig; | ||
//# sourceMappingURL=webpack.config.js.map |
{ | ||
"name": "spinjs", | ||
"version": "0.1.12", | ||
"version": "0.1.14", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "compile": "tsc", |
@@ -23,4 +23,4 @@ import * as fs from 'fs'; | ||
builders: { | ||
[pkg.name]: config | ||
} | ||
[pkg.name]: config, | ||
}, | ||
}; | ||
@@ -51,3 +51,3 @@ } | ||
options.dllBuildDir = options.dllBuildDir || 'build/dll'; | ||
options.backendUrl = options.backendUrl || "http://{ip}:8080/graphql"; | ||
options.backendUrl = options.backendUrl || 'http://{ip}:8080/graphql'; | ||
options.webpackDevPort = options.webpackDevPort || 3000; | ||
@@ -54,0 +54,0 @@ options.webpackDll = options.webpackDll !== undefined ? options.webpackDll : true; |
@@ -44,3 +44,3 @@ import * as fs from 'fs'; | ||
} | ||
const spin = new Spin(process.argv, config.builders, config.options, overrides.dependencyPlatforms || {}); | ||
const spin = new Spin(cmd, config.builders, config.options, overrides.dependencyPlatforms || {}); | ||
@@ -47,0 +47,0 @@ for (let name in config.builders) { |
@@ -13,4 +13,4 @@ import * as merge from 'webpack-merge'; | ||
constructor(argv: string[], builders, options, depPlatforms) { | ||
this.cmd = argv[2]; | ||
constructor(cmd, builders, options, depPlatforms) { | ||
this.cmd = cmd; | ||
this.dev = this.cmd === 'watch' || this.cmd === 'test'; | ||
@@ -17,0 +17,0 @@ this.test = this.cmd === 'test'; |
import createConfig from './createConfig'; | ||
const config = createConfig('test').builders; | ||
const testConfig = config[Object.keys(config)[0]].config; | ||
export default config[Object.keys(config)[0]].config; | ||
// console.log("test config:", require('util').inspect(testConfig, false, null)); | ||
export default testConfig; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
289791
4605