@gjsify/cli 0.64.11 → 0.64.12-next.280
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/dist/cli.gjs.mjs +254 -254
- package/lib/commands/site.d.ts +1 -1
- package/lib/commands/site.js +7 -6
- package/lib/utils/check-system-deps.js +2 -0
- package/package.json +22 -21
package/lib/commands/site.d.ts
CHANGED
package/lib/commands/site.js
CHANGED
|
@@ -84,13 +84,14 @@ export const siteCommand = {
|
|
|
84
84
|
.option('root', {
|
|
85
85
|
description: 'Repository to read from (default: the working directory)',
|
|
86
86
|
type: 'string',
|
|
87
|
-
})
|
|
88
|
-
.option('overview', {
|
|
89
|
-
description: 'build: render the support overview listed in this JSON file instead of one app',
|
|
90
|
-
type: 'string',
|
|
91
87
|
})
|
|
92
88
|
.option('out', { description: 'Output directory, emptied first (default: <root>/dist)', type: 'string' })
|
|
93
89
|
.option('offline', { description: 'Skip every network call', type: 'boolean', default: false })
|
|
90
|
+
.option('drafts', {
|
|
91
|
+
description: 'build: include blog posts marked `draft: true`',
|
|
92
|
+
type: 'boolean',
|
|
93
|
+
default: false,
|
|
94
|
+
})
|
|
94
95
|
.option('cache', {
|
|
95
96
|
description: 'Use the one-hour HTTP response cache (--no-cache to ignore it)',
|
|
96
97
|
type: 'boolean',
|
|
@@ -165,10 +166,10 @@ export const siteCommand = {
|
|
|
165
166
|
forwarded.push('--root', resolve(cwd, args.root));
|
|
166
167
|
if (args.out)
|
|
167
168
|
forwarded.push('--out', resolve(cwd, args.out));
|
|
168
|
-
if (args.overview)
|
|
169
|
-
forwarded.push('--overview', resolve(cwd, args.overview));
|
|
170
169
|
if (args.offline)
|
|
171
170
|
forwarded.push('--offline');
|
|
171
|
+
if (args.drafts)
|
|
172
|
+
forwarded.push('--drafts');
|
|
172
173
|
if (!args.cache)
|
|
173
174
|
forwarded.push('--no-cache');
|
|
174
175
|
else if (args.cacheDir)
|
|
@@ -194,6 +194,7 @@ export function checkMsvcRuntime() {
|
|
|
194
194
|
/** Optional system deps keyed by their DepCheck id. Exported for the spec's declaration invariant. */
|
|
195
195
|
export const OPTIONAL_DEPS = {
|
|
196
196
|
manette: { id: 'manette', name: 'libmanette', pkgName: 'manette-0.2' },
|
|
197
|
+
spiel: { id: 'spiel', name: 'libspiel', pkgName: 'spiel-1.0' },
|
|
197
198
|
gstreamer: { id: 'gstreamer', name: 'GStreamer', pkgName: 'gstreamer-1.0' },
|
|
198
199
|
'gst-app': { id: 'gst-app', name: 'GStreamer App', pkgName: 'gstreamer-app-1.0' },
|
|
199
200
|
'gdk-pixbuf': { id: 'gdk-pixbuf', name: 'GdkPixbuf', pkgName: 'gdk-pixbuf-2.0' },
|
|
@@ -278,6 +279,7 @@ export function missingSystemDepsFor(packageName) {
|
|
|
278
279
|
*/
|
|
279
280
|
export const PACKAGE_DEPS = {
|
|
280
281
|
'@gjsify/gamepad': ['manette'],
|
|
282
|
+
'@gjsify/speech-synthesis': ['spiel'],
|
|
281
283
|
'@gjsify/webaudio': ['gstreamer', 'gst-app'],
|
|
282
284
|
'@gjsify/iframe': ['webkitgtk'],
|
|
283
285
|
'@gjsify/canvas2d': ['gdk-pixbuf', 'pango', 'pangocairo', 'cairo'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/cli",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.12-next.280",
|
|
4
4
|
"description": "CLI for Gjsify",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -142,22 +142,22 @@
|
|
|
142
142
|
"cli"
|
|
143
143
|
],
|
|
144
144
|
"dependencies": {
|
|
145
|
-
"@gjsify/blueprint": "
|
|
146
|
-
"@gjsify/buffer": "
|
|
147
|
-
"@gjsify/create-app": "
|
|
148
|
-
"@gjsify/node-globals": "
|
|
149
|
-
"@gjsify/node-polyfills": "
|
|
150
|
-
"@gjsify/npm-registry": "
|
|
151
|
-
"@gjsify/resolve-npm": "
|
|
152
|
-
"@gjsify/rolldown-plugin-gjsify": "
|
|
153
|
-
"@gjsify/vite-plugin-blueprint": "
|
|
154
|
-
"@gjsify/rolldown-plugin-pnp": "
|
|
155
|
-
"@gjsify/semver": "
|
|
156
|
-
"@gjsify/tar": "
|
|
157
|
-
"@gjsify/tsc": "
|
|
158
|
-
"@gjsify/utils": "
|
|
159
|
-
"@gjsify/web-polyfills": "
|
|
160
|
-
"@gjsify/workspace": "
|
|
145
|
+
"@gjsify/blueprint": "0.64.12-next.280",
|
|
146
|
+
"@gjsify/buffer": "0.64.12-next.280",
|
|
147
|
+
"@gjsify/create-app": "0.64.12-next.280",
|
|
148
|
+
"@gjsify/node-globals": "0.64.12-next.280",
|
|
149
|
+
"@gjsify/node-polyfills": "0.64.12-next.280",
|
|
150
|
+
"@gjsify/npm-registry": "0.64.12-next.280",
|
|
151
|
+
"@gjsify/resolve-npm": "0.64.12-next.280",
|
|
152
|
+
"@gjsify/rolldown-plugin-gjsify": "0.64.12-next.280",
|
|
153
|
+
"@gjsify/vite-plugin-blueprint": "0.64.12-next.280",
|
|
154
|
+
"@gjsify/rolldown-plugin-pnp": "0.64.12-next.280",
|
|
155
|
+
"@gjsify/semver": "0.64.12-next.280",
|
|
156
|
+
"@gjsify/tar": "0.64.12-next.280",
|
|
157
|
+
"@gjsify/tsc": "0.64.12-next.280",
|
|
158
|
+
"@gjsify/utils": "0.64.12-next.280",
|
|
159
|
+
"@gjsify/web-polyfills": "0.64.12-next.280",
|
|
160
|
+
"@gjsify/workspace": "0.64.12-next.280",
|
|
161
161
|
"acorn": "^8.17.0",
|
|
162
162
|
"cosmiconfig": "^9.0.2",
|
|
163
163
|
"get-tsconfig": "^4.14.0",
|
|
@@ -166,13 +166,13 @@
|
|
|
166
166
|
"yargs": "^18.0.0"
|
|
167
167
|
},
|
|
168
168
|
"devDependencies": {
|
|
169
|
-
"@gjsify/unit": "
|
|
169
|
+
"@gjsify/unit": "0.64.12-next.280",
|
|
170
170
|
"@types/yargs": "^17.0.35",
|
|
171
171
|
"typescript": "^6.0.3"
|
|
172
172
|
},
|
|
173
173
|
"peerDependencies": {
|
|
174
|
-
"@gjsify/oxfmt-native": "
|
|
175
|
-
"@gjsify/rolldown-native": "
|
|
174
|
+
"@gjsify/oxfmt-native": "0.64.12-next.280",
|
|
175
|
+
"@gjsify/rolldown-native": "0.64.12-next.280"
|
|
176
176
|
},
|
|
177
177
|
"peerDependenciesMeta": {
|
|
178
178
|
"@gjsify/oxfmt-native": {
|
|
@@ -191,5 +191,6 @@
|
|
|
191
191
|
"bugs": {
|
|
192
192
|
"url": "https://github.com/gjsify/gjsify/issues"
|
|
193
193
|
},
|
|
194
|
-
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/cli#readme"
|
|
194
|
+
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/cli#readme",
|
|
195
|
+
"gitHead": "0a9185d91127072fce6aa54dc126e87e6ecd0c3d"
|
|
195
196
|
}
|