indraq_cli 1.9.1 → 2.0.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.
Files changed (64) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1043 -1517
  3. package/cloud-api/.env +6 -0
  4. package/cloud-api/.env.example +14 -14
  5. package/cloud-api/README.md +145 -141
  6. package/cloud-api/package.json +29 -29
  7. package/cloud-api/sql/001_init.sql +8 -8
  8. package/cloud-api/sql/002_user_providers_and_project_resources.sql +40 -40
  9. package/cloud-api/sql/003_environment_infrastructure.sql +19 -19
  10. package/cloud-api/sql/004_managed_aws_credentials.sql +20 -20
  11. package/cloud-api/sql/005_project_members_and_resource_grants.sql +22 -22
  12. package/cloud-api/sql/006_catalog_identity_password_security.sql +96 -96
  13. package/cloud-api/sql/007_aws_access_key_rotation.sql +16 -16
  14. package/cloud-api/src/index.ts +1329 -1254
  15. package/cloud-api/tsconfig.json +18 -18
  16. package/dist/cli/help-content.d.ts.map +1 -1
  17. package/dist/cli/help-content.js +254 -251
  18. package/dist/cli/help-content.js.map +1 -1
  19. package/dist/modules/access/commands/access.command.d.ts +19 -0
  20. package/dist/modules/access/commands/access.command.d.ts.map +1 -1
  21. package/dist/modules/access/commands/access.command.js +57 -46
  22. package/dist/modules/access/commands/access.command.js.map +1 -1
  23. package/dist/modules/cloud/commands/cloud.command.d.ts.map +1 -1
  24. package/dist/modules/cloud/commands/cloud.command.js +18 -2
  25. package/dist/modules/cloud/commands/cloud.command.js.map +1 -1
  26. package/dist/modules/cloud/config/cloud-config.d.ts +1 -1
  27. package/dist/modules/cloud/config/cloud-config.js +1 -1
  28. package/dist/modules/cloud/services/cloud-jenkins.service.d.ts +13 -1
  29. package/dist/modules/cloud/services/cloud-jenkins.service.d.ts.map +1 -1
  30. package/dist/modules/cloud/services/cloud-jenkins.service.js +173 -77
  31. package/dist/modules/cloud/services/cloud-jenkins.service.js.map +1 -1
  32. package/dist/modules/cloud/services/managed-aws-credential.service.d.ts.map +1 -1
  33. package/dist/modules/cloud/services/managed-aws-credential.service.js +11 -4
  34. package/dist/modules/cloud/services/managed-aws-credential.service.js.map +1 -1
  35. package/dist/modules/jenkins/commands/admin.command.d.ts +3 -0
  36. package/dist/modules/jenkins/commands/admin.command.d.ts.map +1 -1
  37. package/dist/modules/jenkins/commands/admin.command.js +91 -1
  38. package/dist/modules/jenkins/commands/admin.command.js.map +1 -1
  39. package/dist/modules/jenkins/index.d.ts.map +1 -1
  40. package/dist/modules/jenkins/index.js +3 -0
  41. package/dist/modules/jenkins/index.js.map +1 -1
  42. package/dist/modules/scaffold/services/docker-template.service.js +95 -95
  43. package/dist/modules/users/commands/user.command.d.ts.map +1 -1
  44. package/dist/modules/users/commands/user.command.js +290 -44
  45. package/dist/modules/users/commands/user.command.js.map +1 -1
  46. package/dist/modules/users/providers/aws-user.provider.d.ts.map +1 -1
  47. package/dist/modules/users/providers/aws-user.provider.js +9 -2
  48. package/dist/modules/users/providers/aws-user.provider.js.map +1 -1
  49. package/dist/modules/users/providers/jenkins-user.provider.d.ts +11 -4
  50. package/dist/modules/users/providers/jenkins-user.provider.d.ts.map +1 -1
  51. package/dist/modules/users/providers/jenkins-user.provider.js +174 -72
  52. package/dist/modules/users/providers/jenkins-user.provider.js.map +1 -1
  53. package/dist/modules/users/providers/npm-user.provider.d.ts.map +1 -1
  54. package/dist/modules/users/providers/npm-user.provider.js +3 -1
  55. package/dist/modules/users/providers/npm-user.provider.js.map +1 -1
  56. package/dist/shared/config/config-files.js +7 -7
  57. package/docs/ARCHITECTURE.md +29 -29
  58. package/docs/CREATE-DEPLOYMENT-reference.groovy +1105 -1105
  59. package/package.json +77 -76
  60. package/templates/jenkins/CREATE-DEPLOYMENT.groovy +1105 -1105
  61. package/templates/jenkins/Jenkinsfile-Mobile-App +759 -759
  62. package/cloud-api/.dockerignore +0 -18
  63. package/cloud-api/Dockerfile +0 -19
  64. package/cloud-api/package-lock.json +0 -2250
package/package.json CHANGED
@@ -1,76 +1,77 @@
1
- {
2
- "name": "indraq_cli",
3
- "version": "1.9.1",
4
- "description": "IndraQ cloud-first CLI for project lifecycle, organization access, Route53/NPM/Jenkins/AWS orchestration, Docker and deployments",
5
- "main": "dist/index.js",
6
- "bin": {
7
- "indraq": "dist/index.js"
8
- },
9
- "scripts": {
10
- "build": "tsc",
11
- "prepack": "npm run build",
12
- "start": "node dist/index.js",
13
- "dev": "ts-node src/index.ts",
14
- "watch": "nodemon --exec ts-node src/index.ts",
15
- "build:cloud": "npm --prefix cloud-api install --no-audit --no-fund && npm --prefix cloud-api run build",
16
- "test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security",
17
- "test:user-credentials": "node tests/cloud-user-credential-regression.cjs",
18
- "test:prebuild": "node tests/prebuild-cloud-regression.cjs",
19
- "test:jenkins-port": "node tests/jenkins-port-regression.cjs",
20
- "test:jenkins-crumb": "node tests/jenkins-crumb-regression.cjs",
21
- "test:infrastructure": "node tests/infrastructure-hardening-regression.cjs",
22
- "test:platform": "node tests/platform-hardening-regression.cjs",
23
- "test:project-access": "node tests/project-access-regression.cjs",
24
- "test:project-create": "node tests/project-create-regression.cjs",
25
- "test:docker-context": "node tests/docker-context-regression.cjs",
26
- "test:cloud-endpoint": "node tests/cloud-endpoint-regression.cjs",
27
- "test:identity-security": "node tests/identity-security-regression.cjs"
28
- },
29
- "keywords": [
30
- "indraq",
31
- "cli",
32
- "docker",
33
- "ghcr",
34
- "jenkins",
35
- "deployment",
36
- "devops",
37
- "automation",
38
- "mobile",
39
- "react-native",
40
- "expo",
41
- "android"
42
- ],
43
- "author": "IndraQ Innovations",
44
- "license": "MIT",
45
- "dependencies": {
46
- "@aws-sdk/client-iam": "^3.1123.0",
47
- "@aws-sdk/client-route-53": "^3.1123.0",
48
- "axios": "^1.6.0",
49
- "chalk": "^4.1.2",
50
- "commander": "^9.5.0",
51
- "indraq_cli": "^1.9.0",
52
- "inquirer": "^8.2.5"
53
- },
54
- "devDependencies": {
55
- "@types/inquirer": "^8.2.10",
56
- "@types/node": "^24.13.3",
57
- "nodemon": "^3.0.2",
58
- "ts-node": "^10.9.2",
59
- "typescript": "^5.9.3"
60
- },
61
- "engines": {
62
- "node": ">=22.0.0"
63
- },
64
- "files": [
65
- "dist",
66
- "README.md",
67
- "LICENSE",
68
- "docs",
69
- "templates/jenkins",
70
- "cloud-api"
71
- ],
72
- "publishConfig": {
73
- "access": "public",
74
- "registry": "https://registry.npmjs.org/"
75
- }
76
- }
1
+ {
2
+ "name": "indraq_cli",
3
+ "version": "2.0.0",
4
+ "description": "IndraQ cloud-first CLI for project lifecycle, organization access, Route53/NPM/Jenkins/AWS orchestration, Docker and deployments",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "indraq": "dist/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsc",
11
+ "prepack": "npm run build",
12
+ "start": "node dist/index.js",
13
+ "dev": "ts-node src/index.ts",
14
+ "watch": "nodemon --exec ts-node src/index.ts",
15
+ "build:cloud": "npm --prefix cloud-api install --no-audit --no-fund && npm --prefix cloud-api run build",
16
+ "test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security && npm run test:user-lifecycle-jenkins && npm run test:v2-lifecycle",
17
+ "test:user-credentials": "node tests/cloud-user-credential-regression.cjs",
18
+ "test:prebuild": "node tests/prebuild-cloud-regression.cjs",
19
+ "test:jenkins-port": "node tests/jenkins-port-regression.cjs",
20
+ "test:jenkins-crumb": "node tests/jenkins-crumb-regression.cjs",
21
+ "test:infrastructure": "node tests/infrastructure-hardening-regression.cjs",
22
+ "test:platform": "node tests/platform-hardening-regression.cjs",
23
+ "test:project-access": "node tests/project-access-regression.cjs",
24
+ "test:project-create": "node tests/project-create-regression.cjs",
25
+ "test:docker-context": "node tests/docker-context-regression.cjs",
26
+ "test:cloud-endpoint": "node tests/cloud-endpoint-regression.cjs",
27
+ "test:identity-security": "node tests/identity-security-regression.cjs",
28
+ "test:user-lifecycle-jenkins": "node tests/user-lifecycle-jenkins-regression.cjs",
29
+ "test:v2-lifecycle": "node tests/v2-user-project-lifecycle-regression.cjs"
30
+ },
31
+ "keywords": [
32
+ "indraq",
33
+ "cli",
34
+ "docker",
35
+ "ghcr",
36
+ "jenkins",
37
+ "deployment",
38
+ "devops",
39
+ "automation",
40
+ "mobile",
41
+ "react-native",
42
+ "expo",
43
+ "android"
44
+ ],
45
+ "author": "IndraQ Innovations",
46
+ "license": "MIT",
47
+ "dependencies": {
48
+ "@aws-sdk/client-iam": "^3.1123.0",
49
+ "@aws-sdk/client-route-53": "^3.1123.0",
50
+ "axios": "^1.6.0",
51
+ "chalk": "^4.1.2",
52
+ "commander": "^9.5.0",
53
+ "inquirer": "^8.2.5"
54
+ },
55
+ "devDependencies": {
56
+ "@types/inquirer": "^8.2.10",
57
+ "@types/node": "^24.13.3",
58
+ "nodemon": "^3.0.2",
59
+ "ts-node": "^10.9.2",
60
+ "typescript": "^5.9.3"
61
+ },
62
+ "engines": {
63
+ "node": ">=22.0.0"
64
+ },
65
+ "files": [
66
+ "dist",
67
+ "README.md",
68
+ "LICENSE",
69
+ "docs",
70
+ "templates/jenkins",
71
+ "cloud-api"
72
+ ],
73
+ "publishConfig": {
74
+ "access": "public",
75
+ "registry": "https://registry.npmjs.org/"
76
+ }
77
+ }