@hurshb50/setup-ubuntu 1.0.3 → 1.1.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.
- package/README.md +3 -2
- package/distribution/setup-ubuntu.mjs +17 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,9 +5,10 @@ Sets up a fresh Ubuntu machine with tools, configuration, and dotfiles.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
sudo apt update
|
|
8
|
+
sudo apt update
|
|
9
|
+
sudo apt install -y curl ca-certificates
|
|
9
10
|
curl -fsSL https://vite.plus | bash
|
|
10
|
-
|
|
11
|
+
vpx @hurshb50/setup-ubuntu
|
|
11
12
|
```
|
|
12
13
|
|
|
13
14
|
Vite+ defaults to pnpm, which can hold back freshly published releases. The setup pins npm globally, so later commands need no prefix.
|
|
@@ -10,7 +10,7 @@ import fs from "fs/promises";
|
|
|
10
10
|
import { execa } from "execa";
|
|
11
11
|
//#region package.json
|
|
12
12
|
var name = "@hurshb50/setup-ubuntu";
|
|
13
|
-
var version = "1.0.
|
|
13
|
+
var version = "1.0.3";
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region source/modules/logger/logger.ts
|
|
16
16
|
var Logger = class Logger {
|
|
@@ -295,7 +295,10 @@ var AgentSkills = class {
|
|
|
295
295
|
task.continue("Create global skills directory");
|
|
296
296
|
await fs.mkdir(destinationDirectoryPath, { recursive: true });
|
|
297
297
|
task.continue("Copy agent skills");
|
|
298
|
-
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
298
|
+
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
299
|
+
recursive: true,
|
|
300
|
+
dereference: true
|
|
301
|
+
});
|
|
299
302
|
task.finish();
|
|
300
303
|
}
|
|
301
304
|
};
|
|
@@ -371,7 +374,10 @@ var CodeEditor = class {
|
|
|
371
374
|
task.continue("Install Zed");
|
|
372
375
|
if (!await context.dependencyManager.commandExists("zed")) await execa("curl -f https://zed.dev/install.sh | sh", { shell: true });
|
|
373
376
|
task.continue("Copy configuration");
|
|
374
|
-
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
377
|
+
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
378
|
+
recursive: true,
|
|
379
|
+
dereference: true
|
|
380
|
+
});
|
|
375
381
|
task.finish();
|
|
376
382
|
}
|
|
377
383
|
};
|
|
@@ -460,7 +466,10 @@ var Fonts = class {
|
|
|
460
466
|
task.continue("Create fonts directory");
|
|
461
467
|
await fs.mkdir(destinationDirectoryPath, { recursive: true });
|
|
462
468
|
task.continue("Copy fonts");
|
|
463
|
-
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
469
|
+
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
470
|
+
recursive: true,
|
|
471
|
+
dereference: true
|
|
472
|
+
});
|
|
464
473
|
task.finish();
|
|
465
474
|
}
|
|
466
475
|
};
|
|
@@ -619,7 +628,10 @@ var Wallpapers = class {
|
|
|
619
628
|
task.continue("Create backgrounds directory");
|
|
620
629
|
await fs.mkdir(destinationDirectoryPath, { recursive: true });
|
|
621
630
|
task.continue("Copy wallpapers");
|
|
622
|
-
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
631
|
+
await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
|
|
632
|
+
recursive: true,
|
|
633
|
+
dereference: true
|
|
634
|
+
});
|
|
623
635
|
task.finish();
|
|
624
636
|
}
|
|
625
637
|
};
|