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"]
|
[submodule "content/themes/casper"]
|
||||||
path = content/themes/casper
|
path = content/themes/casper
|
||||||
url = ../../TryGhost/Casper.git
|
url = ../../TryGhost/Casper.git
|
||||||
[submodule "core/client"]
|
[submodule "core/admin"]
|
||||||
path = core/client
|
path = core/admin
|
||||||
url = ../../TryGhost/Admin.git
|
url = ../../TryGhost/Admin.git
|
||||||
|
@ -41,7 +41,7 @@ core/server/lib/members/static/auth/node_modules/**
|
|||||||
core/built/**/*.map
|
core/built/**/*.map
|
||||||
core/built/**/test-*
|
core/built/**/test-*
|
||||||
core/built/**/tests-*
|
core/built/**/tests-*
|
||||||
core/client/**
|
core/admin/**
|
||||||
test/**
|
test/**
|
||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
content/themes/casper/SECURITY.md
|
content/themes/casper/SECURITY.md
|
||||||
|
@ -238,21 +238,21 @@ module.exports = function (grunt) {
|
|||||||
npmInstall: true
|
npmInstall: true
|
||||||
},
|
},
|
||||||
projects: {
|
projects: {
|
||||||
'core/client': 'init'
|
'core/admin': 'init'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
dev: {
|
dev: {
|
||||||
'core/client': 'shell:ember:dev'
|
'core/admin': 'shell:ember:dev'
|
||||||
},
|
},
|
||||||
|
|
||||||
prod: {
|
prod: {
|
||||||
'core/client': 'shell:ember:prod'
|
'core/admin': 'shell:ember:prod'
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
projects: {
|
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": [
|
"exclude": [
|
||||||
"core/built",
|
"core/built",
|
||||||
"core/client"
|
"core/admin"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
"lint:test": "eslint -c test/.eslintrc.js --ignore-path test/.eslintignore 'test/**/*.js'",
|
"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:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
|
||||||
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
|
"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:server": "yarn cache clean && rm -rf node_modules && yarn",
|
||||||
"fix": "yarn fix:client && yarn fix:server"
|
"fix": "yarn fix:client && yarn fix:server"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user