Skip to content

Commit 32fd60b

Browse files
authored
Merge pull request #1485 from gethinode/develop
Semantic release
2 parents fb63e36 + 8fa19c9 commit 32fd60b

File tree

13 files changed

+12630
-5555
lines changed

13 files changed

+12630
-5555
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
8+
env:
9+
HUSKY: 0
10+
11+
permissions:
12+
contents: read # for checkout
13+
14+
jobs:
15+
release:
16+
name: Release
17+
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write # to be able to publish a GitHub release
20+
issues: write # to be able to comment on released issues
21+
pull-requests: write # to be able to comment on released pull requests
22+
id-token: write # to enable use of OIDC for npm provenance
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Set up Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: "lts/*"
34+
35+
- name: Install dependencies
36+
run: npm clean-install
37+
38+
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
39+
run: npm audit signatures
40+
41+
- name: Release
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
run: npx semantic-release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
_vendor/
22
prebuild/
3+
prebuild-headers/
34
public/
45
resources/
56
node_modules/

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

.husky/install.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Skip Husky install in production and CI
2+
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
3+
process.exit(0)
4+
}
5+
const husky = (await import('husky')).default
6+
console.log(husky())

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {extends: ['@commitlint/config-conventional']}

data/netlify.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
command = "npm run build:example"
55

66
[build.environment]
7-
DART_SASS_VERSION = "1.83.1"
8-
HUGO_VERSION = "0.140.2"
7+
DART_SASS_VERSION = "1.89.2"
8+
HUGO_VERSION = "0.147.9"
99
HUGO_ENV = "production"
1010
HUGO_ENABLEGITINFO = "true"
11-
NODE_VERSION = "22.12.0"
12-
NPM_VERSION = "10.9.0"
11+
NODE_VERSION = "22.13.0"
12+
NPM_VERSION = "10.9.2"
1313
# toml-docs-end netlify
1414

1515
[context.deploy-preview]

exampleSite/hugo_stats.json

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -615,26 +615,11 @@
615615
"fab-medium",
616616
"fab-whatsapp",
617617
"fab-x-twitter",
618-
"faq-50c692e264c634586e8c4ecaa233a9fe",
619-
"faq-50c692e264c634586e8c4ecaa233a9fe-heading-faq-50c692e264c634586e8c4ecaa233a9fe",
620-
"faq-50c692e264c634586e8c4ecaa233a9fe-item-0",
621-
"faq-50c692e264c634586e8c4ecaa233a9fe-item-1",
622-
"faq-50c692e264c634586e8c4ecaa233a9fe-item-2",
623-
"faq-6970cc0aa1c2d2d4c1359a93d3193646",
624-
"faq-6970cc0aa1c2d2d4c1359a93d3193646-heading-faq-6970cc0aa1c2d2d4c1359a93d3193646",
625-
"faq-6970cc0aa1c2d2d4c1359a93d3193646-item-0",
626-
"faq-6970cc0aa1c2d2d4c1359a93d3193646-item-1",
627-
"faq-6970cc0aa1c2d2d4c1359a93d3193646-item-2",
628-
"faq-85f9e7e957de15130b6401c39140dad6",
629-
"faq-85f9e7e957de15130b6401c39140dad6-heading-faq-85f9e7e957de15130b6401c39140dad6",
630-
"faq-85f9e7e957de15130b6401c39140dad6-item-0",
631-
"faq-85f9e7e957de15130b6401c39140dad6-item-1",
632-
"faq-85f9e7e957de15130b6401c39140dad6-item-2",
633-
"faq-d5c6be23853321daeaf421994a4c5937",
634-
"faq-d5c6be23853321daeaf421994a4c5937-heading-faq-d5c6be23853321daeaf421994a4c5937",
635-
"faq-d5c6be23853321daeaf421994a4c5937-item-0",
636-
"faq-d5c6be23853321daeaf421994a4c5937-item-1",
637-
"faq-d5c6be23853321daeaf421994a4c5937-item-2",
618+
"faq-46cc9ad0fb899a0f4539dbaa956f4df4",
619+
"faq-46cc9ad0fb899a0f4539dbaa956f4df4-heading-faq-46cc9ad0fb899a0f4539dbaa956f4df4",
620+
"faq-46cc9ad0fb899a0f4539dbaa956f4df4-item-0",
621+
"faq-46cc9ad0fb899a0f4539dbaa956f4df4-item-1",
622+
"faq-46cc9ad0fb899a0f4539dbaa956f4df4-item-2",
638623
"fas-1",
639624
"fas-2",
640625
"fas-3",

hugo_stats.json

Lines changed: 3 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -1,208 +1,7 @@
11
{
22
"htmlElements": {
3-
"tags": [
4-
"a",
5-
"body",
6-
"button",
7-
"div",
8-
"footer",
9-
"form",
10-
"head",
11-
"html",
12-
"img",
13-
"input",
14-
"label",
15-
"li",
16-
"link",
17-
"meta",
18-
"nav",
19-
"ol",
20-
"p",
21-
"path",
22-
"script",
23-
"section",
24-
"small",
25-
"span",
26-
"strong",
27-
"svg",
28-
"symbol",
29-
"title",
30-
"ul",
31-
"use"
32-
],
33-
"classes": [
34-
"active",
35-
"align-items-center",
36-
"align-self-center",
37-
"align-self-end",
38-
"ball",
39-
"bg-body",
40-
"bg-opacity-10",
41-
"bg-primary",
42-
"bg-primary-subtle",
43-
"bottom-0",
44-
"bottom-bar",
45-
"breadcrumb",
46-
"breadcrumb-item",
47-
"btn",
48-
"btn-close",
49-
"btn-primary",
50-
"checkbox",
51-
"col",
52-
"col-12",
53-
"col-6",
54-
"col-8",
55-
"col-md-2",
56-
"col-md-6",
57-
"col-md-8",
58-
"col-sm-12",
59-
"collapse",
60-
"collapsed",
61-
"container-fluid",
62-
"container-xxl",
63-
"d-flex",
64-
"d-inline",
65-
"d-md-block",
66-
"d-md-none",
67-
"d-none",
68-
"d-sm-block",
69-
"d-sm-none",
70-
"display-1",
71-
"display-4",
72-
"emphasis",
73-
"end-0",
74-
"fa",
75-
"fa-10x",
76-
"fa-2x",
77-
"fa-angle-left",
78-
"fa-chevron-right",
79-
"fa-ellipsis",
80-
"fa-face-frown",
81-
"fa-fw",
82-
"fa-github",
83-
"fa-linkedin",
84-
"fa-medium",
85-
"fa-moon",
86-
"fa-sun",
87-
"fab",
88-
"fas",
89-
"fixed-top",
90-
"flex-column",
91-
"flex-fill",
92-
"flex-grow-1",
93-
"footer",
94-
"form-control",
95-
"fs-3",
96-
"fw-30",
97-
"fw-bold",
98-
"h-100",
99-
"hero",
100-
"hero-content",
101-
"hero-image",
102-
"hero-image-container",
103-
"hero-title",
104-
"hstack",
105-
"img-fluid",
106-
"img-wrap",
107-
"invisible",
108-
"is-search",
109-
"justify-content-center",
110-
"justify-content-end",
111-
"justify-content-md-start",
112-
"justify-content-start",
113-
"label",
114-
"lead",
115-
"link-bg-footer",
116-
"link-secondary",
117-
"m-auto",
118-
"main",
119-
"main-nav-toggler",
120-
"me-auto",
121-
"middle-bar",
122-
"mode-switch",
123-
"ms-auto",
124-
"ms-md-3",
125-
"mt-3",
126-
"mt-4",
127-
"mt-5",
128-
"mt-md-0",
129-
"mx-auto",
130-
"mx-md-0",
131-
"my-auto",
132-
"my-md-auto",
133-
"nav-item",
134-
"nav-link",
135-
"navbar",
136-
"navbar-brand",
137-
"navbar-collapse",
138-
"navbar-container",
139-
"navbar-expand-md",
140-
"navbar-fixed-top",
141-
"navbar-mode-selector",
142-
"navbar-nav",
143-
"navbar-toggler",
144-
"no-js",
145-
"order-0",
146-
"order-1",
147-
"order-md-0",
148-
"order-md-1",
149-
"p-0",
150-
"p-2",
151-
"p-3",
152-
"p-4",
153-
"position-fixed",
154-
"position-relative",
155-
"ps-1",
156-
"pt-1",
157-
"pt-4",
158-
"pt-md-0",
159-
"px-4",
160-
"px-xxl-0",
161-
"py-3",
162-
"py-4",
163-
"rounded",
164-
"row",
165-
"row-cols-1",
166-
"row-cols-2",
167-
"row-cols-sm-3",
168-
"search",
169-
"search-input",
170-
"search-suggestions",
171-
"section-cover",
172-
"shadow",
173-
"svg-inline--fa",
174-
"text-",
175-
"text-body",
176-
"text-center",
177-
"text-decoration-none",
178-
"text-muted",
179-
"text-secondary",
180-
"text-sm-start",
181-
"text-start",
182-
"toast",
183-
"toast-body",
184-
"toast-container",
185-
"toast-header",
186-
"toggler-icon",
187-
"top-bar"
188-
],
189-
"ids": [
190-
"container",
191-
"fa-face-frown",
192-
"fab-github",
193-
"fab-linkedin",
194-
"fab-medium",
195-
"fas-angle-left",
196-
"fas-chevron-right",
197-
"fas-ellipsis",
198-
"fas-moon",
199-
"fas-sun",
200-
"navbar-0-collapse",
201-
"navbar-mode",
202-
"navbar-mode-checkbox",
203-
"toast-container",
204-
"toast-copied-code-message",
205-
"welcome-to-hinode"
206-
]
3+
"tags": null,
4+
"classes": null,
5+
"ids": null
2076
}
2087
}

0 commit comments

Comments
 (0)