@endevco/aube-linux-x64-musl 1.0.0 → 1.2.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 +29 -8
- package/bin/aube +0 -0
- package/bin/aubr +0 -0
- package/bin/aubx +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,11 +20,13 @@
|
|
|
20
20
|
|
|
21
21
|
## Why Try It
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
<!-- BENCH_RATIOS:START -->
|
|
24
|
+
**[Fast installs](https://aube.en.dev/benchmarks).** Warm installs with the global virtual store are about 10x faster than pnpm and about 3x faster than Bun in the current benchmarks. Repeat test commands run up to 101x faster than pnpm and up to 5x faster than Bun.
|
|
25
|
+
<!-- BENCH_RATIOS:END -->
|
|
24
26
|
|
|
25
27
|
**[Existing lockfiles](https://aube.en.dev/package-manager/lockfiles).** Reads and writes `pnpm-lock.yaml`, `package-lock.json`, `npm-shrinkwrap.json`, `yarn.lock`, and `bun.lock` in place.
|
|
26
28
|
|
|
27
|
-
**[Cheap repeat commands](https://aube.en.dev/package-manager/scripts).** `
|
|
29
|
+
**[Cheap repeat commands](https://aube.en.dev/package-manager/scripts).** `aubr test`, `aube test`, and `aube exec vitest` auto-install when dependencies are stale, then skip that work when nothing changed. `aubx` runs one-off tools in a throwaway environment.
|
|
28
30
|
|
|
29
31
|
**[Less disk use](https://aube.en.dev/package-manager/node-modules).** A global content-addressable store lets projects share package files instead of keeping a full copy of the same dependencies in every checkout.
|
|
30
32
|
|
|
@@ -64,14 +66,33 @@ brew install endevco/tap/aube
|
|
|
64
66
|
|
|
65
67
|
See [other install methods](https://aube.en.dev/installation).
|
|
66
68
|
|
|
67
|
-
## First
|
|
69
|
+
## First Run
|
|
68
70
|
|
|
69
71
|
Run aube in an existing Node.js project:
|
|
70
72
|
|
|
71
73
|
```sh
|
|
72
|
-
|
|
74
|
+
aubr test
|
|
73
75
|
```
|
|
74
76
|
|
|
77
|
+
`aubr` is shorthand for `aube run`. Before it starts the script, aube checks
|
|
78
|
+
whether `node_modules` is fresh for the current `package.json` and lockfile.
|
|
79
|
+
If dependencies are missing or stale, it installs them first; otherwise it
|
|
80
|
+
goes straight to the script.
|
|
81
|
+
|
|
82
|
+
You usually do not need a separate `aube install` in day-to-day work. Run the
|
|
83
|
+
script or binary you actually wanted:
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
aubr build
|
|
87
|
+
aube test
|
|
88
|
+
aube exec vitest
|
|
89
|
+
aubx cowsay hi
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Use `aube install` when the install itself is the task: first local setup
|
|
93
|
+
without running a script, updating a lockfile, Docker layers, production-only
|
|
94
|
+
installs, or CI flows.
|
|
95
|
+
|
|
75
96
|
If the project already has a supported lockfile, aube reads it and writes updates back to the same file. That makes it easy to try aube locally without forcing the rest of the team to switch package managers first.
|
|
76
97
|
|
|
77
98
|
For a new project with no lockfile, aube creates `aube-lock.yaml`.
|
|
@@ -79,15 +100,15 @@ For a new project with no lockfile, aube creates `aube-lock.yaml`.
|
|
|
79
100
|
## Daily Commands
|
|
80
101
|
|
|
81
102
|
```sh
|
|
82
|
-
aube install # install dependencies
|
|
83
103
|
aube add react # add a dependency
|
|
84
104
|
aube add -D vitest # add a dev dependency
|
|
85
105
|
aube remove react # remove a dependency
|
|
86
106
|
aube update # update dependencies within package.json ranges
|
|
87
|
-
|
|
107
|
+
aubr build # run a package.json script, auto-installing first if needed
|
|
88
108
|
aube test # run the test script, auto-installing first if needed
|
|
89
|
-
aube exec vitest # run a local binary
|
|
90
|
-
|
|
109
|
+
aube exec vitest # run a local binary, auto-installing first if needed
|
|
110
|
+
aubx cowsay hi # run a package in a throwaway environment
|
|
111
|
+
aube install # install only, for setup or lockfile/install modes
|
|
91
112
|
aube ci # clean, frozen install for CI
|
|
92
113
|
```
|
|
93
114
|
|
package/bin/aube
CHANGED
|
Binary file
|
package/bin/aubr
CHANGED
|
Binary file
|
package/bin/aubx
CHANGED
|
Binary file
|