@ashray.mehta/statement-converter 1.4.4-alpha → 1.4.4-alpha.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.
@@ -14,15 +14,11 @@ jobs:
14
14
 
15
15
  runs-on: ubuntu-latest
16
16
 
17
- strategy:
18
- matrix:
19
- node-version: [10.x, 12.x, 14.x]
20
-
21
17
  steps:
22
- - uses: actions/checkout@v2
23
- - name: Use Node.js ${{ matrix.node-version }}
24
- uses: actions/setup-node@v1
18
+ - uses: actions/checkout@v4
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v4
25
21
  with:
26
- node-version: ${{ matrix.node-version }}
22
+ node-version-file: 'package.json'
27
23
  - run: npm ci
28
24
  - run: npm run build --if-present
@@ -11,10 +11,11 @@ jobs:
11
11
  build:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@v2
15
- - uses: actions/setup-node@v1
14
+ - uses: actions/checkout@v4
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
16
17
  with:
17
- node-version: 12
18
+ node-version-file: 'package.json'
18
19
  - run: npm ci
19
20
  - run: npm test
20
21
 
@@ -22,14 +23,13 @@ jobs:
22
23
  needs: build
23
24
  runs-on: ubuntu-latest
24
25
  steps:
25
- - uses: actions/checkout@v2
26
- - uses: actions/setup-node@v1
26
+ - uses: actions/checkout@v4
27
+ - uses: actions/setup-node@v4
27
28
  with:
28
- node-version: 12
29
+ node-version-file: 'package.json'
29
30
  registry-url: https://registry.npmjs.org/
30
31
  - run: npm ci
31
32
  - run: npm run build
32
33
  - run: npm publish
33
- working-directory: 'build/out'
34
34
  env:
35
35
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@ashray.mehta/statement-converter",
3
- "version": "1.4.4-alpha",
3
+ "version": "1.4.4-alpha.2",
4
4
  "description": "Library to convert statements from frequently used banks to QIF.",
5
5
  "main": "dist/out/index.js",
6
6
  "types": "dist/out/index.d.ts",
7
+ "engines": {
8
+ "node": ">=20.0.0"
9
+ },
7
10
  "scripts": {
11
+ "prepublishOnly": "cp package.json ./build/out/",
8
12
  "prebuild": "npm run clean",
9
13
  "build": "tsc",
10
14
  "clean": "rm -rf build"
@@ -16,7 +20,7 @@
16
20
  },
17
21
  "license": "ISC",
18
22
  "dependencies": {
19
- "@types/lodash": "^4.14.186",
23
+ "@types/lodash": "^4.17.0",
20
24
  "lodash": "^4.17.11",
21
25
  "moment": "^2.23.0",
22
26
  "multi-number-parse": "^1.1.0",
@@ -36,4 +40,4 @@
36
40
  "ts-node": "^10.9.1",
37
41
  "typescript": "^4.8.3"
38
42
  }
39
- }
43
+ }