Renamed core/client to core/admin (#14837)
closes: https://github.com/TryGhost/Toolbox/issues/299 - core/client doesn't really make sense any more now that we don't have just a client and server folder - this folder contains ghost admin, so admin makes waaaay more sense
This commit is contained in:
parent
68512147f0
commit
64fd6f21fa
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,6 +1,6 @@
|
||||
[submodule "content/themes/casper"]
|
||||
path = content/themes/casper
|
||||
url = ../../TryGhost/Casper.git
|
||||
[submodule "core/client"]
|
||||
path = core/client
|
||||
[submodule "core/admin"]
|
||||
path = core/admin
|
||||
url = ../../TryGhost/Admin.git
|
||||
|
@ -41,7 +41,7 @@ core/server/lib/members/static/auth/node_modules/**
|
||||
core/built/**/*.map
|
||||
core/built/**/test-*
|
||||
core/built/**/tests-*
|
||||
core/client/**
|
||||
core/admin/**
|
||||
test/**
|
||||
CONTRIBUTING.md
|
||||
content/themes/casper/SECURITY.md
|
||||
|
@ -238,21 +238,21 @@ module.exports = function (grunt) {
|
||||
npmInstall: true
|
||||
},
|
||||
projects: {
|
||||
'core/client': 'init'
|
||||
'core/admin': 'init'
|
||||
}
|
||||
},
|
||||
|
||||
dev: {
|
||||
'core/client': 'shell:ember:dev'
|
||||
'core/admin': 'shell:ember:dev'
|
||||
},
|
||||
|
||||
prod: {
|
||||
'core/client': 'shell:ember:prod'
|
||||
'core/admin': 'shell:ember:prod'
|
||||
},
|
||||
|
||||
watch: {
|
||||
projects: {
|
||||
'core/client': ['shell:ember:watch', '--live-reload-base-url="' + config.getSubdir() + '/ghost/"']
|
||||
'core/admin': ['shell:ember:watch', '--live-reload-base-url="' + config.getSubdir() + '/ghost/"']
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -8,6 +8,6 @@
|
||||
},
|
||||
"exclude": [
|
||||
"core/built",
|
||||
"core/client"
|
||||
"core/admin"
|
||||
]
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
"lint:test": "eslint -c test/.eslintrc.js --ignore-path test/.eslintignore 'test/**/*.js'",
|
||||
"lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
|
||||
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
|
||||
"fix:client": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../",
|
||||
"fix:client": "yarn cache clean && cd core/admin && rm -rf node_modules tmp dist && yarn && cd ../../",
|
||||
"fix:server": "yarn cache clean && rm -rf node_modules && yarn",
|
||||
"fix": "yarn fix:client && yarn fix:server"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user