Skip to content

Package export: npm normalize #40

@tsafin

Description

@tsafin

NPM complains if:

  • package name contains /, e.g. eduard93/Cache-MDX2JSON, we should rename it to something like eduard93~Cache-MDX2JSON;
  • .version is required, if package does not provide version in their metadata, then we should set "0.0.1" instead;
  • .version is triplet, if package provides pair (i.e. 0.8) then we should normalize it to 0.8.0. If there is symbol prefix like v0.8 then we should strip it off. It's ok to have symbol suffix in the version, i.e. 4.2.1a;
  • readme.md file is not filled from .readmeText;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions