mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Improved DX when working with collections
This was missing from the initial package creation, adding the command here means that `yarn dev` in the top level will watch and build collections
This commit is contained in:
parent
e9595d9a4b
commit
eee5eed6e2
10
.github/dev.js
vendored
10
.github/dev.js
vendored
@ -67,6 +67,16 @@ if (DASH_DASH_ARGS.includes('in-memory-repository') || DASH_DASH_ARGS.includes('
|
||||
});
|
||||
}
|
||||
|
||||
if (DASH_DASH_ARGS.includes('collections') || DASH_DASH_ARGS.includes('all')) {
|
||||
commands.push({
|
||||
name: 'collections',
|
||||
command: 'yarn dev',
|
||||
cwd: path.resolve(__dirname, '../ghost/collections'),
|
||||
prefixColor: 'pink',
|
||||
env: {}
|
||||
});
|
||||
}
|
||||
|
||||
if (DASH_DASH_ARGS.includes('admin-x') || DASH_DASH_ARGS.includes('adminx') || DASH_DASH_ARGS.includes('adminX') || DASH_DASH_ARGS.includes('all')) {
|
||||
commands.push({
|
||||
name: 'adminX',
|
||||
|
Loading…
Reference in New Issue
Block a user