mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 10:32:40 +08:00
feat(ql3): add request-scoped console task creation
This commit is contained in:
@@ -71,6 +71,7 @@ const EXPECTED_PACKAGE_DEPENDENCIES = Object.freeze({
|
||||
}),
|
||||
'packages/ql3-local-api': Object.freeze({
|
||||
dependencies: Object.freeze({
|
||||
'@qinglong/local-admin': 'workspace:*',
|
||||
'@qinglong/local-application': 'workspace:*',
|
||||
'@qinglong/local-command-file': 'workspace:*',
|
||||
'@qinglong/local-owner-console': 'workspace:*',
|
||||
@@ -272,6 +273,7 @@ const EXPECTED_PACKAGE_DEPENDENCIES = Object.freeze({
|
||||
}),
|
||||
});
|
||||
const EXPECTED_WORKSPACE_RESOLUTIONS = Object.freeze({
|
||||
'packages/ql3-local-api:@qinglong/local-admin': 'link:../ql3-local-admin',
|
||||
'packages/ql3-local-api:@qinglong/local-application':
|
||||
'link:../ql3-local-application',
|
||||
'packages/ql3-local-api:@qinglong/local-command-file':
|
||||
@@ -3158,6 +3160,14 @@ function auditSourceImports(root, packagePath, findings) {
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
packagePath === 'packages/ql3-local-api' &&
|
||||
path.relative(packageDirectory, filePath) ===
|
||||
'src/task/taskPutRoute.ts' &&
|
||||
specifier === '@qinglong/local-admin/task-definition-administration'
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
path.isAbsolute(specifier) ||
|
||||
forbidden.some(
|
||||
|
||||
Reference in New Issue
Block a user