@hearthlog/module-finance 1.0.0 → 1.0.1

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.
@@ -2,8 +2,10 @@
2
2
  "manifestVersion": 1,
3
3
  "id": "org.stor.finance",
4
4
  "package": "@hearthlog/module-finance",
5
- "version": "1.0.0",
6
- "compatibility": { "moduleApi": 1 },
5
+ "version": "1.0.1",
6
+ "compatibility": {
7
+ "moduleApi": 1
8
+ },
7
9
  "features": [
8
10
  {
9
11
  "id": "finance",
@@ -17,30 +19,72 @@
17
19
  "mobilePrimary": true,
18
20
  "mobileOrder": 2,
19
21
  "children": [
20
- { "id": "transactions", "label": "Transactions", "href": "/finance", "tab": null },
21
- { "id": "budget", "label": "Budget plans", "href": "/finance?tab=budget", "tab": "budget" }
22
+ {
23
+ "id": "transactions",
24
+ "label": "Transactions",
25
+ "href": "/finance",
26
+ "tab": null
27
+ },
28
+ {
29
+ "id": "budget",
30
+ "label": "Budget plans",
31
+ "href": "/finance?tab=budget",
32
+ "tab": "budget"
33
+ }
22
34
  ],
23
35
  "shortcuts": [
24
- { "id": "add-transaction", "label": "Add transaction", "subtitle": "Open the Finance transaction drawer", "keywords": "new transaction income expense money", "query": "?newTransaction=1" }
36
+ {
37
+ "id": "add-transaction",
38
+ "label": "Add transaction",
39
+ "subtitle": "Open the Finance transaction drawer",
40
+ "keywords": "new transaction income expense money",
41
+ "query": "?newTransaction=1"
42
+ }
25
43
  ]
26
44
  }
27
45
  ],
28
46
  "layouts": [
29
- { "path": "/finance", "page": "./src/pages/layout.svelte", "load": "./src/pages/layout.ts" }
47
+ {
48
+ "path": "/finance",
49
+ "page": "./src/pages/layout.svelte",
50
+ "load": "./src/pages/layout.ts"
51
+ }
30
52
  ],
31
53
  "routes": [
32
- { "path": "/finance", "page": "./src/pages/index.svelte", "load": "./src/pages/index.ts", "fitsScreen": true, "resolvesTo": "/finance/[year]/[month]" },
33
- { "path": "/finance/[year]/[month]", "page": "./src/pages/month.svelte", "load": "./src/pages/month.ts", "fitsScreen": true, "keepMounted": true }
54
+ {
55
+ "path": "/finance",
56
+ "page": "./src/pages/index.svelte",
57
+ "load": "./src/pages/index.ts",
58
+ "fitsScreen": true,
59
+ "resolvesTo": "/finance/[year]/[month]"
60
+ },
61
+ {
62
+ "path": "/finance/[year]/[month]",
63
+ "page": "./src/pages/month.svelte",
64
+ "load": "./src/pages/month.ts",
65
+ "fitsScreen": true,
66
+ "keepMounted": true
67
+ }
68
+ ],
69
+ "calendarIcons": [
70
+ "cash-clock"
34
71
  ],
35
- "calendarIcons": ["cash-clock"],
36
72
  "data": {
37
73
  "definitions": "./src/data/definitions.ts",
38
74
  "repositories": "./src/data/repositories.ts"
39
75
  },
40
76
  "projectionVersion": 1,
41
- "aiCapabilities": ["category-pick"],
77
+ "aiCapabilities": [
78
+ "category-pick"
79
+ ],
42
80
  "attention": "./src/attention.ts",
43
- "server": { "entry": "./src/server/index.ts" },
44
- "refreshKeys": ["app:transactions", "app:assets", "app:budgets"],
81
+ "server": {
82
+ "entry": "./src/server/index.ts"
83
+ },
84
+ "refreshKeys": [
85
+ "app:transactions",
86
+ "app:assets",
87
+ "app:budgets"
88
+ ],
45
89
  "styles": "./src/styles.css"
46
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearthlog/module-finance",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,8 +19,8 @@
19
19
  "kysely": "^0.29.6"
20
20
  },
21
21
  "peerDependencies": {
22
- "@hearthlog/contracts": ">=0.1.0 <0.2.0",
23
- "@hearthlog/sdk": ">=0.1.0 <0.2.0"
22
+ "@hearthlog/contracts": ">=0.1.0 <0.2.0 || 0.2.0",
23
+ "@hearthlog/sdk": ">=0.1.0 <0.2.0 || 0.2.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -36,9 +36,9 @@
36
36
  "!**/*.test.ts"
37
37
  ],
38
38
  "devDependencies": {
39
- "@hearthlog/contracts": ">=0.1.0 <0.2.0",
40
- "@hearthlog/sdk": ">=0.1.0 <0.2.0",
41
- "@hearthlog/tooling": ">=0.1.0 <0.2.0",
39
+ "@hearthlog/contracts": ">=0.1.0 <0.2.0 || 0.2.0",
40
+ "@hearthlog/sdk": ">=0.1.0 <0.2.0 || 0.2.0",
41
+ "@hearthlog/tooling": ">=0.1.0 <0.2.0 || 0.2.0",
42
42
  "vitest": "^4.1.11"
43
43
  },
44
44
  "scripts": {