mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
Moved MembersAPI.js into lib
no-issue The previous published version was broken as we only include index.js and the lib directory in the npm package
This commit is contained in:
parent
d59051c104
commit
02766afedd
@ -1,18 +1,18 @@
|
||||
const {Router} = require('express');
|
||||
const body = require('body-parser');
|
||||
const MagicLink = require('@tryghost/magic-link');
|
||||
const common = require('./lib/common');
|
||||
const common = require('./common');
|
||||
|
||||
const StripeAPIService = require('./lib/services/stripe-api');
|
||||
const StripeWebhookService = require('./lib/services/stripe-webhook');
|
||||
const TokenService = require('./lib/services/token');
|
||||
const GeolocationSerice = require('./lib/services/geolocation');
|
||||
const MemberRepository = require('./lib/repositories/member');
|
||||
const EventRepository = require('./lib/repositories/event');
|
||||
const ProductRepository = require('./lib/repositories/product');
|
||||
const RouterController = require('./lib/controllers/router');
|
||||
const MemberController = require('./lib/controllers/member');
|
||||
const StripeMigrations = require('./lib/migrations');
|
||||
const StripeAPIService = require('./services/stripe-api');
|
||||
const StripeWebhookService = require('./services/stripe-webhook');
|
||||
const TokenService = require('./services/token');
|
||||
const GeolocationSerice = require('./services/geolocation');
|
||||
const MemberRepository = require('./repositories/member');
|
||||
const EventRepository = require('./repositories/event');
|
||||
const ProductRepository = require('./repositories/product');
|
||||
const RouterController = require('./controllers/router');
|
||||
const MemberController = require('./controllers/member');
|
||||
const StripeMigrations = require('./migrations');
|
||||
|
||||
module.exports = function MembersAPI({
|
||||
tokenConfig: {
|
@ -13,6 +13,7 @@
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"MembersAPI.js",
|
||||
"lib",
|
||||
"gateway"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user