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:
parent
aa12770329
commit
4e69f24964
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +0,0 @@
|
|||
const PackageJson = require('./package-json');
|
||||
const i18n = require('../../../../shared/i18n');
|
||||
|
||||
module.exports = new PackageJson({i18n});
|
4
core/server/lib/package-json.js
Normal file
4
core/server/lib/package-json.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
const PackageJson = require('./fs/package-json/package-json');
|
||||
const i18n = require('../../shared/i18n');
|
||||
|
||||
module.exports = new PackageJson({i18n});
|
|
@ -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() {
|
||||
|
|
|
@ -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');
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue