mdtg 1.1.0 → 1.2.0

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.
@@ -17,7 +17,7 @@ jobs:
17
17
  - name: Setup Node.js
18
18
  uses: actions/setup-node@v4
19
19
  with:
20
- node-version: 22
20
+ node-version: 24
21
21
  - run: npm install
22
22
  - name: Check format
23
23
  run: npm run lint
@@ -27,7 +27,7 @@ jobs:
27
27
  strategy:
28
28
  matrix:
29
29
  os: [ubuntu-latest, ubuntu-24.04-arm]
30
- node-version: [18, 20, 22]
30
+ node-version: [18, 20, 22, 24]
31
31
  runs-on: ${{ matrix.os }}
32
32
  steps:
33
33
  - uses: actions/checkout@v4
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "mdtg",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=18.0.0",
8
+ "npm": ">=8.6.0"
9
+ },
6
10
  "scripts": {
7
11
  "format": "prettier --check .",
12
+ "prelint": "npm run format",
8
13
  "lint": "eslint .",
9
- "test": "node index.test.js"
14
+ "test": "vitest run"
10
15
  },
11
16
  "keywords": [
12
17
  "military",
@@ -17,7 +22,8 @@
17
22
  "license": "MIT",
18
23
  "description": "This package offers you methods to convert Date Objects to military date time and vice versa",
19
24
  "devDependencies": {
20
- "eslint": "8.57.1",
21
- "prettier": "3.5.2"
25
+ "eslint": "9.39.2",
26
+ "prettier": "3.8.1",
27
+ "vitest": "4.0.18"
22
28
  }
23
29
  }