x-shell.js 1.0.0-rc.1 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,13 +48,20 @@ See [node-pty docs](https://github.com/microsoft/node-pty) for platform-specific
48
48
 
49
49
  ### Client-Side (Browser)
50
50
 
51
- The client and UI components can be loaded directly from a CDN:
51
+ The UI component can be loaded directly from a CDN - no build step required:
52
52
 
53
53
  ```html
54
+ <!-- Using unpkg -->
54
55
  <script type="module" src="https://unpkg.com/x-shell.js/dist/ui/browser-bundle.js"></script>
56
+
57
+ <!-- Or using jsDelivr -->
58
+ <script type="module" src="https://cdn.jsdelivr.net/npm/x-shell.js/dist/ui/browser-bundle.js"></script>
59
+
60
+ <!-- Pin to a specific version -->
61
+ <script type="module" src="https://unpkg.com/x-shell.js@1.0.0-rc.1/dist/ui/browser-bundle.js"></script>
55
62
  ```
56
63
 
57
- No build step required for browser usage.
64
+ The bundle includes the `<x-shell-terminal>` web component with xterm.js built-in.
58
65
 
59
66
  ## Quick Start
60
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-shell.js",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0",
4
4
  "description": "WebSocket-based terminal for Node.js - the truth is in your shell",
5
5
  "type": "module",
6
6
  "main": "dist/server/index.js",