portapack 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +2 -1
- package/CHANGELOG.md +7 -0
- package/docs/.vitepress/config.ts +49 -27
- package/package.json +1 -1
package/.github/workflows/ci.yml
CHANGED
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [0.5.0](https://github.com/manicinc/portapack/compare/v0.4.0...v0.5.0) (2025-06-09)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* add Google Analytics integration to documentation site ([6d96b54](https://github.com/manicinc/portapack/commit/6d96b540ca12adc63eb4c7cf0f04d72d18453b41))
|
7
|
+
|
1
8
|
# [0.4.0](https://github.com/manicinc/portapack/compare/v0.3.3...v0.4.0) (2025-06-07)
|
2
9
|
|
3
10
|
|
@@ -1,6 +1,27 @@
|
|
1
|
-
import { defineConfig } from 'vitepress';
|
1
|
+
import { defineConfig, HeadConfig } from 'vitepress';
|
2
2
|
import { buildDocsSidebar } from './sidebar-generator';
|
3
3
|
|
4
|
+
const GA_ID = process.env.GA_ID;
|
5
|
+
|
6
|
+
const gaHead: HeadConfig[] = GA_ID
|
7
|
+
? [
|
8
|
+
[
|
9
|
+
'script',
|
10
|
+
{ async: 'true', src: `https://www.googletagmanager.com/gtag/js?id=${GA_ID}` }
|
11
|
+
],
|
12
|
+
[
|
13
|
+
'script',
|
14
|
+
{},
|
15
|
+
`
|
16
|
+
window.dataLayer = window.dataLayer || [];
|
17
|
+
function gtag(){dataLayer.push(arguments);}
|
18
|
+
gtag('js', new Date());
|
19
|
+
gtag('config', '${GA_ID}');
|
20
|
+
`
|
21
|
+
]
|
22
|
+
]
|
23
|
+
: [];
|
24
|
+
|
4
25
|
export default defineConfig({
|
5
26
|
base: '/portapack/',
|
6
27
|
title: 'PortaPack',
|
@@ -11,16 +32,17 @@ export default defineConfig({
|
|
11
32
|
head: [
|
12
33
|
['link', { rel: 'icon', href: '/portapack/favicon.ico' }],
|
13
34
|
['meta', { name: 'og:title', content: 'PortaPack' }],
|
14
|
-
[
|
15
|
-
'
|
16
|
-
|
17
|
-
],
|
18
|
-
['meta', { name: 'og:image', content: '/portapack/portapack.jpg' }],
|
35
|
+
['meta', {
|
36
|
+
name: 'og:description',
|
37
|
+
content: 'Bundle & Minify HTML into a Single Portable File'
|
38
|
+
}],
|
39
|
+
['meta', { name: 'og:image', content: '/portapack/portapack.jpg' }],
|
19
40
|
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
|
41
|
+
...gaHead
|
20
42
|
],
|
21
43
|
|
22
44
|
themeConfig: {
|
23
|
-
logo: '/portapack-transparent.png',
|
45
|
+
logo: '/portapack-transparent.png',
|
24
46
|
|
25
47
|
socialLinks: [
|
26
48
|
{ icon: 'github', link: 'https://github.com/manicinc/portapack' },
|
@@ -28,15 +50,15 @@ export default defineConfig({
|
|
28
50
|
{ icon: 'discord', link: 'https://discord.gg/DzNgXdYm' },
|
29
51
|
{
|
30
52
|
icon: {
|
31
|
-
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg>'
|
53
|
+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg>'
|
32
54
|
},
|
33
|
-
link: 'https://www.linkedin.com/company/manic-agency-llc/'
|
34
|
-
}
|
55
|
+
link: 'https://www.linkedin.com/company/manic-agency-llc/'
|
56
|
+
}
|
35
57
|
],
|
36
58
|
|
37
59
|
footer: {
|
38
60
|
message: 'Released under the MIT License',
|
39
|
-
copyright: '© 2025 Manic Agency. All rights reserved.'
|
61
|
+
copyright: '© 2025 Manic Agency. All rights reserved.'
|
40
62
|
},
|
41
63
|
|
42
64
|
nav: [
|
@@ -48,12 +70,12 @@ export default defineConfig({
|
|
48
70
|
{ text: 'CLI Reference', link: '/cli' },
|
49
71
|
{ text: 'API', link: '/api/README' },
|
50
72
|
{ text: 'Configuration', link: '/configuration' },
|
51
|
-
{ text: 'Advanced Usage', link: '/advanced' }
|
52
|
-
]
|
73
|
+
{ text: 'Advanced Usage', link: '/advanced' }
|
74
|
+
]
|
53
75
|
},
|
54
76
|
{ text: 'Contributing', link: '/contributing' },
|
55
|
-
{ text: 'Architecture', link: '/architecture'},
|
56
|
-
{ text: 'Roadmap', link: 'roadmap'}
|
77
|
+
{ text: 'Architecture', link: '/architecture' },
|
78
|
+
{ text: 'Roadmap', link: 'roadmap' }
|
57
79
|
],
|
58
80
|
|
59
81
|
sidebar: {
|
@@ -64,9 +86,9 @@ export default defineConfig({
|
|
64
86
|
items: [
|
65
87
|
{ text: 'Introduction', link: '/getting-started/' },
|
66
88
|
{ text: 'Installation', link: '/getting-started/installation' },
|
67
|
-
{ text: 'Quick Start', link: '/getting-started/quick-start' }
|
68
|
-
]
|
69
|
-
}
|
89
|
+
{ text: 'Quick Start', link: '/getting-started/quick-start' }
|
90
|
+
]
|
91
|
+
}
|
70
92
|
],
|
71
93
|
'/cli/': [
|
72
94
|
{
|
@@ -74,9 +96,9 @@ export default defineConfig({
|
|
74
96
|
items: [
|
75
97
|
{ text: 'Overview', link: '/cli/' },
|
76
98
|
{ text: 'Commands', link: '/cli/commands' },
|
77
|
-
{ text: 'Options', link: '/cli/options' }
|
78
|
-
]
|
79
|
-
}
|
99
|
+
{ text: 'Options', link: '/cli/options' }
|
100
|
+
]
|
101
|
+
}
|
80
102
|
],
|
81
103
|
'/configuration/': [
|
82
104
|
{
|
@@ -84,10 +106,10 @@ export default defineConfig({
|
|
84
106
|
items: [
|
85
107
|
{ text: 'Overview', link: '/configuration/' },
|
86
108
|
{ text: 'Options', link: '/configuration/options' },
|
87
|
-
{ text: 'Advanced', link: '/configuration/advanced' }
|
88
|
-
]
|
89
|
-
}
|
90
|
-
]
|
91
|
-
}
|
92
|
-
}
|
109
|
+
{ text: 'Advanced', link: '/configuration/advanced' }
|
110
|
+
]
|
111
|
+
}
|
112
|
+
]
|
113
|
+
}
|
114
|
+
}
|
93
115
|
});
|