@dovocode/workstation 0.1.0 → 0.1.1
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 +17 -1
- package/dist/cli.js +710 -204
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +32 -3
- package/dist/index.js +227 -61
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# @dovocode/workstation
|
|
2
2
|
|
|
3
3
|
Declare your workstation in TypeScript. Install packages through mise,
|
|
4
|
-
Homebrew, or
|
|
4
|
+
Homebrew, APT, DNF, YUM, pacman, Flatpak, or the Mac App Store; generate configuration and shell files; manage services;
|
|
5
5
|
build custom tools; and run named tasks.
|
|
6
6
|
|
|
7
7
|
The package is `@dovocode/workstation`. The executable is **`workstation`**.
|
|
8
|
+
See [CHANGELOG.md](CHANGELOG.md) for release changes and known issues.
|
|
9
|
+
|
|
10
|
+
On macOS, Homebrew and mise are recommended. On Linux, install mise and use
|
|
11
|
+
your distro's APT, DNF, YUM, or pacman; `tools.system(...)` detects the available backend.
|
|
12
|
+
See [setup and installation instructions](docs/getting-started.md).
|
|
8
13
|
|
|
9
14
|
## Build from source
|
|
10
15
|
|
|
16
|
+
Use Node.js 26.8.1 (pinned in `.node-version`) and pnpm 12.3.4. Install Corepack
|
|
17
|
+
with `npm install --global corepack` if needed; Node.js 26 does not bundle it.
|
|
18
|
+
|
|
11
19
|
```sh
|
|
12
20
|
git clone https://github.com/dovocode/workstation.git
|
|
13
21
|
cd workstation
|
|
@@ -45,6 +53,7 @@ export default defineConfig({
|
|
|
45
53
|
|
|
46
54
|
```sh
|
|
47
55
|
workstation # Execute the declared setup
|
|
56
|
+
workstation --verbose # Include raw inspection and version-query output
|
|
48
57
|
workstation --list-tasks
|
|
49
58
|
workstation t -- --watch # Run only the named task
|
|
50
59
|
```
|
|
@@ -52,6 +61,13 @@ workstation t -- --watch # Run only the named task
|
|
|
52
61
|
Generated files overwrite by default, retaining originals in private state
|
|
53
62
|
for restoration. Existing matching resources are adopted rather than owned.
|
|
54
63
|
The committed `workstation.lock` records package versions per machine.
|
|
64
|
+
Compatible package operations run in native batches, with each result verified
|
|
65
|
+
and saved individually. See [batching and recovery](docs/operations.md#native-package-batches).
|
|
66
|
+
|
|
67
|
+
Runs report configuration loading, version resolution, resource inspections,
|
|
68
|
+
commands with exit codes and elapsed time, and completed actions. Package changes
|
|
69
|
+
and tasks stream their output live. Use `--verbose` (`-v`) to also show raw query
|
|
70
|
+
output. Embedded `ProcessRunner` usage stays silent unless logging is enabled.
|
|
55
71
|
|
|
56
72
|
## Documentation
|
|
57
73
|
|