1
0
Fork 0
mirror of synced 2024-07-05 06:31:08 +12:00

fix: console sdk package name

This commit is contained in:
Torsten Dittmann 2023-02-28 14:05:40 +05:30
parent f1fd44cee3
commit d5449cb498

View file

@ -81,8 +81,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();