@gjsify/cli 0.64.1-next.243 → 0.64.1-next.245
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 +13 -6
- package/dist/cli.gjs.mjs +255 -255
- package/lib/commands/flatpak/check.d.ts +4 -0
- package/lib/commands/flatpak/check.js +77 -3
- package/lib/utils/metainfo-quality.d.ts +40 -0
- package/lib/utils/metainfo-quality.js +380 -0
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Whichever route you pick you get the same `gjsify` command, and the runtime you
|
|
|
44
44
|
with becomes the one it builds for by default. To pin the CLI per project instead of
|
|
45
45
|
globally, add it as a dev dependency (`npm install -D @gjsify/cli`) — that is how every
|
|
46
46
|
scaffolded template is wired. PATH notes and the update command for each route:
|
|
47
|
-
[Install & Update](https://gjsify.
|
|
47
|
+
[Install & Update](https://gjsify.org/gjsify/guides/install/).
|
|
48
48
|
|
|
49
49
|
## Usage
|
|
50
50
|
|
|
@@ -66,9 +66,16 @@ gjsify ship # package the built app as a .deb and an .rpm
|
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
`ship` runs the project's own `build` script, stages one payload and wraps it per format,
|
|
69
|
-
with no manifest to maintain — see [Ship your app](https://gjsify.
|
|
69
|
+
with no manifest to maintain — see [Ship your app](https://gjsify.org/gjsify/ship/).
|
|
70
70
|
Every command and flag is in the
|
|
71
|
-
[CLI Reference](https://gjsify.
|
|
71
|
+
[CLI Reference](https://gjsify.org/gjsify/cli-reference/).
|
|
72
|
+
|
|
73
|
+
`flatpak check` also holds the app's metainfo against Flathub's
|
|
74
|
+
[quality guidelines](https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/quality-guidelines)
|
|
75
|
+
(name, summary, description, branding, icon, screenshots, releases). Each finding names its
|
|
76
|
+
rule, severity, location and the guideline anchor; the exit code is non-zero only on errors.
|
|
77
|
+
`--strict` turns warnings into errors, `--json` prints machine-readable output for CI, and
|
|
78
|
+
`--no-quality` skips the step. It is plain TypeScript, so it runs the same locally and in CI.
|
|
72
79
|
|
|
73
80
|
Without a global install, reach the CLI through your runtime's package runner instead:
|
|
74
81
|
`npx @gjsify/cli@latest …`, `bunx @gjsify/cli@latest …` or
|
|
@@ -76,7 +83,7 @@ Without a global install, reach the CLI through your runtime's package runner in
|
|
|
76
83
|
and on Deno those two extra flags: all three runners reuse a cached copy of an unpinned
|
|
77
84
|
bin, and Deno adds a second rule that refuses anything published in the last 24 hours.
|
|
78
85
|
Neither one tells you it happened — the
|
|
79
|
-
[measurement](https://gjsify.
|
|
86
|
+
[measurement](https://gjsify.org/gjsify/guides/install/#which-version-do-npx-bunx-and-deno-run-give-you)
|
|
80
87
|
is in the install guide.
|
|
81
88
|
|
|
82
89
|
## Native prebuilds
|
|
@@ -96,9 +103,9 @@ resolver still probes a package's own declared spelling first and the retired un
|
|
|
96
103
|
with no artifact for your host is skipped — every native bridge is optional at runtime.
|
|
97
104
|
|
|
98
105
|
- How the lookup works, and how to set the same environment by hand:
|
|
99
|
-
[How It Works](https://gjsify.
|
|
106
|
+
[How It Works](https://gjsify.org/gjsify/how-it-works/#native-prebuilds-and-gjsify-run)
|
|
100
107
|
- Which artifacts exist per package:
|
|
101
|
-
[Platform Support](https://gjsify.
|
|
108
|
+
[Platform Support](https://gjsify.org/gjsify/platform-support/)
|
|
102
109
|
|
|
103
110
|
## License
|
|
104
111
|
|