defuss-desktop 0.0.3 → 0.0.6
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/README.md +16 -16
- package/dist/index.cjs +749 -243
- package/dist/index.d.cts +77 -6
- package/dist/index.d.mts +77 -6
- package/dist/index.mjs +748 -246
- package/dist/internet-explorer-CAgm9-7A.mjs +35 -0
- package/dist/internet-explorer-CajUFG-6.cjs +37 -0
- package/dist/notepad-Cwg2fv8c.mjs +20 -0
- package/dist/notepad-D2pcJRhu.cjs +22 -0
- package/dist/scss/_apps.scss +75 -0
- package/dist/scss/_desktop-icons.scss +89 -0
- package/dist/scss/_taskbar.scss +32 -4
- package/dist/scss/_window.scss +75 -2
- package/dist/scss/index.scss +2 -0
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -92,10 +92,10 @@ Integrating `defuss-wm` in your project
|
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
94
|
# install a decent package manager
|
|
95
|
-
npm i -g
|
|
95
|
+
npm i -g bun@^1.3.9
|
|
96
96
|
|
|
97
97
|
# from your project root folder, add defuss-wm to your dependencies
|
|
98
|
-
|
|
98
|
+
bun install defuss-wm
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
#### 2. Set up your desktop environment:
|
|
@@ -177,17 +177,17 @@ Inside this package, you'll find the following relevant folders and files:
|
|
|
177
177
|
|
|
178
178
|
```text
|
|
179
179
|
/
|
|
180
|
-
|
|
181
|
-
│
|
|
182
|
-
│
|
|
183
|
-
│
|
|
184
|
-
│
|
|
185
|
-
│
|
|
186
|
-
│
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
180
|
+
├-- src/
|
|
181
|
+
│ ├-- WindowManager.ts
|
|
182
|
+
│ ├-- Window.ts
|
|
183
|
+
│ ├-- Desktop.ts
|
|
184
|
+
│ ├-- Taskbar.ts
|
|
185
|
+
│ ├-- ApplicationLauncher.ts
|
|
186
|
+
│ └-- themes/
|
|
187
|
+
├-- dist/
|
|
188
|
+
├-- tsconfig.json
|
|
189
|
+
├-- LICENSE
|
|
190
|
+
├-- package.json
|
|
191
191
|
```
|
|
192
192
|
|
|
193
193
|
The core `WindowManager` class orchestrates all window operations, while individual components handle specific aspects like the desktop, taskbar, and application management.
|
|
@@ -198,11 +198,11 @@ All commands are run from the root of the project, from a terminal:
|
|
|
198
198
|
|
|
199
199
|
| Command | Action |
|
|
200
200
|
| :------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
201
|
-
| `
|
|
202
|
-
| `
|
|
201
|
+
| `bun build` | Build a new version of the window manager. |
|
|
202
|
+
| `bun test` | Run the test suite for `defuss-wm`. |
|
|
203
203
|
|
|
204
204
|
---
|
|
205
205
|
|
|
206
206
|
<img src="https://raw.githubusercontent.com/kyr0/defuss/refs/heads/main/assets/defuss_comic.png" />
|
|
207
207
|
|
|
208
|
-
<caption><i><b>Come visit us on defuss island!</b></i></caption>
|
|
208
|
+
<caption><i><b>Come visit us on defuss island!</b></i></caption>
|