@actual-app/sync-server 25.7.0-nightly.20250616 → 25.7.0-nightly.20250618

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.
package/README.md CHANGED
@@ -33,6 +33,7 @@ actual-server [options]
33
33
  | `-h` or `--help` | Print this list and exit. |
34
34
  | `-v` or `--version` | Print this version and exit. |
35
35
  | `--config` | Path to the config file. |
36
+ | `--reset-password` | Reset your password |
36
37
 
37
38
  **Examples**
38
39
 
@@ -48,6 +49,12 @@ Run with custom configuration
48
49
  actual-server --config ./config.json
49
50
  ```
50
51
 
52
+ Reset your password
53
+
54
+ ```bash
55
+ actual-server --reset-password
56
+ ```
57
+
51
58
  ### Documentation
52
59
 
53
60
  We have a wide range of documentation on how to use Actual. This is all available in our [Community Documentation](https://actualbudget.org/docs/), including topics on [installing](https://actualbudget.org/docs/install/), [Budgeting](https://actualbudget.org/docs/budgeting/), [Account Management](https://actualbudget.org/docs/accounts/), [Tips & Tricks](https://actualbudget.org/docs/getting-started/tips-tricks) and some documentation for developers.
@@ -13,6 +13,9 @@ const options = {
13
13
  type: 'boolean',
14
14
  short: 'v',
15
15
  },
16
+ 'reset-password': {
17
+ type: 'boolean',
18
+ },
16
19
  config: {
17
20
  type: 'string',
18
21
  },
@@ -97,5 +100,10 @@ else {
97
100
  setupDataDir(); // No default config exists - setup data dir with defaults
98
101
  }
99
102
  }
103
+ if (values['reset-password']) {
104
+ console.info('Running reset password script...');
105
+ await import('../src/scripts/reset-password.js');
106
+ process.exit();
107
+ }
100
108
  // start the sync server
101
109
  import('../app.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/sync-server",
3
- "version": "25.7.0-nightly.20250616",
3
+ "version": "25.7.0-nightly.20250618",
4
4
  "license": "MIT",
5
5
  "description": "actual syncing server",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@actual-app/crdt": "2.1.0",
31
- "@actual-app/web": "25.7.0-nightly.20250616",
31
+ "@actual-app/web": "25.7.0-nightly.20250618",
32
32
  "bcrypt": "^5.1.1",
33
33
  "better-sqlite3": "^11.10.0",
34
34
  "body-parser": "^1.20.3",