Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Sep 8, 2020
1 parent a872f3e commit d149644
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 36 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Glob or path from where we copy files.
- cacheTransform: compiler.options.cache,
- globOptions: {
- dot: true,
- gitignore: true,
- ignore: ['.gitkeep']
- }
- }
Expand All @@ -62,7 +61,6 @@ Glob or path from where we copy files.
- noErrorOnMissing: true,
- globOptions: {
- dot: true,
- gitignore: true,
- ignore: ['.gitkeep']
- }
- }
Expand Down
3 changes: 2 additions & 1 deletion lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ function baseConfig(cache) {
cacheTransform: cache,
globOptions: {
dot: true,
gitignore: true,
// TODO: https://github.com/sindresorhus/globby/issues/145
// gitignore: true,
ignore: ['.gitkeep'],
},
};
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "copy-webpack",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple `copy-webpack-plugin`",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -36,12 +36,12 @@
},
"devDependencies": {
"@nice-move/cli": "^0.4.8",
"@nice-move/eslint-config-base": "^0.3.9",
"@nice-move/eslint-config-base": "^0.3.11",
"@nice-move/prettier-config": "^0.3.2",
"ava": "^3.12.1",
"eslint": "^6.8.0",
"eslint-plugin-ava": "^10.5.0",
"husky": "^4.2.5",
"husky": "^4.3.0",
"prettier": "^2.1.1",
"webpack": "^4.44.1"
},
Expand Down
3 changes: 0 additions & 3 deletions test/parse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ test('single', (t) => {
from: 'static',
globOptions: {
dot: true,
gitignore: true,
ignore: ['.gitkeep'],
},
},
Expand All @@ -55,7 +54,6 @@ test('multiple', (t) => {
from: 'static',
globOptions: {
dot: true,
gitignore: true,
ignore: ['.gitkeep'],
},
},
Expand All @@ -65,7 +63,6 @@ test('multiple', (t) => {
noErrorOnMissing: true,
globOptions: {
dot: false,
gitignore: true,
ignore: ['.gitkeep'],
},
},
Expand Down
43 changes: 16 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
replace-in-file "^6.1.0"
yarn-deduplicate "^3.0.0"

"@nice-move/eslint-config-base@^0.3.9":
version "0.3.9"
resolved "https://registry.npm.taobao.org/@nice-move/eslint-config-base/download/@nice-move/eslint-config-base-0.3.9.tgz#2050f2cb734aa3ead5a4d4ee36aede0a3a6236b8"
integrity sha1-IFDyy3NKo+rVpNTuNq7eCjpiNrg=
"@nice-move/eslint-config-base@^0.3.11":
version "0.3.11"
resolved "https://registry.npm.taobao.org/@nice-move/eslint-config-base/download/@nice-move/eslint-config-base-0.3.11.tgz#d726a1c70636c08284accca979ffdab972e654a2"
integrity sha1-1yahxwY2wIKErMypef/auXLmVKI=
dependencies:
eslint-config-airbnb-base "^14.2.0"
eslint-config-prettier "^6.11.0"
eslint-plugin-html "^6.0.3"
eslint-plugin-html "^6.1.0"
eslint-plugin-import "^2.22.0"
eslint-plugin-markdown "^2.0.0-rc.0"
eslint-plugin-node "^11.1.0"
Expand Down Expand Up @@ -1378,17 +1378,6 @@ core-util-is@~1.0.0:
resolved "https://registry.npm.taobao.org/core-util-is/download/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=

cosmiconfig@^6.0.0:
version "6.0.0"
resolved "https://registry.npm.taobao.org/cosmiconfig/download/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982"
integrity sha1-2k/uhTxS9rHmk19BwaL8UL1KmYI=
dependencies:
"@types/parse-json" "^4.0.0"
import-fresh "^3.1.0"
parse-json "^5.0.0"
path-type "^4.0.0"
yaml "^1.7.2"

cosmiconfig@^7.0.0:
version "7.0.0"
resolved "https://registry.npm.taobao.org/cosmiconfig/download/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3"
Expand Down Expand Up @@ -1900,10 +1889,10 @@ eslint-plugin-es@^3.0.0:
eslint-utils "^2.0.0"
regexpp "^3.0.0"

eslint-plugin-html@^6.0.3:
version "6.0.3"
resolved "https://registry.npm.taobao.org/eslint-plugin-html/download/eslint-plugin-html-6.0.3.tgz#8d9d2c187d1a48ed78d84f45e29820f102425e51"
integrity sha1-jZ0sGH0aSO142E9F4pgg8QJCXlE=
eslint-plugin-html@^6.1.0:
version "6.1.0"
resolved "https://registry.npm.taobao.org/eslint-plugin-html/download/eslint-plugin-html-6.1.0.tgz#0e0d4845d4b3eb6e199652385e272f7b722673db"
integrity sha1-Dg1IRdSz624ZllI4Xicve3Imc9s=
dependencies:
htmlparser2 "^4.1.0"

Expand Down Expand Up @@ -2704,15 +2693,15 @@ human-signals@^1.1.1:
resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M=

husky@^4.2.5:
version "4.2.5"
resolved "https://registry.npm.taobao.org/husky/download/husky-4.2.5.tgz#2b4f7622673a71579f901d9885ed448394b5fa36"
integrity sha1-K092Imc6cVefkB2Yhe1Eg5S1+jY=
husky@^4.3.0:
version "4.3.0"
resolved "https://registry.npm.taobao.org/husky/download/husky-4.3.0.tgz#0b2ec1d66424e9219d359e26a51c58ec5278f0de"
integrity sha1-Cy7B1mQk6SGdNZ4mpRxY7FJ48N4=
dependencies:
chalk "^4.0.0"
ci-info "^2.0.0"
compare-versions "^3.6.0"
cosmiconfig "^6.0.0"
cosmiconfig "^7.0.0"
find-versions "^3.2.0"
opencollective-postinstall "^2.0.2"
pkg-dir "^4.2.0"
Expand Down Expand Up @@ -2752,7 +2741,7 @@ ignore@^5.1.1, ignore@^5.1.4:
resolved "https://registry.npm.taobao.org/ignore/download/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"
integrity sha1-8VCotQo0KJsz4i9YiavU2AFvDlc=

import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1:
import-fresh@^3.0.0, import-fresh@^3.2.1:
version "3.2.1"
resolved "https://registry.npm.taobao.org/import-fresh/download/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66"
integrity sha1-Yz/2GFBueTr1rJG/SLcmd+FcvmY=
Expand Down Expand Up @@ -5904,7 +5893,7 @@ yallist@^4.0.0:
resolved "https://registry.npm.taobao.org/yallist/download/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
integrity sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=

yaml@^1.10.0, yaml@^1.7.2:
yaml@^1.10.0:
version "1.10.0"
resolved "https://registry.npm.taobao.org/yaml/download/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e"
integrity sha1-O1k63ZRIdgd9TWg/7gEIG9n/8x4=
Expand Down

0 comments on commit d149644

Please sign in to comment.