portapack 0.3.3 → 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.
@@ -0,0 +1,93 @@
1
+ Copyright 2016 The Nunito Project Authors (contact@sansoxygen.com),
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,5 @@
1
+ import {createApp} from 'vue'
2
+ import App from './App.vue'
3
+ import './style.css';
4
+
5
+ createApp(App).mount('#app')
@@ -0,0 +1,26 @@
1
+ html {
2
+ background-color: rgba(27, 38, 54, 1);
3
+ text-align: center;
4
+ color: white;
5
+ }
6
+
7
+ body {
8
+ margin: 0;
9
+ color: white;
10
+ font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
11
+ "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
12
+ sans-serif;
13
+ }
14
+
15
+ @font-face {
16
+ font-family: "Nunito";
17
+ font-style: normal;
18
+ font-weight: 400;
19
+ src: local(""),
20
+ url("assets/fonts/nunito-v16-latin-regular.woff2") format("woff2");
21
+ }
22
+
23
+ #app {
24
+ height: 100vh;
25
+ text-align: center;
26
+ }
@@ -0,0 +1,7 @@
1
+ import {defineConfig} from 'vite'
2
+ import vue from '@vitejs/plugin-vue'
3
+
4
+ // https://vitejs.dev/config/
5
+ export default defineConfig({
6
+ plugins: [vue()]
7
+ })
package/desktop/go.mod ADDED
@@ -0,0 +1,38 @@
1
+ module changeme
2
+
3
+ go 1.22.0
4
+
5
+ toolchain go1.23.10
6
+
7
+ require github.com/wailsapp/wails/v2 v2.10.1
8
+
9
+ require (
10
+ github.com/bep/debounce v1.2.1 // indirect
11
+ github.com/go-ole/go-ole v1.3.0 // indirect
12
+ github.com/godbus/dbus/v5 v5.1.0 // indirect
13
+ github.com/google/uuid v1.6.0 // indirect
14
+ github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect
15
+ github.com/labstack/echo/v4 v4.13.3 // indirect
16
+ github.com/labstack/gommon v0.4.2 // indirect
17
+ github.com/leaanthony/go-ansi-parser v1.6.1 // indirect
18
+ github.com/leaanthony/gosod v1.0.4 // indirect
19
+ github.com/leaanthony/slicer v1.6.0 // indirect
20
+ github.com/leaanthony/u v1.1.1 // indirect
21
+ github.com/mattn/go-colorable v0.1.13 // indirect
22
+ github.com/mattn/go-isatty v0.0.20 // indirect
23
+ github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
24
+ github.com/pkg/errors v0.9.1 // indirect
25
+ github.com/rivo/uniseg v0.4.7 // indirect
26
+ github.com/samber/lo v1.49.1 // indirect
27
+ github.com/tkrajina/go-reflector v0.5.8 // indirect
28
+ github.com/valyala/bytebufferpool v1.0.0 // indirect
29
+ github.com/valyala/fasttemplate v1.2.2 // indirect
30
+ github.com/wailsapp/go-webview2 v1.0.19 // indirect
31
+ github.com/wailsapp/mimetype v1.4.1 // indirect
32
+ golang.org/x/crypto v0.33.0 // indirect
33
+ golang.org/x/net v0.35.0 // indirect
34
+ golang.org/x/sys v0.30.0 // indirect
35
+ golang.org/x/text v0.22.0 // indirect
36
+ )
37
+
38
+ // replace github.com/wailsapp/wails/v2 v2.10.1 => /home/victor/go/pkg/mod
package/desktop/go.sum ADDED
@@ -0,0 +1,79 @@
1
+ github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY=
2
+ github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0=
3
+ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
4
+ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5
+ github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
6
+ github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
7
+ github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
8
+ github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
9
+ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
10
+ github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
11
+ github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e h1:Q3+PugElBCf4PFpxhErSzU3/PY5sFL5Z6rfv4AbGAck=
12
+ github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs=
13
+ github.com/labstack/echo/v4 v4.13.3 h1:pwhpCPrTl5qry5HRdM5FwdXnhXSLSY+WE+YQSeCaafY=
14
+ github.com/labstack/echo/v4 v4.13.3/go.mod h1:o90YNEeQWjDozo584l7AwhJMHN0bOC4tAfg+Xox9q5g=
15
+ github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
16
+ github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
17
+ github.com/leaanthony/debme v1.2.1 h1:9Tgwf+kjcrbMQ4WnPcEIUcQuIZYqdWftzZkBr+i/oOc=
18
+ github.com/leaanthony/debme v1.2.1/go.mod h1:3V+sCm5tYAgQymvSOfYQ5Xx2JCr+OXiD9Jkw3otUjiA=
19
+ github.com/leaanthony/go-ansi-parser v1.6.1 h1:xd8bzARK3dErqkPFtoF9F3/HgN8UQk0ed1YDKpEz01A=
20
+ github.com/leaanthony/go-ansi-parser v1.6.1/go.mod h1:+vva/2y4alzVmmIEpk9QDhA7vLC5zKDTRwfZGOp3IWU=
21
+ github.com/leaanthony/gosod v1.0.4 h1:YLAbVyd591MRffDgxUOU1NwLhT9T1/YiwjKZpkNFeaI=
22
+ github.com/leaanthony/gosod v1.0.4/go.mod h1:GKuIL0zzPj3O1SdWQOdgURSuhkF+Urizzxh26t9f1cw=
23
+ github.com/leaanthony/slicer v1.6.0 h1:1RFP5uiPJvT93TAHi+ipd3NACobkW53yUiBqZheE/Js=
24
+ github.com/leaanthony/slicer v1.6.0/go.mod h1:o/Iz29g7LN0GqH3aMjWAe90381nyZlDNquK+mtH2Fj8=
25
+ github.com/leaanthony/u v1.1.1 h1:TUFjwDGlNX+WuwVEzDqQwC2lOv0P4uhTQw7CMFdiK7M=
26
+ github.com/leaanthony/u v1.1.1/go.mod h1:9+o6hejoRljvZ3BzdYlVL0JYCwtnAsVuN9pVTQcaRfI=
27
+ github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
28
+ github.com/matryer/is v1.4.1 h1:55ehd8zaGABKLXQUe2awZ99BD/PTc2ls+KV/dXphgEQ=
29
+ github.com/matryer/is v1.4.1/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
30
+ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
31
+ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
32
+ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
33
+ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
34
+ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
35
+ github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=
36
+ github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU=
37
+ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
38
+ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
39
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
40
+ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
41
+ github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
42
+ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
43
+ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
44
+ github.com/samber/lo v1.49.1 h1:4BIFyVfuQSEpluc7Fua+j1NolZHiEHEpaSEKdsH0tew=
45
+ github.com/samber/lo v1.49.1/go.mod h1:dO6KHFzUKXgP8LDhU0oI8d2hekjXnGOu0DB8Jecxd6o=
46
+ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
47
+ github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
48
+ github.com/tkrajina/go-reflector v0.5.8 h1:yPADHrwmUbMq4RGEyaOUpz2H90sRsETNVpjzo3DLVQQ=
49
+ github.com/tkrajina/go-reflector v0.5.8/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
50
+ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
51
+ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
52
+ github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo=
53
+ github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
54
+ github.com/wailsapp/go-webview2 v1.0.19 h1:7U3QcDj1PrBPaxJNCui2k1SkWml+Q5kvFUFyTImA6NU=
55
+ github.com/wailsapp/go-webview2 v1.0.19/go.mod h1:qJmWAmAmaniuKGZPWwne+uor3AHMB5PFhqiK0Bbj8kc=
56
+ github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs=
57
+ github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o=
58
+ github.com/wailsapp/wails/v2 v2.10.1 h1:QWHvWMXII2nI/nXz77gpPG8P3ehl6zKe+u4su5BWIns=
59
+ github.com/wailsapp/wails/v2 v2.10.1/go.mod h1:zrebnFV6MQf9kx8HI4iAv63vsR5v67oS7GTEZ7Pz1TY=
60
+ golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
61
+ golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
62
+ golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
63
+ golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=
64
+ golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk=
65
+ golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
66
+ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
67
+ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
68
+ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
69
+ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
70
+ golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
71
+ golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
72
+ golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
73
+ golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
74
+ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
75
+ golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
76
+ golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
77
+ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
78
+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
79
+ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
@@ -0,0 +1,36 @@
1
+ package main
2
+
3
+ import (
4
+ "embed"
5
+
6
+ "github.com/wailsapp/wails/v2"
7
+ "github.com/wailsapp/wails/v2/pkg/options"
8
+ "github.com/wailsapp/wails/v2/pkg/options/assetserver"
9
+ )
10
+
11
+ //go:embed all:frontend/dist
12
+ var assets embed.FS
13
+
14
+ func main() {
15
+ // Create an instance of the app structure
16
+ app := NewApp()
17
+
18
+ // Create application with options
19
+ err := wails.Run(&options.App{
20
+ Title: "desktop",
21
+ Width: 1024,
22
+ Height: 768,
23
+ AssetServer: &assetserver.Options{
24
+ Assets: assets,
25
+ },
26
+ BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
27
+ OnStartup: app.startup,
28
+ Bind: []interface{}{
29
+ app,
30
+ },
31
+ })
32
+
33
+ if err != nil {
34
+ println("Error:", err.Error())
35
+ }
36
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://wails.io/schemas/config.v2.json",
3
+ "name": "desktop",
4
+ "version": "2",
5
+ "outputfilename": "desktop",
6
+ "frontend:install": "npm install",
7
+ "frontend:build": "npm run build",
8
+ "frontend:dev:watcher": "npm run dev",
9
+ "frontend:dev:serverUrl": "auto",
10
+ "author": {
11
+ "name": "Victor Evogor",
12
+ "email": "victorevogor0001@gmail.com"
13
+ }
14
+ }
@@ -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
- 'meta',
16
- { name: 'og:description', content: 'Bundle & Minify HTML into a Single Portable File' },
17
- ],
18
- ['meta', { name: 'og:image', content: '/portapack/portapack.jpg' }], // Updated to use your non-transparent logo
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', // This path is relative to the public directory
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portapack",
3
- "version": "0.3.3",
3
+ "version": "0.5.0",
4
4
  "description": "📦 A tool to bundle and minify HTML and all its dependencies into a single portable file.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",