@omnidist/omnidist-linux-x64 0.1.23 → 0.1.25
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 +20 -0
- package/bin/omnidist +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,8 @@ This creates:
|
|
|
81
81
|
- `.omnidist/` workspace directories
|
|
82
82
|
|
|
83
83
|
`omnidist init` writes profiles-mode config with a `default` profile.
|
|
84
|
+
It also derives default `distributions.npm.package` / `distributions.uv.package`
|
|
85
|
+
from the current directory name (slugified).
|
|
84
86
|
|
|
85
87
|
3. Edit config and set environment variables (optional):
|
|
86
88
|
|
|
@@ -202,6 +204,8 @@ version:
|
|
|
202
204
|
file: VERSION # optional; used when source is file (default VERSION)
|
|
203
205
|
fixed: 1.2.3 # required when source is fixed
|
|
204
206
|
|
|
207
|
+
readme-path: docs/README.md # optional shared README source for staging
|
|
208
|
+
|
|
205
209
|
targets:
|
|
206
210
|
- os: darwin
|
|
207
211
|
arch: amd64
|
|
@@ -225,12 +229,15 @@ distributions:
|
|
|
225
229
|
registry: https://registry.npmjs.org
|
|
226
230
|
access: public # public | restricted
|
|
227
231
|
license: MIT # optional override for package.json license; omit to use SEE LICENSE IN <file>
|
|
232
|
+
keywords: [cli, ai, llm] # optional npm meta-package keywords
|
|
233
|
+
readme-path: docs/npm-readme.md # optional npm-specific README source
|
|
228
234
|
include-readme: true # include project README.md in staged packages when present
|
|
229
235
|
|
|
230
236
|
uv:
|
|
231
237
|
package: omnidist
|
|
232
238
|
index-url: https://upload.pypi.org/legacy/
|
|
233
239
|
linux-tag: manylinux2014 # manylinux2014 | musllinux_1_2
|
|
240
|
+
readme-path: docs/uv-readme.md # optional uv-specific README source
|
|
234
241
|
include-readme: true # include project README.md in staged wheels when present
|
|
235
242
|
```
|
|
236
243
|
|
|
@@ -244,6 +251,7 @@ profiles:
|
|
|
244
251
|
main: ./cmd/omnidist
|
|
245
252
|
version:
|
|
246
253
|
source: env
|
|
254
|
+
readme-path: docs/README.md
|
|
247
255
|
targets:
|
|
248
256
|
- os: linux
|
|
249
257
|
arch: amd64
|
|
@@ -254,8 +262,11 @@ profiles:
|
|
|
254
262
|
distributions:
|
|
255
263
|
npm:
|
|
256
264
|
package: "@scope/mytool"
|
|
265
|
+
keywords: [cli, ai, llm]
|
|
266
|
+
readme-path: docs/npm-readme.md
|
|
257
267
|
uv:
|
|
258
268
|
package: mytool
|
|
269
|
+
readme-path: docs/uv-readme.md
|
|
259
270
|
|
|
260
271
|
release:
|
|
261
272
|
tool:
|
|
@@ -279,6 +290,12 @@ Mixing top-level runtime fields and `profiles` in the same file is not supported
|
|
|
279
290
|
|
|
280
291
|
`targets` use Go values (`GOOS`/`GOARCH`). Distribution workflows map them as needed (for example `windows/amd64` -> npm `win32/x64`).
|
|
281
292
|
|
|
293
|
+
README source precedence during staging:
|
|
294
|
+
`distributions.<name>.readme-path` -> `readme-path` -> `README.md`.
|
|
295
|
+
If a configured readme-path is set and cannot be read, staging fails.
|
|
296
|
+
|
|
297
|
+
When `distributions.npm.keywords` is set, omnidist writes those values to the staged npm meta package `package.json`.
|
|
298
|
+
|
|
282
299
|
For appkit version injection, configure `build.ldflags` in your project config:
|
|
283
300
|
|
|
284
301
|
```yaml
|
|
@@ -286,6 +303,9 @@ build:
|
|
|
286
303
|
ldflags: -s -w -X github.com/metalagman/appkit/version.version=${OMNIDIST_VERSION} -X github.com/metalagman/appkit/version.gitCommit=${OMNIDIST_GIT_COMMIT} -X github.com/metalagman/appkit/version.buildDate=${OMNIDIST_BUILD_DATE}
|
|
287
304
|
```
|
|
288
305
|
|
|
306
|
+
`build.ldflags` values are expanded with `os.ExpandEnv` during `omnidist build`.
|
|
307
|
+
Both `${VAR}` and `$VAR` are supported; unset vars expand to empty strings.
|
|
308
|
+
|
|
289
309
|
With `version.source: git-tag`, release workflows require `HEAD` to be on an exact SemVer tag (`vX.Y.Z` or `X.Y.Z`).
|
|
290
310
|
|
|
291
311
|
With `version.source: file`, omnidist reads `./VERSION` from the repository root.
|
package/bin/omnidist
CHANGED
|
Binary file
|
package/package.json
CHANGED