Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More →
Socket
Sign inDemoInstall
Socket

conventional-changelog-beemo

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-beemo - npm Package Compare versions

Comparing version 1.6.0 to 2.0.0

.github/workflows/build.yml

8

lib/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.COMMIT_FORMAT_PREFIX = /^(break|breaking|build|ci|deps|docs|feature|fix|internal|misc|new|patch|release|revert|security|style|test|tests|type|types|update)(?:\(([a-zA-Z0-9\-., ]+)\))?:/u;
exports.GROUPS = exports.COMMIT_FORMAT_PREFIX = void 0;
// eslint-disable-next-line security/detect-unsafe-regex
exports.COMMIT_FORMAT_PREFIX = /^(break|breaking|build|ci|cd|deps|docs|feature|fix|internal|misc|new|patch|release|revert|security|style|styles|test|tests|type|types|update)(?:\(([a-zA-Z0-9\-., ]+)\))?:/u;
exports.GROUPS = [

@@ -31,3 +33,3 @@ {

label: 'Internals',
types: ['ci', 'build', 'test', 'tests', 'internal'],
types: ['ci', 'cd', 'build', 'test', 'tests', 'internal'],
},

@@ -62,3 +64,3 @@ {

label: 'Styles',
types: ['style'],
types: ['style', 'styles'],
},

@@ -65,0 +67,0 @@ {

@@ -6,5 +6,12 @@ "use strict";

*/
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -14,2 +21,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
exports.config = exports.getTypeGroup = exports.checkCommitFormat = void 0;
const checkCommitFormat_1 = __importDefault(require("./checkCommitFormat"));

@@ -23,3 +31,4 @@ exports.checkCommitFormat = checkCommitFormat_1.default;

const writerOpts_1 = __importDefault(require("./writerOpts"));
__export(require("./constants"));
__exportStar(require("./constants"), exports);
__exportStar(require("./types"), exports);
exports.config = Promise.resolve({

@@ -26,0 +35,0 @@ conventionalChangelog: conventionalChangelog_1.default,

@@ -7,2 +7,3 @@ "use strict";

// Keep in sync with checkCommitFormat
// eslint-disable-next-line security/detect-non-literal-regexp
headerPattern: new RegExp(`^${constants_1.COMMIT_FORMAT_PREFIX.source} (.*)$`, 'u'),

@@ -9,0 +10,0 @@ mergeCorrespondence: ['pr', 'source'],

@@ -15,3 +15,3 @@ export interface Note {

}
export declare type CommitType = 'break' | 'breaking' | 'release' | 'new' | 'update' | 'feature' | 'fix' | 'deps' | 'docs' | 'patch' | 'style' | 'security' | 'revert' | 'ci' | 'build' | 'test' | 'tests' | 'type' | 'types' | 'internal' | 'misc';
export declare type CommitType = 'break' | 'breaking' | 'release' | 'new' | 'update' | 'feature' | 'fix' | 'deps' | 'docs' | 'patch' | 'style' | 'styles' | 'security' | 'revert' | 'ci' | 'cd' | 'build' | 'test' | 'tests' | 'type' | 'types' | 'internal' | 'misc';
export declare type CommitGroupLabel = 'Breaking' | 'Release' | 'Updates' | 'Fixes' | 'Dependencies' | 'Docs' | 'Styles' | 'Security' | 'Reverts' | 'Types' | 'Internals' | 'Misc';

@@ -18,0 +18,0 @@ export interface Group {

@@ -123,3 +123,5 @@ "use strict";

if (context.host) {
commit.message = commit.message.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/gu, (match, username, index) => {
commit.message = commit.message.replace(
// eslint-disable-next-line security/detect-unsafe-regex
/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/gu, (match, username, index) => {
if (username.includes('/') ||

@@ -126,0 +128,0 @@ // Avoid when wrapped in backticks (inline code)

{
"name": "conventional-changelog-beemo",
"version": "1.6.0",
"version": "2.0.0",
"description": "Conventional changelog preset for Beemo and associated projects.",

@@ -13,3 +13,3 @@ "keywords": [

"engines": {
"node": ">=8.9.0"
"node": ">=10.10.0"
},

@@ -23,6 +23,6 @@ "repository": "https://github.com/beemojs/conventional-changelog-beemo",

"coverage": "yarn run jest --coverage",
"eslint": "beemo eslint",
"lint": "beemo eslint",
"jest": "beemo jest -i",
"prettier": "beemo prettier",
"release": "npx np --yolo --no-yarn",
"release": "npx np --yolo",
"type": "beemo typescript --noEmit",

@@ -32,11 +32,11 @@ "prerelease": "yarn test && yarn run build",

"test": "yarn run jest",
"posttest": "yarn run eslint"
"posttest": "yarn run lint"
},
"devDependencies": {
"@milesj/build-tools": "^0.60.4",
"@types/node": "^12.12.14",
"@types/shelljs": "^0.8.6",
"conventional-changelog-core": "^4.1.1",
"conventional-recommended-bump": "^6.0.5",
"shelljs": "^0.8.3"
"@milesj/build-tools": "^2.9.0",
"@types/node": "^14.0.23",
"@types/shelljs": "^0.8.8",
"conventional-changelog-core": "^4.1.7",
"conventional-recommended-bump": "^6.0.9",
"shelljs": "^0.8.4"
},

@@ -43,0 +43,0 @@ "beemo": {

@@ -40,6 +40,6 @@ # conventional-changelog-beemo

- `fix` - Fixes existing functionality.
- `deps` - Bumps dependencies.
- `docs` - Updates documentation.
- `deps` - Bumps, adds, or updates dependencies.
- `docs` - Updates documentation, changelogs, or readmes.
- `revert` - Reverts previous or broken code.
- `style` - Updates visual styles, like CSS.
- `style`, `styles` - Updates visual styles, like CSS, or code formatting.
- `security` - Improves security.

@@ -51,3 +51,3 @@ - `type`, `types` - Updates type system related syntax (TS/Flow).

- `ci` - Changes to the CI pipeline.
- `ci`, `cd` - Changes to the CI/CD pipeline.
- `build` - Changes to the build system.

@@ -72,3 +72,3 @@ - `test`, `tests` - Changes to tests or the testing framework.

- Capitalize first letter of message.
- Trailing punctuation (period) is not required, but preferred.
- Trailing punctuation (period) is not required, but is subjective.

@@ -75,0 +75,0 @@ ## Example

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡ī¸ by Socket Inc