@taiga-ui/release-it-config 0.175.0

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +29 -0
  3. package/package.json +20 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # @taiga-ui/release-it-config
package/index.js ADDED
@@ -0,0 +1,29 @@
1
+ const changelogConfig = require.resolve('@taiga-ui/auto-changelog-config');
2
+
3
+ /* eslint-disable no-template-curly-in-string */
4
+ module.exports = {
5
+ git: {
6
+ commitMessage: 'chore(release): v${version}',
7
+ requireBranch: 'main',
8
+ tagName: 'v${version}',
9
+ },
10
+ github: {
11
+ release: true,
12
+ releaseNotes: `npx auto-changelog -c ${changelogConfig} --unreleased-only --stdout`,
13
+ },
14
+ hooks: {
15
+ 'after:bump': [
16
+ `npx auto-changelog -c ${changelogConfig} -p`,
17
+ 'npx prettier CHANGELOG.md --write',
18
+ 'npm run postbump',
19
+ ],
20
+ 'after:release':
21
+ 'echo Successfully released ${name} v${version} to ${repo.repository}.',
22
+ },
23
+ npm: {
24
+ allowSameVersion: true,
25
+ publish: false,
26
+ skipChecks: true,
27
+ },
28
+ verbose: true,
29
+ };
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@taiga-ui/release-it-config",
3
+ "version": "0.175.0",
4
+ "description": "Taiga UI release-it config",
5
+ "keywords": [
6
+ "release-it"
7
+ ],
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/taiga-family/linters.git"
11
+ },
12
+ "license": "Apache-2.0",
13
+ "main": "index.js",
14
+ "peerDependencies": {
15
+ "release-it": "17.6.0"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ }
20
+ }