ghost 5.110.4 → 5.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/components/tryghost-activitypub-5.111.0.tgz +0 -0
  2. package/components/tryghost-adapter-cache-memory-ttl-5.111.0.tgz +0 -0
  3. package/components/tryghost-adapter-cache-redis-5.111.0.tgz +0 -0
  4. package/components/{tryghost-adapter-manager-5.110.4.tgz → tryghost-adapter-manager-5.111.0.tgz} +0 -0
  5. package/components/tryghost-announcement-bar-settings-5.111.0.tgz +0 -0
  6. package/components/{tryghost-api-framework-5.110.4.tgz → tryghost-api-framework-5.111.0.tgz} +0 -0
  7. package/components/tryghost-api-version-compatibility-service-5.111.0.tgz +0 -0
  8. package/components/{tryghost-audience-feedback-5.110.4.tgz → tryghost-audience-feedback-5.111.0.tgz} +0 -0
  9. package/components/tryghost-bookshelf-repository-5.111.0.tgz +0 -0
  10. package/components/tryghost-bootstrap-socket-5.111.0.tgz +0 -0
  11. package/components/tryghost-captcha-service-5.111.0.tgz +0 -0
  12. package/components/tryghost-constants-5.111.0.tgz +0 -0
  13. package/components/tryghost-custom-fonts-5.111.0.tgz +0 -0
  14. package/components/{tryghost-custom-theme-settings-service-5.110.4.tgz → tryghost-custom-theme-settings-service-5.111.0.tgz} +0 -0
  15. package/components/{tryghost-data-generator-5.110.4.tgz → tryghost-data-generator-5.111.0.tgz} +0 -0
  16. package/components/tryghost-domain-events-5.111.0.tgz +0 -0
  17. package/components/tryghost-donations-5.111.0.tgz +0 -0
  18. package/components/tryghost-email-addresses-5.111.0.tgz +0 -0
  19. package/components/tryghost-email-analytics-provider-mailgun-5.111.0.tgz +0 -0
  20. package/components/{tryghost-email-analytics-service-5.110.4.tgz → tryghost-email-analytics-service-5.111.0.tgz} +0 -0
  21. package/components/tryghost-email-content-generator-5.111.0.tgz +0 -0
  22. package/components/tryghost-email-events-5.111.0.tgz +0 -0
  23. package/components/tryghost-email-service-5.111.0.tgz +0 -0
  24. package/components/tryghost-email-suppression-list-5.111.0.tgz +0 -0
  25. package/components/{tryghost-express-dynamic-redirects-5.110.4.tgz → tryghost-express-dynamic-redirects-5.111.0.tgz} +0 -0
  26. package/components/{tryghost-external-media-inliner-5.110.4.tgz → tryghost-external-media-inliner-5.111.0.tgz} +0 -0
  27. package/components/{tryghost-extract-api-key-5.110.4.tgz → tryghost-extract-api-key-5.111.0.tgz} +0 -0
  28. package/components/tryghost-ghost-5.111.0.tgz +0 -0
  29. package/components/{tryghost-html-to-plaintext-5.110.4.tgz → tryghost-html-to-plaintext-5.111.0.tgz} +0 -0
  30. package/components/tryghost-i18n-5.111.0.tgz +0 -0
  31. package/components/tryghost-identity-token-service-5.111.0.tgz +0 -0
  32. package/components/tryghost-importer-handler-content-files-5.111.0.tgz +0 -0
  33. package/components/{tryghost-importer-revue-5.110.4.tgz → tryghost-importer-revue-5.111.0.tgz} +0 -0
  34. package/components/tryghost-in-memory-repository-5.111.0.tgz +0 -0
  35. package/components/{tryghost-job-manager-5.110.4.tgz → tryghost-job-manager-5.111.0.tgz} +0 -0
  36. package/components/tryghost-link-redirects-5.111.0.tgz +0 -0
  37. package/components/tryghost-link-replacer-5.111.0.tgz +0 -0
  38. package/components/{tryghost-magic-link-5.110.4.tgz → tryghost-magic-link-5.111.0.tgz} +0 -0
  39. package/components/tryghost-mail-events-5.111.0.tgz +0 -0
  40. package/components/tryghost-mailgun-client-5.111.0.tgz +0 -0
  41. package/components/{tryghost-member-attribution-5.110.4.tgz → tryghost-member-attribution-5.111.0.tgz} +0 -0
  42. package/components/tryghost-member-events-5.111.0.tgz +0 -0
  43. package/components/{tryghost-members-api-5.110.4.tgz → tryghost-members-api-5.111.0.tgz} +0 -0
  44. package/components/tryghost-members-csv-5.111.0.tgz +0 -0
  45. package/components/{tryghost-members-importer-5.110.4.tgz → tryghost-members-importer-5.111.0.tgz} +0 -0
  46. package/components/{tryghost-members-offers-5.110.4.tgz → tryghost-members-offers-5.111.0.tgz} +0 -0
  47. package/components/tryghost-members-payments-5.111.0.tgz +0 -0
  48. package/components/{tryghost-members-ssr-5.110.4.tgz → tryghost-members-ssr-5.111.0.tgz} +0 -0
  49. package/components/{tryghost-members-stripe-service-5.110.4.tgz → tryghost-members-stripe-service-5.111.0.tgz} +0 -0
  50. package/components/{tryghost-milestones-5.110.4.tgz → tryghost-milestones-5.111.0.tgz} +0 -0
  51. package/components/tryghost-minifier-5.111.0.tgz +0 -0
  52. package/components/tryghost-mw-api-version-mismatch-5.111.0.tgz +0 -0
  53. package/components/tryghost-mw-cache-control-5.111.0.tgz +0 -0
  54. package/components/tryghost-mw-error-handler-5.111.0.tgz +0 -0
  55. package/components/{tryghost-mw-session-from-token-5.110.4.tgz → tryghost-mw-session-from-token-5.111.0.tgz} +0 -0
  56. package/components/{tryghost-mw-update-user-last-seen-5.110.4.tgz → tryghost-mw-update-user-last-seen-5.111.0.tgz} +0 -0
  57. package/components/{tryghost-mw-version-match-5.110.4.tgz → tryghost-mw-version-match-5.111.0.tgz} +0 -0
  58. package/components/tryghost-mw-vhost-5.111.0.tgz +0 -0
  59. package/components/tryghost-package-json-5.111.0.tgz +0 -0
  60. package/components/tryghost-post-events-5.111.0.tgz +0 -0
  61. package/components/tryghost-post-revisions-5.111.0.tgz +0 -0
  62. package/components/{tryghost-posts-service-5.110.4.tgz → tryghost-posts-service-5.111.0.tgz} +0 -0
  63. package/components/tryghost-prometheus-metrics-5.111.0.tgz +0 -0
  64. package/components/tryghost-recommendations-5.111.0.tgz +0 -0
  65. package/components/tryghost-referrers-5.111.0.tgz +0 -0
  66. package/components/{tryghost-security-5.110.4.tgz → tryghost-security-5.111.0.tgz} +0 -0
  67. package/components/{tryghost-session-service-5.110.4.tgz → tryghost-session-service-5.111.0.tgz} +0 -0
  68. package/components/tryghost-settings-path-manager-5.111.0.tgz +0 -0
  69. package/components/{tryghost-slack-notifications-5.110.4.tgz → tryghost-slack-notifications-5.111.0.tgz} +0 -0
  70. package/components/tryghost-stats-service-5.111.0.tgz +0 -0
  71. package/components/{tryghost-tiers-5.110.4.tgz → tryghost-tiers-5.111.0.tgz} +0 -0
  72. package/components/tryghost-version-notifications-data-service-5.111.0.tgz +0 -0
  73. package/components/tryghost-webmentions-5.111.0.tgz +0 -0
  74. package/core/boot.js +3 -0
  75. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +11401 -9442
  76. package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +2 -2
  77. package/core/built/admin/assets/admin-x-demo/{index-82e381fb.mjs → index-0040480a.mjs} +3252 -2891
  78. package/core/built/admin/assets/admin-x-demo/{modals-b20a9ede.mjs → modals-fb35c86c.mjs} +2 -2
  79. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-ea62c29b.mjs → CodeEditorView-1298238e.mjs} +624 -618
  80. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +3 -3
  81. package/core/built/admin/assets/admin-x-settings/{index-4b25c788.mjs → index-0f51ccb5.mjs} +2 -2
  82. package/core/built/admin/assets/admin-x-settings/{index-af8cf9cf.mjs → index-2707471f.mjs} +6759 -6372
  83. package/core/built/admin/assets/admin-x-settings/{modals-cb2dc7b7.mjs → modals-f5983704.mjs} +7887 -7668
  84. package/core/built/admin/assets/{chunk.524.3096e68df5b51dacf872.js → chunk.524.405c43b2cb20553b51d9.js} +6 -6
  85. package/core/built/admin/assets/{chunk.582.e225422f90639ff30544.js → chunk.582.eb4b096f29c97c9d6a64.js} +9 -9
  86. package/core/built/admin/assets/{ghost-98d002d50a5e01d2100b2c387a849249.js → ghost-87cffc153ec73d217c1ae9f9207ea5e1.js} +36 -37
  87. package/core/built/admin/assets/koenig-lexical/index.css +1 -1
  88. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +16898 -16284
  89. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +224 -197
  90. package/core/built/admin/assets/posts/posts.js +24137 -24156
  91. package/core/built/admin/index.html +3 -3
  92. package/core/demo.js +6 -0
  93. package/core/demo.ts +3 -0
  94. package/core/frontend/services/sitemap/SiteMapManager.js +1 -1
  95. package/core/frontend/src/cards/css/cta.css +13 -5
  96. package/core/frontend/src/cards/css/video.css +1 -0
  97. package/core/server/api/endpoints/settings-public.js +3 -2
  98. package/core/server/api/endpoints/utils/serializers/input/settings.js +2 -1
  99. package/core/server/data/migrations/versions/5.111/2025-03-05-16-36-39-add-captcha-setting.js +8 -0
  100. package/core/server/data/schema/default-settings/default-settings.json +8 -0
  101. package/core/server/services/link-tracking/ClickEvent.js +25 -0
  102. package/core/server/services/link-tracking/FullPostLink.js +36 -0
  103. package/core/server/services/link-tracking/LinkClickRepository.js +1 -1
  104. package/core/server/services/link-tracking/LinkClickTrackingService.js +237 -0
  105. package/core/server/services/link-tracking/PostLink.js +29 -0
  106. package/core/server/services/link-tracking/PostLinkRepository.js +2 -2
  107. package/core/server/services/link-tracking/index.js +1 -1
  108. package/core/server/services/members-events/EventStorage.js +61 -0
  109. package/core/server/services/members-events/LastSeenAtCache.js +96 -0
  110. package/core/server/services/members-events/LastSeenAtUpdater.js +192 -0
  111. package/core/server/services/members-events/index.js +3 -1
  112. package/core/server/services/mentions-email-report/MentionEmailReportJob.js +117 -0
  113. package/core/server/services/mentions-email-report/service.js +3 -3
  114. package/core/server/services/staff/StaffService.js +179 -0
  115. package/core/server/services/staff/StaffServiceEmails.js +527 -0
  116. package/core/server/services/staff/email-templates/donation.hbs +119 -0
  117. package/core/server/services/staff/email-templates/donation.txt.js +15 -0
  118. package/core/server/services/staff/email-templates/mention-report.hbs +136 -0
  119. package/core/server/services/staff/email-templates/mention-report.txt.js +19 -0
  120. package/core/server/services/staff/email-templates/new-free-signup.hbs +118 -0
  121. package/core/server/services/staff/email-templates/new-free-signup.txt.js +13 -0
  122. package/core/server/services/staff/email-templates/new-milestone-received.hbs +142 -0
  123. package/core/server/services/staff/email-templates/new-milestone-received.txt.js +13 -0
  124. package/core/server/services/staff/email-templates/new-paid-cancellation.hbs +125 -0
  125. package/core/server/services/staff/email-templates/new-paid-cancellation.txt.js +13 -0
  126. package/core/server/services/staff/email-templates/new-paid-started.hbs +124 -0
  127. package/core/server/services/staff/email-templates/new-paid-started.txt.js +13 -0
  128. package/core/server/services/staff/email-templates/partials/preview.hbs +6 -0
  129. package/core/server/services/staff/email-templates/partials/styles.hbs +114 -0
  130. package/core/server/services/staff/email-templates/recommendation-received.hbs +154 -0
  131. package/core/server/services/staff/email-templates/recommendation-received.txt.js +13 -0
  132. package/core/server/services/staff/index.js +1 -1
  133. package/core/server/services/staff/milestone-email-config.js +207 -0
  134. package/core/server/services/url/Resources.js +1 -1
  135. package/core/shared/config/defaults.json +2 -1
  136. package/core/shared/events/URLResourceUpdatedEvent.js +33 -0
  137. package/core/shared/settings-cache/public.js +1 -0
  138. package/package.json +157 -157
  139. package/tsconfig.json +105 -0
  140. package/tsconfig.tsbuildinfo +1 -0
  141. package/yarn.lock +342 -89
  142. package/components/tryghost-activitypub-5.110.4.tgz +0 -0
  143. package/components/tryghost-adapter-cache-memory-ttl-5.110.4.tgz +0 -0
  144. package/components/tryghost-adapter-cache-redis-5.110.4.tgz +0 -0
  145. package/components/tryghost-announcement-bar-settings-5.110.4.tgz +0 -0
  146. package/components/tryghost-api-version-compatibility-service-5.110.4.tgz +0 -0
  147. package/components/tryghost-bookshelf-repository-5.110.4.tgz +0 -0
  148. package/components/tryghost-bootstrap-socket-5.110.4.tgz +0 -0
  149. package/components/tryghost-captcha-service-5.110.4.tgz +0 -0
  150. package/components/tryghost-constants-5.110.4.tgz +0 -0
  151. package/components/tryghost-custom-fonts-5.110.4.tgz +0 -0
  152. package/components/tryghost-domain-events-5.110.4.tgz +0 -0
  153. package/components/tryghost-donations-5.110.4.tgz +0 -0
  154. package/components/tryghost-dynamic-routing-events-5.110.4.tgz +0 -0
  155. package/components/tryghost-email-addresses-5.110.4.tgz +0 -0
  156. package/components/tryghost-email-analytics-provider-mailgun-5.110.4.tgz +0 -0
  157. package/components/tryghost-email-content-generator-5.110.4.tgz +0 -0
  158. package/components/tryghost-email-events-5.110.4.tgz +0 -0
  159. package/components/tryghost-email-service-5.110.4.tgz +0 -0
  160. package/components/tryghost-email-suppression-list-5.110.4.tgz +0 -0
  161. package/components/tryghost-ghost-5.110.4.tgz +0 -0
  162. package/components/tryghost-i18n-5.110.4.tgz +0 -0
  163. package/components/tryghost-identity-token-service-5.110.4.tgz +0 -0
  164. package/components/tryghost-importer-handler-content-files-5.110.4.tgz +0 -0
  165. package/components/tryghost-in-memory-repository-5.110.4.tgz +0 -0
  166. package/components/tryghost-link-redirects-5.110.4.tgz +0 -0
  167. package/components/tryghost-link-replacer-5.110.4.tgz +0 -0
  168. package/components/tryghost-link-tracking-5.110.4.tgz +0 -0
  169. package/components/tryghost-mail-events-5.110.4.tgz +0 -0
  170. package/components/tryghost-mailgun-client-5.110.4.tgz +0 -0
  171. package/components/tryghost-member-events-5.110.4.tgz +0 -0
  172. package/components/tryghost-members-csv-5.110.4.tgz +0 -0
  173. package/components/tryghost-members-events-service-5.110.4.tgz +0 -0
  174. package/components/tryghost-members-payments-5.110.4.tgz +0 -0
  175. package/components/tryghost-mentions-email-report-5.110.4.tgz +0 -0
  176. package/components/tryghost-minifier-5.110.4.tgz +0 -0
  177. package/components/tryghost-mw-api-version-mismatch-5.110.4.tgz +0 -0
  178. package/components/tryghost-mw-cache-control-5.110.4.tgz +0 -0
  179. package/components/tryghost-mw-error-handler-5.110.4.tgz +0 -0
  180. package/components/tryghost-mw-vhost-5.110.4.tgz +0 -0
  181. package/components/tryghost-package-json-5.110.4.tgz +0 -0
  182. package/components/tryghost-post-events-5.110.4.tgz +0 -0
  183. package/components/tryghost-post-revisions-5.110.4.tgz +0 -0
  184. package/components/tryghost-prometheus-metrics-5.110.4.tgz +0 -0
  185. package/components/tryghost-recommendations-5.110.4.tgz +0 -0
  186. package/components/tryghost-referrers-5.110.4.tgz +0 -0
  187. package/components/tryghost-settings-path-manager-5.110.4.tgz +0 -0
  188. package/components/tryghost-staff-service-5.110.4.tgz +0 -0
  189. package/components/tryghost-stats-service-5.110.4.tgz +0 -0
  190. package/components/tryghost-version-notifications-data-service-5.110.4.tgz +0 -0
  191. package/components/tryghost-webmentions-5.110.4.tgz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghost",
3
- "version": "5.110.4",
3
+ "version": "5.111.0",
4
4
  "description": "The professional publishing platform",
5
5
  "author": "Ghost Foundation",
6
6
  "homepage": "https://ghost.org",
@@ -21,10 +21,11 @@
21
21
  "license": "MIT",
22
22
  "scripts": {
23
23
  "archive": "npm pack",
24
- "dev": "node --watch index.js",
24
+ "dev": "node --watch --import=tsx index.js",
25
25
  "build:assets": "postcss core/frontend/public/ghost.css --no-map --use cssnano -o core/frontend/public/ghost.min.css",
26
+ "build:tsc": "tsc",
26
27
  "test": "yarn test:unit",
27
- "test:base": "mocha --reporter dot --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js",
28
+ "test:base": "mocha --reporter dot --require tsx --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js,test.ts",
28
29
  "test:single": "yarn test:base --timeout=60000",
29
30
  "test:all": "yarn test:unit && yarn test:integration && yarn test:e2e && yarn lint",
30
31
  "test:debug": "DEBUG=ghost:test* yarn test",
@@ -39,7 +40,7 @@
39
40
  "test:browser:setup": "npx playwright install",
40
41
  "test:ci:e2e": "c8 -c ./.c8rc.e2e.json -o coverage-e2e yarn test:e2e -b --retries=2 --reporter=./test/utils/mocha-retry-reporter.js",
41
42
  "test:ci:regression": "yarn test:regression -b --retries=2 --reporter=./test/utils/mocha-retry-reporter.js",
42
- "test:ci:integration": "c8 -c ./.c8rc.e2e.json -o coverage-integration --lines 57 --functions 47 --branches 77 --statements 57 yarn test:integration -b --retries=2 --reporter=./test/utils/mocha-retry-reporter.js",
43
+ "test:ci:integration": "c8 -c ./.c8rc.e2e.json -o coverage-integration --lines 57 --functions 47 --branches 76 --statements 57 yarn test:integration -b --retries=2 --reporter=./test/utils/mocha-retry-reporter.js",
43
44
  "test:unit:slow": "yarn test:unit --reporter=mocha-slow-test-reporter",
44
45
  "test:int:slow": "yarn test:integration --reporter=mocha-slow-test-reporter",
45
46
  "test:e2e:slow": "yarn test:e2e --reporter=mocha-slow-test-reporter",
@@ -49,7 +50,8 @@
49
50
  "lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js' --cache",
50
51
  "lint:test": "eslint -c test/.eslintrc.js --ignore-path test/.eslintignore 'test/**/*.js' --cache",
51
52
  "lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
52
- "lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
53
+ "lint:types": "eslint --ignore-path .eslintignore '**/*.ts' --cache && tsc --noEmit",
54
+ "lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test && yarn lint:types",
53
55
  "prepack": "node monobundle.js"
54
56
  },
55
57
  "engines": {
@@ -60,107 +62,103 @@
60
62
  "@extractus/oembed-extractor": "3.2.1",
61
63
  "@sentry/node": "7.119.2",
62
64
  "@slack/webhook": "7.0.4",
63
- "@tryghost/activitypub": "file:components/tryghost-activitypub-5.110.4.tgz",
65
+ "@tryghost/activitypub": "file:components/tryghost-activitypub-5.111.0.tgz",
64
66
  "@tryghost/adapter-base-cache": "0.1.12",
65
- "@tryghost/adapter-cache-redis": "file:components/tryghost-adapter-cache-redis-5.110.4.tgz",
66
- "@tryghost/adapter-manager": "file:components/tryghost-adapter-manager-5.110.4.tgz",
67
+ "@tryghost/adapter-cache-redis": "file:components/tryghost-adapter-cache-redis-5.111.0.tgz",
68
+ "@tryghost/adapter-manager": "file:components/tryghost-adapter-manager-5.111.0.tgz",
67
69
  "@tryghost/admin-api-schema": "4.5.5",
68
- "@tryghost/announcement-bar-settings": "file:components/tryghost-announcement-bar-settings-5.110.4.tgz",
69
- "@tryghost/api-framework": "file:components/tryghost-api-framework-5.110.4.tgz",
70
- "@tryghost/api-version-compatibility-service": "file:components/tryghost-api-version-compatibility-service-5.110.4.tgz",
71
- "@tryghost/audience-feedback": "file:components/tryghost-audience-feedback-5.110.4.tgz",
70
+ "@tryghost/announcement-bar-settings": "file:components/tryghost-announcement-bar-settings-5.111.0.tgz",
71
+ "@tryghost/api-framework": "file:components/tryghost-api-framework-5.111.0.tgz",
72
+ "@tryghost/api-version-compatibility-service": "file:components/tryghost-api-version-compatibility-service-5.111.0.tgz",
73
+ "@tryghost/audience-feedback": "file:components/tryghost-audience-feedback-5.111.0.tgz",
72
74
  "@tryghost/bookshelf-plugins": "0.6.25",
73
- "@tryghost/bootstrap-socket": "file:components/tryghost-bootstrap-socket-5.110.4.tgz",
74
- "@tryghost/captcha-service": "file:components/tryghost-captcha-service-5.110.4.tgz",
75
+ "@tryghost/bootstrap-socket": "file:components/tryghost-bootstrap-socket-5.111.0.tgz",
76
+ "@tryghost/captcha-service": "file:components/tryghost-captcha-service-5.111.0.tgz",
75
77
  "@tryghost/color-utils": "0.2.2",
76
78
  "@tryghost/config-url-helpers": "1.0.12",
77
- "@tryghost/constants": "file:components/tryghost-constants-5.110.4.tgz",
78
- "@tryghost/custom-fonts": "file:components/tryghost-custom-fonts-5.110.4.tgz",
79
- "@tryghost/custom-theme-settings-service": "file:components/tryghost-custom-theme-settings-service-5.110.4.tgz",
80
- "@tryghost/data-generator": "file:components/tryghost-data-generator-5.110.4.tgz",
79
+ "@tryghost/constants": "file:components/tryghost-constants-5.111.0.tgz",
80
+ "@tryghost/custom-fonts": "file:components/tryghost-custom-fonts-5.111.0.tgz",
81
+ "@tryghost/custom-theme-settings-service": "file:components/tryghost-custom-theme-settings-service-5.111.0.tgz",
82
+ "@tryghost/data-generator": "file:components/tryghost-data-generator-5.111.0.tgz",
81
83
  "@tryghost/database-info": "0.3.27",
82
84
  "@tryghost/debug": "0.1.32",
83
- "@tryghost/domain-events": "file:components/tryghost-domain-events-5.110.4.tgz",
84
- "@tryghost/donations": "file:components/tryghost-donations-5.110.4.tgz",
85
- "@tryghost/dynamic-routing-events": "file:components/tryghost-dynamic-routing-events-5.110.4.tgz",
86
- "@tryghost/email-analytics-provider-mailgun": "file:components/tryghost-email-analytics-provider-mailgun-5.110.4.tgz",
87
- "@tryghost/email-analytics-service": "file:components/tryghost-email-analytics-service-5.110.4.tgz",
88
- "@tryghost/email-content-generator": "file:components/tryghost-email-content-generator-5.110.4.tgz",
85
+ "@tryghost/domain-events": "file:components/tryghost-domain-events-5.111.0.tgz",
86
+ "@tryghost/donations": "file:components/tryghost-donations-5.111.0.tgz",
87
+ "@tryghost/email-addresses": "file:components/tryghost-email-addresses-5.111.0.tgz",
88
+ "@tryghost/email-analytics-provider-mailgun": "file:components/tryghost-email-analytics-provider-mailgun-5.111.0.tgz",
89
+ "@tryghost/email-analytics-service": "file:components/tryghost-email-analytics-service-5.111.0.tgz",
90
+ "@tryghost/email-content-generator": "file:components/tryghost-email-content-generator-5.111.0.tgz",
89
91
  "@tryghost/email-mock-receiver": "0.3.8",
90
- "@tryghost/email-service": "file:components/tryghost-email-service-5.110.4.tgz",
91
- "@tryghost/email-suppression-list": "file:components/tryghost-email-suppression-list-5.110.4.tgz",
92
+ "@tryghost/email-service": "file:components/tryghost-email-service-5.111.0.tgz",
93
+ "@tryghost/email-suppression-list": "file:components/tryghost-email-suppression-list-5.111.0.tgz",
92
94
  "@tryghost/errors": "1.3.5",
93
- "@tryghost/express-dynamic-redirects": "file:components/tryghost-express-dynamic-redirects-5.110.4.tgz",
94
- "@tryghost/external-media-inliner": "file:components/tryghost-external-media-inliner-5.110.4.tgz",
95
- "@tryghost/ghost": "file:components/tryghost-ghost-5.110.4.tgz",
95
+ "@tryghost/express-dynamic-redirects": "file:components/tryghost-express-dynamic-redirects-5.111.0.tgz",
96
+ "@tryghost/external-media-inliner": "file:components/tryghost-external-media-inliner-5.111.0.tgz",
97
+ "@tryghost/ghost": "file:components/tryghost-ghost-5.111.0.tgz",
96
98
  "@tryghost/helpers": "1.1.90",
97
- "@tryghost/html-to-plaintext": "file:components/tryghost-html-to-plaintext-5.110.4.tgz",
99
+ "@tryghost/html-to-plaintext": "file:components/tryghost-html-to-plaintext-5.111.0.tgz",
98
100
  "@tryghost/http-cache-utils": "0.1.17",
99
- "@tryghost/i18n": "file:components/tryghost-i18n-5.110.4.tgz",
100
- "@tryghost/identity-token-service": "file:components/tryghost-identity-token-service-5.110.4.tgz",
101
+ "@tryghost/i18n": "file:components/tryghost-i18n-5.111.0.tgz",
102
+ "@tryghost/identity-token-service": "file:components/tryghost-identity-token-service-5.111.0.tgz",
101
103
  "@tryghost/image-transform": "1.3.0",
102
- "@tryghost/importer-handler-content-files": "file:components/tryghost-importer-handler-content-files-5.110.4.tgz",
103
- "@tryghost/importer-revue": "file:components/tryghost-importer-revue-5.110.4.tgz",
104
- "@tryghost/job-manager": "file:components/tryghost-job-manager-5.110.4.tgz",
104
+ "@tryghost/importer-handler-content-files": "file:components/tryghost-importer-handler-content-files-5.111.0.tgz",
105
+ "@tryghost/importer-revue": "file:components/tryghost-importer-revue-5.111.0.tgz",
106
+ "@tryghost/job-manager": "file:components/tryghost-job-manager-5.111.0.tgz",
105
107
  "@tryghost/kg-card-factory": "5.1.0",
106
108
  "@tryghost/kg-converters": "1.1.0",
107
109
  "@tryghost/kg-default-atoms": "5.1.0",
108
- "@tryghost/kg-default-cards": "10.1.0",
109
- "@tryghost/kg-default-nodes": "1.4.0",
110
- "@tryghost/kg-html-to-lexical": "1.2.0",
111
- "@tryghost/kg-lexical-html-renderer": "1.3.0",
112
- "@tryghost/kg-mobiledoc-html-renderer": "7.1.0",
110
+ "@tryghost/kg-default-cards": "10.1.1",
111
+ "@tryghost/kg-default-nodes": "1.4.2",
112
+ "@tryghost/kg-html-to-lexical": "1.2.2",
113
+ "@tryghost/kg-lexical-html-renderer": "1.3.2",
114
+ "@tryghost/kg-mobiledoc-html-renderer": "7.1.1",
113
115
  "@tryghost/limit-service": "1.2.14",
114
- "@tryghost/link-redirects": "file:components/tryghost-link-redirects-5.110.4.tgz",
115
- "@tryghost/link-replacer": "file:components/tryghost-link-replacer-5.110.4.tgz",
116
- "@tryghost/link-tracking": "file:components/tryghost-link-tracking-5.110.4.tgz",
116
+ "@tryghost/link-redirects": "file:components/tryghost-link-redirects-5.111.0.tgz",
117
+ "@tryghost/link-replacer": "file:components/tryghost-link-replacer-5.111.0.tgz",
117
118
  "@tryghost/logging": "2.4.21",
118
- "@tryghost/magic-link": "file:components/tryghost-magic-link-5.110.4.tgz",
119
- "@tryghost/mail-events": "file:components/tryghost-mail-events-5.110.4.tgz",
120
- "@tryghost/mailgun-client": "file:components/tryghost-mailgun-client-5.110.4.tgz",
121
- "@tryghost/member-attribution": "file:components/tryghost-member-attribution-5.110.4.tgz",
122
- "@tryghost/member-events": "file:components/tryghost-member-events-5.110.4.tgz",
123
- "@tryghost/members-api": "file:components/tryghost-members-api-5.110.4.tgz",
124
- "@tryghost/members-csv": "file:components/tryghost-members-csv-5.110.4.tgz",
125
- "@tryghost/members-events-service": "file:components/tryghost-members-events-service-5.110.4.tgz",
126
- "@tryghost/members-importer": "file:components/tryghost-members-importer-5.110.4.tgz",
127
- "@tryghost/members-offers": "file:components/tryghost-members-offers-5.110.4.tgz",
128
- "@tryghost/members-ssr": "file:components/tryghost-members-ssr-5.110.4.tgz",
129
- "@tryghost/members-stripe-service": "file:components/tryghost-members-stripe-service-5.110.4.tgz",
130
- "@tryghost/mentions-email-report": "file:components/tryghost-mentions-email-report-5.110.4.tgz",
119
+ "@tryghost/magic-link": "file:components/tryghost-magic-link-5.111.0.tgz",
120
+ "@tryghost/mail-events": "file:components/tryghost-mail-events-5.111.0.tgz",
121
+ "@tryghost/mailgun-client": "file:components/tryghost-mailgun-client-5.111.0.tgz",
122
+ "@tryghost/member-attribution": "file:components/tryghost-member-attribution-5.111.0.tgz",
123
+ "@tryghost/member-events": "file:components/tryghost-member-events-5.111.0.tgz",
124
+ "@tryghost/members-api": "file:components/tryghost-members-api-5.111.0.tgz",
125
+ "@tryghost/members-csv": "file:components/tryghost-members-csv-5.111.0.tgz",
126
+ "@tryghost/members-importer": "file:components/tryghost-members-importer-5.111.0.tgz",
127
+ "@tryghost/members-offers": "file:components/tryghost-members-offers-5.111.0.tgz",
128
+ "@tryghost/members-ssr": "file:components/tryghost-members-ssr-5.111.0.tgz",
129
+ "@tryghost/members-stripe-service": "file:components/tryghost-members-stripe-service-5.111.0.tgz",
131
130
  "@tryghost/metrics": "1.0.37",
132
- "@tryghost/milestones": "file:components/tryghost-milestones-5.110.4.tgz",
133
- "@tryghost/minifier": "file:components/tryghost-minifier-5.110.4.tgz",
134
- "@tryghost/mw-api-version-mismatch": "file:components/tryghost-mw-api-version-mismatch-5.110.4.tgz",
135
- "@tryghost/mw-cache-control": "file:components/tryghost-mw-cache-control-5.110.4.tgz",
136
- "@tryghost/mw-error-handler": "file:components/tryghost-mw-error-handler-5.110.4.tgz",
137
- "@tryghost/mw-session-from-token": "file:components/tryghost-mw-session-from-token-5.110.4.tgz",
138
- "@tryghost/mw-version-match": "file:components/tryghost-mw-version-match-5.110.4.tgz",
139
- "@tryghost/mw-vhost": "file:components/tryghost-mw-vhost-5.110.4.tgz",
131
+ "@tryghost/milestones": "file:components/tryghost-milestones-5.111.0.tgz",
132
+ "@tryghost/minifier": "file:components/tryghost-minifier-5.111.0.tgz",
133
+ "@tryghost/mw-api-version-mismatch": "file:components/tryghost-mw-api-version-mismatch-5.111.0.tgz",
134
+ "@tryghost/mw-cache-control": "file:components/tryghost-mw-cache-control-5.111.0.tgz",
135
+ "@tryghost/mw-error-handler": "file:components/tryghost-mw-error-handler-5.111.0.tgz",
136
+ "@tryghost/mw-session-from-token": "file:components/tryghost-mw-session-from-token-5.111.0.tgz",
137
+ "@tryghost/mw-version-match": "file:components/tryghost-mw-version-match-5.111.0.tgz",
138
+ "@tryghost/mw-vhost": "file:components/tryghost-mw-vhost-5.111.0.tgz",
140
139
  "@tryghost/nodemailer": "0.3.45",
141
140
  "@tryghost/nql": "0.12.7",
142
- "@tryghost/package-json": "file:components/tryghost-package-json-5.110.4.tgz",
143
- "@tryghost/post-revisions": "file:components/tryghost-post-revisions-5.110.4.tgz",
144
- "@tryghost/posts-service": "file:components/tryghost-posts-service-5.110.4.tgz",
141
+ "@tryghost/package-json": "file:components/tryghost-package-json-5.111.0.tgz",
142
+ "@tryghost/post-revisions": "file:components/tryghost-post-revisions-5.111.0.tgz",
143
+ "@tryghost/posts-service": "file:components/tryghost-posts-service-5.111.0.tgz",
145
144
  "@tryghost/pretty-cli": "1.2.44",
146
- "@tryghost/prometheus-metrics": "file:components/tryghost-prometheus-metrics-5.110.4.tgz",
145
+ "@tryghost/prometheus-metrics": "file:components/tryghost-prometheus-metrics-5.111.0.tgz",
147
146
  "@tryghost/promise": "0.3.12",
148
- "@tryghost/recommendations": "file:components/tryghost-recommendations-5.110.4.tgz",
147
+ "@tryghost/recommendations": "file:components/tryghost-recommendations-5.111.0.tgz",
149
148
  "@tryghost/request": "1.0.8",
150
- "@tryghost/security": "file:components/tryghost-security-5.110.4.tgz",
151
- "@tryghost/session-service": "file:components/tryghost-session-service-5.110.4.tgz",
152
- "@tryghost/settings-path-manager": "file:components/tryghost-settings-path-manager-5.110.4.tgz",
153
- "@tryghost/slack-notifications": "file:components/tryghost-slack-notifications-5.110.4.tgz",
149
+ "@tryghost/security": "file:components/tryghost-security-5.111.0.tgz",
150
+ "@tryghost/session-service": "file:components/tryghost-session-service-5.111.0.tgz",
151
+ "@tryghost/settings-path-manager": "file:components/tryghost-settings-path-manager-5.111.0.tgz",
152
+ "@tryghost/slack-notifications": "file:components/tryghost-slack-notifications-5.111.0.tgz",
154
153
  "@tryghost/social-urls": "0.1.43",
155
- "@tryghost/staff-service": "file:components/tryghost-staff-service-5.110.4.tgz",
156
- "@tryghost/stats-service": "file:components/tryghost-stats-service-5.110.4.tgz",
154
+ "@tryghost/stats-service": "file:components/tryghost-stats-service-5.111.0.tgz",
157
155
  "@tryghost/string": "0.2.12",
158
- "@tryghost/tiers": "file:components/tryghost-tiers-5.110.4.tgz",
156
+ "@tryghost/tiers": "file:components/tryghost-tiers-5.111.0.tgz",
159
157
  "@tryghost/tpl": "0.1.32",
160
158
  "@tryghost/url-utils": "4.4.8",
161
159
  "@tryghost/validator": "0.2.14",
162
160
  "@tryghost/version": "0.1.30",
163
- "@tryghost/webmentions": "file:components/tryghost-webmentions-5.110.4.tgz",
161
+ "@tryghost/webmentions": "file:components/tryghost-webmentions-5.111.0.tgz",
164
162
  "@tryghost/zip": "1.1.46",
165
163
  "amperize": "0.6.1",
166
164
  "body-parser": "1.20.3",
@@ -191,6 +189,7 @@
191
189
  "glob": "8.1.0",
192
190
  "got": "11.8.6",
193
191
  "gscan": "4.47.0",
192
+ "handlebars": "4.7.8",
194
193
  "human-number": "2.0.4",
195
194
  "iconv-lite": "0.6.3",
196
195
  "image-size": "1.2.0",
@@ -200,6 +199,7 @@
200
199
  "json-stable-stringify": "1.2.0",
201
200
  "jsonpath": "1.1.1",
202
201
  "jsonwebtoken": "8.5.1",
202
+ "juice": "9.1.0",
203
203
  "keypair": "1.0.4",
204
204
  "knex": "2.4.2",
205
205
  "knex-migrator": "5.3.0",
@@ -240,7 +240,9 @@
240
240
  "@playwright/test": "1.50.1",
241
241
  "@tryghost/express-test": "0.13.15",
242
242
  "@tryghost/webhook-mock-receiver": "0.2.14",
243
+ "@types/bookshelf": "1.2.9",
243
244
  "@types/common-tags": "1.8.4",
245
+ "@types/node": "22.13.5",
244
246
  "c8": "8.0.1",
245
247
  "cli-progress": "3.12.0",
246
248
  "cssnano": "7.0.4",
@@ -254,7 +256,7 @@
254
256
  "mocha": "10.2.0",
255
257
  "mocha-slow-test-reporter": "0.1.2",
256
258
  "mock-knex": "TryGhost/mock-knex#d8b93b1c20d4820323477f2c60db016ab3e73192",
257
- "nock": "13.3.3",
259
+ "nock": "13.5.6",
258
260
  "papaparse": "5.3.2",
259
261
  "parse-prometheus-text-format": "1.1.1",
260
262
  "postcss": "8.4.39",
@@ -264,7 +266,9 @@
264
266
  "sinon": "15.2.0",
265
267
  "supertest": "6.3.3",
266
268
  "tmp": "0.2.1",
267
- "toml": "3.0.0"
269
+ "toml": "3.0.0",
270
+ "tsx": "4.19.3",
271
+ "typescript": "5.7.3"
268
272
  },
269
273
  "resolutions": {
270
274
  "@tryghost/errors": "1.3.5",
@@ -272,84 +276,79 @@
272
276
  "jackspeak": "2.1.1",
273
277
  "moment": "2.24.0",
274
278
  "moment-timezone": "0.5.45",
275
- "@tryghost/activitypub": "file:components/tryghost-activitypub-5.110.4.tgz",
276
- "@tryghost/adapter-cache-memory-ttl": "file:components/tryghost-adapter-cache-memory-ttl-5.110.4.tgz",
277
- "@tryghost/adapter-cache-redis": "file:components/tryghost-adapter-cache-redis-5.110.4.tgz",
278
- "@tryghost/adapter-manager": "file:components/tryghost-adapter-manager-5.110.4.tgz",
279
- "@tryghost/announcement-bar-settings": "file:components/tryghost-announcement-bar-settings-5.110.4.tgz",
280
- "@tryghost/api-framework": "file:components/tryghost-api-framework-5.110.4.tgz",
281
- "@tryghost/api-version-compatibility-service": "file:components/tryghost-api-version-compatibility-service-5.110.4.tgz",
282
- "@tryghost/audience-feedback": "file:components/tryghost-audience-feedback-5.110.4.tgz",
283
- "@tryghost/bookshelf-repository": "file:components/tryghost-bookshelf-repository-5.110.4.tgz",
284
- "@tryghost/bootstrap-socket": "file:components/tryghost-bootstrap-socket-5.110.4.tgz",
285
- "@tryghost/captcha-service": "file:components/tryghost-captcha-service-5.110.4.tgz",
286
- "@tryghost/constants": "file:components/tryghost-constants-5.110.4.tgz",
287
- "@tryghost/custom-fonts": "file:components/tryghost-custom-fonts-5.110.4.tgz",
288
- "@tryghost/custom-theme-settings-service": "file:components/tryghost-custom-theme-settings-service-5.110.4.tgz",
289
- "@tryghost/data-generator": "file:components/tryghost-data-generator-5.110.4.tgz",
290
- "@tryghost/domain-events": "file:components/tryghost-domain-events-5.110.4.tgz",
291
- "@tryghost/donations": "file:components/tryghost-donations-5.110.4.tgz",
292
- "@tryghost/dynamic-routing-events": "file:components/tryghost-dynamic-routing-events-5.110.4.tgz",
293
- "@tryghost/email-addresses": "file:components/tryghost-email-addresses-5.110.4.tgz",
294
- "@tryghost/email-analytics-provider-mailgun": "file:components/tryghost-email-analytics-provider-mailgun-5.110.4.tgz",
295
- "@tryghost/email-analytics-service": "file:components/tryghost-email-analytics-service-5.110.4.tgz",
296
- "@tryghost/email-content-generator": "file:components/tryghost-email-content-generator-5.110.4.tgz",
297
- "@tryghost/email-events": "file:components/tryghost-email-events-5.110.4.tgz",
298
- "@tryghost/email-service": "file:components/tryghost-email-service-5.110.4.tgz",
299
- "@tryghost/email-suppression-list": "file:components/tryghost-email-suppression-list-5.110.4.tgz",
300
- "@tryghost/express-dynamic-redirects": "file:components/tryghost-express-dynamic-redirects-5.110.4.tgz",
301
- "@tryghost/external-media-inliner": "file:components/tryghost-external-media-inliner-5.110.4.tgz",
302
- "@tryghost/extract-api-key": "file:components/tryghost-extract-api-key-5.110.4.tgz",
303
- "@tryghost/ghost": "file:components/tryghost-ghost-5.110.4.tgz",
304
- "@tryghost/html-to-plaintext": "file:components/tryghost-html-to-plaintext-5.110.4.tgz",
305
- "@tryghost/i18n": "file:components/tryghost-i18n-5.110.4.tgz",
306
- "@tryghost/identity-token-service": "file:components/tryghost-identity-token-service-5.110.4.tgz",
307
- "@tryghost/importer-handler-content-files": "file:components/tryghost-importer-handler-content-files-5.110.4.tgz",
308
- "@tryghost/importer-revue": "file:components/tryghost-importer-revue-5.110.4.tgz",
309
- "@tryghost/in-memory-repository": "file:components/tryghost-in-memory-repository-5.110.4.tgz",
310
- "@tryghost/job-manager": "file:components/tryghost-job-manager-5.110.4.tgz",
311
- "@tryghost/link-redirects": "file:components/tryghost-link-redirects-5.110.4.tgz",
312
- "@tryghost/link-replacer": "file:components/tryghost-link-replacer-5.110.4.tgz",
313
- "@tryghost/link-tracking": "file:components/tryghost-link-tracking-5.110.4.tgz",
314
- "@tryghost/magic-link": "file:components/tryghost-magic-link-5.110.4.tgz",
315
- "@tryghost/mail-events": "file:components/tryghost-mail-events-5.110.4.tgz",
316
- "@tryghost/mailgun-client": "file:components/tryghost-mailgun-client-5.110.4.tgz",
317
- "@tryghost/member-attribution": "file:components/tryghost-member-attribution-5.110.4.tgz",
318
- "@tryghost/member-events": "file:components/tryghost-member-events-5.110.4.tgz",
319
- "@tryghost/members-api": "file:components/tryghost-members-api-5.110.4.tgz",
320
- "@tryghost/members-csv": "file:components/tryghost-members-csv-5.110.4.tgz",
321
- "@tryghost/members-events-service": "file:components/tryghost-members-events-service-5.110.4.tgz",
322
- "@tryghost/members-importer": "file:components/tryghost-members-importer-5.110.4.tgz",
323
- "@tryghost/members-ssr": "file:components/tryghost-members-ssr-5.110.4.tgz",
324
- "@tryghost/mentions-email-report": "file:components/tryghost-mentions-email-report-5.110.4.tgz",
325
- "@tryghost/milestones": "file:components/tryghost-milestones-5.110.4.tgz",
326
- "@tryghost/minifier": "file:components/tryghost-minifier-5.110.4.tgz",
327
- "@tryghost/mw-api-version-mismatch": "file:components/tryghost-mw-api-version-mismatch-5.110.4.tgz",
328
- "@tryghost/mw-cache-control": "file:components/tryghost-mw-cache-control-5.110.4.tgz",
329
- "@tryghost/mw-error-handler": "file:components/tryghost-mw-error-handler-5.110.4.tgz",
330
- "@tryghost/mw-session-from-token": "file:components/tryghost-mw-session-from-token-5.110.4.tgz",
331
- "@tryghost/mw-update-user-last-seen": "file:components/tryghost-mw-update-user-last-seen-5.110.4.tgz",
332
- "@tryghost/mw-version-match": "file:components/tryghost-mw-version-match-5.110.4.tgz",
333
- "@tryghost/mw-vhost": "file:components/tryghost-mw-vhost-5.110.4.tgz",
334
- "@tryghost/members-offers": "file:components/tryghost-members-offers-5.110.4.tgz",
335
- "@tryghost/package-json": "file:components/tryghost-package-json-5.110.4.tgz",
336
- "@tryghost/members-payments": "file:components/tryghost-members-payments-5.110.4.tgz",
337
- "@tryghost/post-events": "file:components/tryghost-post-events-5.110.4.tgz",
338
- "@tryghost/post-revisions": "file:components/tryghost-post-revisions-5.110.4.tgz",
339
- "@tryghost/posts-service": "file:components/tryghost-posts-service-5.110.4.tgz",
340
- "@tryghost/prometheus-metrics": "file:components/tryghost-prometheus-metrics-5.110.4.tgz",
341
- "@tryghost/recommendations": "file:components/tryghost-recommendations-5.110.4.tgz",
342
- "@tryghost/referrers": "file:components/tryghost-referrers-5.110.4.tgz",
343
- "@tryghost/security": "file:components/tryghost-security-5.110.4.tgz",
344
- "@tryghost/session-service": "file:components/tryghost-session-service-5.110.4.tgz",
345
- "@tryghost/settings-path-manager": "file:components/tryghost-settings-path-manager-5.110.4.tgz",
346
- "@tryghost/slack-notifications": "file:components/tryghost-slack-notifications-5.110.4.tgz",
347
- "@tryghost/staff-service": "file:components/tryghost-staff-service-5.110.4.tgz",
348
- "@tryghost/stats-service": "file:components/tryghost-stats-service-5.110.4.tgz",
349
- "@tryghost/members-stripe-service": "file:components/tryghost-members-stripe-service-5.110.4.tgz",
350
- "@tryghost/tiers": "file:components/tryghost-tiers-5.110.4.tgz",
351
- "@tryghost/version-notifications-data-service": "file:components/tryghost-version-notifications-data-service-5.110.4.tgz",
352
- "@tryghost/webmentions": "file:components/tryghost-webmentions-5.110.4.tgz"
279
+ "@tryghost/activitypub": "file:components/tryghost-activitypub-5.111.0.tgz",
280
+ "@tryghost/adapter-cache-memory-ttl": "file:components/tryghost-adapter-cache-memory-ttl-5.111.0.tgz",
281
+ "@tryghost/adapter-cache-redis": "file:components/tryghost-adapter-cache-redis-5.111.0.tgz",
282
+ "@tryghost/adapter-manager": "file:components/tryghost-adapter-manager-5.111.0.tgz",
283
+ "@tryghost/announcement-bar-settings": "file:components/tryghost-announcement-bar-settings-5.111.0.tgz",
284
+ "@tryghost/api-framework": "file:components/tryghost-api-framework-5.111.0.tgz",
285
+ "@tryghost/api-version-compatibility-service": "file:components/tryghost-api-version-compatibility-service-5.111.0.tgz",
286
+ "@tryghost/audience-feedback": "file:components/tryghost-audience-feedback-5.111.0.tgz",
287
+ "@tryghost/bookshelf-repository": "file:components/tryghost-bookshelf-repository-5.111.0.tgz",
288
+ "@tryghost/bootstrap-socket": "file:components/tryghost-bootstrap-socket-5.111.0.tgz",
289
+ "@tryghost/captcha-service": "file:components/tryghost-captcha-service-5.111.0.tgz",
290
+ "@tryghost/constants": "file:components/tryghost-constants-5.111.0.tgz",
291
+ "@tryghost/custom-fonts": "file:components/tryghost-custom-fonts-5.111.0.tgz",
292
+ "@tryghost/custom-theme-settings-service": "file:components/tryghost-custom-theme-settings-service-5.111.0.tgz",
293
+ "@tryghost/data-generator": "file:components/tryghost-data-generator-5.111.0.tgz",
294
+ "@tryghost/domain-events": "file:components/tryghost-domain-events-5.111.0.tgz",
295
+ "@tryghost/donations": "file:components/tryghost-donations-5.111.0.tgz",
296
+ "@tryghost/email-addresses": "file:components/tryghost-email-addresses-5.111.0.tgz",
297
+ "@tryghost/email-analytics-provider-mailgun": "file:components/tryghost-email-analytics-provider-mailgun-5.111.0.tgz",
298
+ "@tryghost/email-analytics-service": "file:components/tryghost-email-analytics-service-5.111.0.tgz",
299
+ "@tryghost/email-content-generator": "file:components/tryghost-email-content-generator-5.111.0.tgz",
300
+ "@tryghost/email-events": "file:components/tryghost-email-events-5.111.0.tgz",
301
+ "@tryghost/email-service": "file:components/tryghost-email-service-5.111.0.tgz",
302
+ "@tryghost/email-suppression-list": "file:components/tryghost-email-suppression-list-5.111.0.tgz",
303
+ "@tryghost/express-dynamic-redirects": "file:components/tryghost-express-dynamic-redirects-5.111.0.tgz",
304
+ "@tryghost/external-media-inliner": "file:components/tryghost-external-media-inliner-5.111.0.tgz",
305
+ "@tryghost/extract-api-key": "file:components/tryghost-extract-api-key-5.111.0.tgz",
306
+ "@tryghost/ghost": "file:components/tryghost-ghost-5.111.0.tgz",
307
+ "@tryghost/html-to-plaintext": "file:components/tryghost-html-to-plaintext-5.111.0.tgz",
308
+ "@tryghost/i18n": "file:components/tryghost-i18n-5.111.0.tgz",
309
+ "@tryghost/identity-token-service": "file:components/tryghost-identity-token-service-5.111.0.tgz",
310
+ "@tryghost/importer-handler-content-files": "file:components/tryghost-importer-handler-content-files-5.111.0.tgz",
311
+ "@tryghost/importer-revue": "file:components/tryghost-importer-revue-5.111.0.tgz",
312
+ "@tryghost/in-memory-repository": "file:components/tryghost-in-memory-repository-5.111.0.tgz",
313
+ "@tryghost/job-manager": "file:components/tryghost-job-manager-5.111.0.tgz",
314
+ "@tryghost/link-redirects": "file:components/tryghost-link-redirects-5.111.0.tgz",
315
+ "@tryghost/link-replacer": "file:components/tryghost-link-replacer-5.111.0.tgz",
316
+ "@tryghost/magic-link": "file:components/tryghost-magic-link-5.111.0.tgz",
317
+ "@tryghost/mail-events": "file:components/tryghost-mail-events-5.111.0.tgz",
318
+ "@tryghost/mailgun-client": "file:components/tryghost-mailgun-client-5.111.0.tgz",
319
+ "@tryghost/member-attribution": "file:components/tryghost-member-attribution-5.111.0.tgz",
320
+ "@tryghost/member-events": "file:components/tryghost-member-events-5.111.0.tgz",
321
+ "@tryghost/members-api": "file:components/tryghost-members-api-5.111.0.tgz",
322
+ "@tryghost/members-csv": "file:components/tryghost-members-csv-5.111.0.tgz",
323
+ "@tryghost/members-importer": "file:components/tryghost-members-importer-5.111.0.tgz",
324
+ "@tryghost/members-ssr": "file:components/tryghost-members-ssr-5.111.0.tgz",
325
+ "@tryghost/milestones": "file:components/tryghost-milestones-5.111.0.tgz",
326
+ "@tryghost/minifier": "file:components/tryghost-minifier-5.111.0.tgz",
327
+ "@tryghost/mw-api-version-mismatch": "file:components/tryghost-mw-api-version-mismatch-5.111.0.tgz",
328
+ "@tryghost/mw-cache-control": "file:components/tryghost-mw-cache-control-5.111.0.tgz",
329
+ "@tryghost/mw-error-handler": "file:components/tryghost-mw-error-handler-5.111.0.tgz",
330
+ "@tryghost/mw-session-from-token": "file:components/tryghost-mw-session-from-token-5.111.0.tgz",
331
+ "@tryghost/mw-update-user-last-seen": "file:components/tryghost-mw-update-user-last-seen-5.111.0.tgz",
332
+ "@tryghost/mw-version-match": "file:components/tryghost-mw-version-match-5.111.0.tgz",
333
+ "@tryghost/mw-vhost": "file:components/tryghost-mw-vhost-5.111.0.tgz",
334
+ "@tryghost/members-offers": "file:components/tryghost-members-offers-5.111.0.tgz",
335
+ "@tryghost/package-json": "file:components/tryghost-package-json-5.111.0.tgz",
336
+ "@tryghost/members-payments": "file:components/tryghost-members-payments-5.111.0.tgz",
337
+ "@tryghost/post-events": "file:components/tryghost-post-events-5.111.0.tgz",
338
+ "@tryghost/post-revisions": "file:components/tryghost-post-revisions-5.111.0.tgz",
339
+ "@tryghost/posts-service": "file:components/tryghost-posts-service-5.111.0.tgz",
340
+ "@tryghost/prometheus-metrics": "file:components/tryghost-prometheus-metrics-5.111.0.tgz",
341
+ "@tryghost/recommendations": "file:components/tryghost-recommendations-5.111.0.tgz",
342
+ "@tryghost/referrers": "file:components/tryghost-referrers-5.111.0.tgz",
343
+ "@tryghost/security": "file:components/tryghost-security-5.111.0.tgz",
344
+ "@tryghost/session-service": "file:components/tryghost-session-service-5.111.0.tgz",
345
+ "@tryghost/settings-path-manager": "file:components/tryghost-settings-path-manager-5.111.0.tgz",
346
+ "@tryghost/slack-notifications": "file:components/tryghost-slack-notifications-5.111.0.tgz",
347
+ "@tryghost/stats-service": "file:components/tryghost-stats-service-5.111.0.tgz",
348
+ "@tryghost/members-stripe-service": "file:components/tryghost-members-stripe-service-5.111.0.tgz",
349
+ "@tryghost/tiers": "file:components/tryghost-tiers-5.111.0.tgz",
350
+ "@tryghost/version-notifications-data-service": "file:components/tryghost-version-notifications-data-service-5.111.0.tgz",
351
+ "@tryghost/webmentions": "file:components/tryghost-webmentions-5.111.0.tgz"
353
352
  },
354
353
  "nx": {
355
354
  "targets": {
@@ -357,6 +356,7 @@
357
356
  "dependsOn": [
358
357
  "build:assets",
359
358
  "^build:ts",
359
+ "build:tsc",
360
360
  {
361
361
  "projects": [
362
362
  "ghost-admin"
package/tsconfig.json ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "compilerOptions": {
3
+ /* Visit https://aka.ms/tsconfig to read more about this file */
4
+ /* Projects */
5
+ "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
6
+ // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
7
+ // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
8
+ // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
9
+ // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
10
+ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
11
+ /* Language and Environment */
12
+ "target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
13
+ // "lib": ["es2019"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
14
+ // "jsx": "preserve", /* Specify what JSX code is generated. */
15
+ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
16
+ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
17
+ // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
18
+ // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
19
+ // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
20
+ // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
21
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
22
+ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
23
+ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
24
+ /* Modules */
25
+ "module": "commonjs", /* Specify what module code is generated. */
26
+ //"rootDir": "src", /* Specify the root folder within your source files. */
27
+ // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
28
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
29
+ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
30
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
31
+ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
32
+ // "types": [], /* Specify type package names to be included without being referenced in a source file. */
33
+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
34
+ // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
35
+ // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
36
+ // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
37
+ // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
38
+ // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
39
+ "resolveJsonModule": true, /* Enable importing .json files. */
40
+ // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
41
+ // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
42
+ /* JavaScript Support */
43
+ // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
44
+ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
45
+ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
46
+ /* Emit */
47
+ //"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
48
+ // "declarationMap": true, /* Create sourcemaps for d.ts files. */
49
+ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
50
+ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
51
+ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
52
+ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
53
+ //"outDir": "build", /* Specify an output folder for all emitted files. */
54
+ // "removeComments": true, /* Disable emitting comments. */
55
+ // "noEmit": true, /* Disable emitting files from a compilation. */
56
+ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
57
+ // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
58
+ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
59
+ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
60
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
61
+ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
62
+ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
63
+ // "newLine": "crlf", /* Set the newline character for emitting files. */
64
+ // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
65
+ // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
66
+ // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
67
+ // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
68
+ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
69
+ // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
70
+ /* Interop Constraints */
71
+ // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
72
+ // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
73
+ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
74
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
75
+ // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
76
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
77
+ /* Type Checking */
78
+ "strict": true, /* Enable all strict type-checking options. */
79
+ "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
80
+ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
81
+ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
82
+ // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
83
+ // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
84
+ // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
85
+ // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
86
+ // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
87
+ // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
88
+ // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
89
+ // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
90
+ // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
91
+ // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
92
+ // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
93
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
94
+ // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
95
+ // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
96
+ // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
97
+ /* Completeness */
98
+ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
99
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */
100
+ },
101
+ "include": [
102
+ "core/**/*.ts",
103
+ "test/**/*.ts"
104
+ ]
105
+ }