@jaskrowo/xtb2sure 0.2.1 → 0.2.2
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 +4 -4
- package/package.json +6 -6
- package/src/cli.ts +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Convert XTB `.xlsx` exports into Sure-compatible CSV files.
|
|
|
11
11
|
|
|
12
12
|
## Requirements
|
|
13
13
|
|
|
14
|
-
- Node.js 24
|
|
14
|
+
- Node.js 24+
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
@@ -22,7 +22,7 @@ npm install
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
node
|
|
25
|
+
node ./src/cli.ts convert <input.xlsx> --currency <CODE> --account "<ACCOUNT_NAME>"
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Options:
|
|
@@ -37,11 +37,11 @@ Options:
|
|
|
37
37
|
Examples:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
node
|
|
40
|
+
node ./src/cli.ts convert sample_data/IKE/input.xlsx --currency USD --account "XTB IKE"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
node
|
|
44
|
+
node ./src/cli.ts convert sample_data/PLN/input.xlsx --currency PLN --account "XTB PLN" --out-dir ./out
|
|
45
45
|
|
|
46
46
|
Or via npm script:
|
|
47
47
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaskrowo/xtb2sure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Convert XTB .xlsx exports into Sure-compatible CSV files",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "24"
|
|
7
|
+
"node": ">=24"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"license": "MIT",
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"xtb2sure": "./bin/xtb2sure.js"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"dev": "node --
|
|
27
|
-
"convert": "node
|
|
26
|
+
"dev": "node --watch src/index.ts",
|
|
27
|
+
"convert": "node ./src/cli.ts convert",
|
|
28
28
|
"format": "biome format --write .",
|
|
29
29
|
"knip": "knip",
|
|
30
30
|
"lint-fix": "biome check --write .",
|
|
31
31
|
"lint": "biome check .",
|
|
32
32
|
"prepare": "husky",
|
|
33
33
|
"release": "release-it",
|
|
34
|
-
"start": "node
|
|
35
|
-
"test": "node --
|
|
34
|
+
"start": "node src/index.ts",
|
|
35
|
+
"test": "node --test",
|
|
36
36
|
"typecheck": "tsc --noEmit"
|
|
37
37
|
},
|
|
38
38
|
"lint-staged": {
|
package/src/cli.ts
CHANGED