
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
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.
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
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.