Comparing version 0.4.133 to 0.4.134
@@ -97,3 +97,5 @@ "use strict"; | ||
? builder.cache | ||
: typeof builder.cache !== 'undefined' ? builder.cache : 'auto'; | ||
: typeof builder.cache !== 'undefined' | ||
? builder.cache | ||
: 'auto'; | ||
builder.plugins = this.plugins.concat((builder.plugins || []).map(function (pluginName) { return new (require(pluginName))(); })); | ||
@@ -100,0 +102,0 @@ } |
@@ -5,3 +5,3 @@ "use strict"; | ||
var requireRelative = require("require-relative"); | ||
exports.default = function (cwd) { | ||
exports.default = (function (cwd) { | ||
var require = function (name, relativeTo) { return requireModule(name, relativeTo || cwd); }; | ||
@@ -12,3 +12,3 @@ require.resolve = function (name, relativeTo) { return requireModule.resolve(name, relativeTo || cwd); }; | ||
return require; | ||
}; | ||
}); | ||
var requireModule = function (name, relativeTo) { | ||
@@ -15,0 +15,0 @@ return name.indexOf('.') !== 0 ? requireRelative(name, relativeTo) : require(path.join(relativeTo, name)); |
@@ -7,3 +7,3 @@ "use strict"; | ||
var logger = minilog('spin'); | ||
exports.default = function (cwd, configPath, builderName) { | ||
exports.default = (function (cwd, configPath, builderName) { | ||
var builder; | ||
@@ -30,3 +30,3 @@ try { | ||
return builder.config; | ||
}; | ||
}); | ||
//# sourceMappingURL=createWebpackConfig.js.map |
@@ -58,3 +58,3 @@ "use strict"; | ||
}; | ||
exports.default = function (pkg, packageJsonPath) { | ||
exports.default = (function (pkg, packageJsonPath) { | ||
if (!isJsApp(pkg)) { | ||
@@ -106,3 +106,3 @@ return undefined; | ||
var _a; | ||
}; | ||
}); | ||
//# sourceMappingURL=inferConfig.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
var logger = minilog("init"); | ||
exports.default = function () { | ||
exports.default = (function () { | ||
var questions = [ | ||
@@ -35,3 +35,3 @@ { | ||
}); | ||
}; | ||
}); | ||
//# sourceMappingURL=init.js.map |
@@ -284,3 +284,5 @@ "use strict"; | ||
? builder.devProxy | ||
: builder.backendUrl ? "http://localhost:" + url.parse(builder.backendUrl).port : "http://localhost:8080"; | ||
: builder.backendUrl | ||
? "http://localhost:" + url.parse(builder.backendUrl).port | ||
: "http://localhost:8080"; | ||
config.devServer.proxy = { | ||
@@ -287,0 +289,0 @@ '!/*.hot-update.{json,js}': { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var path = require("path"); | ||
exports.default = function (rootPath, relPath) { | ||
exports.default = (function (rootPath, relPath) { | ||
if (relPath === void 0) { relPath = '.'; } | ||
@@ -17,3 +17,3 @@ var paths = []; | ||
return paths; | ||
}; | ||
}); | ||
//# sourceMappingURL=upDirs.js.map |
{ | ||
"name": "spinjs", | ||
"version": "0.4.133", | ||
"version": "0.4.134", | ||
"main": "lib/index.js", | ||
@@ -9,3 +9,3 @@ "scripts": { | ||
"watch": "tsc -w", | ||
"lint": "tslint --fix -p tsconfig.json --type-check", | ||
"lint": "tslint --fix -p tsconfig.json -c tslint.json", | ||
"tests": " ", | ||
@@ -57,6 +57,2 @@ "test": "yarn tests && yarn lint", | ||
"dependencies": { | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-flow": "^6.23.0", | ||
"babel-register": "^6.26.0", | ||
"connect-cors": "^0.5.6", | ||
@@ -68,3 +64,2 @@ "containerized": "^1.0.2", | ||
"humps": "^2.0.1", | ||
"inquirer": "^3.3.0", | ||
"ip": "^1.1.5", | ||
@@ -71,0 +66,0 @@ "lodash": "^4.17.4", |
@@ -87,3 +87,5 @@ import * as fs from 'fs'; | ||
? builder.cache | ||
: typeof builder.cache !== 'undefined' ? builder.cache : 'auto'; | ||
: typeof builder.cache !== 'undefined' | ||
? builder.cache | ||
: 'auto'; | ||
builder.plugins = this.plugins.concat((builder.plugins || []).map(pluginName => new (require(pluginName))())); | ||
@@ -90,0 +92,0 @@ } |
@@ -52,3 +52,3 @@ import * as path from 'path'; | ||
use: [{ loader: 'graphql-tag/loader', options: spin.createConfig(builder, 'graphqlTag', {}) }].concat( | ||
persistGraphQL ? ['persistgraphql-webpack-plugin/graphql-loader'] : [] as any[] | ||
persistGraphQL ? ['persistgraphql-webpack-plugin/graphql-loader'] : ([] as any[]) | ||
) | ||
@@ -55,0 +55,0 @@ } |
@@ -103,3 +103,3 @@ import { Builder } from '../Builder'; | ||
postCssLoader && !nodeModules | ||
? { | ||
? ({ | ||
loader: postCssLoader, | ||
@@ -111,3 +111,3 @@ options: spin.createConfig( | ||
) | ||
} as any | ||
} as any) | ||
: [] | ||
@@ -176,3 +176,3 @@ ) | ||
postCssLoader && !nodeModules | ||
? { | ||
? ({ | ||
loader: postCssLoader, | ||
@@ -184,3 +184,3 @@ options: spin.createConfig( | ||
) | ||
} as any | ||
} as any) | ||
: [] | ||
@@ -187,0 +187,0 @@ ) |
@@ -368,3 +368,5 @@ import * as ip from 'ip'; | ||
? builder.devProxy | ||
: builder.backendUrl ? `http://localhost:${url.parse(builder.backendUrl).port}` : `http://localhost:8080`; | ||
: builder.backendUrl | ||
? `http://localhost:${url.parse(builder.backendUrl).port}` | ||
: `http://localhost:8080`; | ||
config.devServer.proxy = { | ||
@@ -371,0 +373,0 @@ '!/*.hot-update.{json,js}': { |
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
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
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
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
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
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
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
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
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
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
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
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
17
6944
414689
- Removedbabel-polyfill@^6.26.0
- Removedbabel-preset-env@^1.6.1
- Removedbabel-preset-flow@^6.23.0
- Removedbabel-register@^6.26.0
- Removedinquirer@^3.3.0
- Removedansi-escapes@3.2.0(transitive)
- Removedansi-styles@2.2.13.2.1(transitive)
- Removedbabel-code-frame@6.26.0(transitive)
- Removedbabel-core@6.26.3(transitive)
- Removedbabel-generator@6.26.1(transitive)
- Removedbabel-helper-builder-binary-assignment-operator-visitor@6.24.1(transitive)
- Removedbabel-helper-call-delegate@6.24.1(transitive)
- Removedbabel-helper-define-map@6.26.0(transitive)
- Removedbabel-helper-explode-assignable-expression@6.24.1(transitive)
- Removedbabel-helper-function-name@6.24.1(transitive)
- Removedbabel-helper-get-function-arity@6.24.1(transitive)
- Removedbabel-helper-hoist-variables@6.24.1(transitive)
- Removedbabel-helper-optimise-call-expression@6.24.1(transitive)
- Removedbabel-helper-regex@6.26.0(transitive)
- Removedbabel-helper-remap-async-to-generator@6.24.1(transitive)
- Removedbabel-helper-replace-supers@6.24.1(transitive)
- Removedbabel-helpers@6.24.1(transitive)
- Removedbabel-messages@6.23.0(transitive)
- Removedbabel-plugin-check-es2015-constants@6.22.0(transitive)
- Removedbabel-plugin-syntax-async-functions@6.13.0(transitive)
- Removedbabel-plugin-syntax-exponentiation-operator@6.13.0(transitive)
- Removedbabel-plugin-syntax-flow@6.18.0(transitive)
- Removedbabel-plugin-syntax-trailing-function-commas@6.22.0(transitive)
- Removedbabel-plugin-transform-async-to-generator@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-arrow-functions@6.22.0(transitive)
- Removedbabel-plugin-transform-es2015-block-scoped-functions@6.22.0(transitive)
- Removedbabel-plugin-transform-es2015-block-scoping@6.26.0(transitive)
- Removedbabel-plugin-transform-es2015-classes@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-computed-properties@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-destructuring@6.23.0(transitive)
- Removedbabel-plugin-transform-es2015-duplicate-keys@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-for-of@6.23.0(transitive)
- Removedbabel-plugin-transform-es2015-function-name@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-literals@6.22.0(transitive)
- Removedbabel-plugin-transform-es2015-modules-amd@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-modules-commonjs@6.26.2(transitive)
- Removedbabel-plugin-transform-es2015-modules-systemjs@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-modules-umd@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-object-super@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-parameters@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-shorthand-properties@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-spread@6.22.0(transitive)
- Removedbabel-plugin-transform-es2015-sticky-regex@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-template-literals@6.22.0(transitive)
- Removedbabel-plugin-transform-es2015-typeof-symbol@6.23.0(transitive)
- Removedbabel-plugin-transform-es2015-unicode-regex@6.24.1(transitive)
- Removedbabel-plugin-transform-exponentiation-operator@6.24.1(transitive)
- Removedbabel-plugin-transform-flow-strip-types@6.22.0(transitive)
- Removedbabel-plugin-transform-regenerator@6.26.0(transitive)
- Removedbabel-plugin-transform-strict-mode@6.24.1(transitive)
- Removedbabel-polyfill@6.26.0(transitive)
- Removedbabel-preset-env@1.7.0(transitive)
- Removedbabel-preset-flow@6.23.0(transitive)
- Removedbabel-register@6.26.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-template@6.26.0(transitive)
- Removedbabel-traverse@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedbabylon@6.18.0(transitive)
- Removedbrowserslist@3.2.8(transitive)
- Removedcaniuse-lite@1.0.30001672(transitive)
- Removedchalk@1.1.32.4.2(transitive)
- Removedchardet@0.4.2(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddetect-indent@4.0.0(transitive)
- Removedelectron-to-chromium@1.5.47(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedesutils@2.0.3(transitive)
- Removedexternal-editor@2.2.0(transitive)
- Removedfigures@2.0.0(transitive)
- Removedglobals@9.18.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhome-or-tmp@2.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinquirer@3.3.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedjs-tokens@3.0.2(transitive)
- Removedjsesc@0.5.01.3.0(transitive)
- Removedjson5@0.5.1(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedmute-stream@0.0.7(transitive)
- Removedonetime@2.0.1(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedprivate@0.1.8(transitive)
- Removedregenerate@1.4.2(transitive)
- Removedregenerator-runtime@0.10.50.11.1(transitive)
- Removedregenerator-transform@0.10.1(transitive)
- Removedregexpu-core@2.0.0(transitive)
- Removedregjsgen@0.2.0(transitive)
- Removedregjsparser@0.1.5(transitive)
- Removedrepeating@2.0.1(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrx-lite@4.0.8(transitive)
- Removedrx-lite-aggregates@4.0.8(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedslash@1.0.0(transitive)
- Removedsupports-color@2.0.05.5.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtmp@0.0.33(transitive)
- Removedto-fast-properties@1.0.3(transitive)
- Removedtrim-right@1.0.1(transitive)