mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): add secret-backed console automation
This commit is contained in:
@@ -1566,10 +1566,11 @@ function auditSourceImports(root, packagePath, findings) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
!(
|
||||
packagePath === 'packages/ql3-local-owner-cli' &&
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
'src/security-management/secretCommand.ts'
|
||||
![
|
||||
'packages/ql3-local-owner-cli:src/security-management/secretCommand.ts',
|
||||
'packages/ql3-local-api:src/secret/secretRoutes.ts',
|
||||
].includes(
|
||||
`${packagePath}:${path.relative(packageDirectory, filePath)}`,
|
||||
) &&
|
||||
specifier === '@qinglong/local-admin/secret-administration'
|
||||
) {
|
||||
@@ -2682,6 +2683,11 @@ function auditSourceImports(root, packagePath, findings) {
|
||||
specifier ===
|
||||
'@qinglong/runtime-core/plugin-package-automation-publication'
|
||||
) &&
|
||||
!(
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
'src/application-runtime/contract.ts' &&
|
||||
specifier === '@qinglong/runtime-core/local-secret'
|
||||
) &&
|
||||
!(
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
'src/production-process/pluginPackageRecoveryCatalog.ts' &&
|
||||
@@ -3168,6 +3174,14 @@ function auditSourceImports(root, packagePath, findings) {
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
packagePath === 'packages/ql3-local-api' &&
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
'src/secret/secretRoutes.ts' &&
|
||||
specifier === '@qinglong/local-admin/secret-administration'
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
packagePath === 'packages/ql3-local-api' &&
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
|
||||
Reference in New Issue
Block a user