@prozilla-os/terminal 1.0.3 → 1.0.4

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 +17 -0
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -27,6 +27,8 @@ $ pnpm add @prozilla-os/core @prozilla-os/terminal
27
27
 
28
28
  ## Usage
29
29
 
30
+ ### Basic setup
31
+
30
32
  ```tsx
31
33
  import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView, AppsConfig } from "@prozilla-os/core";
32
34
  import { terminal } from "@prozilla-os/terminal";
@@ -51,6 +53,21 @@ function App() {
51
53
  }
52
54
  ```
53
55
 
56
+ ### Window options
57
+
58
+ ```tsx
59
+ /**
60
+ * Initial path that the app will open
61
+ * @default "~" - Home directory
62
+ */
63
+ path: string;
64
+
65
+ /**
66
+ * Initial input
67
+ */
68
+ input: string;
69
+ ```
70
+
54
71
  ## Links
55
72
 
56
73
  - [Website/demo][website]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prozilla-os/terminal",
3
3
  "description": "A terminal/shell application for ProzillaOS.",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "homepage": "https://os.prozilla.dev/terminal",
6
6
  "author": {
7
7
  "name": "Prozilla",
@@ -21,7 +21,7 @@
21
21
  "anser": "^2.1.1",
22
22
  "escape-carriage": "^1.3.1",
23
23
  "react": "^18.3.1",
24
- "@prozilla-os/core": "1.0.13"
24
+ "@prozilla-os/core": "1.0.14"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^20.14.5",
@@ -30,7 +30,8 @@
30
30
  "typescript": "^5.4.5",
31
31
  "vite": "^5.3.1",
32
32
  "vite-plugin-dts": "^3.9.1",
33
- "vite-plugin-lib-inject-css": "^2.1.1"
33
+ "vite-plugin-lib-inject-css": "^2.1.1",
34
+ "@prozilla-os/shared": "1.0.1"
34
35
  },
35
36
  "files": [
36
37
  "dist"