PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.29k stars 356 forks source link

[RFC] Customize path to package.json where version is specified #1080

Open jam-fran opened 1 week ago

jam-fran commented 1 week ago

How do you envision this feature/change to look/work like?

Similar to the GitHub action, would be great to be able to specific a custom path to the package.json where the designed version number is located. Something like this:

plasmo build --version-file ../../package.json

What is the purpose of this change/feature? Why?

In monorepos, the source of truth for the app's version is often kept in the root package.json as opposed to in the extension's directory.

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct