@gjsify/rolldown-native-darwin-arm64 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 +34 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @gjsify/rolldown-native-darwin-arm64
|
|
2
|
+
|
|
3
|
+
> **No artifact in this tarball yet.** `darwin-arm64` is declared by
|
|
4
|
+
> `@gjsify/rolldown-native` and built by CI, but not committed to the repository:
|
|
5
|
+
> prebuilds.yml's `build-prebuilds-macos` Apple-silicon leg builds, load-tests and uploads it; the artifact lands here on the first main-branch run of `commit-prebuilds` after this declaration merges, and this entry becomes a failure the moment it does
|
|
6
|
+
>
|
|
7
|
+
> The package exists so the artifact has somewhere to land — and so its npm name
|
|
8
|
+
> is claimed before the release that first ships it. Until then installing it is
|
|
9
|
+
> harmless and does nothing: `@gjsify/rolldown-native` finds no typelib and takes its
|
|
10
|
+
> no-native path, exactly as if this package were absent.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The **darwin-arm64** native artifacts of [`@gjsify/rolldown-native`](https://www.npmjs.com/package/@gjsify/rolldown-native) — a shared
|
|
14
|
+
library plus its GObject-Introspection typelib, and nothing else. There is no
|
|
15
|
+
JavaScript in this package and nothing to import from it.
|
|
16
|
+
|
|
17
|
+
You do not install this directly. `@gjsify/rolldown-native` declares it as an
|
|
18
|
+
`optionalDependencies` entry and this package declares `os: ["darwin"]`,
|
|
19
|
+
`cpu: ["arm64"]`, so your package manager installs the one build that fits your
|
|
20
|
+
machine and silently skips the rest — the same model `esbuild`, `rolldown` and
|
|
21
|
+
`lightningcss` use. Before this split every consumer downloaded every platform's
|
|
22
|
+
binary: 97.3 MB of which a linux-x64 machine could load 31.5 MB.
|
|
23
|
+
|
|
24
|
+
`@gjsify/cli` finds the artifacts at run time by scanning `node_modules` for
|
|
25
|
+
packages declaring `gjsify.prebuilds`, and puts this directory on
|
|
26
|
+
`GI_TYPELIB_PATH` plus the host loader's own search path. If a `gi://Gjsify…`
|
|
27
|
+
import fails with "typelib not found", check that this package is present in
|
|
28
|
+
`node_modules` — an optional dependency that failed to install is skipped without
|
|
29
|
+
an error, by design.
|
|
30
|
+
|
|
31
|
+
Generated by `scripts/generate-platform-packages.mjs`; see
|
|
32
|
+
[ADR 0017](https://github.com/gjsify/gjsify/blob/main/docs/adr/0017-native-package-distribution.md).
|
|
33
|
+
|
|
34
|
+
License: MIT
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gjsify/rolldown-native-darwin-arm64",
|
|
3
|
+
"version": "0.26.1",
|
|
4
|
+
"description": "darwin-arm64 prebuilt native library + GObject-Introspection typelib for @gjsify/rolldown-native. Installed automatically on darwin/arm64 as an optionalDependency of that package (ADR 0017) and skipped everywhere else. Contains no JavaScript.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"os": [
|
|
7
|
+
"darwin"
|
|
8
|
+
],
|
|
9
|
+
"cpu": [
|
|
10
|
+
"arm64"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"prebuilds"
|
|
14
|
+
],
|
|
15
|
+
"gjsify": {
|
|
16
|
+
"platformsUncommitted": {
|
|
17
|
+
"darwin-arm64": "prebuilds.yml's `build-prebuilds-macos` Apple-silicon leg builds, load-tests and uploads it; the artifact lands here on the first main-branch run of `commit-prebuilds` after this declaration merges, and this entry becomes a failure the moment it does"
|
|
18
|
+
},
|
|
19
|
+
"platforms": [
|
|
20
|
+
"darwin-arm64"
|
|
21
|
+
],
|
|
22
|
+
"prebuilds": "prebuilds",
|
|
23
|
+
"tier": 1
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"clear": "echo 'nothing to do'",
|
|
27
|
+
"check": "echo 'nothing to do'",
|
|
28
|
+
"build": "echo 'nothing to do'",
|
|
29
|
+
"test": "echo 'nothing to do'"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/gjsify/gjsify.git",
|
|
34
|
+
"directory": "packages/infra/rolldown-native-darwin-arm64"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/gjsify/gjsify/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/rolldown-native-darwin-arm64#readme"
|
|
40
|
+
}
|