···1414/**
1515 * Validates an npm package name using the official npm validation package
1616 * @throws Error if the name is invalid
1717+ * @internal
1718 */
1819export function validatePackageName(name: string): void {
1920 const result = v.safeParse(PackageNameSchema, name)
···2627/**
2728 * Validates an npm username
2829 * @throws Error if the username is invalid
3030+ * @internal
2931 */
3032export function validateUsername(name: string): void {
3133 const result = v.safeParse(UsernameSchema, name)
···3739/**
3840 * Validates an npm org name (without the @ prefix)
3941 * @throws Error if the org name is invalid
4242+ * @internal
4043 */
4144export function validateOrgName(name: string): void {
4245 const result = v.safeParse(OrgNameSchema, name)
···4851/**
4952 * Validates a scope:team format (e.g., @myorg:developers)
5053 * @throws Error if the scope:team is invalid
5454+ * @internal
5155 */
5256export function validateScopeTeam(scopeTeam: string): void {
5357 const result = v.safeParse(ScopeTeamSchema, scopeTeam)