@ubic/release-it-config 0.1.10-rc.0 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +24 -22
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var
|
|
2
|
-
`,commitGroupsSort:(e,t)=>{if(typeof e.title!="string"||typeof t.title!="string")return 0;let r=Object.values(s),
|
|
1
|
+
"use strict";var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},g=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of l(t))!p.call(e,i)&&i!==r&&n(e,i,{get:()=>t[i],enumerable:!(o=u(t,i))||o.enumerable});return e};var h=e=>g(n({},"__esModule",{value:!0}),e);var C={};m(C,{releaseItConfig:()=>a});module.exports=h(C);var s={feat:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E",fix:"\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E",refactor:"\u0420\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433",docs:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F",test:"\u0422\u0435\u0441\u0442\u044B",build:"\u0421\u0431\u043E\u0440\u043A\u0430",perf:"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ci:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 CI/CD",style:"\u0423\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u0435 \u0447\u0438\u0442\u0430\u0435\u043C\u043E\u0441\u0442\u0438 \u043A\u043E\u0434\u0430",chore:"\u041E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435"};var d={"@release-it/conventional-changelog":{preset:{name:"conventionalcommits"},infile:"CHANGELOG.md",header:"# \u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439",writerOpts:{groupBy:"type",transform:e=>{if(!e.body&&!e.subject)return null;let t=s[e.type]||s.chore,r=(e?.hash||"").substring(0,7);return{...e,shortHash:r,type:t}},commitPartial:`-{{#if scope}} **{{scope}}:**{{/if}} {{#if body}}{{body}}{{else}}{{subject}}{{/if}}{{#if hash}} [[{{shortHash}}]({{@root.repoUrl}}/commit/{{hash}})]{{/if}}{{#each references}} [[{{prefix}}{{issue}}](https://youtrack.ubic.tech/issue/{{prefix}}{{issue}})]{{/each}}
|
|
2
|
+
`,commitGroupsSort:(e,t)=>{if(typeof e.title!="string"||typeof t.title!="string")return 0;let r=Object.values(s),o=r.indexOf(e.title),i=r.indexOf(t.title),f=o!==-1?o:Number.MAX_SAFE_INTEGER,c=i!==-1?i:Number.MAX_SAFE_INTEGER;return f-c}},parserOpts:{mergePattern:/'Merge branch'/,issuePrefixes:["#","[A-Z]{1,6}-"]}}},a={git:{requireBranch:!1,requireUpstream:!0,requireCommits:!0,requireCleanWorkingDir:!0,addUntrackedFiles:!1,commitMessage:"chore(release): ${version}",tag:!0,tagName:"v${version}",push:!0},hooks:{"before:init":`git fetch --quiet && git merge-base --is-ancestor @{u} HEAD || { echo '\u274C \u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u044F \u043D\u0435 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 "git pull".'; exit 1; }`,"after:release":"node ./node_modules/@ubic/release-it-config/dist/scripts/print-docker-image.js"},npm:{publish:!1},plugins:d};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
`,commitGroupsSort:(e,t)=>{if(typeof e.title!="string"||typeof t.title!="string")return 0;let r=Object.values(
|
|
1
|
+
var i={feat:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E",fix:"\u0418\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E",refactor:"\u0420\u0435\u0444\u0430\u043A\u0442\u043E\u0440\u0438\u043D\u0433",docs:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044F",test:"\u0422\u0435\u0441\u0442\u044B",build:"\u0421\u0431\u043E\u0440\u043A\u0430",perf:"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ci:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 CI/CD",style:"\u0423\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u0435 \u0447\u0438\u0442\u0430\u0435\u043C\u043E\u0441\u0442\u0438 \u043A\u043E\u0434\u0430",chore:"\u041E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435"};var f={"@release-it/conventional-changelog":{preset:{name:"conventionalcommits"},infile:"CHANGELOG.md",header:"# \u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439",writerOpts:{groupBy:"type",transform:e=>{if(!e.body&&!e.subject)return null;let t=i[e.type]||i.chore,r=(e?.hash||"").substring(0,7);return{...e,shortHash:r,type:t}},commitPartial:`-{{#if scope}} **{{scope}}:**{{/if}} {{#if body}}{{body}}{{else}}{{subject}}{{/if}}{{#if hash}} [[{{shortHash}}]({{@root.repoUrl}}/commit/{{hash}})]{{/if}}{{#each references}} [[{{prefix}}{{issue}}](https://youtrack.ubic.tech/issue/{{prefix}}{{issue}})]{{/each}}
|
|
2
|
+
`,commitGroupsSort:(e,t)=>{if(typeof e.title!="string"||typeof t.title!="string")return 0;let r=Object.values(i),o=r.indexOf(e.title),s=r.indexOf(t.title),n=o!==-1?o:Number.MAX_SAFE_INTEGER,a=s!==-1?s:Number.MAX_SAFE_INTEGER;return n-a}},parserOpts:{mergePattern:/'Merge branch'/,issuePrefixes:["#","[A-Z]{1,6}-"]}}},c={git:{requireBranch:!1,requireUpstream:!0,requireCommits:!0,requireCleanWorkingDir:!0,addUntrackedFiles:!1,commitMessage:"chore(release): ${version}",tag:!0,tagName:"v${version}",push:!0},hooks:{"before:init":`git fetch --quiet && git merge-base --is-ancestor @{u} HEAD || { echo '\u274C \u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u044F \u043D\u0435 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 "git pull".'; exit 1; }`,"after:release":"node ./node_modules/@ubic/release-it-config/dist/scripts/print-docker-image.js"},npm:{publish:!1},plugins:f};export{c as releaseItConfig};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { Options as WriterOptions } from 'conventional-changelog-writer';
|
|
4
|
-
import {
|
|
4
|
+
import { ParserOptions } from 'conventional-commits-parser';
|
|
5
5
|
import { Config as ReleaseItConfig } from 'release-it';
|
|
6
6
|
|
|
7
7
|
export declare const releaseItConfig: ReleaseItConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubic/release-it-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Standard release-it config for projects in ubic technologies",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,11 +19,9 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": ">=
|
|
23
|
-
"npm": "PLEASE USE YARN",
|
|
24
|
-
"pnpm": "PLEASE USE YARN"
|
|
22
|
+
"node": ">=24 <25"
|
|
25
23
|
},
|
|
26
|
-
"packageManager": "yarn@4.
|
|
24
|
+
"packageManager": "yarn@4.14.1",
|
|
27
25
|
"type": "module",
|
|
28
26
|
"main": "./dist/cjs/index.js",
|
|
29
27
|
"module": "./dist/esm/index.js",
|
|
@@ -51,29 +49,33 @@
|
|
|
51
49
|
"prepare": "husky",
|
|
52
50
|
"prepublishOnly": "yarn build",
|
|
53
51
|
"postversion": "node scripts/push-pre-tags.js",
|
|
52
|
+
"check-updates": "yarn upgrade-interactive",
|
|
54
53
|
"release": "release-it --config ./config/.release-it.ts"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
|
-
"@commitlint/cli": "^
|
|
58
|
-
"@release-it/conventional-changelog": "^
|
|
59
|
-
"@types/conventional-changelog-writer": "^4.0.
|
|
60
|
-
"@types/conventional-commits-parser": "^5.0.
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
56
|
+
"@commitlint/cli": "^21.0.1",
|
|
57
|
+
"@release-it/conventional-changelog": "^11.0.0",
|
|
58
|
+
"@types/conventional-changelog-writer": "^4.0.11",
|
|
59
|
+
"@types/conventional-commits-parser": "^5.0.2",
|
|
60
|
+
"@types/node": "24.10.1",
|
|
61
|
+
"@types/semver": "^7.7.1",
|
|
62
|
+
"@ubic/commitlint-config": "^1.0.6",
|
|
63
|
+
"@ubic/eslint-config": "^8.0.1",
|
|
63
64
|
"dts-bundle-generator": "^9.5.1",
|
|
64
|
-
"esbuild": "^0.
|
|
65
|
-
"eslint": "^9.
|
|
65
|
+
"esbuild": "^0.28.0",
|
|
66
|
+
"eslint": "^9.39.4",
|
|
66
67
|
"husky": "^9.1.7",
|
|
67
|
-
"lint-staged": "^
|
|
68
|
-
"nodemon": "^3.1.
|
|
69
|
-
"prettier": "^3.
|
|
70
|
-
"release-it": "^
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
68
|
+
"lint-staged": "^17.0.4",
|
|
69
|
+
"nodemon": "^3.1.14",
|
|
70
|
+
"prettier": "^3.8.3",
|
|
71
|
+
"release-it": "^20.0.1",
|
|
72
|
+
"semver": "^7.8.0",
|
|
73
|
+
"tsx": "^4.21.0",
|
|
74
|
+
"typescript": "^6.0.3",
|
|
75
|
+
"vitest": "^4.1.6"
|
|
74
76
|
},
|
|
75
77
|
"peerDependencies": {
|
|
76
|
-
"@release-it/conventional-changelog": "
|
|
77
|
-
"release-it": "
|
|
78
|
+
"@release-it/conventional-changelog": "^10.0.0 || ^11.0.0",
|
|
79
|
+
"release-it": "^18.0.0 || ^19.0.0 || ^20.0.0"
|
|
78
80
|
}
|
|
79
81
|
}
|