@factiii/stack 0.1.149 → 0.1.150

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 (39) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +441 -441
  3. package/bin/stack +290 -290
  4. package/dist/cli/dev-sync.js +16 -16
  5. package/dist/plugins/addons/auth/index.js +7 -7
  6. package/dist/plugins/addons/openclaw/scanfix/setup.d.ts.map +1 -1
  7. package/dist/plugins/addons/openclaw/scanfix/setup.js +69 -54
  8. package/dist/plugins/addons/openclaw/scanfix/setup.js.map +1 -1
  9. package/dist/plugins/addons/vercel/index.js +9 -9
  10. package/dist/plugins/addons/vercel/scanfix/config.js +10 -10
  11. package/dist/plugins/addons/vercel/scanfix/token.js +15 -15
  12. package/dist/plugins/approved.json +13 -13
  13. package/dist/plugins/pipelines/aws/index.js +12 -12
  14. package/dist/plugins/pipelines/aws/policies/bootstrap-policy.json +135 -135
  15. package/dist/plugins/pipelines/aws/prod.js +1 -1
  16. package/dist/plugins/pipelines/factiii/index.d.ts.map +1 -1
  17. package/dist/plugins/pipelines/factiii/index.js +47 -1
  18. package/dist/plugins/pipelines/factiii/index.js.map +1 -1
  19. package/dist/plugins/pipelines/factiii/prod.d.ts.map +1 -1
  20. package/dist/plugins/pipelines/factiii/prod.js +22 -17
  21. package/dist/plugins/pipelines/factiii/prod.js.map +1 -1
  22. package/dist/plugins/pipelines/factiii/staging.d.ts.map +1 -1
  23. package/dist/plugins/pipelines/factiii/staging.js +24 -19
  24. package/dist/plugins/pipelines/factiii/staging.js.map +1 -1
  25. package/dist/plugins/pipelines/factiii/workflows/stack-ci.yml +75 -75
  26. package/dist/plugins/pipelines/factiii/workflows/stack-cicd-prod.yml +73 -73
  27. package/dist/plugins/servers/amazon-linux/index.js +16 -16
  28. package/dist/plugins/servers/mac/index.js +12 -12
  29. package/dist/plugins/servers/mac/staging.js +2 -2
  30. package/dist/plugins/servers/ubuntu/index.js +23 -23
  31. package/dist/plugins/servers/windows/index.js +15 -15
  32. package/dist/scanfix/fixes/docker.d.ts.map +1 -1
  33. package/dist/scanfix/fixes/docker.js +13 -1
  34. package/dist/scanfix/fixes/docker.js.map +1 -1
  35. package/dist/scripts/generate-all.js +73 -73
  36. package/dist/utils/deployment-report.js +2 -2
  37. package/dist/utils/secret-prompts.js +34 -34
  38. package/dist/utils/template-generator.js +74 -74
  39. package/package.json +100 -100
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
- {
2
- "name": "@factiii/stack",
3
- "version": "0.1.149",
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-ec2-instance-connect": "^3.1001.0",
45
- "@aws-sdk/client-ecr": "^3.750.0",
46
- "@aws-sdk/client-iam": "^3.750.0",
47
- "@aws-sdk/client-rds": "^3.750.0",
48
- "@aws-sdk/client-route-53": "^3.1001.0",
49
- "@aws-sdk/client-s3": "^3.750.0",
50
- "@aws-sdk/client-ses": "^3.750.0",
51
- "@aws-sdk/client-sts": "^3.750.0",
52
- "@factiii/auth": "latest",
53
- "@factiii/stack": "0.1.117",
54
- "@octokit/rest": "^20.0.2",
55
- "ansible-vault": "^1.3.0",
56
- "commander": "^11.1.0",
57
- "js-yaml": "^4.1.1",
58
- "libsodium-wrappers": "^0.7.11"
59
- },
60
- "devDependencies": {
61
- "@types/jest": "^30.0.0",
62
- "@types/js-yaml": "^4.0.9",
63
- "@types/node": "^25.0.3",
64
- "jest": "^29.7.0",
65
- "ts-jest": "^29.4.6",
66
- "ts-node": "^10.9.2",
67
- "typescript": "^5.9.3"
68
- },
69
- "jest": {
70
- "preset": "ts-jest",
71
- "testEnvironment": "node",
72
- "testMatch": [
73
- "**/test/**/*.test.ts"
74
- ],
75
- "moduleNameMapper": {
76
- "^(\\.{1,2}/.*)\\.js$": "$1"
77
- },
78
- "collectCoverageFrom": [
79
- "src/**/*.ts",
80
- "!**/node_modules/**"
81
- ],
82
- "coverageThreshold": {
83
- "global": {
84
- "branches": 70,
85
- "functions": 70,
86
- "lines": 70,
87
- "statements": 70
88
- }
89
- }
90
- },
91
- "engines": {
92
- "node": ">=18.0.0"
93
- },
94
- "pnpm": {
95
- "overrides": {
96
- "minimatch": ">=10.2.1",
97
- "diff": ">=4.0.4"
98
- }
99
- }
100
- }
1
+ {
2
+ "name": "@factiii/stack",
3
+ "version": "0.1.150",
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-ec2-instance-connect": "^3.1001.0",
45
+ "@aws-sdk/client-ecr": "^3.750.0",
46
+ "@aws-sdk/client-iam": "^3.750.0",
47
+ "@aws-sdk/client-rds": "^3.750.0",
48
+ "@aws-sdk/client-route-53": "^3.1001.0",
49
+ "@aws-sdk/client-s3": "^3.750.0",
50
+ "@aws-sdk/client-ses": "^3.750.0",
51
+ "@aws-sdk/client-sts": "^3.750.0",
52
+ "@factiii/auth": "latest",
53
+ "@factiii/stack": "0.1.117",
54
+ "@octokit/rest": "^20.0.2",
55
+ "ansible-vault": "^1.3.0",
56
+ "commander": "^11.1.0",
57
+ "js-yaml": "^4.1.1",
58
+ "libsodium-wrappers": "^0.7.11"
59
+ },
60
+ "devDependencies": {
61
+ "@types/jest": "^30.0.0",
62
+ "@types/js-yaml": "^4.0.9",
63
+ "@types/node": "^25.0.3",
64
+ "jest": "^29.7.0",
65
+ "ts-jest": "^29.4.6",
66
+ "ts-node": "^10.9.2",
67
+ "typescript": "^5.9.3"
68
+ },
69
+ "jest": {
70
+ "preset": "ts-jest",
71
+ "testEnvironment": "node",
72
+ "testMatch": [
73
+ "**/test/**/*.test.ts"
74
+ ],
75
+ "moduleNameMapper": {
76
+ "^(\\.{1,2}/.*)\\.js$": "$1"
77
+ },
78
+ "collectCoverageFrom": [
79
+ "src/**/*.ts",
80
+ "!**/node_modules/**"
81
+ ],
82
+ "coverageThreshold": {
83
+ "global": {
84
+ "branches": 70,
85
+ "functions": 70,
86
+ "lines": 70,
87
+ "statements": 70
88
+ }
89
+ }
90
+ },
91
+ "engines": {
92
+ "node": ">=18.0.0"
93
+ },
94
+ "pnpm": {
95
+ "overrides": {
96
+ "minimatch": ">=10.2.1",
97
+ "diff": ">=4.0.4"
98
+ }
99
+ }
100
+ }