@factiii/stack 0.1.66 → 0.1.68

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 (27) hide show
  1. package/dist/plugins/addons/vercel/scanfix/token.js +2 -2
  2. package/dist/plugins/addons/vercel/scanfix/token.js.map +1 -1
  3. package/dist/plugins/pipelines/aws/scanfix/ec2.d.ts.map +1 -1
  4. package/dist/plugins/pipelines/aws/scanfix/ec2.js +5 -11
  5. package/dist/plugins/pipelines/aws/scanfix/ec2.js.map +1 -1
  6. package/dist/plugins/pipelines/aws/scanfix/route53.d.ts +10 -0
  7. package/dist/plugins/pipelines/aws/scanfix/route53.d.ts.map +1 -0
  8. package/dist/plugins/pipelines/aws/scanfix/route53.js +182 -0
  9. package/dist/plugins/pipelines/aws/scanfix/route53.js.map +1 -0
  10. package/dist/plugins/pipelines/aws/utils/aws-helpers.d.ts +12 -1
  11. package/dist/plugins/pipelines/aws/utils/aws-helpers.d.ts.map +1 -1
  12. package/dist/plugins/pipelines/aws/utils/aws-helpers.js +61 -1
  13. package/dist/plugins/pipelines/aws/utils/aws-helpers.js.map +1 -1
  14. package/dist/plugins/pipelines/factiii/index.d.ts.map +1 -1
  15. package/dist/plugins/pipelines/factiii/index.js +2 -0
  16. package/dist/plugins/pipelines/factiii/index.js.map +1 -1
  17. package/dist/plugins/pipelines/factiii/scanfix/secrets.d.ts +6 -1
  18. package/dist/plugins/pipelines/factiii/scanfix/secrets.d.ts.map +1 -1
  19. package/dist/plugins/pipelines/factiii/scanfix/secrets.js +1 -0
  20. package/dist/plugins/pipelines/factiii/scanfix/secrets.js.map +1 -1
  21. package/dist/utils/secret-prompts.d.ts.map +1 -1
  22. package/dist/utils/secret-prompts.js +20 -0
  23. package/dist/utils/secret-prompts.js.map +1 -1
  24. package/dist/utils/ssh-helper.d.ts.map +1 -1
  25. package/dist/utils/ssh-helper.js +19 -17
  26. package/dist/utils/ssh-helper.js.map +1 -1
  27. package/package.json +95 -94
package/package.json CHANGED
@@ -1,95 +1,96 @@
1
- {
2
- "name": "@factiii/stack",
3
- "version": "0.1.66",
4
- "description": "Infrastructure management package for deploying services to servers",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "bin": {
8
- "stack": "./bin/stack"
9
- },
10
- "files": [
11
- "bin/",
12
- "dist/"
13
- ],
14
- "scripts": {
15
- "build": "tsc && npm run copy-assets",
16
- "build:watch": "tsc --watch",
17
- "clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true,force:true})\"",
18
- "copy-assets": "node -e \"const fs=require('fs'),p=require('path');fs.cpSync('src/plugins/approved.json','dist/plugins/approved.json');const d='dist/plugins/pipelines/factiii/workflows';fs.mkdirSync(d,{recursive:true});for(const f of fs.readdirSync('src/plugins/pipelines/factiii/workflows').filter(f=>f.endsWith('.yml')))fs.cpSync(p.join('src/plugins/pipelines/factiii/workflows',f),p.join(d,f));const pd='dist/plugins/pipelines/aws/policies';fs.mkdirSync(pd,{recursive:true});for(const f of fs.readdirSync('src/plugins/pipelines/aws/policies').filter(f=>f.endsWith('.json')))fs.cpSync(p.join('src/plugins/pipelines/aws/policies',f),p.join(pd,f))\"",
19
- "prebuild": "npm run clean",
20
- "prepublish-check": "node -e \"const v=require('./package.json').version; if(v.includes('-d')){console.error('❌ Cannot publish dev version:',v); process.exit(1)}\"",
21
- "prepublishOnly": "npm run prepublish-check && npm run build",
22
- "test": "jest",
23
- "test:watch": "jest --watch",
24
- "test:coverage": "jest --coverage",
25
- "typecheck": "tsc --noEmit"
26
- },
27
- "keywords": [
28
- "infrastructure",
29
- "deployment",
30
- "docker",
31
- "nginx"
32
- ],
33
- "author": "",
34
- "license": "MIT",
35
- "repository": {
36
- "type": "git",
37
- "url": "https://github.com/factiii/stack.git"
38
- },
39
- "publishConfig": {
40
- "registry": "https://registry.npmjs.org"
41
- },
42
- "dependencies": {
43
- "@aws-sdk/client-ec2": "^3.750.0",
44
- "@aws-sdk/client-ecr": "^3.750.0",
45
- "@aws-sdk/client-iam": "^3.750.0",
46
- "@aws-sdk/client-rds": "^3.750.0",
47
- "@aws-sdk/client-s3": "^3.750.0",
48
- "@aws-sdk/client-ses": "^3.750.0",
49
- "@aws-sdk/client-sts": "^3.750.0",
50
- "@octokit/rest": "^20.0.2",
51
- "commander": "^11.1.0",
52
- "js-yaml": "^4.1.1",
53
- "libsodium-wrappers": "^0.7.11"
54
- },
55
- "devDependencies": {
56
- "@types/jest": "^30.0.0",
57
- "@types/js-yaml": "^4.0.9",
58
- "@types/node": "^25.0.3",
59
- "jest": "^29.7.0",
60
- "ts-jest": "^29.4.6",
61
- "ts-node": "^10.9.2",
62
- "typescript": "^5.9.3"
63
- },
64
- "jest": {
65
- "preset": "ts-jest",
66
- "testEnvironment": "node",
67
- "testMatch": [
68
- "**/test/**/*.test.ts"
69
- ],
70
- "moduleNameMapper": {
71
- "^(\\.{1,2}/.*)\\.js$": "$1"
72
- },
73
- "collectCoverageFrom": [
74
- "src/**/*.ts",
75
- "!**/node_modules/**"
76
- ],
77
- "coverageThreshold": {
78
- "global": {
79
- "branches": 70,
80
- "functions": 70,
81
- "lines": 70,
82
- "statements": 70
83
- }
84
- }
85
- },
86
- "engines": {
87
- "node": ">=18.0.0"
88
- },
89
- "pnpm": {
90
- "overrides": {
91
- "minimatch": ">=10.2.1",
92
- "diff": ">=4.0.4"
93
- }
94
- }
1
+ {
2
+ "name": "@factiii/stack",
3
+ "version": "0.1.68",
4
+ "description": "Infrastructure management package for deploying services to servers",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "bin": {
8
+ "stack": "./bin/stack"
9
+ },
10
+ "files": [
11
+ "bin/",
12
+ "dist/"
13
+ ],
14
+ "scripts": {
15
+ "build": "tsc && npm run copy-assets",
16
+ "build:watch": "tsc --watch",
17
+ "clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true,force:true})\"",
18
+ "copy-assets": "node -e \"const fs=require('fs'),p=require('path');fs.cpSync('src/plugins/approved.json','dist/plugins/approved.json');const d='dist/plugins/pipelines/factiii/workflows';fs.mkdirSync(d,{recursive:true});for(const f of fs.readdirSync('src/plugins/pipelines/factiii/workflows').filter(f=>f.endsWith('.yml')))fs.cpSync(p.join('src/plugins/pipelines/factiii/workflows',f),p.join(d,f));const pd='dist/plugins/pipelines/aws/policies';fs.mkdirSync(pd,{recursive:true});for(const f of fs.readdirSync('src/plugins/pipelines/aws/policies').filter(f=>f.endsWith('.json')))fs.cpSync(p.join('src/plugins/pipelines/aws/policies',f),p.join(pd,f))\"",
19
+ "prebuild": "npm run clean",
20
+ "prepublish-check": "node -e \"const v=require('./package.json').version; if(v.includes('-d')){console.error('❌ Cannot publish dev version:',v); process.exit(1)}\"",
21
+ "prepublishOnly": "npm run prepublish-check && npm run build",
22
+ "test": "jest",
23
+ "test:watch": "jest --watch",
24
+ "test:coverage": "jest --coverage",
25
+ "typecheck": "tsc --noEmit"
26
+ },
27
+ "keywords": [
28
+ "infrastructure",
29
+ "deployment",
30
+ "docker",
31
+ "nginx"
32
+ ],
33
+ "author": "",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/factiii/stack.git"
38
+ },
39
+ "publishConfig": {
40
+ "registry": "https://registry.npmjs.org"
41
+ },
42
+ "dependencies": {
43
+ "@aws-sdk/client-ec2": "^3.750.0",
44
+ "@aws-sdk/client-ecr": "^3.750.0",
45
+ "@aws-sdk/client-iam": "^3.750.0",
46
+ "@aws-sdk/client-rds": "^3.750.0",
47
+ "@aws-sdk/client-route-53": "^3.1001.0",
48
+ "@aws-sdk/client-s3": "^3.750.0",
49
+ "@aws-sdk/client-ses": "^3.750.0",
50
+ "@aws-sdk/client-sts": "^3.750.0",
51
+ "@octokit/rest": "^20.0.2",
52
+ "commander": "^11.1.0",
53
+ "js-yaml": "^4.1.1",
54
+ "libsodium-wrappers": "^0.7.11"
55
+ },
56
+ "devDependencies": {
57
+ "@types/jest": "^30.0.0",
58
+ "@types/js-yaml": "^4.0.9",
59
+ "@types/node": "^25.0.3",
60
+ "jest": "^29.7.0",
61
+ "ts-jest": "^29.4.6",
62
+ "ts-node": "^10.9.2",
63
+ "typescript": "^5.9.3"
64
+ },
65
+ "jest": {
66
+ "preset": "ts-jest",
67
+ "testEnvironment": "node",
68
+ "testMatch": [
69
+ "**/test/**/*.test.ts"
70
+ ],
71
+ "moduleNameMapper": {
72
+ "^(\\.{1,2}/.*)\\.js$": "$1"
73
+ },
74
+ "collectCoverageFrom": [
75
+ "src/**/*.ts",
76
+ "!**/node_modules/**"
77
+ ],
78
+ "coverageThreshold": {
79
+ "global": {
80
+ "branches": 70,
81
+ "functions": 70,
82
+ "lines": 70,
83
+ "statements": 70
84
+ }
85
+ }
86
+ },
87
+ "engines": {
88
+ "node": ">=18.0.0"
89
+ },
90
+ "pnpm": {
91
+ "overrides": {
92
+ "minimatch": ">=10.2.1",
93
+ "diff": ">=4.0.4"
94
+ }
95
+ }
95
96
  }