What are possible module names? #310
-
I moved away from deno.land/x because they don't support publishing a module with hyphens in their name for no apparent reason. It seems like this is possible on nest.land, but what else is? Which characters in detail are allowed in that name string? Can we publish scoped modules with I couldn't find any information on this. All I found was the json schema for validating the config, but that one also just says Also, is there any effort to prevent name squatting and similar things? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @nnmrts, welcome to the community! For now, the module name can be any non-reserved string with length 2 to 40 and with characters We're going to move to a new module naming format where all modules will be scoped by default. ( so you can have you can find more info at nestdotland/roadmap/1#notes |
Beta Was this translation helpful? Give feedback.
Hey @nnmrts, welcome to the community!
For now, the module name can be any non-reserved string with length 2 to 40 and with characters
a-z
,A-Z
,0-9
,_
,-
,.
and:
. characters@
and/
are not allowedWe're going to move to a new module naming format where all modules will be scoped by default. (
nest.land/x/[user]/[module]@[semver]/[...files]
). you'll still be able to get a top level name (nest.land/-/[module]@[semver]/[...files]
) once your module gets manually verified and is of decent quality. this drastically eliminates top level name squatting. this is crucial because nest, by design, doesn't allow deleting the modules so we cannot follow the common practice of just deleting the squatt…