DG_LAB/node_modules/@commitlint/load/lib/utils/plugin-naming.d.ts
3944Realms 4b15d70e06 refactor: 重构开发环境
BREAKING CHANGE: 由com.r3944realms.dg_lab_api -> com.r3944realms.dg_lab.api
2025-09-13 10:57:55 +08:00

20 lines
755 B
TypeScript

/**
* Brings package name to correct format based on prefix
* @param {string} name The name of the package.
* @returns {string} Normalized name of the package
* @private
*/
export declare function normalizePackageName(name: string): string;
/**
* Removes the prefix from a fullname.
* @param {string} fullname The term which may have the prefix.
* @returns {string} The term without prefix.
*/
export declare function getShorthandName(fullname: string): string;
/**
* Gets the scope (namespace) of a term.
* @param {string} term The term which may have the namespace.
* @returns {string} The namepace of the term if it has one.
*/
export declare function getNamespaceFromTerm(term: string): string;
//# sourceMappingURL=plugin-naming.d.ts.map