@gjsify/lightningcss-native-linux-s390x 0.26.1

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 ADDED
@@ -0,0 +1,25 @@
1
+ # @gjsify/lightningcss-native-linux-s390x
2
+
3
+
4
+ The **linux-s390x** native artifacts of [`@gjsify/lightningcss-native`](https://www.npmjs.com/package/@gjsify/lightningcss-native) — a shared
5
+ library plus its GObject-Introspection typelib, and nothing else. There is no
6
+ JavaScript in this package and nothing to import from it.
7
+
8
+ You do not install this directly. `@gjsify/lightningcss-native` declares it as an
9
+ `optionalDependencies` entry and this package declares `os: ["linux"]`,
10
+ `cpu: ["s390x"]`, so your package manager installs the one build that fits your
11
+ machine and silently skips the rest — the same model `esbuild`, `rolldown` and
12
+ `lightningcss` use. Before this split every consumer downloaded every platform's
13
+ binary: 97.3 MB of which a linux-x64 machine could load 31.5 MB.
14
+
15
+ `@gjsify/cli` finds the artifacts at run time by scanning `node_modules` for
16
+ packages declaring `gjsify.prebuilds`, and puts this directory on
17
+ `GI_TYPELIB_PATH` plus the host loader's own search path. If a `gi://Gjsify…`
18
+ import fails with "typelib not found", check that this package is present in
19
+ `node_modules` — an optional dependency that failed to install is skipped without
20
+ an error, by design.
21
+
22
+ Generated by `scripts/generate-platform-packages.mjs`; see
23
+ [ADR 0017](https://github.com/gjsify/gjsify/blob/main/docs/adr/0017-native-package-distribution.md).
24
+
25
+ License: MIT
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@gjsify/lightningcss-native-linux-s390x",
3
+ "version": "0.26.1",
4
+ "description": "linux-s390x prebuilt native library + GObject-Introspection typelib for @gjsify/lightningcss-native. Installed automatically on linux/s390x as an optionalDependency of that package (ADR 0017) and skipped everywhere else. Contains no JavaScript.",
5
+ "license": "MIT",
6
+ "os": [
7
+ "linux"
8
+ ],
9
+ "cpu": [
10
+ "s390x"
11
+ ],
12
+ "libc": [
13
+ "glibc"
14
+ ],
15
+ "files": [
16
+ "prebuilds"
17
+ ],
18
+ "gjsify": {
19
+ "glibcRequires": {
20
+ "linux-s390x": "2.39"
21
+ },
22
+ "platforms": [
23
+ "linux-s390x"
24
+ ],
25
+ "prebuilds": "prebuilds",
26
+ "tier": 1
27
+ },
28
+ "scripts": {
29
+ "clear": "echo 'nothing to do'",
30
+ "check": "echo 'nothing to do'",
31
+ "build": "echo 'nothing to do'",
32
+ "test": "echo 'nothing to do'"
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/gjsify/gjsify.git",
37
+ "directory": "packages/infra/lightningcss-native-linux-s390x"
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/gjsify/gjsify/issues"
41
+ },
42
+ "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/lightningcss-native-linux-s390x#readme"
43
+ }
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0"?>
2
+ <!-- GjsifyLightningcss-1.0.gir generated by valac 0.56.19, do not modify. -->
3
+ <repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
4
+ <include name="GObject" version="2.0"/>
5
+ <include name="GLib" version="2.0"/>
6
+ <package name="gjsifylightningcss"/>
7
+ <c:include name="gjsify-lightningcss-glue.h"/>
8
+ <c:include name="gjsifylightningcss.h"/>
9
+ <doc:format name="unknown"/>
10
+ <namespace name="GjsifyLightningcss" version="1.0" shared-library="libgjsifylightningcss.so" c:prefix="GjsifyLightningcss" c:identifier-prefixes="GjsifyLightningcss" c:symbol-prefixes="gjsify_lightningcss">
11
+ <class name="Engine" c:type="GjsifyLightningcssEngine" c:symbol-prefix="engine" glib:type-name="GjsifyLightningcssEngine" glib:get-type="gjsify_lightningcss_engine_get_type" glib:type-struct="EngineClass" parent="GObject.Object">
12
+ <field name="parent_instance" readable="0" private="1">
13
+ <type name="GObject.Object" c:type="GObject"/>
14
+ </field>
15
+ <field name="priv" readable="0" private="1">
16
+ <type name="EnginePrivate" c:type="GjsifyLightningcssEnginePrivate*"/>
17
+ </field>
18
+ <method name="transform" c:identifier="gjsify_lightningcss_engine_transform" throws="1">
19
+ <return-value transfer-ownership="full">
20
+ <type name="GLib.Bytes" c:type="GBytes*"/>
21
+ </return-value>
22
+ <parameters>
23
+ <instance-parameter name="self" transfer-ownership="none">
24
+ <type name="GjsifyLightningcss.Engine" c:type="GjsifyLightningcssEngine*"/>
25
+ </instance-parameter>
26
+ <parameter name="filename" transfer-ownership="none" nullable="1">
27
+ <type name="utf8" c:type="const gchar*"/>
28
+ </parameter>
29
+ <parameter name="code" transfer-ownership="none">
30
+ <type name="GLib.Bytes" c:type="GBytes*"/>
31
+ </parameter>
32
+ <parameter name="browserslist" transfer-ownership="none" nullable="1">
33
+ <type name="utf8" c:type="const gchar*"/>
34
+ </parameter>
35
+ <parameter name="minify" transfer-ownership="none">
36
+ <type name="gboolean" c:type="gboolean"/>
37
+ </parameter>
38
+ <parameter name="source_map" transfer-ownership="none">
39
+ <type name="gboolean" c:type="gboolean"/>
40
+ </parameter>
41
+ <parameter name="out_source_map" direction="out" transfer-ownership="full" optional="1">
42
+ <type name="GLib.Bytes" c:type="GBytes**"/>
43
+ </parameter>
44
+ </parameters>
45
+ </method>
46
+ <method name="bundle" c:identifier="gjsify_lightningcss_engine_bundle" throws="1">
47
+ <return-value transfer-ownership="full">
48
+ <type name="GLib.Bytes" c:type="GBytes*"/>
49
+ </return-value>
50
+ <parameters>
51
+ <instance-parameter name="self" transfer-ownership="none">
52
+ <type name="GjsifyLightningcss.Engine" c:type="GjsifyLightningcssEngine*"/>
53
+ </instance-parameter>
54
+ <parameter name="filename" transfer-ownership="none">
55
+ <type name="utf8" c:type="const gchar*"/>
56
+ </parameter>
57
+ <parameter name="browserslist" transfer-ownership="none" nullable="1">
58
+ <type name="utf8" c:type="const gchar*"/>
59
+ </parameter>
60
+ <parameter name="minify" transfer-ownership="none">
61
+ <type name="gboolean" c:type="gboolean"/>
62
+ </parameter>
63
+ <parameter name="source_map" transfer-ownership="none">
64
+ <type name="gboolean" c:type="gboolean"/>
65
+ </parameter>
66
+ <parameter name="error_recovery" transfer-ownership="none">
67
+ <type name="gboolean" c:type="gboolean"/>
68
+ </parameter>
69
+ <parameter name="out_source_map" direction="out" transfer-ownership="full" optional="1">
70
+ <type name="GLib.Bytes" c:type="GBytes**"/>
71
+ </parameter>
72
+ </parameters>
73
+ </method>
74
+ <constructor name="new" c:identifier="gjsify_lightningcss_engine_new">
75
+ <return-value transfer-ownership="full">
76
+ <type name="GjsifyLightningcss.Engine" c:type="GjsifyLightningcssEngine*"/>
77
+ </return-value>
78
+ </constructor>
79
+ </class>
80
+ <record name="EngineClass" c:type="GjsifyLightningcssEngineClass" glib:is-gtype-struct-for="Engine">
81
+ <field name="parent_class" readable="0" private="1">
82
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
83
+ </field>
84
+ </record>
85
+ <record name="EnginePrivate" c:type="GjsifyLightningcssEnginePrivate" disguised="1"/>
86
+ </namespace>
87
+ </repository>