Daniel Lockyer
592c3068fc
Merged constants file and history from TryGhost/Ghost
...
- extracted from `core/server/lib` of TryGhost/Ghost
2020-08-11 12:41:01 +01:00
Daniel Lockyer
f1c26f7ebe
Created @tryghost/constants package
2020-08-11 12:24:16 +01:00
Renovate Bot
9e11010f6a
Update dependency sinon to v9.0.3
2020-08-11 08:02:08 +00:00
Daniel Lockyer
26452f0d3a
Published new versions
...
- @tryghost/adapter-manager@0.1.9
- @tryghost/errors@0.2.2
- @tryghost/image-transform@1.0.2
- @tryghost/session-service@0.1.7
- @tryghost/vhost-middleware@1.0.7
2020-08-10 17:10:00 +01:00
Renovate Bot
33e070a152
Update dependency ghost-ignition to v4.2.2
2020-08-10 10:43:54 +00:00
Hannah Wolfe
71e1c309d9
Published new versions
...
- @tryghost/bootstrap-socket@0.2.0
2020-08-09 17:18:30 +01:00
Hannah Wolfe
a01d44fa6a
Refactored bootstrap-socket API for testability
...
- this makes it much easier to stub this behaviour in tests
- also makes more sense
2020-08-09 17:15:46 +01:00
Hannah Wolfe
ab291cb922
Published new versions
...
- @tryghost/bootstrap-socket@0.1.0
2020-08-07 17:02:41 +01:00
Hannah Wolfe
014469f49b
Added new bootstrap-socket package with a test
...
- History merged from Ghost, setup package structure and added a test
- This is exactly the kind of code that we should keep separate to Ghost, as it's rarely touched
- It's much easier to reason about and test when it's on its own
2020-08-07 16:59:25 +01:00
Hannah Wolfe
2bce6a4210
Merged bootstrap-socket file and history from TryGhost/Ghost
2020-08-07 16:53:32 +01:00
Hannah Wolfe
19be905a75
Moved bootstrap socket logic out of server
...
- this logic is a dependency rather than part of the server code
- moved it out ready to be moved elsewhere, doesn't need to be here
2020-08-07 16:27:45 +01:00
Daniel Lockyer
9f3114d1a1
Published new versions
...
- @tryghost/adapter-manager@0.1.8
- @tryghost/errors@0.2.1
- @tryghost/image-transform@1.0.1
- @tryghost/moleculer-service-from-class@0.2.4
- @tryghost/mw-session-from-token@0.1.6
- @tryghost/pretty-cli@1.2.8
- @tryghost/release-utils@0.6.4
- @tryghost/session-service@0.1.6
- @tryghost/vhost-middleware@1.0.6
- @tryghost/zip@1.1.2
2020-08-07 16:06:21 +01:00
Renovate Bot
eec654445b
Update dependency moleculer to v0.14.9
2020-08-06 16:43:02 +00:00
Renovate Bot
16dbfbc207
Update dependency mocha to v8.1.1
2020-08-04 19:32:11 +00:00
Renovate Bot
8af8886f86
Update Test & linting packages
2020-08-04 15:05:13 +00:00
Daniel Lockyer
e751f94500
Updated test theme package.json dependencies
...
- these were getting quite old and started flagging security issues in
GitHub
2020-08-04 15:03:53 +01:00
Daniel Lockyer
7f8ded6057
Updated execa to v4 with code modifications
...
- `shellSync` was removed in execa v2
- this commit switches the usage to the recommended replacement; `sync`
- also adds a test for changelog, the part of code which uses execa
2020-08-04 14:59:55 +01:00
Daniel Lockyer
3978858b83
Remove trailing commas from .eslintrc.js files
...
- the upcoming eslint update flags errors for trailing commas, so this
commits tidies that up
2020-08-04 14:48:07 +01:00
Renovate Bot
a3a62baa5a
Update dependency @types/mocha to v8
2020-08-04 13:33:58 +00:00
Renovate Bot
2ce2e8ccad
Update dependency typescript to v3.9.7
2020-08-04 13:28:40 +00:00
Renovate Bot
0b79572bb8
Update dependency sharp to v0.25.4
2020-08-04 13:23:09 +00:00
Renovate Bot
78e24b36f9
Update dependency request-promise to v4.2.6
2020-08-04 13:17:50 +00:00
Renovate Bot
a2b21ed08a
Update dependency moleculer to v0.14.8
2020-08-04 13:00:37 +00:00
Renovate Bot
8f0bd37efd
Update dependency lodash to v4.17.19 [SECURITY]
2020-08-04 12:38:39 +00:00
Renovate Bot
fd19cc0d37
Update dependency folder-hash to v3.3.2
2020-08-04 12:37:37 +00:00
Renovate Bot
d586ad780b
Update dependency fs-extra to v9.0.1
2020-08-04 12:32:34 +00:00
Renovate Bot
da5d140ae6
Update dependency chalk to v4.1.0
2020-08-04 12:24:08 +00:00
Daniel Lockyer
d3459271bf
Updated zip test to reflect intended behaviour
...
- the symlink test has been failing for some time because recent minors
of Node 12 produce different size zip files
- we were checking that the produced zip is a specific size, but we
basically just want to check it's smaller than the original folder
- this commit updates the test with the size of the original folder,
found by running `du -b test/fixtures/test-theme/`
2020-08-04 13:05:34 +01:00
Kevin Ansfield
aef24f9ac3
Published new versions
...
- @tryghost/adapter-manager@0.1.7
- @tryghost/image-transform@1.0.0
- @tryghost/moleculer-service-from-class@0.2.3
- @tryghost/mw-session-from-token@0.1.5
- @tryghost/session-service@0.1.5
2020-07-02 18:01:49 +01:00
Kevin Ansfield
b02d82fb24
✨ Added canTransformFiles()
method
...
refs https://github.com/TryGhost/Ghost/issues/11944
- it's useful for consuming applications to know if images can be transformed outside of actually performing the transform (eg, when outputting "resized" image URLs)
- added `canTransformFiles()` that returns a boolean for whether or not `sharp` is installed
2020-07-02 18:00:12 +01:00
Renovate Bot
b4f8587e96
Update dependency typescript to v3.9.5
2020-06-04 19:20:06 +00:00
Fabien O'Carroll
76478e4c74
Published new versions
...
- @tryghost/adapter-manager@0.1.6
- @tryghost/errors@0.2.0
- @tryghost/image-transform@0.2.4
- @tryghost/moleculer-service-from-class@0.2.2
- @tryghost/mw-session-from-token@0.1.4
- @tryghost/pretty-cli@1.2.7
- @tryghost/release-utils@0.6.3
- @tryghost/session-service@0.1.4
- @tryghost/vhost-middleware@1.0.5
- @tryghost/zip@1.1.1
2020-05-26 18:19:01 +02:00
Vikas Potluri
8ed65ff1e5
✨ Add PasswordResetRequiredError ( #68 )
...
refs TryGhost/Ghost#11835
- this error was added after this package was created. Once this gets released, we will be able to remove the errors file in the core 🥳
2020-05-26 17:09:44 +01:00
Renovate Bot
52f7aa09a8
Update dependency mocha to v7.2.0
2020-05-25 01:19:06 +00:00
Renovate Bot
7e56dfc286
Update dependency moleculer to v0.14.7
2020-05-22 18:15:58 +00:00
Renovate Bot
597538c575
Update dependency @types/sinon to v9.0.4
2020-05-21 22:17:35 +00:00
Renovate Bot
af9f20a195
Update dependency typescript to v3.9.3
2020-05-20 01:15:35 +00:00
Renovate Bot
957c62d040
Update dependency @types/sinon to v9.0.3
2020-05-19 20:15:48 +00:00
Fabien O'Carroll
c352667fb8
Published new versions
...
- @tryghost/moleculer-service-from-class@0.2.1
2020-05-18 15:41:58 +02:00
Fabien O'Carroll
6023d90089
Improved handling of invalid actions
...
no-issue
2020-05-18 15:41:16 +02:00
Fabien O'Carroll
f6bc34dbb2
Published new versions
...
- @tryghost/adapter-manager@0.1.5
- @tryghost/image-transform@0.2.3
- @tryghost/moleculer-service-from-class@0.2.0
- @tryghost/mw-session-from-token@0.1.3
- @tryghost/session-service@0.1.3
2020-05-18 15:22:55 +02:00
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