0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Ensured that the new content/public dir exists

- Upgrading the version of minifier to a patched version that ensures the dir exists before writing a file
- This is needed because although the content/public directory is present in the repo, it is not present in production installs
  made with Ghost-CLI or Pro until changes there are merged. Other production setups will likely miss it too.
- Ensuring the dir means no one is suprised by this not working
This commit is contained in:
Hannah Wolfe 2021-11-19 12:57:07 +00:00
parent 592d02fd23
commit abf75cca71
No known key found for this signature in database
GPG key ID: AB586C3B5AE5C037
2 changed files with 5 additions and 5 deletions

View file

@ -85,7 +85,7 @@
"@tryghost/members-offers": "0.10.2", "@tryghost/members-offers": "0.10.2",
"@tryghost/members-ssr": "1.0.15", "@tryghost/members-ssr": "1.0.15",
"@tryghost/metrics": "1.0.1", "@tryghost/metrics": "1.0.1",
"@tryghost/minifier": "0.1.0", "@tryghost/minifier": "0.1.1",
"@tryghost/mw-session-from-token": "0.1.26", "@tryghost/mw-session-from-token": "0.1.26",
"@tryghost/nodemailer": "0.3.7", "@tryghost/nodemailer": "0.3.7",
"@tryghost/package-json": "1.0.6", "@tryghost/package-json": "1.0.6",

View file

@ -1965,10 +1965,10 @@
optionalDependencies: optionalDependencies:
promise.allsettled "^1.0.5" promise.allsettled "^1.0.5"
"@tryghost/minifier@0.1.0": "@tryghost/minifier@0.1.1":
version "0.1.0" version "0.1.1"
resolved "https://registry.yarnpkg.com/@tryghost/minifier/-/minifier-0.1.0.tgz#121f30694c5a0e3755dfe77a1d5df6dd5191e862" resolved "https://registry.yarnpkg.com/@tryghost/minifier/-/minifier-0.1.1.tgz#2e7550f417effcdb7dc445e14b5e000556318d87"
integrity sha512-ofP+wuYV/je7IrfzwYQVR7FGtsXNSHrjpTxcqIvP6SuNhJu0npob6k/67T+95sOyy+Qu24HK8su277azmgDxXA== integrity sha512-vNRYoUGYVy95PVoL6OTOL4Oekz71VAGyEorP6gvmAv5SHUh8aXkkU4I5Thw9TzAVGkqhLvN7CL3AE4oW9csusg==
dependencies: dependencies:
"@tryghost/debug" "^0.1.8" "@tryghost/debug" "^0.1.8"
"@tryghost/errors" "^0.2.16" "@tryghost/errors" "^0.2.16"