Migrated to TypeScript.

This commit is contained in:
2026-03-05 21:29:58 +01:00
parent 5aacde4f67
commit cb41e7dec1
26 changed files with 659 additions and 430 deletions

View File

@@ -2,6 +2,17 @@
"name": "@slawek/sk-az-tools",
"version": "0.1.0",
"type": "module",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc",
"build:watch": "tsc --watch",
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=24.0.0"
},
@@ -13,20 +24,26 @@
"@microsoft/microsoft-graph-client": "^3.0.7",
"azure-devops-node-api": "^15.1.2",
"jmespath": "^0.16.0",
"minimatch": "^10.1.2"
"minimatch": "^10.1.2",
"open": "^10.1.0"
},
"devDependencies": {
"@types/jmespath": "^0.15.2",
"@types/node": "^24.0.0",
"typescript": "^5.8.2"
},
"author": {
"name": "Sławomir Koszewski",
"email": "slawek@koszewscy.waw.pl"
},
"bin": {
"sk-az-tools": "./src/cli.js"
"sk-az-tools": "./dist/cli.js"
},
"license": "MIT",
"exports": {
".": "./src/index.js",
"./azure": "./src/azure/index.js",
"./graph": "./src/graph/index.js",
"./devops": "./src/devops/index.js"
".": "./dist/index.js",
"./azure": "./dist/azure/index.js",
"./graph": "./dist/graph/index.js",
"./devops": "./dist/devops/index.js"
}
}