Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4.4 #124

Merged
merged 304 commits into from Mar 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
a7f6416
Merge remote-tracking branch 'origin/stable'
bdistin Jul 7, 2017
8625773
update deps
bdistin Jul 16, 2017
01c52e8
Docs build: c94706278e9c45a54bed6f280c1b62466d3cbe41
bdistin Jul 16, 2017
ccb92b5
Docs build: 01c52e8c4d195c30b4eb4fe242970cde79a6d7f6
bdistin Jul 16, 2017
21de27f
Add Greenkeeper badge 🌴 (#15)
greenkeeper[bot] Jul 17, 2017
f9e536b
Fix travis deploy
bdistin Jul 17, 2017
5ce41a2
Docs build: 21de27fb68c853b1a8b5d3884de0a76504217f20
bdistin Jul 17, 2017
2bd3443
update eslint
bdistin Jul 21, 2017
291133e
Merge remote-tracking branch 'origin/master'
bdistin Jul 21, 2017
39e4515
Update README.md
bdistin Jul 27, 2017
779390e
Docs build: 39e4515a722ca1270bfbd455a195def289d81ef0
bdistin Jul 27, 2017
57b6528
code cleanup
bdistin Jul 29, 2017
e1f8556
Fix typo (#16)
kyranet Aug 5, 2017
988ca7f
Docs build: e1f855619c43b870cd12d20f90098f69a97349a3
bdistin Aug 5, 2017
1876e5c
fix util mkDir
bdistin Aug 29, 2017
011f8b7
Merge remote-tracking branch 'origin/master'
bdistin Aug 29, 2017
8c684fa
Docs build: 011f8b74ec618b0bcb29d23c6987766596f6fbe9
bdistin Aug 29, 2017
fc8857a
Fix copy error
bdistin Aug 29, 2017
ecbc91e
0.2.1
bdistin Aug 29, 2017
29fb5da
Copy file (#18)
bdistin Sep 22, 2017
fb12a50
Docs build: 29fb5da6294b703ca6e7424ba4caf2e245b16a9f
bdistin Sep 22, 2017
8e9399d
update readme
bdistin Sep 22, 2017
83dc519
Merge branch 'stable'
bdistin Sep 22, 2017
1e4d023
Docs build: 83dc519c5f933a08803bf127595d6d4242fbf757
bdistin Sep 22, 2017
eb98f8a
Merge branch 'stable'
bdistin Sep 22, 2017
09ca702
Coverage (#21)
bdistin Oct 6, 2017
eaaa542
Update README.md
bdistin Oct 6, 2017
1f542a0
More unit tests (#22)
bdistin Oct 6, 2017
aa0eaf7
update npm ignore for prepping patch release
bdistin Oct 6, 2017
ed94389
0.3.1
bdistin Oct 6, 2017
df4ab7a
Merge remote-tracking branch 'origin/stable'
bdistin Oct 6, 2017
e3b8499
Remove mock-fs since it's not used anymore
bdistin Oct 13, 2017
f19e800
Scan (#24)
bdistin Oct 18, 2017
2d38a62
0.3.2
bdistin Oct 18, 2017
28d5753
Merge remote-tracking branch 'origin/stable'
bdistin Oct 18, 2017
cbddc53
Fixed some types (#27)
kyranet Nov 11, 2017
167a2dc
chore(package): update ava to version 0.23.0 (#26)
greenkeeper[bot] Nov 11, 2017
92a318b
Add matrix testing support
bdistin Nov 18, 2017
1342f7b
Add node 9 testing to coverage
bdistin Nov 18, 2017
07a2031
uh, you skipped 8...
bdistin Nov 18, 2017
47aed72
try again travis
bdistin Nov 18, 2017
d5a29ac
?? travis you there?
bdistin Nov 18, 2017
0dd4f52
update lint
bdistin Feb 9, 2018
2fbfc79
chore(package): update ava to version 0.25.0 (#28)
greenkeeper[bot] Feb 9, 2018
683c943
chore(package): update ava to version 0.25.0 (#29)
bdistin Feb 9, 2018
d44a4fa
fix broken test?
bdistin Feb 9, 2018
db67977
Fixed typings (#30)
tech6hutch Apr 15, 2018
1be9dcf
add fs/promises support if your node version is high enough
bdistin Apr 20, 2018
1677738
bump version and add note to readme
bdistin Apr 21, 2018
842aaa1
Merge branch 'stable'
bdistin Apr 21, 2018
a4b3ced
add node 10 tests to travis
bdistin Apr 24, 2018
3a2d526
fix broken test?
bdistin Apr 24, 2018
e213b08
Merge remote-tracking branch 'origin/master'
bdistin Apr 24, 2018
b6576a2
try again?
bdistin Apr 24, 2018
72e1c64
bump package.json
bdistin Apr 24, 2018
6112039
Merge remote-tracking branch 'origin/stable'
bdistin Apr 24, 2018
78186c3
fix some docs
bdistin May 1, 2018
03d21db
chore(package): update codacy-coverage to version 3.0.0 (#34)
greenkeeper[bot] May 1, 2018
fa4a8e8
more bugged docs
bdistin May 1, 2018
c91932e
Update @types/node to the latest version 🚀 (#36)
greenkeeper[bot] May 8, 2018
0fc0ee0
fix lint warnings and fix fs.promises use for node ^10.1.0
bdistin May 27, 2018
941a7c8
Merge remote-tracking branch 'origin/master'
bdistin May 27, 2018
e5c1036
Merge remote-tracking branch 'origin/stable'
bdistin May 27, 2018
50583a6
chore(package): update @types/node to version 10.1.3 (#39)
bdistin May 27, 2018
c9a36de
chore(package): update nyc to version 12.0.1 (#41)
greenkeeper[bot] Aug 1, 2018
9edba58
Update README.md
bdistin Aug 1, 2018
8bff9d9
Update typescript requirement to ^3.0.1 (#45)
dependabot[bot] Aug 1, 2018
ff64d7f
Update eslint requirement to ^5.2.0 (#46)
dependabot[bot] Aug 1, 2018
7049a8c
docs: Improved typings and docs (#43)
kyranet Aug 1, 2018
a2b94ba
bump version for release
bdistin Aug 1, 2018
003b48e
Merge remote-tracking branch 'origin/stable'
bdistin Aug 1, 2018
ab26b3a
fix alias `writeJsonAtomic` (#49)
kyranet Aug 3, 2018
16729cb
bump version for release
bdistin Aug 3, 2018
38f2793
Merge branch 'stable'
bdistin Aug 3, 2018
bab8a0d
Update nyc requirement from ^12.0.1 to ^13.0.1 (#51)
dependabot[bot] Sep 19, 2018
932f578
Update scan.js
bdistin Sep 26, 2018
01a7c37
Chore(deps-dev): update ava requirement from ^0.25.0 to ^1.0.1 (#53)
dependabot[bot] Dec 17, 2018
1afe969
use yarn.lock for dependabot, add node 11 tests (#54)
bdistin Dec 17, 2018
9e59275
refactor copy to be less complex (#55)
bdistin Dec 17, 2018
30a5e45
bump patch for new release
bdistin Dec 17, 2018
e95ca9a
Merge remote-tracking branch 'origin/stable'
bdistin Dec 17, 2018
040357b
switch from codacy to coveralls
bdistin Dec 17, 2018
f4c8142
better test coverage
bdistin Dec 17, 2018
847dfb5
typos
bdistin Dec 17, 2018
ba3c966
add another test case
bdistin Dec 17, 2018
ff5cfeb
another test
bdistin Dec 17, 2018
508843e
more tests
bdistin Dec 17, 2018
5f549e1
fix expected assertions
bdistin Dec 17, 2018
49f04de
more tests
bdistin Dec 17, 2018
b0625c0
lint
bdistin Dec 17, 2018
455d751
badge updates
bdistin Dec 17, 2018
ea20af9
attempt ignoring all windows specific code
bdistin Dec 17, 2018
128dfe4
wrong path ignored
bdistin Dec 17, 2018
89a0a55
updated comments
bdistin Dec 17, 2018
8f7ad31
see if this makes a branch difference
bdistin Dec 17, 2018
3bc141d
more clear logic/ comments
bdistin Dec 17, 2018
4d3032a
lint
bdistin Dec 17, 2018
d0112a5
util coverage comments
bdistin Dec 17, 2018
7ebf90b
remove duplicate coercion
bdistin Dec 17, 2018
c2eddd3
refactor then/catch tree into try/catch await
bdistin Dec 17, 2018
e1f4da5
lint
bdistin Dec 17, 2018
a57b539
docs spelling
bdistin Dec 17, 2018
5eede96
more tests and docs fixes
bdistin Dec 18, 2018
ca836f4
maybe fix coverage ignore?
bdistin Dec 18, 2018
f288e9c
add appveyor config (#57)
bdistin Dec 18, 2018
be309eb
add proper ignores back to the new move
bdistin Dec 18, 2018
8659490
remove other clobber options
bdistin Dec 18, 2018
75b00e5
refactor util
bdistin Dec 18, 2018
70a0bcd
better isSrcKid
bdistin Dec 18, 2018
35cd7ce
fix bad refactor
bdistin Dec 18, 2018
5cff80a
another copy test
bdistin Dec 18, 2018
5f7e7da
and another
bdistin Dec 18, 2018
3a4e686
another obscure test
bdistin Dec 18, 2018
eb3279e
bit of rewrite
bdistin Dec 19, 2018
a4f5dbc
better coverage
bdistin Dec 19, 2018
7f32f95
does this change how coverage sees branches?
bdistin Dec 19, 2018
070e543
?
bdistin Dec 19, 2018
c103c9c
more rewrite
bdistin Dec 19, 2018
1e2d91c
symlink test
bdistin Dec 19, 2018
dda64b4
does this get that last symlink branch?
bdistin Dec 19, 2018
848aaa7
whoops
bdistin Dec 19, 2018
bdcbc44
one last obscure test
bdistin Dec 19, 2018
050f9f8
fix duplicate title
bdistin Dec 19, 2018
9c77ce3
correction
bdistin Dec 19, 2018
3a2242b
Bump tslint from 5.11.0 to 5.12.0
dependabot-support Dec 19, 2018
75e00d7
Merge pull request #58 from bdistin/dependabot/npm_and_yarn/tslint-5.…
dependabot[bot] Dec 19, 2018
827475e
Bump @types/node from 10.12.15 to 10.12.17
dependabot-support Dec 19, 2018
ff03e3f
Merge pull request #59 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Dec 19, 2018
12f0b57
Merge remote-tracking branch 'origin/master'
bdistin Dec 19, 2018
cdf5baa
coverage
bdistin Dec 19, 2018
91e7db8
or actually
bdistin Dec 19, 2018
4ed41fb
fix superfluous argument
bdistin Dec 19, 2018
b0e6e3c
clobber removed
bdistin Dec 19, 2018
99caf02
make prs report coverage too (#60)
bdistin Dec 19, 2018
1b98e0c
Bump @types/node from 10.12.17 to 10.12.18
dependabot-support Dec 20, 2018
cc67f71
Merge pull request #61 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Dec 20, 2018
365d71b
Bump eslint from 5.10.0 to 5.11.0
dependabot-support Dec 24, 2018
6581831
Merge pull request #62 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Dec 24, 2018
79b847a
Bump eslint from 5.11.0 to 5.11.1
dependabot-support Dec 27, 2018
943db25
Merge pull request #63 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Dec 27, 2018
abd9b0b
consistent errors
bdistin Dec 27, 2018
31cce1b
ensure strict returns and consistency sweep
bdistin Dec 27, 2018
cf79523
fix return type
bdistin Dec 27, 2018
919f2d9
fix coverage
bdistin Dec 27, 2018
9aeb1fa
more simplification
bdistin Dec 27, 2018
50ca86a
whoops
bdistin Dec 27, 2018
228ea33
remove useless return
bdistin Dec 27, 2018
7078e4f
revert change to mkdirs
bdistin Dec 27, 2018
ab0363e
more cleanup and engine bump for object spread
bdistin Dec 28, 2018
4009989
forgot to hit save
bdistin Dec 28, 2018
61835ff
Bump eslint from 5.11.1 to 5.12.0
dependabot-support Jan 7, 2019
cb2f922
Merge pull request #64 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Jan 7, 2019
a126a8f
Bump tslint from 5.12.0 to 5.12.1
dependabot-support Jan 11, 2019
982cc88
Merge pull request #65 from bdistin/dependabot/npm_and_yarn/tslint-5.…
dependabot[bot] Jan 11, 2019
5b41bd8
Bump ava from 1.0.1 to 1.1.0
dependabot-support Jan 14, 2019
fdc3ba4
Merge pull request #66 from bdistin/dependabot/npm_and_yarn/ava-1.1.0
dependabot[bot] Jan 14, 2019
5687629
Bump typescript from 3.2.2 to 3.2.4
dependabot-support Jan 18, 2019
7998c7a
Merge pull request #69 from bdistin/dependabot/npm_and_yarn/typescrip…
dependabot[bot] Jan 18, 2019
6c3532e
Bump eslint from 5.12.0 to 5.12.1
dependabot-support Jan 21, 2019
bd62dd5
Merge pull request #71 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Jan 21, 2019
d07558c
Bump ava from 1.1.0 to 1.2.0
dependabot-support Jan 28, 2019
be272ed
Merge pull request #72 from bdistin/dependabot/npm_and_yarn/ava-1.2.0
dependabot[bot] Jan 28, 2019
222f138
Bump @types/node from 10.12.18 to 10.12.19
dependabot-support Jan 29, 2019
4ae7406
Merge pull request #73 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Jan 29, 2019
3092b01
Bump @types/node from 10.12.19 to 10.12.20
dependabot-support Jan 31, 2019
e7899f2
Merge pull request #74 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Jan 31, 2019
eca3995
Bump typescript from 3.2.4 to 3.3.1
dependabot-support Feb 1, 2019
bad6d1d
Merge pull request #75 from bdistin/dependabot/npm_and_yarn/typescrip…
dependabot[bot] Feb 1, 2019
4ce4449
Bump @types/node from 10.12.20 to 10.12.21
dependabot-support Feb 1, 2019
1573405
Merge pull request #76 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Feb 1, 2019
2b3a79d
Bump eslint from 5.12.1 to 5.13.0
dependabot-support Feb 4, 2019
51b2bb5
Merge pull request #78 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Feb 4, 2019
ab5bdcc
Bump jsdoc from `b214273` to `10c004f`
dependabot-support Feb 4, 2019
05b13df
Merge pull request #70 from bdistin/dependabot/npm_and_yarn/jsdoc-10c…
dependabot[bot] Feb 4, 2019
a229597
Bump nyc from 13.1.0 to 13.2.0
dependabot-support Feb 5, 2019
6e92793
Merge pull request #79 from bdistin/dependabot/npm_and_yarn/nyc-13.2.0
dependabot[bot] Feb 5, 2019
8fb9e1d
Bump ava from 1.2.0 to 1.2.1
dependabot-support Feb 6, 2019
a3a9c01
Merge pull request #80 from bdistin/dependabot/npm_and_yarn/ava-1.2.1
dependabot[bot] Feb 6, 2019
bc0db23
Bump @types/node from 10.12.21 to 10.12.23
dependabot-support Feb 8, 2019
3eb192a
Merge pull request #81 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Feb 8, 2019
a1f5fd7
Bump typescript from 3.3.1 to 3.3.3
dependabot-support Feb 8, 2019
aa6be1f
Merge pull request #82 from bdistin/dependabot/npm_and_yarn/typescrip…
dependabot[bot] Feb 8, 2019
3e285c6
TypeScript Re-Write (#83)
bdistin Feb 10, 2019
91c795d
bump minor for new release
bdistin Feb 10, 2019
037e4e5
Merge remote-tracking branch 'origin/stable'
bdistin Feb 10, 2019
fe66490
run tests in typescript (#85)
bdistin Feb 10, 2019
2436234
bump patch for new release
bdistin Feb 10, 2019
9765778
Merge remote-tracking branch 'origin/stable'
bdistin Feb 10, 2019
2e54005
misc: Add function overloads (#87)
kyranet Feb 10, 2019
2c585ac
bump patch for new release
bdistin Feb 10, 2019
ea4d057
Merge branch 'stable'
Feb 10, 2019
76f656b
Bump @types/node from 10.12.23 to 10.12.24
dependabot-support Feb 11, 2019
1f65ba5
Merge pull request #89 from bdistin/dependabot/npm_and_yarn/@types/no…
dependabot[bot] Feb 11, 2019
bae162d
Bump eslint-config-klasa from `7095d9d` to `e0c5945`
dependabot-support Feb 11, 2019
d9f0483
Merge pull request #90 from bdistin/dependabot/npm_and_yarn/eslint-co…
dependabot[bot] Feb 11, 2019
72dd93b
chore(engines): Bump to 10.1.0 (#91)
kyranet Feb 11, 2019
5876acd
Bump for new release
bdistin Feb 11, 2019
fd6872f
Merge remote-tracking branch 'origin/stable'
bdistin Feb 12, 2019
a99744d
[Security] Bump handlebars from 4.0.12 to 4.1.0
dependabot-support Feb 14, 2019
95cdbd3
Merge pull request #95 from bdistin/dependabot/npm_and_yarn/handlebar…
dependabot[bot] Feb 14, 2019
be5939e
Bump nyc from 13.2.0 to 13.3.0
dependabot-support Feb 15, 2019
199d1cf
Merge pull request #97 from bdistin/dependabot/npm_and_yarn/nyc-13.3.0
dependabot[bot] Feb 15, 2019
a1d4610
Bump eslint from 5.13.0 to 5.14.0
dependabot-support Feb 18, 2019
b653ccb
Merge pull request #98 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Feb 18, 2019
3b92b88
Bump eslint from 5.14.0 to 5.14.1
dependabot-support Feb 19, 2019
0e977a3
Merge pull request #99 from bdistin/dependabot/npm_and_yarn/eslint-5.…
dependabot[bot] Feb 19, 2019
5fd5a15
Bump typescript from 3.3.3 to 3.3.3333
dependabot-support Feb 22, 2019
d016195
Merge pull request #101 from bdistin/dependabot/npm_and_yarn/typescri…
dependabot[bot] Feb 22, 2019
df473e9
Bump tslint from 5.12.1 to 5.13.0
dependabot-support Feb 25, 2019
e0250f0
Merge pull request #102 from bdistin/dependabot/npm_and_yarn/tslint-5…
dependabot[bot] Feb 25, 2019
654149b
Bump eslint-config-klasa from `e0c5945` to `3e64dd5`
dependabot-support Feb 25, 2019
af57b86
Merge pull request #103 from bdistin/dependabot/npm_and_yarn/eslint-c…
dependabot[bot] Feb 25, 2019
7a45238
Bump coveralls from 3.0.2 to 3.0.3
dependabot-support Feb 25, 2019
978d954
Merge pull request #105 from bdistin/dependabot/npm_and_yarn/coverall…
dependabot[bot] Feb 25, 2019
cba358b
Bump tslint from 5.13.0 to 5.13.1
dependabot-support Mar 1, 2019
33fe3e2
Merge pull request #108 from bdistin/dependabot/npm_and_yarn/tslint-5…
dependabot[bot] Mar 1, 2019
3600bb8
scripts: Add `prepublishOnly` script (#106)
kyranet Mar 3, 2019
2259957
Bump @types/node from 10.12.24 to 11.9.6 (#107)
dependabot[bot] Mar 3, 2019
0acf7a7
Bump @types/node from 11.9.6 to 11.10.4
dependabot-support Mar 3, 2019
ee6020e
Merge pull request #109 from bdistin/dependabot/npm_and_yarn/@types/n…
dependabot[bot] Mar 3, 2019
5086606
Bump eslint from 5.14.1 to 5.15.0
dependabot-support Mar 4, 2019
da7092f
Merge pull request #110 from bdistin/dependabot/npm_and_yarn/eslint-5…
dependabot[bot] Mar 4, 2019
d19381c
Bump eslint from 5.15.0 to 5.15.1
dependabot-support Mar 5, 2019
731392a
Merge pull request #111 from bdistin/dependabot/npm_and_yarn/eslint-5…
dependabot[bot] Mar 5, 2019
10acc1d
Bump ava from 1.2.1 to 1.3.1
dependabot-support Mar 6, 2019
dcf21cc
Merge pull request #112 from bdistin/dependabot/npm_and_yarn/ava-1.3.1
dependabot[bot] Mar 6, 2019
5256fc9
Bump eslint-config-klasa from `3e64dd5` to `d24af72`
dependabot-support Mar 6, 2019
08ba0df
Merge pull request #113 from bdistin/dependabot/npm_and_yarn/eslint-c…
dependabot[bot] Mar 6, 2019
a30f7bc
Set up CI with Azure Pipelines (#114)
bdistin Mar 7, 2019
e2bf794
oops
bdistin Mar 7, 2019
4776c12
uh, debug
bdistin Mar 7, 2019
87a1b0f
Bump @types/node from 11.10.4 to 11.10.5
dependabot-support Mar 7, 2019
e86deb7
Merge pull request #115 from bdistin/dependabot/npm_and_yarn/@types/n…
dependabot[bot] Mar 7, 2019
b5a05e9
Bump ts-node from 8.0.2 to 8.0.3 (#116)
dependabot[bot] Mar 7, 2019
0b2f236
Update package.json
bdistin Mar 7, 2019
8511ac2
remove debugs
bdistin Mar 7, 2019
a228b90
Docs template (#117)
bdistin Mar 7, 2019
98b170e
utilize lint template
bdistin Mar 7, 2019
304e247
update to new config
bdistin Mar 7, 2019
5b08ab5
Bump @types/node from 11.10.5 to 11.11.0
dependabot-support Mar 11, 2019
237ef86
Merge pull request #119 from bdistin/dependabot/npm_and_yarn/@types/n…
dependabot[bot] Mar 11, 2019
af22c50
fix docs build
bdistin Mar 11, 2019
b0dde19
Bump @types/node from 11.11.0 to 11.11.1
dependabot-support Mar 12, 2019
811cb51
Merge pull request #120 from bdistin/dependabot/npm_and_yarn/@types/n…
dependabot[bot] Mar 12, 2019
066320c
Bump tslint from 5.13.1 to 5.14.0
dependabot-support Mar 13, 2019
888fa1f
Merge pull request #122 from bdistin/dependabot/npm_and_yarn/tslint-5…
dependabot[bot] Mar 13, 2019
7f0f232
Bump @types/node from 11.11.1 to 11.11.3
dependabot-support Mar 13, 2019
b029458
Merge pull request #123 from bdistin/dependabot/npm_and_yarn/@types/n…
dependabot[bot] Mar 13, 2019
8114b55
Targz (#121)
bdistin Mar 16, 2019
9c7a603
bump version for release
bdistin Mar 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -7,8 +7,8 @@ FS-Nextra
[![npm](https://img.shields.io/npm/dt/fs-nextra.svg?maxAge=3600)](https://www.npmjs.com/package/fs-nextra)

[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/bdistin/fs-nextra.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bdistin/fs-nextra/context:javascript)
[![Coverage Status](https://coveralls.io/repos/github/bdistin/fs-nextra/badge.svg?branch=master)](https://coveralls.io/github/bdistin/fs-nextra?branch=master)
[![travis-ci](https://travis-ci.com/bdistin/fs-nextra.svg?branch=master)](https://travis-ci.com/bdistin/fs-nextra)
[![Coverage](https://img.shields.io/azure-devops/coverage/aodude/fs-nextra/1/master.svg)](https://dev.azure.com/aodude/fs-nextra/_build/latest?definitionId=1&branchName=master)
[![Build Status](https://aodude.visualstudio.com/fs-nextra/_apis/build/status/bdistin.fs-nextra?branchName=master)](https://aodude.visualstudio.com/fs-nextra/_build/latest?definitionId=1&branchName=master)

[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=bdistin/fs-nextra)](https://dependabot.com)
[![david](https://david-dm.org/bdistin/fs-nextra.svg)](https://david-dm.org/bdistin/fs-nextra)
Expand All @@ -35,4 +35,4 @@ License

Licensed under MIT

Copyright (c) 2017 [BDISTIN](https://github.com/bdistin)
Copyright (c) 2017-2019 [BDISTIN](https://github.com/bdistin)
17 changes: 0 additions & 17 deletions appveyor.yml

This file was deleted.

37 changes: 37 additions & 0 deletions azure-pipelines.yml
@@ -0,0 +1,37 @@
resources:
repositories:
- repository: templates
type: github
name: dirigeants/pipelines
endpoint: bdistin

trigger:
- master

jobs:
- template: lint.yml@templates

- template: scripts/.azure-test-template.yml
parameters:
name: Linux
vmImage: 'ubuntu-16.04'

- template: scripts/.azure-test-template.yml
parameters:
name: Mac
vmImage: 'macOS-10.13'

- template: scripts/.azure-test-template.yml
parameters:
name: Windows
vmImage: 'vs2017-win2016'

- template: docs.yml@templates
parameters:
ghRef: 'github.com/bdistin/fs-nextra'
targetBranch: 'gh-pages'
masterOnly: 'true'
dependsOn:
- Linux
- Mac
- Windows
16 changes: 8 additions & 8 deletions package.json
@@ -1,16 +1,17 @@
{
"name": "fs-nextra",
"version": "0.4.3",
"version": "0.4.4",
"description": "Node.js native fs promises with next-generation extra methods.",
"main": "dist/index.js",
"scripts": {
"prepublishOnly": "yarn build",
"build": "tsc",
"test": "yarn build && ava test/*.ts",
"test:lint": "tslint '{test,src}/**/*.ts'",
"test:coverage": "yarn coverage && nyc check-coverage --lines 60 --functions 60 --branches 60",
"test:coverage": "yarn coverage && nyc check-coverage --lines 90 --functions 90 --branches 90",
"coverage": "npx nyc npm test",
"coveralls": "npx nyc report --reporter=text-lcov | npx coveralls",
"docs": "typedoc --mode file --out ./docs/ ./src/",
"coverage:azure": "npx nyc report --reporter=cobertura --reporter=html",
"docs": "typedoc --mode file --out ./dist/ ./src/",
"lint": "tslint --fix '{test,src}/**/*.ts'"
},
"keywords": [
Expand All @@ -35,14 +36,13 @@
"node": ">=10.1.0"
},
"devDependencies": {
"@types/node": "^10.1.3",
"@types/node": "^11.11.0",
"ava": "^1.0.1",
"coveralls": "^3.0.2",
"eslint": "^5.2.0",
"eslint-config-klasa": "github:dirigeants/klasa-lint",
"eslint-config-klasa": "dirigeants/klasa-lint",
"nyc": "^13.0.1",
"ts-node": "^8.0.3",
"tslint": "^5.7.0",
"ts-node": "8.0.2",
"typedoc": "^0.14.2",
"typescript": "^3.0.1"
},
Expand Down
32 changes: 32 additions & 0 deletions scripts/.azure-test-template.yml
@@ -0,0 +1,32 @@
parameters:
name: ''
vmImage: ''

jobs:
- job: ${{ parameters.name }}
dependsOn: Lint
condition: succeeded()
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Node 10:
nodeVersion: '10.x'
Node 11:
nodeVersion: '11.x'
steps:
- task: NodeTool@0
inputs:
versionSpec: $(nodeVersion)
displayName: 'Install Node.js'
- script: 'yarn'
displayName: 'Install Dependencies'
- script: 'yarn run test:coverage'
displayName: 'Run Tests'
- script: 'yarn run coverage:azure'
displayName: 'Generate Reports'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml
reportDirectory: $(System.DefaultWorkingDirectory)/coverage
15 changes: 0 additions & 15 deletions scripts/.travis-coverage.sh

This file was deleted.

29 changes: 0 additions & 29 deletions scripts/.travis-deploy.sh

This file was deleted.

8 changes: 8 additions & 0 deletions src/index.ts
Expand Up @@ -21,6 +21,10 @@ export { default as ensureLink } from './nextra/createLink';
export { default as ensureLinkAtomic } from './nextra/createLinkAtomic';
export { default as ensureSymlink } from './nextra/createSymlink';
export { default as ensureSymlinkAtomic } from './nextra/createSymlinkAtomic';
export { default as gunzip } from './nextra/gunzip';
export { default as gunzipAtomic } from './nextra/gunzipAtomic';
export { default as gzip } from './nextra/gzip';
export { default as gzipAtomic } from './nextra/gzip';
export { default as linkAtomic } from './nextra/linkAtomic';
export { default as mkdirp } from './nextra/mkdirs';
export { default as mkdirs } from './nextra/mkdirs';
Expand All @@ -37,6 +41,10 @@ export { default as readJson } from './nextra/readJSON';
export { default as remove } from './nextra/remove';
export { default as scan } from './nextra/scan';
export { default as symlinkAtomic } from './nextra/symlinkAtomic';
export { default as targz } from './nextra/targz';
export { default as targzAtomic } from './nextra/targzAtomic';
export { default as unTargz } from './nextra/unTargz';
export { default as unTargzAtomic } from './nextra/unTargzAtomic';
export { default as writeFileAtomic } from './nextra/writeFileAtomic';
export { default as writeJSON } from './nextra/writeJSON';
export { default as writeJSONAtomic } from './nextra/writeJSONAtomic';
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/copy.ts
@@ -1,6 +1,6 @@
import { resolve, dirname, join, basename } from 'path';

import { replaceEsc, isSrcKid } from '../util';
import { replaceEsc, isSrcKid } from '../utils/util';
import { access, readlink, mkdir, symlink, copyFile, lstat, stat, chmod, readdir, Stats } from '../fs';

import mkdirs from './mkdirs';
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/copyFileAtomic.ts
@@ -1,4 +1,4 @@
import { tempFile } from '../util';
import { tempFile } from '../utils/util';
import { copyFile } from '../fs';

import move from './move';
Expand Down
23 changes: 23 additions & 0 deletions src/nextra/gunzip.ts
@@ -0,0 +1,23 @@
import { createGunzip } from 'zlib';

import { createWriteStream, createReadStream } from '../fs';
import { pipelinePromise } from '../utils/util';
import gunzipAtomic from './gunzipAtomic';

/**
* Un-Gzips a file
* @function gunzip
* @memberof fsn/nextra
* @param fileName The filename of the output file
* @param inputFile The filepath of the archive
* @param atomic If the unzip file should be created atomically
*/
export default async function gzip(fileName: string, inputFile: string, atomic: boolean = false): Promise<void> {
if (atomic) return gunzipAtomic(fileName, inputFile);

return pipelinePromise(
createReadStream(inputFile),
createGunzip(),
createWriteStream(fileName)
);
}
16 changes: 16 additions & 0 deletions src/nextra/gunzipAtomic.ts
@@ -0,0 +1,16 @@
import gunzip from './gunzip';
import move from './move';
import { tempFile } from '../utils/util';

/**
* Un-Gzips a file atomically.
* @function gunzipAtomic
* @memberof fsn/nextra
* @param fileName The filename of the output file
* @param inputFile The filepath of the archive
*/
export default async function gzipAtomic(fileName: string, inputFile: string): Promise<void> {
const tempPath = tempFile();
await gunzip(tempPath, inputFile);
return move(tempPath, fileName, { overwrite: true });
}
23 changes: 23 additions & 0 deletions src/nextra/gzip.ts
@@ -0,0 +1,23 @@
import { createGzip } from 'zlib';

import { createWriteStream, createReadStream } from '../fs';
import { pipelinePromise } from '../utils/util';
import gzipAtomic from './gzipAtomic';

/**
* Gzips a file
* @function gzip
* @memberof fsn/nextra
* @param fileName The filename of the archive
* @param inputFile The filepath of the input file
* @param atomic If the gzip file should be created
*/
export default async function gzip(fileName: string, inputFile: string, atomic: boolean = false): Promise<void> {
if (atomic) return gzipAtomic(fileName, inputFile);

return pipelinePromise(
createReadStream(inputFile),
createGzip(),
createWriteStream(fileName)
);
}
16 changes: 16 additions & 0 deletions src/nextra/gzipAtomic.ts
@@ -0,0 +1,16 @@
import gzip from './gzip';
import move from './move';
import { tempFile } from '../utils/util';

/**
* Gzips a file atomically.
* @function gzipAtomic
* @memberof fsn/nextra
* @param fileName The filename of the archive
* @param inputFile The filepath of the input file
*/
export default async function gzipAtomic(fileName: string, inputFile: string): Promise<void> {
const tempPath = tempFile();
await gzip(tempPath, inputFile);
return move(tempPath, fileName, { overwrite: true });
}
2 changes: 1 addition & 1 deletion src/nextra/linkAtomic.ts
@@ -1,4 +1,4 @@
import { tempFile } from '../util';
import { tempFile } from '../utils/util';
import { link } from '../fs';

import move from './move';
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/mkdirs.ts
@@ -1,6 +1,6 @@
import { resolve, dirname, normalize, sep } from 'path';

import { isWindows } from '../util';
import { isWindows } from '../utils/util';
import { stat, mkdir } from '../fs';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/move.ts
@@ -1,6 +1,6 @@
import { resolve, dirname } from 'path';

import { isSrcKid } from '../util';
import { isSrcKid } from '../utils/util';
import { access, rename, stat } from '../fs';

import remove from './remove';
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/remove.ts
@@ -1,6 +1,6 @@
import { join } from 'path';

import { isWindows, setTimeoutPromise } from '../util';
import { isWindows, setTimeoutPromise } from '../utils/util';
import { lstat, unlink, rmdir, chmod, readdir } from '../fs';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/nextra/symlinkAtomic.ts
@@ -1,4 +1,4 @@
import { tempFile } from '../util';
import { tempFile } from '../utils/util';
import { symlink } from '../fs';
import { SymLinkType } from './createSymlink';

Expand Down