conventional-changelog-beemo
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -5,4 +5,6 @@ /** | ||
*/ | ||
import { parserOpts } from './parserOpts'; | ||
import { writerOpts } from './writerOpts'; | ||
import { whatBump } from './whatBump'; | ||
export * from './types'; | ||
export type * from './types'; | ||
export default function createPreset(): { | ||
@@ -13,2 +15,11 @@ parser: import("./types").ParserOptions; | ||
}; | ||
export { parserOpts, writerOpts }; | ||
export declare const recommendedBumpOpts: { | ||
parserOpts: import("./types").ParserOptions; | ||
whatBump: typeof whatBump; | ||
}; | ||
export declare const conventionalChangelog: { | ||
parserOpts: import("./types").ParserOptions; | ||
writerOpts: import("./types").WriterOptions; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
const parserOpts = require('./parserOpts.js'); | ||
const writerOpts = require('./writerOpts.js'); | ||
const whatBump = require('./whatBump.js'); | ||
require('./types.js'); | ||
@@ -20,3 +22,15 @@ /** | ||
} | ||
module.exports = createPreset; | ||
const recommendedBumpOpts = { | ||
parserOpts: parserOpts.parserOpts, | ||
whatBump: whatBump.whatBump | ||
}; | ||
const conventionalChangelog = { | ||
parserOpts: parserOpts.parserOpts, | ||
writerOpts: writerOpts.writerOpts | ||
}; | ||
exports.parserOpts = parserOpts.parserOpts; | ||
exports.writerOpts = writerOpts.writerOpts; | ||
exports.conventionalChangelog = conventionalChangelog; | ||
exports.default = createPreset; | ||
exports.recommendedBumpOpts = recommendedBumpOpts; | ||
//# sourceMappingURL=index.js.map |
'use strict'; | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } | ||
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | ||
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | ||
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | ||
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } | ||
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | ||
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } | ||
const fs = require('node:fs'); | ||
@@ -10,0 +10,0 @@ const path = require('node:path'); |
{ | ||
"name": "conventional-changelog-beemo", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Conventional changelog preset for Beemo and associated projects.", | ||
@@ -37,7 +37,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/node": "^20.12.11", | ||
"@types/node": "^20.14.2", | ||
"conventional-changelog-core": "^8.0.0", | ||
"conventional-recommended-bump": "^10.0.0", | ||
"packemon": "^4.0.1", | ||
"prettier": "^3.2.5", | ||
"packemon": "^4.1.1", | ||
"prettier": "^3.3.1", | ||
"prettier-config-moon": "^1.1.2", | ||
@@ -44,0 +44,0 @@ "tsconfig-moon": "^1.3.0", |
@@ -10,3 +10,3 @@ /** | ||
export * from './types'; | ||
export type * from './types'; | ||
@@ -20,1 +20,7 @@ export default function createPreset() { | ||
} | ||
// Compat with conventional-changelog-core < v8 | ||
export { parserOpts, writerOpts }; | ||
export const recommendedBumpOpts = { parserOpts, whatBump }; | ||
export const conventionalChangelog = { parserOpts, writerOpts }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48105
882