@vltpkg/gui 0.0.0-10

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/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ Copyright (c) vlt technology, Inc.
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
+ Subject to the terms and conditions of this license, each copyright holder and contributor hereby grants to those receiving rights under this license a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except for failure to satisfy the conditions of this license) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer this software, where such license applies only to those patent claims, already acquired or hereafter acquired, licensable by such copyright holder or contributor that are necessarily infringed by:
8
+
9
+ (a) their Contribution(s) (the licensed copyrights of copyright holders and non-copyrightable additions of contributors, in source or binary form) alone; or
10
+ (b) combination of their Contribution(s) with the work of authorship to which such Contribution(s) was added by such copyright holder or contributor, if, at the time the Contribution is added, such addition causes such combination to be necessarily infringed. The patent license shall not apply to any other combinations which include the Contribution.
11
+ Except as expressly stated above, no rights or licenses from any copyright holder or contributor is granted under this license, whether expressly, by implication, estoppel or otherwise.
12
+
13
+ DISCLAIMER
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ ![gui](https://github.com/user-attachments/assets/864bef92-2198-45f7-8c37-1f46ba324b00)
2
+
3
+ # @vltpkg/gui
4
+
5
+ The vlt gui for visualizing dependencies in your project.
6
+
7
+ ### Documentation
8
+
9
+ #### Development
10
+
11
+ To enable live reload, first set the environment variable
12
+ `__VLT_INTERNAL_LIVE_RELOAD`:
13
+
14
+ ```bash
15
+ $ export __VLT_INTERNAL_LIVE_RELOAD=1
16
+ ```
17
+
18
+ To start the esbuild dev server, run the gui watch script:
19
+
20
+ ```bash
21
+ $ pnpm -F gui watch
22
+ ```
23
+
24
+ In a separate terminal, run the app:
25
+
26
+ ```bash
27
+ $ ./scripts/bins/vlt gui
28
+ ```
29
+
30
+ Changes to `src/gui` will cause open browser windows to `reload()`.
31
+
32
+ > ##### Note:
33
+ >
34
+ > If the esbuild dev server is not running, then requests will
35
+ > fallback to the static asset like normal and message will be logged
36
+ > in the browser.
37
+ >
38
+ > `__VLT_INTERNAL_LIVE_RELOAD` has no effect on production builds. The
39
+ > code is stripped by esbuild from both the GUI and the CLI.
40
+
41
+ See the [contributing guide](../../CONTRIBUTING.md) for more
42
+ information on how to build and develop the various workspaces.
43
+
44
+ ### License
45
+
46
+ [BSD-2-Clause Plus Patent License](../../LICENSE)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,76 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <!-- The first thing in any HTML file should be the charset -->
5
+ <meta charset="utf-8" />
6
+
7
+ <!-- Make the page mobile compatible -->
8
+ <meta
9
+ name="viewport"
10
+ content="width=device-width, initial-scale=1" />
11
+
12
+ <!-- Allow installing the app to the homescreen -->
13
+ <meta name="mobile-web-app-capable" content="yes" />
14
+
15
+ <link rel="icon" href="/favicon.ico" />
16
+ <link rel="stylesheet" href="/main.css" />
17
+ <link
18
+ ref="preload"
19
+ href="/public/fonts/zed-mono.ttf"
20
+ as="font"
21
+ type="font/ttf"
22
+ crossorigin="anonymous" />
23
+ <link
24
+ ref="preload"
25
+ href="/public/fonts/inter.ttf"
26
+ as="font"
27
+ type="font/ttf"
28
+ crossorigin="anonymous" />
29
+ <link
30
+ ref="preload"
31
+ href="/public/fonts/geist-mono.ttf"
32
+ as="font"
33
+ type="font/ttf"
34
+ crossorigin="anonymous" />
35
+ <link
36
+ ref="preload"
37
+ href="/public/fonts/courier-regular.ttf"
38
+ as="font"
39
+ type="font/ttf"
40
+ crossorigin="anonymous" />
41
+ <link
42
+ ref="preload"
43
+ href="/public/fonts/courier-bold.ttf"
44
+ as="font"
45
+ type="font/ttf"
46
+ crossorigin="anonymous" />
47
+ <link
48
+ ref="preload"
49
+ href="/public/fonts/courier-italic.ttf"
50
+ as="font"
51
+ type="font/ttf"
52
+ crossorigin="anonymous" />
53
+ <link
54
+ ref="preload"
55
+ href="/public/fonts/courier-bold-italic.ttf"
56
+ as="font"
57
+ type="font/ttf"
58
+ crossorigin="anonymous" />
59
+ <title>vlt | Explorer</title>
60
+ </head>
61
+
62
+ <body>
63
+ <!-- Display a message if JS has been disabled on the browser. -->
64
+ <noscript
65
+ >If you're seeing this message, that means
66
+ <strong>JavaScript has been disabled on your browser</strong>,
67
+ please <strong>enable JS</strong> to make this app
68
+ work.</noscript
69
+ >
70
+
71
+ <!-- The app hooks into this div -->
72
+ <div id="app"></div>
73
+
74
+ <script src="/index.js"></script>
75
+ </body>
76
+ </html>