UNPKG

@r4lrgx/shared-config

Version:

🔩 My customized Config of semantic release and commitlint and others.

20 lines (17 loc) • 466 B
// @r4lrgx/shared-config v1.0.6 // MIT License // src/release-config/plugins/npm.ts var npmPlugin = (options = {}) => { options = Object.fromEntries(Object.entries(options).filter(([_, v]) => v !== void 0)); const { npmPublish, ...customized } = options; return [ "@semantic-release/npm", { npmPublish: npmPublish ?? false, ...customized } ]; }; export { npmPlugin }; //# sourceMappingURL=npm.js.map //# sourceMappingURL=npm.js.map