-
Notifications
You must be signed in to change notification settings - Fork 798
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
customized path to package.json #271
Comments
I have a similar need for a WebExtensions that has the following tree structure:
The manifest.json file is in the subdirectory src/. It would be nice to be able to customize |
I open a pull request (#425) to configure metadata files. |
So are there any ways to specify the path to package that will be updated? |
I want can anybody comment on where are we at for this issue? I've had a look at the PR #372 |
@siddarthmishra – Since version 7.1.0, you can customize path to package.json. This configuration should solve your problem: {
"packageFiles": "src/lib/package.json",
"bumpFiles": ["src/lib/package.json"]
} @phil-lgr – As for siddarthmishra: {
"packageFiles": "package.json",
"bumpFiles": ["package.json"]
} @bcoe, @jbottigliero – I think this issue can be closed. |
I've spend at least an hour to figure out why my configuration files were always ignored. After debugging the source of my `node_modules/standard-version/*` it turns out I had `7.0.1` installed which apparently does not have the feature of `bumpFiles` or `packageFiles`. I don't understand why `7.0.1` and not `7.1.0` got installed. I used `yarn add --dev standard-version`. close conventional-changelog#504 conventional-changelog#271
I just lost 3 hours of my life trying to figure out how to get this to work with a fresh install of 🤦♂ any idea when |
…on file management and references proper attribute name (`filename`) (#527) > I've spend at least an hour to figure out why my configuration files were always ignored. After debugging the source of my `node_modules/standard-version/*` it turns out I had `7.0.1` installed which apparently does not have the feature of `bumpFiles` or `packageFiles`. > I don't understand why `7.0.1` and not `7.1.0` got installed. I used `yarn add --dev standard-version`. @roschaefer Closes #504, #271
Hey All, Sorry for the confusion folks... I'll see what I can do to help get the latest updates published on the registry. I've opened #531, for now, to try and draw attention to the issue. As a workaround, it looks like |
Is there a possibility of adding customized path to package.json?
Let's say I have the following folder structure
First package.json (/project A) has name, scripts, dependencies and NOT version.
Second package.json (/project A/src/lib) has name, version, publishConfig and peerDependencies.
On executing standard-version in project root folder, the version needs to be updated accordingly to src/lib/package.json.
Currently it is taking root folder package.json which doesn't have version and updating the package.json by adding version key with null value.
Can it be customized to take path for package.json? If path not provided, behave as existing
The text was updated successfully, but these errors were encountered: