Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
delete-publishconfig-directory
Advanced tools
Delete publishConfig Directory is a tool for use in conjunction with Changesets and Clean Publish.
When using the two of them together, Clean Publish doesn't delete the directory
field from the publishConfig
field in your package's package.json. This causes Changesets to try and navigate two directories down from the root
of your package, causing a failure to publish.
Delete publishConfig Directory prevents this by deleting the extra field from your cleaned package.json.
Install it via your NodeJS package manager of choice:
$ pnpm install -D delete-publishconfig-directory
Following the recipe from Clean Publish's Usage with pnpm workspaces, update your package.json to include:
{
"publishConfig": {
"directory": "package"
},
"scripts": {
"prepublishOnly": "rm -rf ./package && clean-publish && delete-publishconfig-directory",
"postpublish": "rm -rf ./package"
}
}
Copyright © 2023 Richard Harrah.
This project is MIT licensed.
FAQs
Deletes the directory field from publishConfig.
The npm package delete-publishconfig-directory receives a total of 10 weekly downloads. As such, delete-publishconfig-directory popularity was classified as not popular.
We found that delete-publishconfig-directory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.