infra-cost 0.1.0 → 0.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.
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "infra-cost",
3
- "version": "0.1.0",
4
- "description": "A CLI tool to perform cost analysis on your infra account's cost",
3
+ "version": "0.2.0",
4
+ "description": "Multi-cloud FinOps CLI tool for comprehensive cost analysis and infrastructure optimization across AWS, GCP, Azure, Alibaba Cloud, and Oracle Cloud",
5
5
  "type": "module",
6
- "author": "Code Collab <codecollab.co@gmail.com> (https://github.com/codecollab-co/infra-cost)",
6
+ "author": {
7
+ "name": "Code Collab",
8
+ "email": "codecollab.co@gmail.com",
9
+ "url": "https://github.com/codecollab-co/infra-cost"
10
+ },
7
11
  "files": [
8
12
  "!tests/**/*",
9
13
  "dist/**/*",
@@ -11,7 +15,8 @@
11
15
  "bin/**/*"
12
16
  ],
13
17
  "bin": {
14
- "aws-cost": "bin/index.js"
18
+ "infra-cost": "./bin/index.js",
19
+ "aws-cost": "./bin/index.js"
15
20
  },
16
21
  "scripts": {
17
22
  "build": "tsup",
@@ -20,22 +25,40 @@
20
25
  "predev": "run-s clean",
21
26
  "clean": "rm -rf dist",
22
27
  "typecheck": "tsc --noEmit",
23
- "test": "echo \"Error: no test specified\" && exit 1"
28
+ "test": "echo \"Error: no test specified\" && exit 1",
29
+ "version:check": "node scripts/version-manager.js check",
30
+ "version:next": "node scripts/version-manager.js next",
31
+ "version:bump:patch": "node scripts/version-manager.js bump patch",
32
+ "version:bump:minor": "node scripts/version-manager.js bump minor",
33
+ "version:bump:major": "node scripts/version-manager.js bump major",
34
+ "version:bump:prerelease": "node scripts/version-manager.js bump prerelease",
35
+ "version:set": "node scripts/version-manager.js set",
36
+ "publish:dry": "npm publish --dry-run",
37
+ "publish:beta": "npm publish --tag beta",
38
+ "publish:latest": "npm publish --tag latest",
39
+ "prepare-release": "./scripts/prepare-release.sh",
40
+ "prepublishOnly": "npm run build",
41
+ "postversion": "echo \"Don't forget to push the tag: git push origin v$npm_package_version\"",
42
+ "postpublish": "echo \"🎉 Published $(npm pkg get name)@$(npm pkg get version) to npm!\""
24
43
  },
25
44
  "keywords": [
26
45
  "aws",
46
+ "gcp",
47
+ "azure",
48
+ "alibaba-cloud",
49
+ "oracle-cloud",
50
+ "multi-cloud",
27
51
  "cost",
28
52
  "cli",
29
- "aws-cost",
30
- "aws-cost-cli",
31
- "aws-costs",
32
- "typescript",
33
- "aws cli"
53
+ "infra-cost",
54
+ "cloud-cost",
55
+ "cost-analysis",
56
+ "typescript"
34
57
  ],
35
58
  "license": "MIT",
36
59
  "repository": {
37
60
  "type": "git",
38
- "url": "git+https://github.com/codecollab-co/infra-cost.git"
61
+ "url": "https://github.com/codecollab-co/infra-cost.git"
39
62
  },
40
63
  "engines": {
41
64
  "node": ">=12.0"
@@ -45,23 +68,75 @@
45
68
  },
46
69
  "homepage": "https://github.com/codecollab-co/infra-cost.git#readme",
47
70
  "dependencies": {
48
- "@aws-sdk/shared-ini-file-loader": "^3.254.0",
49
- "aws-sdk": "^2.1299.0",
71
+ "@aws-sdk/client-budgets": "^3.908.0",
72
+ "@aws-sdk/client-cost-explorer": "^3.370.0",
73
+ "@aws-sdk/client-ec2": "^3.909.0",
74
+ "@aws-sdk/client-iam": "^3.370.0",
75
+ "@aws-sdk/client-lambda": "^3.908.0",
76
+ "@aws-sdk/client-rds": "^3.908.0",
77
+ "@aws-sdk/client-s3": "^3.908.0",
78
+ "@aws-sdk/client-sts": "^3.370.0",
79
+ "@aws-sdk/credential-providers": "^3.370.0",
80
+ "@aws-sdk/shared-ini-file-loader": "^3.370.0",
81
+ "axios": "^1.12.2",
50
82
  "chalk": "^5.2.0",
83
+ "cli-progress": "^3.12.0",
84
+ "cli-table3": "^0.6.5",
51
85
  "commander": "^10.0.0",
52
86
  "dayjs": "^1.11.7",
53
87
  "dotenv": "^16.0.3",
88
+ "exceljs": "^4.4.0",
89
+ "express": "^5.1.0",
90
+ "moment": "^2.30.1",
54
91
  "node-fetch": "^3.3.0",
55
- "ora": "^6.1.2"
92
+ "ora": "^6.1.2",
93
+ "puppeteer": "^24.24.1",
94
+ "xlsx": "^0.18.5"
56
95
  },
57
96
  "devDependencies": {
97
+ "@types/cli-progress": "^3.11.6",
98
+ "@types/express": "^5.0.3",
99
+ "@types/jest": "^30.0.0",
58
100
  "@types/node": "^18.11.18",
101
+ "@types/supertest": "^6.0.3",
102
+ "jest": "^30.2.0",
59
103
  "npm-run-all": "^4.1.5",
60
- "react": "^19.0.0",
104
+ "supertest": "^7.1.4",
105
+ "ts-jest": "^29.4.5",
61
106
  "ts-node": "^10.9.1",
62
- "tslib": "^2.8.1",
63
- "tsup": "^8.4.0",
64
- "typescript": "^4.9.5"
107
+ "tsup": "^6.5.0",
108
+ "typescript": "^4.9.4"
109
+ },
110
+ "peerDependencies": {
111
+ "@alicloud/pop-core": "^1.7.12",
112
+ "@azure/arm-costmanagement": "^1.0.0",
113
+ "@azure/arm-subscriptions": "^5.1.0",
114
+ "@azure/identity": "^3.1.0",
115
+ "@google-cloud/billing": "^4.1.0",
116
+ "@google-cloud/resource-manager": "^5.1.0",
117
+ "oci-sdk": "^2.69.0"
65
118
  },
66
- "main": "index.js"
119
+ "peerDependenciesMeta": {
120
+ "@google-cloud/billing": {
121
+ "optional": true
122
+ },
123
+ "@google-cloud/resource-manager": {
124
+ "optional": true
125
+ },
126
+ "@azure/arm-costmanagement": {
127
+ "optional": true
128
+ },
129
+ "@azure/arm-subscriptions": {
130
+ "optional": true
131
+ },
132
+ "@azure/identity": {
133
+ "optional": true
134
+ },
135
+ "@alicloud/pop-core": {
136
+ "optional": true
137
+ },
138
+ "oci-sdk": {
139
+ "optional": true
140
+ }
141
+ }
67
142
  }