Skip to content

Commit daa3e98

Browse files
authored
Merge pull request #3 from manudss/copyfiles
build: use copyFiles to copy readme
2 parents 71f0792 + dfa951d commit daa3e98

File tree

3 files changed

+65
-8
lines changed

3 files changed

+65
-8
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ define your mocks by return a fake observable, with your mock data.
199199
0.7.x
200200

201201
-> Add a mock feature.
202+
-> Update dependency to latest
203+
202204

203205
### Source and issues
204206

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "ng lint",
1010
"e2e": "ng e2e",
1111
"build_lib": "ng build ngx-http-annotations && npm run copy-readme",
12-
"copy-readme": "cp .\\README.md .\\dist\\ngx-http-annotations",
12+
"copy-readme": "copyfiles ./README.md ./dist/ngx-http-annotations",
1313
"npm_pack": "cd dist/ngx-http-annotations && npm pack",
1414
"package": "npm run build_lib && npm run npm_pack",
1515
"publish": "cd dist/ngx-http-annotations && npm publish"
@@ -39,6 +39,7 @@
3939
"@types/jasminewd2": "~2.0.3",
4040
"@types/node": "^12.11.1",
4141
"codelyzer": "^5.1.2",
42+
"copyfiles": "^2.2.0",
4243
"jasmine-core": "~2.99.1",
4344
"jasmine-spec-reporter": "~4.2.1",
4445
"karma": "~1.7.1",

yarn.lock

Lines changed: 61 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ ansi-styles@^2.2.1:
14201420
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
14211421
integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=
14221422

1423-
ansi-styles@^3.2.1:
1423+
ansi-styles@^3.2.0, ansi-styles@^3.2.1:
14241424
version "3.2.1"
14251425
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
14261426
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
@@ -2404,6 +2404,15 @@ cliui@^4.0.0:
24042404
strip-ansi "^4.0.0"
24052405
wrap-ansi "^2.0.0"
24062406

2407+
cliui@^5.0.0:
2408+
version "5.0.0"
2409+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
2410+
integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==
2411+
dependencies:
2412+
string-width "^3.1.0"
2413+
strip-ansi "^5.2.0"
2414+
wrap-ansi "^5.1.0"
2415+
24072416
clone-deep@^4.0.1:
24082417
version "4.0.1"
24092418
resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387"
@@ -2712,6 +2721,18 @@ [email protected]:
27122721
serialize-javascript "^2.1.2"
27132722
webpack-log "^2.0.0"
27142723

2724+
copyfiles@^2.2.0:
2725+
version "2.2.0"
2726+
resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.2.0.tgz#d9fc6c06f299337fb7eeb7ea5887e9d7188d9d47"
2727+
integrity sha512-iJbHJI+8OKqsq+4JF0rqgRkZzo++jqO6Wf4FUU1JM41cJF6JcY5968XyF4tm3Kkm7ZOMrqlljdm8N9oyY5raGw==
2728+
dependencies:
2729+
glob "^7.0.5"
2730+
minimatch "^3.0.3"
2731+
mkdirp "^0.5.1"
2732+
noms "0.0.0"
2733+
through2 "^2.0.1"
2734+
yargs "^13.2.4"
2735+
27152736
core-js-compat@^3.6.0:
27162737
version "3.6.4"
27172738
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.4.tgz#938476569ebb6cda80d339bcf199fae4f16fff17"
@@ -4138,7 +4159,7 @@ [email protected]:
41384159
once "^1.3.0"
41394160
path-is-absolute "^1.0.0"
41404161

4141-
glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
4162+
glob@^7.0.3, glob@^7.0.5, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
41424163
version "7.1.6"
41434164
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
41444165
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
@@ -6211,6 +6232,14 @@ node-sass-tilde-importer@^1.0.0:
62116232
dependencies:
62126233
find-parent-dir "^0.3.0"
62136234

6235+
6236+
version "0.0.0"
6237+
resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859"
6238+
integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=
6239+
dependencies:
6240+
inherits "^2.0.1"
6241+
readable-stream "~1.0.31"
6242+
62146243
normalize-package-data@^2.0.0, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0:
62156244
version "2.5.0"
62166245
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
@@ -7554,7 +7583,7 @@ readable-stream@^3.0.6:
75547583
string_decoder "^1.1.1"
75557584
util-deprecate "^1.0.1"
75567585

7557-
readable-stream@~1.0.2:
7586+
readable-stream@~1.0.2, readable-stream@~1.0.31:
75587587
version "1.0.34"
75597588
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
75607589
integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=
@@ -8557,7 +8586,7 @@ string-width@^2.0.0, string-width@^2.1.1:
85578586
is-fullwidth-code-point "^2.0.0"
85588587
strip-ansi "^4.0.0"
85598588

8560-
string-width@^3.0.0:
8589+
string-width@^3.0.0, string-width@^3.1.0:
85618590
version "3.1.0"
85628591
resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
85638592
integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==
@@ -8624,7 +8653,7 @@ strip-ansi@^4.0.0:
86248653
dependencies:
86258654
ansi-regex "^3.0.0"
86268655

8627-
strip-ansi@^5.1.0, strip-ansi@^5.2.0:
8656+
strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
86288657
version "5.2.0"
86298658
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
86308659
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
@@ -8823,7 +8852,7 @@ terser@^4.1.2, terser@^4.3.8, terser@^4.4.3:
88238852
source-map "~0.6.1"
88248853
source-map-support "~0.5.12"
88258854

8826-
through2@^2.0.0:
8855+
through2@^2.0.0, through2@^2.0.1:
88278856
version "2.0.5"
88288857
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
88298858
integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==
@@ -9563,6 +9592,15 @@ wrap-ansi@^2.0.0:
95639592
string-width "^1.0.1"
95649593
strip-ansi "^3.0.1"
95659594

9595+
wrap-ansi@^5.1.0:
9596+
version "5.1.0"
9597+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
9598+
integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==
9599+
dependencies:
9600+
ansi-styles "^3.2.0"
9601+
string-width "^3.0.0"
9602+
strip-ansi "^5.0.0"
9603+
95669604
wrappy@1:
95679605
version "1.0.2"
95689606
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -9682,7 +9720,7 @@ yargs-parser@^11.1.1:
96829720
camelcase "^5.0.0"
96839721
decamelize "^1.2.0"
96849722

9685-
yargs-parser@^13.0.0:
9723+
yargs-parser@^13.0.0, yargs-parser@^13.1.2:
96869724
version "13.1.2"
96879725
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38"
96889726
integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==
@@ -9725,6 +9763,22 @@ [email protected]:
97259763
y18n "^4.0.0"
97269764
yargs-parser "^13.0.0"
97279765

9766+
yargs@^13.2.4:
9767+
version "13.3.2"
9768+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd"
9769+
integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==
9770+
dependencies:
9771+
cliui "^5.0.0"
9772+
find-up "^3.0.0"
9773+
get-caller-file "^2.0.1"
9774+
require-directory "^2.1.1"
9775+
require-main-filename "^2.0.0"
9776+
set-blocking "^2.0.0"
9777+
string-width "^3.0.0"
9778+
which-module "^2.0.0"
9779+
y18n "^4.0.0"
9780+
yargs-parser "^13.1.2"
9781+
97289782
97299783
version "0.1.2"
97309784
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"

0 commit comments

Comments
 (0)