Move playbooks to plugin (#23732)
* Remove build references * Remove playbooks webapp and server, and add the prepackaged plugin * Remove translations * Add ProductSettings to the playwright type * Restore playbooks as a prepackaged plugin for cypress e2e tests
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f386ef1ea8
Коммит
44a99d1736
@@ -40,20 +40,6 @@ async function buildAll() {
|
||||
}
|
||||
|
||||
console.log('\n' + chalk.inverse.bold('Web app built! '));
|
||||
|
||||
console.log(chalk.inverse.bold('Building Playbooks...') + '\n');
|
||||
|
||||
try {
|
||||
const {result} = concurrently([
|
||||
{command: 'npm:build --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
||||
]);
|
||||
await result;
|
||||
} catch (e) {
|
||||
console.error(chalk.inverse.bold.red('Failed to build Playbooks'), e);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('\n' + chalk.inverse.bold('Playbooks built! '));
|
||||
}
|
||||
|
||||
buildAll();
|
||||
|
||||
@@ -13,7 +13,6 @@ async function watchAllWithDevServer() {
|
||||
|
||||
const commands = [
|
||||
{command: 'npm:dev-server --workspace=channels', name: 'webapp', prefixColor: 'cyan'},
|
||||
{command: 'npm:start:product --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
||||
];
|
||||
|
||||
commands.push(...getPlatformCommands('run'));
|
||||
|
||||
@@ -16,7 +16,6 @@ async function watchAll(useRunner) {
|
||||
|
||||
const commands = [
|
||||
{command: 'npm:run --workspace=channels', name: 'webapp', prefixColor: 'cyan'},
|
||||
{command: 'npm:start:product --workspace=playbooks', name: 'playbooks', prefixColor: 'red'},
|
||||
];
|
||||
|
||||
commands.push(...getPlatformCommands('run'));
|
||||
|
||||
Ссылка в новой задаче
Block a user