Skip to content

Commit 108754c

Browse files
committed
chore: update semantic release config
1 parent 8c31532 commit 108754c

File tree

3 files changed

+84
-2
lines changed

3 files changed

+84
-2
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"name": "less-plugin-module-resolver",
33
"version": "0.0.1",
4-
"description": "",
4+
"description": "Module resolver plugin for less.js",
5+
"keywords": [
6+
"less",
7+
"less plugin",
8+
"alias",
9+
"module resolver"
10+
],
511
"main": "lib/index.js",
612
"scripts": {
713
"compile": "tsc",
@@ -14,7 +20,6 @@
1420
"type": "git",
1521
"url": "git+https://github.com/bundle-matters/less-plugin-module-resolver.git"
1622
},
17-
"keywords": [],
1823
"author": "",
1924
"license": "MIT",
2025
"bugs": {
@@ -23,6 +28,8 @@
2328
"homepage": "https://github.com/bundle-matters/less-plugin-module-resolver#readme",
2429
"devDependencies": {
2530
"@less/test-data": "^4.1.0",
31+
"@semantic-release/changelog": "^6.0.1",
32+
"@semantic-release/git": "^10.0.1",
2633
"@types/less": "^3.0.3",
2734
"@types/node": "^17.0.31",
2835
"@typescript-eslint/eslint-plugin": "^5.23.0",

pnpm-lock.yaml

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release.config.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
11
module.exports = {
22
branches: ['main'],
3+
preset: 'angular',
4+
plugins: [
5+
'@semantic-release/commit-analyzer',
6+
'@semantic-release/release-notes-generator',
7+
'@semantic-release/npm',
8+
[
9+
'@semantic-release/github',
10+
{
11+
assets: [{ path: 'lib/**', label: 'JS distribution' }],
12+
},
13+
],
14+
[
15+
'@semantic-release/changelog',
16+
{
17+
changelogFile: 'CHANGELOG.md',
18+
},
19+
],
20+
[
21+
'@semantic-release/git',
22+
{
23+
assets: ['CHANGELOG.md'],
24+
},
25+
],
26+
],
327
};

0 commit comments

Comments
 (0)