@gjsify/rolldown-plugin-gjsify 0.44.0 → 0.45.0
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.
|
@@ -7,7 +7,16 @@ import { ImportScanParseError, type NamedImport, type OpaqueReference } from '..
|
|
|
7
7
|
* types itself against a tier-3 package it must not import.
|
|
8
8
|
*/
|
|
9
9
|
export interface SupportTableReader {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* May a build import this name from the layer?
|
|
12
|
+
*
|
|
13
|
+
* TWO POPULATIONS, and the layer composes them — not this plugin. A React Native
|
|
14
|
+
* name is `supported` or `partial` in the support table; a name the layer ADDS
|
|
15
|
+
* (`configureStyle` and the rest of ADR 0032 § 3's token hooks) cannot be in that
|
|
16
|
+
* table at all, because `check-rn-surface.mjs` holds its key set EQUAL to
|
|
17
|
+
* react-native's own exports. A gate that asked only the first question refused
|
|
18
|
+
* the package's own documented API. A name in NEITHER is still false.
|
|
19
|
+
*/
|
|
11
20
|
isImportable(name: string): boolean;
|
|
12
21
|
/** The one sentence the build error and the runtime throw both print. */
|
|
13
22
|
explainUnsupported(name: string): string;
|
|
@@ -15,10 +15,15 @@
|
|
|
15
15
|
// `explainUnsupported`, and the plugin resolves it through the bundler's own
|
|
16
16
|
// resolver and imports it. Reading the SOURCE the way `scripts/check-rn-surface.mjs`
|
|
17
17
|
// does is not an option here: `files` on that package ships `lib` and not `src`,
|
|
18
|
-
// so in a consumer's `node_modules` there is no `support-table.ts` to parse.
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
18
|
+
// so in a consumer's `node_modules` there is no `support-table.ts` to parse.
|
|
19
|
+
//
|
|
20
|
+
// WHAT THAT IMPORT DRAGS IN, measured on the built file rather than assumed: two
|
|
21
|
+
// RELATIVE imports, rolldown's two-helper runtime shim and the generated
|
|
22
|
+
// `own-exports.js`, which is a string array importing nothing. Relative is the half
|
|
23
|
+
// that matters twice over — nothing reachable from here can pull GTK into the
|
|
24
|
+
// bundler process, and GJS's ESM loader follows a relative specifier where it does
|
|
25
|
+
// not follow `package.json#exports`. This comment used to claim "no imports at all",
|
|
26
|
+
// which the runtime shim already disproved before the second one arrived.
|
|
22
27
|
//
|
|
23
28
|
// AND IT IS NOT A DEPENDENCY, deliberately. `@gjsify/rolldown-plugin-gjsify` is
|
|
24
29
|
// tier 1 and `@gjsify/react-native` is tier 3; a tier-1 package may not depend on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/rolldown-plugin-gjsify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "Rolldown / Rollup / Vite plugin orchestrator for GJS, Node, and Browser targets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
],
|
|
61
61
|
"license": "MIT",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@gjsify/console": "^0.
|
|
64
|
-
"@gjsify/resolve-npm": "^0.
|
|
65
|
-
"@gjsify/rolldown-plugin-deepkit": "^0.
|
|
66
|
-
"@gjsify/rolldown-plugin-pnp": "^0.
|
|
67
|
-
"@gjsify/vite-plugin-blueprint": "^0.
|
|
63
|
+
"@gjsify/console": "^0.45.0",
|
|
64
|
+
"@gjsify/resolve-npm": "^0.45.0",
|
|
65
|
+
"@gjsify/rolldown-plugin-deepkit": "^0.45.0",
|
|
66
|
+
"@gjsify/rolldown-plugin-pnp": "^0.45.0",
|
|
67
|
+
"@gjsify/vite-plugin-blueprint": "^0.45.0",
|
|
68
68
|
"@rollup/pluginutils": "^5.4.0",
|
|
69
69
|
"acorn": "^8.17.0",
|
|
70
70
|
"acorn-typescript": "^1.4.13",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"sass": "^1.101.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@gjsify/lightningcss-native": "^0.
|
|
77
|
+
"@gjsify/lightningcss-native": "^0.45.0",
|
|
78
78
|
"rolldown": "^1.1.4"
|
|
79
79
|
},
|
|
80
80
|
"peerDependenciesMeta": {
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@gjsify/cli": "^0.
|
|
90
|
-
"@gjsify/unit": "^0.
|
|
89
|
+
"@gjsify/cli": "^0.45.0",
|
|
90
|
+
"@gjsify/unit": "^0.45.0",
|
|
91
91
|
"@types/node": "^25.9.2",
|
|
92
92
|
"rolldown": "^1.1.4",
|
|
93
93
|
"typescript": "^6.0.3"
|