@jaskrowo/xtb2sure 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -56,7 +56,23 @@ xtb2sure convert report.xlsx --currency PLN --account "XTB PLN" --out-dir ./out
56
56
 
57
57
  ## Development
58
58
 
59
- Build the compiled output:
59
+ Clone the repository and install dependencies:
60
+
61
+ ```bash
62
+ git clone https://github.com/domeq/xtb2sure.git
63
+ cd xtb2sure
64
+ npm install
65
+ ```
66
+
67
+ Run the CLI directly from source — no build step required (Node.js runs TypeScript natively):
68
+
69
+ ```bash
70
+ node src/cli.ts convert report.xlsx --currency USD --account "XTB IKE"
71
+ ```
72
+
73
+ You can use any CLI flag this way, e.g. `node src/cli.ts --version`.
74
+
75
+ Build the compiled output (needed for `dist/`, which the published package uses):
60
76
 
61
77
  ```bash
62
78
  npm run build
@@ -67,3 +83,10 @@ Run tests (Node.js test runner):
67
83
  ```bash
68
84
  npm test
69
85
  ```
86
+
87
+ Run linting and type checking:
88
+
89
+ ```bash
90
+ npm run lint
91
+ npm run typecheck
92
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaskrowo/xtb2sure",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Convert XTB .xlsx exports into Sure-compatible CSV files",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",