Skip to content

Commit e22fa54

Browse files
authored
Merge pull request #1 from heliomarpm/develop
🔀 develop → main: 2025-06-01
2 parents 1b7247c + 45e822a commit e22fa54

21 files changed

+629
-766
lines changed

.docs/.vitepress/config.mts

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,16 @@ import { defineConfig } from "vitepress";
33
// https://vitepress.dev/reference/site-config
44
// https://vitepress.dev/pt/reference/default-theme-config
55
export default defineConfig({
6-
title: "TSLib Template",
7-
base: "/tslib-template/",
8-
description: "✨ Template for Node and Typescript based libraries",
6+
title: "CryptoH",
7+
base: "/cryptoh/",
8+
description: "🔒 A clean and easy-to-use cryptography helper library for Node.js",
99
cleanUrls: true,
10-
// head: [
11-
// ["meta", { name: "msvalidate.01", content: "F4D861C3287B312C6D147ECEC9B85E5E" }],
12-
// ["meta", { name: "google-site-verification", content: "lJpOPhia4HtRabTKEdpgyB_MWRKamHC6pfjFqekWiH0" }],
13-
// ["link", { rel: "icon", type: "image/png", sizes: "32x32", href: "/images/uap-logo-transparent.png" }],
14-
// ["script", {}, 'window?.localStorage?.setItem("vitepress-theme-appearance", window?.localStorage?.getItem("vitepress-theme-appearance") ?? "dark")'],
15-
// ["script", { async: "", src: "https://analytics.umami.is/script.js", "data-website-id": "8d8f3cb0-d161-4a3c-891e-eb042af6d3a3" }],
16-
// ["script", { src: "//code.tidio.co/hu6mx7fw2r6llmfzxj5llesd5l51q5dv.js", async: "" }],
17-
// ],
18-
// sitemap: {
19-
// hostname: "https://docs.uaparser.dev",
20-
// },
21-
// appearance: "dark",
2210
lastUpdated: true,
2311
ignoreDeadLinks: true,
2412
themeConfig: {
25-
// https://vitepress.dev/reference/default-theme-config
26-
// outlineTitle: 'This page',
2713
logo: { src: "./logo.png", width: 24, height: 24 },
2814
nav: [
2915
{ text: "Guide", link: "/app/_media/CONTRIBUTING" },
30-
// { text: 'Examples', link: '/markdown-examples' }
3116
],
3217

3318
sidebar: [
@@ -47,13 +32,10 @@ export default defineConfig({
4732
],
4833
socialLinks: [
4934
// icons 'discord' | 'facebook' | 'github'| 'instagram'| 'linkedin'| 'slack'| 'twitter'| 'youtube'
50-
{ icon: "github", link: "https://github.com/heliomarpm/tslib-template" },
35+
{ icon: "github", link: "https://github.com/heliomarpm/cryptoh" },
5136
{
5237
icon: "npm",
53-
// icon: {
54-
// svg: '<svg color="#CB3837" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>npm</title><path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"/></svg>',
55-
// },
56-
link: "https://www.npmjs.com/~heliomarpm",
38+
link: "https://www.npmjs.com/package/@heliomarpm/cryptoh",
5739
},
5840
{
5941
icon: "linkedin",
@@ -85,38 +67,11 @@ export default defineConfig({
8567
},
8668
link: "https://navto.me/heliomarpm",
8769
},
88-
// {
89-
// icon: {
90-
// svg: '<svg color="#7FADF2" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Open Collective</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c2.54 0 4.894-.79 6.834-2.135l-3.107-3.109a7.715 7.715 0 1 1 0-13.512l3.107-3.109A11.943 11.943 0 0 0 12 0zm9.865 5.166l-3.109 3.107A7.67 7.67 0 0 1 19.715 12a7.682 7.682 0 0 1-.959 3.727l3.109 3.107A11.943 11.943 0 0 0 24 12c0-2.54-.79-4.894-2.135-6.834z"/></svg>',
91-
// },
92-
// link: "https://opencollective.com/ua-parser-js",
93-
// },
9470
],
95-
// carbonAds: { code: "CW7I62JY", placement: "docsuaparserdev" },
9671
footer: {
9772
message: "Released under the MIT License",
9873
copyright: "© 2025 <a href='https://navto.me/heliomarpm'>Heliomar P. Marques</a>",
9974
},
10075
lastUpdatedText: "Updated Date",
101-
// editLink: {
102-
// pattern: "https://github.com/heliomarpm/tslib-template/tree/main/.docs/:path",
103-
// text: "Edit this page on GitHub",
104-
// },
10576
},
106-
// markdown: {
107-
// lineNumbers: true,
108-
// // adjust how header anchors are generated,
109-
// // useful for integrating with tools that use different conventions
110-
// anchor: {
111-
// slugify(str) {
112-
// return encodeURIComponent(str);
113-
// },
114-
// },
115-
// },
116-
// vite: {
117-
// build: {
118-
// minify: "terser",
119-
// chunkSizeWarningLimit: 1600,
120-
// },
121-
// },
12277
});

.docs/index.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,25 @@
33
layout: home
44

55
hero:
6-
name: "TSLib Template"
6+
name: "CryptoH"
77
text: ""
8-
tagline: TypeScript Template, Vitest, CI/CD, semantic-release, Conventional Changelog, TypeDoc, NPM/GPR Publishing, GitHub Actions
8+
tagline: A Clean and Easy-to-Use Cryptography Helper Library for Node.js
99

1010
actions:
1111
- theme: brand
1212
text: Documentation
1313
link: /app/index
14-
# - theme: alt
15-
# text: API Examples
16-
# link: /api-examples
1714

1815
image:
1916
src: logo.png
20-
alt: 'TSLib Template'
21-
# loading: eager
22-
# fetchpriority: high
23-
# width: 320
24-
# height: 320
17+
alt: 'CryptoH'
2518

2619
features:
27-
- icon: 🌱
28-
title: TSApp Template
29-
details: TypeScript Template, Vitest, CI/CD, semantic-release, Conventional Changelog, TypeDoc, GitHub Actions
30-
link: https://heliomarpm.github.io/tsapp-template/
20+
# - icon:
21+
# src: https://raw.githubusercontent.com/heliomarpm/helpers/refs/heads/main/logo.png
22+
# title: Helpers Library
23+
# details: A utility for NodeJS App with many useful features
24+
# link: https://www.npmjs.com/package/@heliomarpm/helpers
3125

3226
- icon:
3327
src: https://static-production.npmjs.com/da3ab40fb0861d15c83854c29f5f2962.png

.docs/markdown-examples.md

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

.github/workflows/2.deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Run tests with coverage
4646
run: |
47-
# npx vitest --coverage --outputFile=coverage/coverage-summary.json
47+
# npx vitest run --coverage --outputFile=coverage/coverage-summary.json
4848
npx vitest run --coverage
4949
mkdir -p coverage/lcov-report
5050

.github/workflows/3.release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
# branches: [main]
1111
# paths:
1212
# - 'src/**'
13-
# - '.releaserc'
13+
# - '.releaserc*'
1414
# - 'package.json'
1515
# - 'package-lock.json'
1616
# - '.github/workflows/2.release.yml'
@@ -20,7 +20,7 @@ on:
2020
# types: [closed]
2121
# paths:
2222
# - 'src/**'
23-
# - '.releaserc'
23+
# - '.releaserc*'
2424
# - 'package.json'
2525
# - 'package-lock.json'
2626
# - '.github/workflows/*release.yml'

.github/workflows/4.publish-npm.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
outputs:
1212
has_code_changes: ${{ steps.check_files.outputs.has_changes }}
13-
skip_publish: true # ⚠️ Publicação desativada. Altere para false para habilitar a publicação
13+
skip_publish: false # ⚠️ Publicação desativada. Altere para false para habilitar a publicação
1414

1515
steps:
1616
- name: Checkout
@@ -116,5 +116,3 @@ jobs:
116116
- name: Show successfull publish
117117
if: success()
118118
run: echo "📦 Published to GHP -> ${{ github.event.release.tag_name }}"
119-
120-

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ graph TD
4545

4646
## 📦 Configuração do `semantic-release`
4747

48-
- Definida via arquivo [`.releaserc`](../../.releaserc)
48+
- Definida via arquivo [`.releaserc.json`](../../.releaserc.json)
4949
- Gera release somente na branch `main`.
5050
- Utiliza convenção de commits para determinar o tipo de versão (`major`, `minor`, `patch`).
5151

File renamed without changes.

CHANGELOG.md

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

0 commit comments

Comments
 (0)