kirrg001
849e97640f
Moved zip folder utility to services/themes
...
refs #9178
- it's only used for themes currently
- this is definitely a util which could be useful lib
- if we have a second use case, we can move it
2017-12-14 21:02:47 +01:00
kirrg001
d83f474ff8
Always require fs-extra - consistency change
...
no issue
2017-12-13 20:57:11 +01:00
Austin Burdine
65d219c29a
🐛 🔗 resolve symlinks before building zip ( #8780 )
...
closes #8778
- if folderToZip is a symlink, find the target using fs.realPathSync so we zip the right thing
- add a test
2017-07-31 11:48:00 +04:00
Katharina Irrgang
7556e68c48
🎨 Ghost bootstrap: optimise requires ( #8121 )
...
* 🎨 Ghost bootstrap: optimise requires
no issue
- require as less as possible on bootstrap
* do not load icojs on bootstrap
2017-03-13 20:07:12 +00:00
Hannah Wolfe
545d2cb8b0
✨ Use node-archiver to create zips ( #7268 )
...
closes #7266 , closes #7267
- Adds node-archiver as a dependency
- Adds new zip-folder utility
- Switch out exec 'zip' for zip folder utility
- Store generated zips in os.tmpdir
- Don't delete zips from content/themes when uploading or deleting
- Fixes path resolution for delete
2016-08-25 09:22:22 +02:00