Skip to content

Add support for pnpm/package.yaml #511

@sghng

Description

@sghng

Check List

  • I have already read README.
  • I have already searched existing issues.
  • I have already searched existing pull requrests.

Feature Request

Currently only a repo with a package.json present can be recognized as a valid Hexo blog repo. i.e. in an unrecognized directory, I need to run hexo init first. It would be great to take package.yaml, which is used by pnpm into consideration.

Additional context

entry.version = require('../package.json').version as string;

It might have something to do with this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions