Skip to content

Commit

Permalink
chore(release): prepare for v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teatimeguest committed Mar 10, 2024
1 parent 1214c8b commit e2b174e
Show file tree
Hide file tree
Showing 7 changed files with 3,703 additions and 3,425 deletions.
2 changes: 1 addition & 1 deletion dist/NOTICE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7,083 changes: 3,683 additions & 3,400 deletions dist/index.mjs

Large diffs are not rendered by default.

21 changes: 9 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "setup-texlive-action",
"private": true,
"version": "3.0.2",
"version": "3.1.0",
"description": "A GitHub Action to set up TeX Live",
"scripts": {
"build": "node scripts/build.mjs",
Expand Down
7 changes: 4 additions & 3 deletions packages/config/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ body = """
### {{ group | split(pat=" ") | slice(start=1) | join(sep=" ") }}
{% endif -%}
- {% if commit.scope != "" -%}
**{{ commit.scope ~ ":" }}**{{ " " }}
- {{ commit.id }} \
{% if commit.scope != "" -%}
**{{ commit.scope ~ ":" }}** \
{%- endif -%}
{{ commit.message }}
{% endfor -%}
{% endfor %}
{% endif -%}
{%- endif -%}
"""
footer = ""
trim = true
Expand Down
11 changes: 4 additions & 7 deletions packages/config/nunjucks/markdown.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import GitHubSlugger from 'github-slugger';
import nunjucks from 'nunjucks';
import slugify from 'slugify';

const slugger = new GitHubSlugger();

export default nunjucks
.configure({
Expand All @@ -9,10 +11,5 @@ export default nunjucks
lstripBlocks: true,
noCache: true,
})
.addFilter('slugify', (s) => {
return slugify(s, {
remove: /[!-/:-@[-`{-~]/gu,
lower: true,
});
})
.addFilter('slugify', (s) => slugger.slug(s))
.addFilter('escape', (s) => s.replaceAll(/[<>]/gu, '\\$&'));
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"jest-extended": "^4.0.2",
"license-webpack-plugin": "^4.0.2",
"nunjucks": "^3.2.4",
"slugify": "^1.6.6",
"github-slugger": "^2.0.0",
"spdx-license-list": "^6.8.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"vite-tsconfig-paths": "^4.3.1",
Expand Down

0 comments on commit e2b174e

Please sign in to comment.