Socket
Socket
Sign inDemoInstall

release-it

Package Overview
Dependencies
Maintainers
1
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-it - npm Package Compare versions

Comparing version 17.8.2 to 17.9.0

5

lib/plugin/gitlab/GitLab.js

@@ -192,6 +192,7 @@ import fs from 'node:fs';

const { releaseName } = this.options;
const { tagName } = this.config.getContext();
const { tagName, branchName, git: { tagAnnotation } = {} } = this.config.getContext();
const { id, releaseNotes, repo, origin } = this.getContext();
const { isDryRun } = this.config;
const name = format(releaseName, this.config.getContext());
const tagMessage = format(tagAnnotation, this.config.getContext());
const description = releaseNotes || '-';

@@ -212,3 +213,5 @@ const releaseUrl = `${origin}/${repo.repository}/-/releases`;

name,
ref: branchName,
tag_name: tagName,
tag_message: tagMessage,
description

@@ -215,0 +218,0 @@ }

10

package.json
{
"name": "release-it",
"version": "17.8.2",
"version": "17.9.0",
"description": "Generic CLI tool to automate versioning and package publishing-related tasks.",

@@ -119,6 +119,6 @@ "keywords": [

"fs-monkey": "1.0.6",
"globals": "15.10.0",
"globals": "15.11.0",
"installed-check": "9.3.0",
"knip": "5.31.0",
"memfs": "4.12.0",
"knip": "5.33.3",
"memfs": "4.14.0",
"mock-stdio": "1.0.3",

@@ -131,3 +131,3 @@ "nock": "14.0.0-beta.8",

"strip-ansi": "7.1.0",
"typescript": "5.6.2"
"typescript": "5.6.3"
},

@@ -134,0 +134,0 @@ "overrides": {

@@ -331,15 +331,16 @@ # Release It! 🚀

- [js-cookie][61]
- [Madge][62]
- [Metalsmith][63]
- [Node-Redis][64]
- [React Native Paper][65]
- [Readability.js][66]
- [Redux][67]
- [Saleor][68]
- [Semantic UI React][69]
- [Shepherd][70]
- [Tabler][71] + [tabler-icons][72]
- Swagger ([swagger-ui][73] + [swagger-editor][74])
- [Repositories that depend on release-it][75]
- GitHub search for [path:\*\*/.release-it.json][76]
- [jQuery][62]
- [Madge][63]
- [Metalsmith][64]
- [Node-Redis][65]
- [React Native Paper][66]
- [Readability.js][67]
- [Redux][68]
- [Saleor][69]
- [Semantic UI React][70]
- [Shepherd][71]
- [Tabler][72] + [tabler-icons][73]
- Swagger ([swagger-ui][74] + [swagger-editor][75])
- [Repositories that depend on release-it][76]
- GitHub search for [path:\*\*/.release-it.json][77]

@@ -349,13 +350,13 @@ ## Legacy Node.js

The latest major version is v17, supporting Node.js 18 and up (as Node.js v16 is EOL). The previous major version was
v16, supporting Node.js 16. Use release-it v15 for environments running Node.js v14. Also see [CHANGELOG.md][77].
v16, supporting Node.js 16. Use release-it v15 for environments running Node.js v14. Also see [CHANGELOG.md][78].
## Links
- See [CHANGELOG.md][77] for major/breaking updates, and [releases][78] for a detailed version history.
- To **contribute**, please read [CONTRIBUTING.md][79] first.
- Please [open an issue][80] if anything is missing or unclear in this documentation.
- See [CHANGELOG.md][78] for major/breaking updates, and [releases][79] for a detailed version history.
- To **contribute**, please read [CONTRIBUTING.md][80] first.
- Please [open an issue][81] if anything is missing or unclear in this documentation.
## License
[MIT][81]
[MIT][82]

@@ -425,21 +426,22 @@ Are you using release-it at work? Please consider [sponsoring me][14]!

[61]: https://github.com/js-cookie/js-cookie
[62]: https://github.com/pahen/madge
[63]: https://github.com/metalsmith/metalsmith
[64]: https://github.com/redis/node-redis
[65]: https://github.com/callstack/react-native-paper
[66]: https://github.com/mozilla/readability
[67]: https://github.com/reduxjs/redux
[68]: https://github.com/saleor/saleor
[69]: https://github.com/Semantic-Org/Semantic-UI-React
[70]: https://github.com/shipshapecode/shepherd
[71]: https://github.com/tabler/tabler
[72]: https://github.com/tabler/tabler-icons
[73]: https://github.com/swagger-api/swagger-ui
[74]: https://github.com/swagger-api/swagger-editor
[75]: https://github.com/release-it/release-it/network/dependents
[76]: https://github.com/search?q=path%3A**%2F.release-it.json&type=code
[77]: ./CHANGELOG.md
[78]: https://github.com/release-it/release-it/releases
[79]: ./.github/CONTRIBUTING.md
[80]: https://github.com/release-it/release-it/issues/new
[81]: ./LICENSE
[62]: https://github.com/jquery/jquery
[63]: https://github.com/pahen/madge
[64]: https://github.com/metalsmith/metalsmith
[65]: https://github.com/redis/node-redis
[66]: https://github.com/callstack/react-native-paper
[67]: https://github.com/mozilla/readability
[68]: https://github.com/reduxjs/redux
[69]: https://github.com/saleor/saleor
[70]: https://github.com/Semantic-Org/Semantic-UI-React
[71]: https://github.com/shipshapecode/shepherd
[72]: https://github.com/tabler/tabler
[73]: https://github.com/tabler/tabler-icons
[74]: https://github.com/swagger-api/swagger-ui
[75]: https://github.com/swagger-api/swagger-editor
[76]: https://github.com/release-it/release-it/network/dependents
[77]: https://github.com/search?q=path%3A**%2F.release-it.json&type=code
[78]: ./CHANGELOG.md
[79]: https://github.com/release-it/release-it/releases
[80]: ./.github/CONTRIBUTING.md
[81]: https://github.com/release-it/release-it/issues/new
[82]: ./LICENSE

@@ -5,2 +5,3 @@ import fs from 'node:fs';

import nock from 'nock';
import Git from '../lib/plugin/git/Git.js';
import GitLab from '../lib/plugin/gitlab/GitLab.js';

@@ -67,2 +68,5 @@ import { factory, runTasks } from './util/index.js';

const git = factory(Git);
const ref = (await git.getBranchName()) ?? 'HEAD';
interceptUser();

@@ -94,3 +98,5 @@ interceptCollaborator();

name: 'Release 2.0.1',
ref,
tag_name: '2.0.1',
tag_message: 'Release 2.0.1',
description: 'Custom notes',

@@ -97,0 +103,0 @@ assets: {

@@ -11,2 +11,3 @@ import path from 'node:path';

import runTasks from '../lib/index.js';
import Git from '../lib/plugin/git/Git.js';
import { mkTmpDir, gitAdd } from './util/helpers.js';

@@ -16,2 +17,3 @@ import ShellStub from './stub/shell.js';

import { interceptCreate as interceptGitHubCreate } from './stub/github.js';
import { factory } from './util/index.js';

@@ -165,2 +167,5 @@ const noop = Promise.resolve();

const git = factory(Git);
const ref = (await git.getBranchName()) ?? 'HEAD';
interceptGitHubCreate({

@@ -177,3 +182,5 @@ owner,

name: 'Release 1.1.0',
ref,
tag_name: '1.1.0',
tag_message: 'Release 1.1.0',
description: `* More file (${sha})`

@@ -180,0 +187,0 @@ }

@@ -11,2 +11,3 @@ import path from 'node:path';

import runTasks from '../lib/index.js';
import Git from '../lib/plugin/git/Git.js';
import { mkTmpDir, gitAdd, getArgs } from './util/helpers.js';

@@ -26,2 +27,3 @@ import ShellStub from './stub/shell.js';

} from './stub/github.js';
import { factory } from './util/index.js';

@@ -252,2 +254,4 @@ const rootDir = new URL('..', import.meta.url);

sh.exec('git push --follow-tags');
const git = factory(Git);
const ref = (await git.getBranchName()) ?? 'HEAD';

@@ -276,3 +280,5 @@ interceptGitHubAuthentication();

name: 'Release 1.1.0-alpha.0',
ref,
tag_name: 'v1.1.0-alpha.0',
tag_message: `${owner} ${owner}/${project} ${project}`,
description: `Notes for ${pkgName}: ${sha}`,

@@ -340,3 +346,3 @@ assets: {

t.true(log.log.secondCall.args[0].endsWith(`https://github.com/${owner}/${project}/releases/tag/v1.1.0-alpha.0`));
t.true(log.log.args[3][0].endsWith(`${project}/-/releases`));
t.true(log.log.thirdCall.args[0].endsWith(`${project}/-/releases`));
t.regex(log.log.lastCall.args[0], /Done \(in [0-9]+s\.\)/);

@@ -373,3 +379,3 @@

t.true(log.log.firstCall.args[0].endsWith(`https://www.npmjs.com/package/${pkgName}`));
t.regex(log.log.args[1][0], /Done \(in [0-9]+s\.\)/);
t.regex(log.log.lastCall.args[0], /Done \(in [0-9]+s\.\)/);

@@ -394,3 +400,3 @@ exec.restore();

t.is(log.warn.length, 0);
t.regex(log.log.args[0][0], /Done \(in [0-9]+s\.\)/);
t.regex(log.log.firstCall.args[0], /Done \(in [0-9]+s\.\)/);

@@ -397,0 +403,0 @@ exec.restore();

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