0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Moved package-json wrapper outside implementation folder

no issue

- we're preparing the `package-json` lib to be extracted out of Ghost into
  its own package so moving the initialization wrapper outside of the
  folder makes the process a lot easier
This commit is contained in:
Daniel Lockyer 2021-05-06 12:46:37 +01:00
parent aa12770329
commit 4e69f24964
No known key found for this signature in database
GPG key ID: FFBC6FA2A6F6ABC1
4 changed files with 6 additions and 6 deletions

View file

@ -1,4 +0,0 @@
const PackageJson = require('./package-json');
const i18n = require('../../../../shared/i18n');
module.exports = new PackageJson({i18n});

View file

@ -0,0 +1,4 @@
const PackageJson = require('./fs/package-json/package-json');
const i18n = require('../../shared/i18n');
module.exports = new PackageJson({i18n});

View file

@ -1,6 +1,6 @@
const debug = require('ghost-ignition').debug('themes:loader');
const config = require('../../../shared/config');
const packageJSON = require('../../lib/fs/package-json');
const packageJSON = require('../../lib/package-json');
const themeList = require('./list');
const loadAllThemes = function loadAllThemes() {

View file

@ -1,7 +1,7 @@
const _ = require('lodash');
const themeList = require('./list');
const bridge = require('../../../bridge');
const packageJSON = require('../../lib/fs/package-json');
const packageJSON = require('../../lib/package-json');
const settingsCache = require('../settings/cache');
/**