hydrooj-addons-manager 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -123,7 +123,7 @@ export default class AddonsManagerService extends Service {
123
123
  result = await sendCommand("hydrooj addon remove " + name, config.pathToHydro);
124
124
  break;
125
125
  case 'update':
126
- result = await sendCommand("yarn global upgrade " + name + (version ? '@' + version : ''), config.pathToHydro);
126
+ result = await sendCommand("yarn up " + name + " --prerelease", config.pathToHydro);
127
127
  break;
128
128
  case 'add':
129
129
  result = await sendCommand("yarn global add " + name + (version ? '@' + version : ''), config.pathToHydro);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hydrooj-addons-manager",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "addons manager for hydrooj",
5
5
  "main": "index.ts",
6
6
  "author": "https://github.com/Bryan0324",