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:
Fabien O'Carroll 2021-07-15 17:54:24 +01:00
parent d59051c104
commit 02766afedd
2 changed files with 12 additions and 11 deletions

View File

@ -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: {

View File

@ -13,6 +13,7 @@
},
"files": [
"index.js",
"MembersAPI.js",
"lib",
"gateway"
],