create-qa-architect 5.0.7 → 5.4.3
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/.github/workflows/auto-release.yml +49 -0
- package/.github/workflows/quality.yml +11 -11
- package/.github/workflows/shell-ci.yml.example +82 -0
- package/.github/workflows/shell-quality.yml.example +148 -0
- package/README.md +165 -12
- package/config/shell-ci.yml +82 -0
- package/config/shell-quality.yml +148 -0
- package/docs/ADOPTION-SUMMARY.md +41 -0
- package/docs/ARCHITECTURE-REVIEW.md +67 -0
- package/docs/ARCHITECTURE.md +29 -45
- package/docs/CI-COST-ANALYSIS.md +323 -0
- package/docs/CODE-REVIEW.md +100 -0
- package/docs/REQUIREMENTS.md +148 -0
- package/docs/SECURITY-AUDIT.md +68 -0
- package/docs/test-trace-matrix.md +28 -0
- package/eslint.config.cjs +2 -0
- package/lib/commands/analyze-ci.js +616 -0
- package/lib/commands/deps.js +293 -0
- package/lib/commands/index.js +29 -0
- package/lib/commands/validate.js +85 -0
- package/lib/config-validator.js +28 -45
- package/lib/error-reporter.js +14 -2
- package/lib/github-api.js +138 -13
- package/lib/license-signing.js +125 -0
- package/lib/license-validator.js +359 -71
- package/lib/licensing.js +434 -106
- package/lib/package-utils.js +9 -9
- package/lib/prelaunch-validator.js +828 -0
- package/lib/project-maturity.js +58 -6
- package/lib/quality-tools-generator.js +495 -0
- package/lib/result-types.js +112 -0
- package/lib/security-enhancements.js +1 -1
- package/lib/smart-strategy-generator.js +46 -10
- package/lib/telemetry.js +1 -1
- package/lib/template-loader.js +52 -19
- package/lib/ui-helpers.js +1 -1
- package/lib/validation/cache-manager.js +36 -6
- package/lib/validation/config-security.js +100 -33
- package/lib/validation/index.js +68 -97
- package/lib/validation/workflow-validation.js +28 -7
- package/package.json +4 -6
- package/scripts/check-test-coverage.sh +46 -0
- package/scripts/validate-claude-md.js +80 -0
- package/setup.js +923 -301
- package/create-saas-monetization.js +0 -1513
package/lib/package-utils.js
CHANGED
|
@@ -136,7 +136,7 @@ function detectPackageManager(projectPath = process.cwd()) {
|
|
|
136
136
|
return pmName
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
} catch {
|
|
139
|
+
} catch (_error) {
|
|
140
140
|
// Ignore parse errors
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -204,7 +204,7 @@ function detectMonorepoType(projectPath = process.cwd()) {
|
|
|
204
204
|
try {
|
|
205
205
|
const nxJson = JSON.parse(fs.readFileSync(nxJsonPath, 'utf8'))
|
|
206
206
|
result.config = nxJson
|
|
207
|
-
} catch {
|
|
207
|
+
} catch (_error) {
|
|
208
208
|
// Ignore parse errors
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -218,7 +218,7 @@ function detectMonorepoType(projectPath = process.cwd()) {
|
|
|
218
218
|
try {
|
|
219
219
|
const turboJson = JSON.parse(fs.readFileSync(turboJsonPath, 'utf8'))
|
|
220
220
|
result.config = turboJson
|
|
221
|
-
} catch {
|
|
221
|
+
} catch (_error) {
|
|
222
222
|
// Ignore parse errors
|
|
223
223
|
}
|
|
224
224
|
}
|
|
@@ -240,7 +240,7 @@ function detectMonorepoType(projectPath = process.cwd()) {
|
|
|
240
240
|
try {
|
|
241
241
|
const lernaJson = JSON.parse(fs.readFileSync(lernaJsonPath, 'utf8'))
|
|
242
242
|
result.packages = lernaJson.packages || ['packages/*']
|
|
243
|
-
} catch {
|
|
243
|
+
} catch (_error) {
|
|
244
244
|
result.packages = ['packages/*']
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -280,7 +280,7 @@ function detectMonorepoType(projectPath = process.cwd()) {
|
|
|
280
280
|
if (packages.length > 0) {
|
|
281
281
|
result.packages = packages
|
|
282
282
|
}
|
|
283
|
-
} catch {
|
|
283
|
+
} catch (_error) {
|
|
284
284
|
// Ignore parse errors
|
|
285
285
|
}
|
|
286
286
|
}
|
|
@@ -303,7 +303,7 @@ function detectMonorepoType(projectPath = process.cwd()) {
|
|
|
303
303
|
result.packageManager === 'yarn' ? 'yarn' : result.packageManager
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
} catch {
|
|
306
|
+
} catch (_error) {
|
|
307
307
|
// Ignore parse errors
|
|
308
308
|
}
|
|
309
309
|
}
|
|
@@ -351,7 +351,7 @@ function resolveWorkspacePackages(projectPath, patterns) {
|
|
|
351
351
|
path: pkgPath,
|
|
352
352
|
relativePath: path.relative(projectPath, pkgPath),
|
|
353
353
|
})
|
|
354
|
-
} catch {
|
|
354
|
+
} catch (_error) {
|
|
355
355
|
packages.push({
|
|
356
356
|
name: entry.name,
|
|
357
357
|
path: pkgPath,
|
|
@@ -361,7 +361,7 @@ function resolveWorkspacePackages(projectPath, patterns) {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
} catch {
|
|
364
|
+
} catch (_error) {
|
|
365
365
|
// Ignore read errors
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -377,7 +377,7 @@ function resolveWorkspacePackages(projectPath, patterns) {
|
|
|
377
377
|
path: pkgPath,
|
|
378
378
|
relativePath: pattern,
|
|
379
379
|
})
|
|
380
|
-
} catch {
|
|
380
|
+
} catch (_error) {
|
|
381
381
|
packages.push({
|
|
382
382
|
name: path.basename(pkgPath),
|
|
383
383
|
path: pkgPath,
|