|
19 | 19 | "docs": "markserv .", |
20 | 20 | "pretest": "npm run compile", |
21 | 21 | "watch": "tsc -watch -p ./", |
22 | | - "lint": "node_modules/.bin/eslint . --ext .ts --quiet", |
| 22 | + "lint": "npx eslint . --ext .ts --quiet", |
23 | 23 | "test": "ts-mocha -p tsconfig.json test/*.test.ts --timeout 5000 ${MOCHA_TAG}", |
24 | 24 | "test:report": "npm run test -- --reporter mocha-simple-html-reporter --reporter-options output=out/test-report.html", |
25 | 25 | "test:report:ci": "npm run test -- --reporter mocha-junit-reporter --reporter-options mochaFile=out/test-report.xml", |
26 | 26 | "prettier:base": "prettier --parser typescript --single-quote", |
27 | 27 | "prettier:check": "npm run prettier:base -- --list-different \"src/*.ts\" \"test/*.ts\"", |
28 | 28 | "prettier:write": "npm run prettier:base -- --write \"**/**/*.ts\"", |
29 | 29 | "copy-node-modules": "for i in `ls tasks` ; do copy-node-modules . tasks/$i; done", |
30 | | - "copy-utils-file": "cp src/oc-utils.json out/src/", |
| 30 | + "copy-utils-file": "npx shx mkdir -p out/src && cp src/oc-utils.json out/src/", |
31 | 31 | "copy-task-utils": "for i in `ls tasks` ; do cp -r src/oc-utils.json tasks/$i/lib/; done", |
32 | 32 | "copy-task-lib": "for i in `ls tasks` ; do cp -r out/src/. tasks/$i/lib/; done", |
33 | 33 | "bump-task-version": "for i in `ls tasks` ; do TASK=$(cat tasks/$i/task.json | json -e 'this.version.Patch++'); echo \"$TASK\" > tasks/$i/task.json; done", |
|
57 | 57 | }, |
58 | 58 | "homepage": "https://github.com/redhat-developer/openshift-vsts#readme", |
59 | 59 | "dependencies": { |
60 | | - "@types/q": "^1.5.1", |
61 | | - "@types/valid-url": "^1.0.2", |
62 | | - "adm-zip": "^0.4.13", |
63 | | - "argv-split": "^2.0.1", |
64 | | - "azure-pipelines-task-lib": "^3.1.7", |
65 | | - "azure-pipelines-tool-lib": "^1.3.2", |
| 60 | + "@types/q": "^1.5.8", |
| 61 | + "@types/valid-url": "^1.0.7", |
| 62 | + "adm-zip": "^0.5.16", |
| 63 | + "argv-split": "^3.2.1", |
| 64 | + "azure-pipelines-task-lib": "^5.0.0", |
| 65 | + "azure-pipelines-tool-lib": "^2.0.8", |
66 | 66 | "decompress": "^4.2.1", |
67 | 67 | "decompress-tar": "^4.1.1", |
68 | 68 | "decompress-targz": "^4.1.1", |
69 | | - "del-cli": "^5.0.0", |
70 | | - "node-fetch": "^2.6.7", |
| 69 | + "del-cli": "^6.0.0", |
| 70 | + "node-fetch": "^3.3.2", |
71 | 71 | "q": "^1.5.1", |
72 | | - "semver": "^7.1.3", |
| 72 | + "semver": "^7.7.1", |
73 | 73 | "substituter": "^1.3.0", |
74 | 74 | "valid-url": "^1.0.9" |
75 | 75 | }, |
76 | 76 | "devDependencies": { |
77 | 77 | "@types/chai": "^4.1.6", |
78 | | - "@types/glob": "^7.1.1", |
79 | | - "@types/mocha": "^5.2.7", |
80 | | - "@types/node": "^12.12.7", |
81 | | - "@types/sinon": "^7.0.13", |
82 | | - "@types/uuid": "^8.3.0", |
| 78 | + "@types/glob": "^8.1.0", |
| 79 | + "@types/mocha": "^10.0.10", |
| 80 | + "@types/node": "^20.3.1", |
| 81 | + "@types/sinon": "^17.0.3", |
| 82 | + "@types/uuid": "^10.0.0", |
83 | 83 | "@typescript-eslint/eslint-plugin": "^2.16.0", |
84 | 84 | "@typescript-eslint/parser": "^2.16.0", |
85 | | - "chai": "^4.2.0", |
| 85 | + "chai": "4.5.0", |
86 | 86 | "chai-fs": "^2.0.0", |
87 | 87 | "commit-message-validator": "^0.1.6", |
88 | 88 | "copy-node-modules": "^1.0.4", |
|
91 | 91 | "eslint-config-prettier": "^6.7.0", |
92 | 92 | "eslint-import-resolver-typescript": "^2.0.0", |
93 | 93 | "eslint-plugin-header": "^3.0.0", |
94 | | - "eslint-plugin-import": "2.18.2", |
| 94 | + "eslint-plugin-import": "2.22.1", |
95 | 95 | "eslint-plugin-json": "^2.0.1", |
96 | 96 | "eslint-plugin-prettier": "^3.1.1", |
97 | 97 | "istanbul": "^0.4.5", |
98 | | - "mocha": "^6.0", |
| 98 | + "mocha": "^7.0", |
99 | 99 | "mocha-jenkins-reporter": "^0.4.8", |
100 | | - "mocha-junit-reporter": "^1.18.0", |
101 | | - "mocha-simple-html-reporter": "^1.1.0", |
102 | | - "prettier": "^1.14.3", |
| 100 | + "mocha-junit-reporter": "^2.2.1", |
| 101 | + "mocha-simple-html-reporter": "^2.0.0", |
| 102 | + "prettier": "^3.5.1", |
103 | 103 | "remap-istanbul": "^0.13.0", |
104 | | - "sinon": "^7.4.2", |
105 | | - "ts-mocha": "^6.0", |
106 | | - "ts-node": "^7.0.1", |
107 | | - "typescript": "^4.0.2" |
| 104 | + "shx": "^0.3.4", |
| 105 | + "sinon": "^19.0.2", |
| 106 | + "ts-mocha": "^10.1.0", |
| 107 | + "ts-node": "^10.9.2", |
| 108 | + "typescript": "^5.7.3" |
108 | 109 | } |
109 | 110 | } |
0 commit comments