Skip to content

Commit 3cd059a

Browse files
authored
chore: adopting tool-versions (#62)
* chore: replace version files with tool-versions * chore: toml-fmt -i -w * ci: updated release.yml
1 parent 85eeb0e commit 3cd059a

File tree

12 files changed

+130
-91
lines changed

12 files changed

+130
-91
lines changed

.github/release.yml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,37 @@ changelog:
44
- ignore-changelog
55

66
categories:
7-
- title: ":question: What's Changed"
7+
- title: ":warning: Update considerations and deprecations"
8+
labels:
9+
- "type: breaking"
10+
- "type: deprecation"
11+
- "regression"
12+
- "type: revert"
13+
14+
- title: ":rocket: New features and improvements"
15+
labels:
16+
- "type: feat"
17+
18+
- title: ":lady_beetle: Bug fixes"
19+
labels:
20+
- "type: fix"
21+
22+
- title: ":nail_polish: Style, UI, UX"
23+
labels:
24+
- "type: style"
25+
26+
- title: ":book: Documentation"
827
labels:
9-
- "*"
10-
exclude:
11-
labels:
12-
- dependencies
28+
- "type: docs"
1329

14-
- title: ":tractor: Dependencies"
30+
- title: ":hammer: Build/Test Dependency Upgrades"
31+
labels:
32+
- "dependencies"
33+
- "type: test"
34+
- "type: ci"
35+
- "type: build"
36+
- "type: chore"
37+
38+
- title: ":question: What's Changed"
1539
labels:
16-
- dependencies
40+
- "type: refactor"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# keep-sorted start
55

66
.sass-cache/
7-
.tool-versions
87
# Additional Ruby/bundler ignore for when you run: bundle install
98
/vendor
109
_site/

.go-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.tool-versions

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
go 1.24
2+
node 22
3+
python 3.12

config.toml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
baseURL = 'https://example.org/'
2-
languageCode = 'en-US'
3-
title = 'My New Hugo Site'
1+
baseURL = "https://example.org/"
2+
languageCode = "en-US"
3+
title = "My New Hugo Site"
44

5-
[[menus.main]]
6-
name = 'Home'
7-
pageRef = '/'
8-
weight = 10
5+
[menus]
96

10-
[[menus.main]]
11-
name = 'Posts'
12-
pageRef = '/posts'
13-
weight = 20
7+
[[menus.main]]
8+
name = "Home"
9+
pageRef = "/"
10+
weight = 10
1411

15-
[[menus.main]]
16-
name = 'Tags'
17-
pageRef = '/tags'
18-
weight = 30
12+
[[menus.main]]
13+
name = "Posts"
14+
pageRef = "/posts"
15+
weight = 20
16+
17+
[[menus.main]]
18+
name = "Tags"
19+
pageRef = "/tags"
20+
weight = 30
1921

2022
[module]
21-
[module.hugoVersion]
22-
extended = true
23-
min = "0.140.0"
23+
24+
[module.hugoVersion]
25+
extended = true
26+
min = "0.140.0"

config/_default/hugo.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# https://json.schemastore.org/hugo.json
21
enableEmoji = true
32

43
[build]
5-
[build.buildStats]
6-
enable = true
4+
75
[[build.cachebusters]]
8-
source = 'assets/notwatching/hugo_stats.json'
9-
target = 'css'
6+
source = "assets/notwatching/hugo_stats.json"
7+
target = "css"
8+
109
[[build.cachebusters]]
11-
source = '(postcss|tailwind).config.js'
12-
target = 'css'
10+
source = "(postcss|tailwind).config.js"
11+
target = "css"
12+
13+
[build.buildStats]
14+
enable = true

config/_default/markup.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
# https://json.schemastore.org/hugo.json
21
[goldmark]
2+
33
[goldmark.parser]
4+
45
[goldmark.parser.attribute]
56
block = true
67
title = true
78

89
[highlight]
910
noClasses = false
10-
wrapperClass = 'highlight not-prose'
11+
wrapperClass = "highlight not-prose"
1112

1213
[tableOfContents]
1314
endLevel = 6

config/_default/module.toml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
1-
# https://json.schemastore.org/hugo.json
2-
[hugoVersion]
3-
extended = false
4-
min = "0.134.2"
51
[[mounts]]
6-
source = 'content'
7-
target = 'content'
2+
source = "content"
3+
target = "content"
4+
85
[[mounts]]
9-
source = 'static'
10-
target = 'static'
6+
source = "static"
7+
target = "static"
8+
119
[[mounts]]
12-
source = 'layouts'
13-
target = 'layouts'
10+
source = "layouts"
11+
target = "layouts"
12+
1413
[[mounts]]
15-
source = 'data'
16-
target = 'data'
14+
source = "data"
15+
target = "data"
16+
1717
[[mounts]]
18-
source = 'assets'
19-
target = 'assets'
18+
source = "assets"
19+
target = "assets"
20+
2021
[[mounts]]
21-
source = 'i18n'
22-
target = 'i18n'
22+
source = "i18n"
23+
target = "i18n"
24+
2325
[[mounts]]
24-
source = 'archetypes'
25-
target = 'archetypes'
26+
source = "archetypes"
27+
target = "archetypes"
28+
2629
[[mounts]]
2730
disableWatch = false
2831
source = "hugo_stats.json"
2932
target = "assets/watching/hugo_stats.json"
33+
34+
[hugoVersion]
35+
extended = false
36+
min = "0.134.2"

0 commit comments

Comments
 (0)