* 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
Этот коммит содержится в:
Miguel de la Cruz
2023-06-14 23:33:26 +02:00
коммит произвёл GitHub
родитель f386ef1ea8
Коммит 44a99d1736
879 изменённых файлов: 66 добавлений и 127144 удалений

Просмотреть файл

@@ -275,23 +275,6 @@ var config = {
],
};
if (DEV) {
config.plugins.push({
apply: (compiler) => {
compiler.hooks.afterEmit.tap('AfterEmitPlugin', () => {
const playbooksDist = path.resolve(__dirname, '../playbooks/dist');
const playbooksSymlink = './dist/products/playbooks';
fs.mkdir('./dist/products', () => {
if (!fs.existsSync(playbooksSymlink)) {
fs.symlinkSync(playbooksDist, playbooksSymlink, 'dir');
}
});
});
},
});
}
function generateCSP() {
let csp = 'script-src \'self\' cdn.rudderlabs.com/ js.stripe.com/v3';
@@ -328,9 +311,7 @@ async function initializeModuleFederation() {
}
async function getRemoteContainers() {
const products = [
{name: 'playbooks'},
];
const products = [];
const remotes = {};
for (const product of products) {