Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pnpm/package.yaml #511

Open
3 tasks done
sghuang19 opened this issue Aug 13, 2024 · 0 comments
Open
3 tasks done

Add support for pnpm/package.yaml #511

sghuang19 opened this issue Aug 13, 2024 · 0 comments

Comments

@sghuang19
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant