Commit Graph

160 Commits

Author SHA1 Message Date
Fabien O'Carroll
9f9a67c453 Updated type definition files
no-issue
2020-05-18 15:21:44 +02:00
Fabien O'Carroll
2d520ec32f Used versions for service deps and instance (#63)
no-issue

This is a major change and will require that we explicitly define the
versions of the services which we depend on. This will make sure that
updated services will always be sure of what actions their dependents
will have.
2020-05-18 15:16:41 +02:00
Renovate Bot
e369bb92d3 Update dependency sharp to v0.25.3 2020-05-18 01:14:51 +00:00
Renovate Bot
59e1cb6444 Update dependency @types/sinon to v9.0.1 2020-05-15 15:13:13 +00:00
Renovate Bot
892d96fd83 Update dependency typescript to v3.9.2 2020-05-12 23:15:03 +00:00
Hannah Wolfe
ed3f229136 Published new versions
- @tryghost/adapter-manager@0.1.4
 - @tryghost/errors@0.1.3
 - @tryghost/image-transform@0.2.2
 - @tryghost/moleculer-service-from-class@0.1.3
 - @tryghost/mw-session-from-token@0.1.2
 - @tryghost/pretty-cli@1.2.6
 - @tryghost/release-utils@0.6.2
 - @tryghost/session-service@0.1.2
 - @tryghost/vhost-middleware@1.0.4
 - @tryghost/zip@1.1.0
2020-05-08 16:23:52 +01:00
Hannah Wolfe
7964f6ec82 Added dotfile support and set it on by default
refs https://github.com/TryGhost/Ghost/issues/11794

- archiver has an undocumented dot option, that allows you to include dotfiles
- our existing tests had a dotfile, but we didn't check properly that everything exists
- Swapped to using folder-hash to compare if the original, and compressed-then-decompressed folders are identical
- Added an example of a dotfolder with nested dotfile
- Updated compress to use the dot option, make it optional but on by default
2020-05-08 16:21:20 +01:00
Renovate Bot
242db117a8 Update dependency ghost-ignition to v4.2.1 2020-05-04 01:15:54 +00:00
Renovate Bot
3497384003 Update dependency mocha to v7.1.2 2020-04-27 01:16:32 +00:00
Renovate Bot
8e1838877c Update dependency sywac to v1.3.0 2020-04-22 15:15:29 +00:00
Renovate Bot
5cec68ca01 Update dependency emoji-regex to v9 2020-04-22 15:57:56 +01:00
Renovate Bot
ea7b6a493d Update dependency chalk to v4 2020-04-22 15:50:19 +01:00
Renovate Bot
23f85b9dbb Update dependency request to v2.88.2 2020-04-22 15:49:04 +01:00
Renovate Bot
f561bdd7fb Update dependency request-promise to v4.2.5 2020-04-22 14:45:06 +00:00
Renovate Bot
1e393e56ef Update dependency archiver to v4 2020-04-22 15:43:45 +01:00
Renovate Bot
f900bff55e Update dependency ghost-ignition to v4.1.0 2020-04-22 14:15:01 +00:00
Renovate Bot
ba5925768c Update dependency lodash to v4.17.15 2020-04-22 13:24:17 +00:00
Renovate Bot
fd59b63dbf Update dependency bluebird to v3.7.2 2020-04-22 12:14:58 +00:00
Daniel Lockyer
2ef0b76371 Pinned all dependencies
no issue
2020-04-22 12:21:42 +01:00
Renovate Bot
5be8b5714c Pin dependencies 2020-04-22 12:15:08 +01:00
Fabien O'Carroll
36a201697f Published new versions
- @tryghost/moleculer-service-from-class@0.1.2
2020-04-17 18:10:05 +02:00
Fabien O'Carroll
74bd32a572 Added debug logging to createServiceProxy
no-issue
2020-04-17 18:07:30 +02:00
Fabien O'Carroll
c8417f8ee8 Published new versions
- @tryghost/moleculer-service-from-class@0.1.1
2020-04-16 15:58:47 +02:00
Fabien O'Carroll
299be9cc2e Updated logs to use debug rather than info
no-issue

This reduces noise in moleculer logs
2020-04-16 15:57:55 +02:00
Fabien O'Carroll
2802e1eb03 Published new versions
- @tryghost/adapter-manager@0.1.3
 - @tryghost/errors@0.1.2
 - @tryghost/image-transform@0.2.1
 - @tryghost/moleculer-service-from-class@0.1.0
 - @tryghost/mw-session-from-token@0.1.1
 - @tryghost/pretty-cli@1.2.5
 - @tryghost/release-utils@0.6.1
 - @tryghost/session-service@0.1.1
 - @tryghost/vhost-middleware@1.0.3
 - @tryghost/zip@1.0.1
2020-04-16 15:15:35 +02:00
Fabien O'Carroll
e05a5b4164 Added @tryghost/moleculer-service-from-class
no-issue

This is a wrapper used by CREAM to create moleculer service config from
class definitions
2020-04-16 15:14:03 +02:00
Renovate Bot
bcec46d0cf Update dependency sinon to v9.0.2 2020-04-08 12:16:19 +00:00
Hannah Wolfe
4626407970 Published new versions
- @tryghost/zip@1.0.0
2020-04-08 12:55:01 +01:00
Hannah Wolfe
adfb3fe499 Consistent interface and response
- Creating a better, more long-term API here
- compress and extract are opposite, neat terms
- Use new Promise to get rid of callback argument when using archiver to compress a folder
- Add options argument, and make a couple of key details configurable
- Make the response intelligable
- Ensure both functions are consistent
- Updated tests to match
2020-04-08 12:48:20 +01:00
Hannah Wolfe
62c2fce6cc Switch to OG extract-zip w/ promise based interface
- switch back from @tryghost/extract-zip to extract-zip now that it has been fixed (and is much better maintained)
- switch the internal interface to be fully promise-based and test promise-based too
2020-04-08 12:48:20 +01:00
Daniel Lockyer
fec30521ad Published new versions
- @tryghost/adapter-manager@0.1.2
2020-04-07 15:42:49 +01:00
Fabien O'Carroll
f618bc5fcd Improved error messages for loading adapters
no-issue

Adds back functionality from
3988029472
2020-04-07 16:33:39 +02:00
Fabien O'Carroll
645ca9a547 Published new versions
- @tryghost/adapter-manager@0.1.1
2020-04-07 15:30:03 +02:00
Fabien O'Carroll
db96ccbfe5 Added check for Adapter prototype name
no-issue

This fixes issues when the adapter is using a different "instance" of
the base class, so we check the names are the same.
2020-04-07 15:29:15 +02:00
Daniel Lockyer
9ffee44ab7 Published new versions
- @tryghost/release-utils@0.6.0
2020-04-07 12:53:52 +01:00
Daniel Lockyer
62dbc9097b Added extraText to release
no issue
2020-04-07 12:50:54 +01:00
Fabien O'Carroll
583d357675 Published new versions
- @tryghost/adapter-manager@0.1.0
 - @tryghost/mw-session-from-token@0.1.0
2020-04-05 15:59:56 +02:00
Fabien O'Carroll
814c513b53 Added @tryghost/mw-session-from-token module (#32)
no-issue
2020-04-05 15:58:33 +02:00
Fabien O'Carroll
44db45b7c3 Added @tryghost/adapter-manager module (#38)
no-issue
2020-04-05 15:54:47 +02:00
Fabien O'Carroll
4990c05448 Published new versions
- @tryghost/session-service@0.1.0
2020-04-02 15:46:07 +02:00
Fabien O'Carroll
e95dffb1db Added @tryghost/session-service module (#35)
no-issue

This was refactored out of https://github.com/TryGhost/Ghost/pull/11701/
2020-04-02 15:26:05 +02:00
Daniel Lockyer
348185e3a4 Published new versions
- @tryghost/release-utils@0.5.0
2020-04-01 12:01:05 +01:00
Daniel Lockyer
ff4d8ef903 Switched to using token authentication for GitHub
no issue
2020-04-01 12:00:19 +01:00
Hannah Wolfe
eb7e7a8f31 Published new versions
- @tryghost/image-transform@0.2.0
2020-03-25 20:54:28 +00:00
Hannah Wolfe
46d95ed306 Added tool for generating original filename
- this allows us to have a shared tool for generating _o filenames
2020-03-25 20:53:57 +00:00
Hannah Wolfe
6d6785ae99 Published new versions
- @tryghost/errors@0.1.1
 - @tryghost/image-transform@0.1.0
2020-03-25 14:57:48 +00:00
Hannah Wolfe
264ffeceef Cleaner, clearer more consistent API
- we have 2 methods, one to resize a buffer and one to resize a file path
- make these two things super clear!
2020-03-25 14:50:25 +00:00
Hannah Wolfe
54d3527b14 Added sharp as an optional dependency
- This is optional, we throw errors if it doesn't load
2020-03-25 14:49:02 +00:00
Hannah Wolfe
2d2e41ac76 Updated paths & tests to work in new pkg structure
- added export to index.js
- fixed all paths to match the new structure
- replaced should with testUtils
- changed name from manipulator to transform
2020-03-25 14:48:41 +00:00
Hannah Wolfe
80e320fd83 Cleanup repeated module mocking utils
- mock non existant module util was defined twice
- split it out properly from the rest of the utils, update all references
- this allows us to move this util out of the codebase along with other code, e.g. the image manipulation code
2020-03-25 14:48:41 +00:00