Skip to content

Commit cc2bcb0

Browse files
committed
Tag exports only imported by tests
1 parent 241091f commit cc2bcb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/src/npm-client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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
*/
1819
export 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
*/
3032
export 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
*/
4144
export 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
*/
5256
export function validateScopeTeam(scopeTeam: string): void {
5357
const result = v.safeParse(ScopeTeamSchema, scopeTeam)

0 commit comments

Comments
 (0)