1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

fix: console sdk package name

This commit is contained in:
Torsten Dittmann 2023-02-28 14:05:40 +05:30
parent 196ecff5dc
commit b331fe4ab9

View file

@ -86,8 +86,13 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
switch ($language['key']) {
case 'web':
$config = new Web();
$config->setNPMPackage('appwrite');
$config->setBowerPackage('appwrite');
if ($platform['key'] === APP_PLATFORM_CONSOLE) {
$config->setNPMPackage('@appwrite.io/console');
$config->setBowerPackage('@appwrite.io/console');
} else {
$config->setNPMPackage('appwrite');
$config->setBowerPackage('appwrite');
}
break;
case 'cli':
$config = new CLI();