@@ -14,6 +14,7 @@ const execFileAsync = promisify(execFile)
1414/**
1515 * Validates an npm package name using the official npm validation package
1616 * @throws Error if the name is invalid
17+ * @internal
1718 */
1819export function validatePackageName ( name : string ) : void {
1920 const result = v . safeParse ( PackageNameSchema , name )
@@ -26,6 +27,7 @@ export function validatePackageName(name: string): void {
2627/**
2728 * Validates an npm username
2829 * @throws Error if the username is invalid
30+ * @internal
2931 */
3032export function validateUsername ( name : string ) : void {
3133 const result = v . safeParse ( UsernameSchema , name )
@@ -37,6 +39,7 @@ export function validateUsername(name: string): void {
3739/**
3840 * Validates an npm org name (without the @ prefix)
3941 * @throws Error if the org name is invalid
42+ * @internal
4043 */
4144export function validateOrgName ( name : string ) : void {
4245 const result = v . safeParse ( OrgNameSchema , name )
@@ -48,6 +51,7 @@ export function validateOrgName(name: string): void {
4851/**
4952 * Validates a scope:team format (e.g., @myorg:developers)
5053 * @throws Error if the scope:team is invalid
54+ * @internal
5155 */
5256export function validateScopeTeam ( scopeTeam : string ) : void {
5357 const result = v . safeParse ( ScopeTeamSchema , scopeTeam )
0 commit comments