hexojs / hexojs/hexo-cli

Add support for pnpm/package.yaml

Open
#511 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
176
Forks
77
PR merge metrics
No merged PRs in 30d

Description

### Check List

- [X] I have already read README.
- [X] I have already searched existing issues.
- [X] 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

https://github.com/hexojs/hexo-cli/blob/267b1491ec91a915d7479d06cf7095d98a3e88d2/lib/hexo.ts#L75

It might have something to do with this line.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.