webpack-cli
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -72,4 +72,4 @@ const path = require("path"); | ||
} else { | ||
const defaultConfigFiles = ["webpack.config", "webpackfile"]; | ||
const webpackConfigFileRegExp = `(${defaultConfigFiles.join("|")})(${extensions.join("|")})`; | ||
const defaultConfigFileNames = ["webpack.config", "webpackfile"].join("|"); | ||
const webpackConfigFileRegExp = `(${defaultConfigFileNames})(${extensions.join("|")})`; | ||
const pathToWebpackConfig = findup(webpackConfigFileRegExp); | ||
@@ -79,5 +79,7 @@ | ||
const resolvedPath = path.resolve(pathToWebpackConfig); | ||
const actualConfigFileName = path.basename(resolvedPath); | ||
const ext = actualConfigFileName.replace(new RegExp(defaultConfigFileNames), ""); | ||
configFiles.push({ | ||
path: resolvedPath, | ||
ext: resolvedPath.split(".").pop() | ||
ext, | ||
}); | ||
@@ -84,0 +86,0 @@ } |
@@ -0,1 +1,27 @@ | ||
<a name="3.2.1"></a> | ||
# 3.2.1 (2019-01-07) | ||
[Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.3...v3.2.1) | ||
## Chore | ||
* dependency: add `node-ts` as devDependency ([#724](https://github.com/webpack/webpack-cli/pull/724)) | ||
## Docs | ||
* scaffold: Add installation guide for packages/webpack-scaffold ([#727](https://github.com/webpack/webpack-cli/pull/727)) | ||
## Fix | ||
* bin: extension detection ([#724](https://github.com/webpack/webpack-cli/pull/724)) | ||
## Tests | ||
* bin: add `webpack.config.ts` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) | ||
* bin: add `.babelrc` to webpack-babel-config test ([#724](https://github.com/webpack/webpack-cli/pull/724)) | ||
* bin: add `webpack.config.babel.js` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) | ||
## Misc | ||
* replace opencollective with light vers ([848bf4b](https://github.com/webpack/webpack-cli/commit/848bf4b)) | ||
<a name="3.2.0"></a> | ||
@@ -2,0 +28,0 @@ # 3.2.0 (2019-01-03) |
{ | ||
"name": "webpack-cli", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "CLI for webpack & friends", | ||
@@ -46,3 +46,3 @@ "license": "MIT", | ||
"watch": "npm run build && tsc -w", | ||
"postinstall": "opencollective postinstall" | ||
"postinstall": "lightercollective" | ||
}, | ||
@@ -118,4 +118,4 @@ "husky": { | ||
"interpret": "^1.1.0", | ||
"lightercollective": "^0.1.0", | ||
"loader-utils": "^1.1.0", | ||
"opencollective": "^1.0.3", | ||
"supports-color": "^5.5.0", | ||
@@ -157,2 +157,3 @@ "v8-compile-cache": "^2.0.2", | ||
"ts-jest": "^23.10.4", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.11.0", | ||
@@ -167,5 +168,4 @@ "typedoc": "^0.13.0", | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/webpack", | ||
"logo": "https://opencollective.com/webpack/logo.txt" | ||
"url": "https://opencollective.com/webpack" | ||
} | ||
} |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
170964
3437
35
+ Addedlightercollective@^0.1.0
+ Addedlightercollective@0.1.0(transitive)
- Removedopencollective@^1.0.3
- Removedansi-escapes@1.4.0(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedbabel-polyfill@6.23.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedchardet@0.4.2(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedencoding@0.1.13(transitive)
- Removedexternal-editor@2.2.0(transitive)
- Removedfigures@2.0.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removediconv-lite@0.4.240.6.3(transitive)
- Removedinquirer@3.0.6(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedminimist@1.2.0(transitive)
- Removedmute-stream@0.0.7(transitive)
- Removednode-fetch@1.6.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonetime@2.0.1(transitive)
- Removedopencollective@1.0.3(transitive)
- Removedopn@4.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedregenerator-runtime@0.10.50.11.1(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrx@4.1.0(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtmp@0.0.33(transitive)