mirror of
https://github.com/sern-handler/tools
synced 2026-06-06 01:16:59 +00:00
add tsignores
This commit is contained in:
@@ -91,12 +91,12 @@ export const localize = (root?: string) =>
|
||||
const resolvedLocalization= 'command/'+(root??module.name);
|
||||
Reflect.set(module, 'name_localizations', deps.localizer.translationsFor(resolvedLocalization+".name"));
|
||||
Reflect.set(module, 'description_localizations', deps.localizer.translationsFor(resolvedLocalization+'.description'));
|
||||
//@ts-ignore
|
||||
const newOpts = module.options ?? [];
|
||||
//@ts-ignore
|
||||
dfsApplyLocalization(newOpts, deps, [resolvedLocalization]);
|
||||
return controller.next();
|
||||
} else {
|
||||
//@ts-ignore
|
||||
return controller.stop("Cannot localize this type of module " + module.name);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -209,6 +209,7 @@ export const publishConfig = (config: ValidPublishOptions) => {
|
||||
}
|
||||
let _config=config
|
||||
if(typeof _config === 'function') {
|
||||
//@ts-ignore fix later
|
||||
_config = _config(absPath, module);
|
||||
}
|
||||
const { contexts, defaultMemberPermissions, integrationTypes } = _config
|
||||
|
||||
@@ -2415,13 +2415,20 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:2.6.2, tslib@npm:^2.1.0, tslib@npm:^2.6.2":
|
||||
"tslib@npm:2.6.2, tslib@npm:^2.6.2":
|
||||
version: 2.6.2
|
||||
resolution: "tslib@npm:2.6.2"
|
||||
checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:^2.1.0":
|
||||
version: 2.6.3
|
||||
resolution: "tslib@npm:2.6.3"
|
||||
checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"type-detect@npm:^4.0.0, type-detect@npm:^4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "type-detect@npm:4.0.8"
|
||||
|
||||
Reference in New Issue
Block a user