|
8 | 8 | "bin": "dist/dappnodesdk.js", |
9 | 9 | "scripts": { |
10 | 10 | "tag-and-publish": "npm version patch && git push --follow-tags", |
11 | | - "test": "mocha \"./{,!(node_modules)/**}/*.test.ts\"", |
12 | | - "lint": "eslint . --ext .ts --fix", |
13 | | - "build": "tsc", |
| 11 | + "test": "mocha", |
| 12 | + "lint": "eslint src test --max-warnings 0", |
| 13 | + "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc", |
14 | 14 | "prepublish": "npm run build", |
15 | | - "pre-commit": "npm run lint && npm run test" |
| 15 | + "pre-commit": "npm run lint && npm run test", |
| 16 | + "test:integration": "mocha --no-config --import=tsx --require=dotenv/config --timeout 120000 \"test/commands/build.test.ts\" \"test/tasks/generatePublishTx.test.ts\" \"test/utils/versions/getNextPackageVersion.test.ts\"", |
| 17 | + "lint:fix": "npm run lint -- --fix" |
16 | 18 | }, |
17 | 19 | "repository": { |
18 | 20 | "type": "git", |
|
35 | 37 | "homepage": "https://github.com/dappnode/DAppNodeSDK#readme", |
36 | 38 | "dependencies": { |
37 | 39 | "@dappnode/schemas": "^0.1.26", |
38 | | - "@dappnode/toolkit": "^0.1.21", |
39 | 40 | "@dappnode/types": "^0.1.41", |
40 | | - "@octokit/rest": "^20.1.1", |
| 41 | + "@octokit/rest": "^22.0.1", |
41 | 42 | "async-retry": "^1.2.3", |
42 | 43 | "chalk": "^2.4.2", |
43 | 44 | "cli-progress": "^3.8.2", |
44 | | - "dockerode": "^3.3.5", |
45 | | - "dotenv": "^8.2.0", |
46 | | - "ethers": "6.3.0", |
| 45 | + "dotenv": "^16.6.1", |
| 46 | + "ethers": "^6.17.0", |
47 | 47 | "figlet": "^1.2.3", |
48 | | - "form-data": "^3.0.0", |
49 | | - "got": "^12.6.1", |
50 | | - "graphql": "^16.6.0", |
51 | | - "image-size": "^0.8.1", |
52 | | - "inquirer": "^6.2.1", |
53 | | - "js-yaml": "^4.1.0", |
| 48 | + "form-data": "^4.0.6", |
| 49 | + "got": "^14.6.6", |
| 50 | + "image-size": "^2.0.4", |
| 51 | + "inquirer": "^12.11.1", |
| 52 | + "js-yaml": "^4.3.2", |
54 | 53 | "listr": "^0.14.3", |
55 | | - "lodash-es": "^4.17.21", |
| 54 | + "lodash-es": "^4.18.1", |
| 55 | + "log-update": "^6.1.0", |
56 | 56 | "mime-types": "^2.1.24", |
57 | 57 | "moment": "^2.27.0", |
58 | 58 | "prettier": "^2.1.2", |
59 | | - "request": "^2.88.2", |
60 | | - "rimraf": "^3.0.2", |
61 | 59 | "semver": "^7.6.0", |
62 | 60 | "source-map-support": "^0.5.19", |
63 | | - "tar-fs": "^2.0.0", |
| 61 | + "tar-fs": "^3.1.3", |
64 | 62 | "timestring": "^5.0.1", |
65 | | - "yargs": "^17.7.1" |
| 63 | + "yargs": "^17.7.1", |
| 64 | + "wrap-ansi": "^9.0.2" |
66 | 65 | }, |
67 | 66 | "devDependencies": { |
| 67 | + "@eslint/js": "^10.0.1", |
68 | 68 | "@types/async-retry": "^1.4.2", |
69 | 69 | "@types/chai": "^4.3.4", |
70 | 70 | "@types/cli-progress": "^3.7.0", |
71 | | - "@types/dockerode": "^3.3.16", |
72 | 71 | "@types/figlet": "^1.2.0", |
73 | | - "@types/inquirer": "^6.5.0", |
74 | | - "@types/js-yaml": "^3.12.5", |
| 72 | + "@types/js-yaml": "^4.0.9", |
75 | 73 | "@types/listr": "^0.14.2", |
76 | 74 | "@types/lodash-es": "^4.17.7", |
77 | 75 | "@types/mime-types": "^2.1.0", |
78 | 76 | "@types/mocha": "^10.0.1", |
79 | | - "@types/node": "^22.7.5", |
| 77 | + "@types/node": "^20.19.0", |
80 | 78 | "@types/prettier": "^2.1.5", |
81 | | - "@types/request": "^2.48.5", |
82 | | - "@types/rimraf": "^3.0.0", |
83 | 79 | "@types/semver": "^7.3.1", |
84 | 80 | "@types/tar-fs": "^2.0.0", |
85 | 81 | "@types/yargs": "^17.0.24", |
86 | | - "@typescript-eslint/eslint-plugin": "^3.5.0", |
87 | | - "@typescript-eslint/parser": "^3.5.0", |
88 | 82 | "chai": "^5.1.0", |
89 | | - "eslint": "^7.3.1", |
90 | | - "mocha": "^10.2.0", |
91 | | - "ts-node": "^10.9.1", |
92 | | - "typescript": "^5.6.3" |
| 83 | + "eslint": "^10.14.0", |
| 84 | + "mocha": "^12.0.3", |
| 85 | + "tsx": "^4.23.15", |
| 86 | + "typescript": "~5.9.3", |
| 87 | + "typescript-eslint": "^8.72.1" |
93 | 88 | }, |
94 | 89 | "engines": { |
95 | | - "node": ">=20.0.0" |
| 90 | + "node": ">=22.13.0" |
| 91 | + }, |
| 92 | + "resolutions": { |
| 93 | + "minimatch": "^11.0.1", |
| 94 | + "mocha/glob": "^14.0.2" |
96 | 95 | } |
97 | 96 | } |
0 commit comments