Skip to content

Commit

Permalink
fix: don't copy legacy files into dist
Browse files Browse the repository at this point in the history
* chore(build): remove unnecessary copy of src/internal

Fixes #263

* chore: 🤖 update yarn.lock
  • Loading branch information
pizzafroide authored and streamich committed Nov 29, 2018
1 parent 1590fb8 commit ab8ffbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"scripts": {
"clean": "rimraf lib types",
"build": "tsc -p . && cpy src/internal lib/internal",
"build": "tsc -p .",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
Expand All @@ -32,7 +32,6 @@
"devDependencies": {
"@types/jest": "23.3.10",
"@types/node": "10.12.10",
"cpy-cli": "2.0.0",
"jest": "21.2.1",
"rimraf": "2.6.2",
"semantic-release": "15.12.3",
Expand Down
51 changes: 1 addition & 50 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1268,35 +1268,6 @@ cosmiconfig@^5.0.6:
js-yaml "^3.9.0"
parse-json "^4.0.0"

cp-file@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-6.0.0.tgz#f38477ece100b403fcf780fd34d030486beb693e"
integrity sha512-OtHMgPugkgwHlbph25wlMKd358lZNhX1Y2viUpPoFmlBPlEiPIRhztYWha11grbGPnlM+urp5saVmwsChCIOEg==
dependencies:
graceful-fs "^4.1.2"
make-dir "^1.0.0"
nested-error-stacks "^2.0.0"
pify "^3.0.0"
safe-buffer "^5.0.1"

cpy-cli@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/cpy-cli/-/cpy-cli-2.0.0.tgz#13f1528a231605c52ee7b7f74848e4be82253274"
integrity sha512-LzrtY3lBWvFZcw4lXgkEbbDUd7y78juC3C5l7gj3UyezMEZF0Be9fjCVLN1HoZAzdMDeC3KHehWpHBJvgVAPkw==
dependencies:
cpy "^7.0.0"
meow "^5.0.0"

cpy@^7.0.0:
version "7.0.1"
resolved "https://registry.yarnpkg.com/cpy/-/cpy-7.0.1.tgz#d817e4d81bd7f0f25ff812796c5f1392dc0fb485"
integrity sha512-Zo52tXKLJcgy/baacn6KaNoRAakkl2wb+R4u6qJ4wlD0uchncwRQcIk66PlGlkzuToCJO6A6PWX27Tdwc8LU2g==
dependencies:
arrify "^1.0.1"
cp-file "^6.0.0"
globby "^8.0.1"
nested-error-stacks "^2.0.0"

create-error-class@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6"
Expand Down Expand Up @@ -3766,21 +3737,6 @@ meow@^4.0.0:
redent "^2.0.0"
trim-newlines "^2.0.0"

meow@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4"
integrity sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==
dependencies:
camelcase-keys "^4.0.0"
decamelize-keys "^1.0.0"
loud-rejection "^1.0.0"
minimist-options "^3.0.1"
normalize-package-data "^2.3.4"
read-pkg-up "^3.0.0"
redent "^2.0.0"
trim-newlines "^2.0.0"
yargs-parser "^10.0.0"

merge2@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.2.tgz#03212e3da8d86c4d8523cebd6318193414f94e34"
Expand Down Expand Up @@ -4042,11 +3998,6 @@ nerf-dart@^1.0.0:
resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a"
integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo=

nested-error-stacks@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61"
integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==

nice-try@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.4.tgz#d93962f6c52f2c1558c0fbda6d512819f1efe1c4"
Expand Down Expand Up @@ -6562,7 +6513,7 @@ yallist@^3.0.0, yallist@^3.0.2:
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9"
integrity sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=

yargs-parser@10.x, yargs-parser@^10.0.0, yargs-parser@^10.1.0:
yargs-parser@10.x, yargs-parser@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8"
integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==
Expand Down

0 comments on commit ab8ffbb

Please sign in to comment.