@gjsify/rolldown-plugin-gjsify 0.64.19 → 0.64.20
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/plugins/process-stub.js +6 -1
- package/package.json +11 -11
|
@@ -50,7 +50,12 @@ export const GJS_PROCESS_STUB = 'if(typeof globalThis.process==="undefined"){' +
|
|
|
50
50
|
'getOwnPropertyDescriptor(_,p){const v=_G.getenv(p);return v!==null?{value:v,writable:true,enumerable:true,configurable:true}:undefined}' +
|
|
51
51
|
'}),' +
|
|
52
52
|
'argv:_s?.programArgs?["gjs",_s.programInvocationName||"",..._s.programArgs]:["gjs"],' +
|
|
53
|
-
|
|
53
|
+
// `versions.gjs` is THE runtime marker (`@gjsify/runtime`'s detectRuntime,
|
|
54
|
+
// `@gjsify/utils`' main loop). With `{}` here, everything that runs while
|
|
55
|
+
// `@gjsify/process` itself evaluates read "not GJS": a fork child's IPC
|
|
56
|
+
// channel took its main-loop hold there, armed nothing, and exited at once.
|
|
57
|
+
// Same encoding as `detectGjsVersion()` in `@gjsify/process`.
|
|
58
|
+
'versions:{gjs:(v=>`${Math.floor(v/1e4)}.${Math.floor(v%1e4/100)}.${v%100}`)(Number(_s.version))},config:{},' +
|
|
54
59
|
'cwd(){return _G.get_current_dir()||"/"},' +
|
|
55
60
|
'exit(c){_s.exit(c??0)},' +
|
|
56
61
|
'stderr:{write(s){globalThis.printerr(s)}},stdout:{write(s){globalThis.print(s)}},stdin:null,' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/rolldown-plugin-gjsify",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.20",
|
|
4
4
|
"description": "Rolldown / Rollup / Vite plugin orchestrator for GJS, Node, and Browser targets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
],
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@gjsify/console": "^0.64.
|
|
71
|
-
"@gjsify/resolve-npm": "^0.64.
|
|
72
|
-
"@gjsify/rolldown-plugin-deepkit": "^0.64.
|
|
73
|
-
"@gjsify/rolldown-plugin-pnp": "^0.64.
|
|
74
|
-
"@gjsify/utils": "^0.64.
|
|
75
|
-
"@gjsify/vite-plugin-blueprint": "^0.64.
|
|
76
|
-
"@gjsify/vite-plugin-gettext": "^0.64.
|
|
70
|
+
"@gjsify/console": "^0.64.20",
|
|
71
|
+
"@gjsify/resolve-npm": "^0.64.20",
|
|
72
|
+
"@gjsify/rolldown-plugin-deepkit": "^0.64.20",
|
|
73
|
+
"@gjsify/rolldown-plugin-pnp": "^0.64.20",
|
|
74
|
+
"@gjsify/utils": "^0.64.20",
|
|
75
|
+
"@gjsify/vite-plugin-blueprint": "^0.64.20",
|
|
76
|
+
"@gjsify/vite-plugin-gettext": "^0.64.20",
|
|
77
77
|
"@rollup/pluginutils": "^5.4.0",
|
|
78
78
|
"acorn": "^8.17.0",
|
|
79
79
|
"acorn-typescript": "^1.4.13",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"sass": "^1.101.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@gjsify/lightningcss-native": "^0.64.
|
|
86
|
+
"@gjsify/lightningcss-native": "^0.64.20",
|
|
87
87
|
"rolldown": "^1.1.4"
|
|
88
88
|
},
|
|
89
89
|
"peerDependenciesMeta": {
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@gjsify/cli": "^0.64.
|
|
99
|
-
"@gjsify/unit": "^0.64.
|
|
98
|
+
"@gjsify/cli": "^0.64.20",
|
|
99
|
+
"@gjsify/unit": "^0.64.20",
|
|
100
100
|
"@types/node": "^25.9.2",
|
|
101
101
|
"rolldown": "^1.1.4",
|
|
102
102
|
"typescript": "^6.0.3"
|