0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Hannah Wolfe fdefa4964f Moved bridge into its proper location
- Modules in /shared are supposed to be standalone modules that can be required by the server or frontend
- As the server shouldn't require the frontend, and vice versa, shared modules should require neither
- Otherwise it just becomes a crutch for allowing cross-depenencies, and will create circular dependencies

The Bridge
- The bridge file is not meant to be a crutch sat allowing cross-dependencies, but rather a new component that manages the flow of data
- That data flows from the server/boot process TO the frontend, and should not flow in the other direction
- The management of that flow of data is necessarily hacky at the moment, but over time the architecture here should get clearer and better
- Still, for the time being it will need to handle requiring across components until that architecture matures
- Therefore, it should live in core root, not in core/shared
2021-04-26 14:38:57 +01:00
..
adapters
api Supported products include for Members Admin API 2021-04-20 13:04:51 +01:00
data Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
lib
models Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Added oauth login and invitation acceptance 2021-04-21 19:36:27 +02:00
translations Added Products API to Admin API 2021-04-20 13:04:51 +01:00
views
web Moved bridge into its proper location 2021-04-26 14:38:57 +01:00
analytics-events.js Wrapped analytics tracker in try-catch 2021-02-24 15:57:38 +00:00
ghost-server.js Cleaned up use of express in ghost-server 2021-02-23 12:33:00 +00:00
notify.js Refactored notify to send started + ready 2021-02-19 20:42:10 +00:00
overrides.js
update-check.js