@gjsify/resolve-npm 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/lib/gi-renderers.mjs +20 -2
- package/lib/globals-map.mjs +21 -0
- package/package.json +3 -2
package/lib/gi-renderers.mjs
CHANGED
|
@@ -39,11 +39,29 @@
|
|
|
39
39
|
export const GI_RENDERERS = {
|
|
40
40
|
browser: {
|
|
41
41
|
renderer: '@gjsify/adwaita-web',
|
|
42
|
-
namespaces: {
|
|
42
|
+
namespaces: {
|
|
43
|
+
Adw: '1',
|
|
44
|
+
Gtk: '4.0',
|
|
45
|
+
GObject: '2.0',
|
|
46
|
+
Gio: '2.0',
|
|
47
|
+
GLib: '2.0',
|
|
48
|
+
Gdk: '4.0',
|
|
49
|
+
Graphene: '1.0',
|
|
50
|
+
GtkSource: '5',
|
|
51
|
+
},
|
|
43
52
|
},
|
|
44
53
|
nativescript: {
|
|
45
54
|
renderer: '@gjsify/adwaita-nativescript',
|
|
46
|
-
namespaces: {
|
|
55
|
+
namespaces: {
|
|
56
|
+
Adw: '1',
|
|
57
|
+
Gtk: '4.0',
|
|
58
|
+
GObject: '2.0',
|
|
59
|
+
Gio: '2.0',
|
|
60
|
+
GLib: '2.0',
|
|
61
|
+
Gdk: '4.0',
|
|
62
|
+
Graphene: '1.0',
|
|
63
|
+
GtkSource: '5',
|
|
64
|
+
},
|
|
47
65
|
specifiers: {
|
|
48
66
|
GObject: '@gjsify/adwaita-nativescript/gobject',
|
|
49
67
|
GtkSource: '@gjsify/gtksource-nativescript/gtksource',
|
package/lib/globals-map.mjs
CHANGED
|
@@ -98,6 +98,12 @@ export const GJS_GLOBALS_GROUPS = {
|
|
|
98
98
|
'Audio',
|
|
99
99
|
'HTMLAudioElement',
|
|
100
100
|
'GamepadEvent',
|
|
101
|
+
'speechSynthesis',
|
|
102
|
+
'SpeechSynthesis',
|
|
103
|
+
'SpeechSynthesisUtterance',
|
|
104
|
+
'SpeechSynthesisVoice',
|
|
105
|
+
'SpeechSynthesisEvent',
|
|
106
|
+
'SpeechSynthesisErrorEvent',
|
|
101
107
|
'MediaDevices',
|
|
102
108
|
'RTCPeerConnection',
|
|
103
109
|
'RTCSessionDescription',
|
|
@@ -258,6 +264,14 @@ export const GJS_GLOBALS_MAP = {
|
|
|
258
264
|
// --- Gamepad API (libmanette backend) -----------------------------------
|
|
259
265
|
GamepadEvent: '@gjsify/gamepad/register',
|
|
260
266
|
|
|
267
|
+
// --- Web Speech synthesis (libspiel backend) ----------------------------
|
|
268
|
+
speechSynthesis: '@gjsify/speech-synthesis/register',
|
|
269
|
+
SpeechSynthesis: '@gjsify/speech-synthesis/register',
|
|
270
|
+
SpeechSynthesisUtterance: '@gjsify/speech-synthesis/register',
|
|
271
|
+
SpeechSynthesisVoice: '@gjsify/speech-synthesis/register',
|
|
272
|
+
SpeechSynthesisEvent: '@gjsify/speech-synthesis/register',
|
|
273
|
+
SpeechSynthesisErrorEvent: '@gjsify/speech-synthesis/register',
|
|
274
|
+
|
|
261
275
|
// --- WebRTC (GStreamer webrtcbin backend) -------------------------------
|
|
262
276
|
MediaDevices: '@gjsify/webrtc/register/media-devices',
|
|
263
277
|
RTCPeerConnection: '@gjsify/webrtc/register/peer-connection',
|
|
@@ -353,6 +367,7 @@ export const GJS_GI_BACKED_REGISTERS = {
|
|
|
353
367
|
'@gjsify/webaudio/register': ['Gst', 'GstApp'],
|
|
354
368
|
'@gjsify/webrtc/register': ['Gst', 'GstWebRTC', 'GstSdp'],
|
|
355
369
|
'@gjsify/gamepad/register': ['Manette'],
|
|
370
|
+
'@gjsify/speech-synthesis/register': ['Spiel'],
|
|
356
371
|
// Imports `@gjsify/dom-elements/register/canvas` (Gdk/GdkPixbuf/Pango/
|
|
357
372
|
// PangoCairo) plus `@gjsify/canvas2d-core`, which uses the `cairo` foreign
|
|
358
373
|
// struct module.
|
|
@@ -466,6 +481,12 @@ export const BROWSER_NATIVE_IDENTS = new Set([
|
|
|
466
481
|
'Audio',
|
|
467
482
|
'HTMLAudioElement',
|
|
468
483
|
'GamepadEvent',
|
|
484
|
+
'speechSynthesis',
|
|
485
|
+
'SpeechSynthesis',
|
|
486
|
+
'SpeechSynthesisUtterance',
|
|
487
|
+
'SpeechSynthesisVoice',
|
|
488
|
+
'SpeechSynthesisEvent',
|
|
489
|
+
'SpeechSynthesisErrorEvent',
|
|
469
490
|
'MediaDevices',
|
|
470
491
|
'RTCPeerConnection',
|
|
471
492
|
'RTCSessionDescription',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/resolve-npm",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.12-next.280",
|
|
4
4
|
"description": "Resolve NPM package aliases",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.mjs",
|
|
@@ -43,5 +43,6 @@
|
|
|
43
43
|
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/resolve-npm#readme",
|
|
44
44
|
"gjsify": {
|
|
45
45
|
"tier": 1
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "0a9185d91127072fce6aa54dc126e87e6ecd0c3d"
|
|
47
48
|
}
|