@gjsify/create-app 0.3.5 → 0.3.7

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.
@@ -16,12 +16,12 @@
16
16
  "@girs/gjs": "^4.0.0-rc.9",
17
17
  "@girs/gobject-2.0": "^2.88.0-4.0.0-rc.9",
18
18
  "@girs/gtk-4.0": "^4.23.0-4.0.0-rc.9",
19
- "@gjsify/cli": "^0.3.5",
20
- "@gjsify/esbuild-plugin-blueprint": "^0.3.5",
19
+ "@gjsify/cli": "^0.3.7",
20
+ "@gjsify/esbuild-plugin-blueprint": "^0.3.7",
21
21
  "@types/node": "^25.6.0",
22
22
  "typescript": "^6.0.3"
23
23
  },
24
24
  "dependencies": {
25
- "@gjsify/canvas2d": "^0.3.5"
25
+ "@gjsify/canvas2d": "^0.3.7"
26
26
  }
27
27
  }
@@ -16,14 +16,14 @@
16
16
  "@girs/gjs": "^4.0.0-rc.9",
17
17
  "@girs/gobject-2.0": "^2.88.0-4.0.0-rc.9",
18
18
  "@girs/gtk-4.0": "^4.23.0-4.0.0-rc.9",
19
- "@gjsify/canvas2d": "^0.3.5",
20
- "@gjsify/cli": "^0.3.5",
21
- "@gjsify/esbuild-plugin-blueprint": "^0.3.5",
19
+ "@gjsify/canvas2d": "^0.3.7",
20
+ "@gjsify/cli": "^0.3.7",
21
+ "@gjsify/esbuild-plugin-blueprint": "^0.3.7",
22
22
  "@types/node": "^25.6.0",
23
23
  "typescript": "^6.0.3"
24
24
  },
25
25
  "dependencies": {
26
- "@gjsify/webgl": "^0.3.5",
26
+ "@gjsify/webgl": "^0.3.7",
27
27
  "excalibur": "0.32.0"
28
28
  }
29
29
  }
@@ -16,14 +16,14 @@
16
16
  "@girs/gjs": "^4.0.0-rc.9",
17
17
  "@girs/gobject-2.0": "^2.88.0-4.0.0-rc.9",
18
18
  "@girs/gtk-4.0": "^4.23.0-4.0.0-rc.9",
19
- "@gjsify/cli": "^0.3.5",
20
- "@gjsify/esbuild-plugin-blueprint": "^0.3.5",
19
+ "@gjsify/cli": "^0.3.7",
20
+ "@gjsify/esbuild-plugin-blueprint": "^0.3.7",
21
21
  "@types/node": "^25.6.0",
22
22
  "@types/three": "^0.184.0",
23
23
  "typescript": "^6.0.3"
24
24
  },
25
25
  "dependencies": {
26
- "@gjsify/webgl": "^0.3.5",
26
+ "@gjsify/webgl": "^0.3.7",
27
27
  "three": "0.184.0"
28
28
  }
29
29
  }
@@ -11,9 +11,9 @@
11
11
  "dev": "gjsify build src/index.ts --outfile dist/index.js && gjsify run dist/index.js"
12
12
  },
13
13
  "devDependencies": {
14
- "@gjsify/cli": "^0.3.5",
15
- "@gjsify/node-globals": "^0.3.5",
16
- "@gjsify/runtime": "^0.3.5",
14
+ "@gjsify/cli": "^0.3.7",
15
+ "@gjsify/node-globals": "^0.3.7",
16
+ "@gjsify/runtime": "^0.3.7",
17
17
  "@types/node": "^25.6.0",
18
18
  "@types/yargs": "^17.0.35",
19
19
  "typescript": "^6.0.3"
@@ -11,7 +11,7 @@
11
11
  "dev": "gjsify build src/index.ts --outfile dist/index.js && gjsify run dist/index.js"
12
12
  },
13
13
  "devDependencies": {
14
- "@gjsify/cli": "^0.3.5",
14
+ "@gjsify/cli": "^0.3.7",
15
15
  "@types/node": "^25.6.0",
16
16
  "typescript": "^6.0.3"
17
17
  },
@@ -0,0 +1,26 @@
1
+ // Express and several of its transitive deps (debug, finalhandler, body-parser,
2
+ // content-type, …) carry browser-compat fallbacks gated by
3
+ // `typeof document !== "undefined"` / `typeof navigator !== "undefined"`.
4
+ // Tree-shaking can't drop these — they appear as free identifiers in the
5
+ // bundled output, so `--globals auto` would otherwise inject
6
+ // `@gjsify/dom-elements/register/{document,navigator,...}` which is a
7
+ // GTK-bound DOM package the server has no need for. Exclude the lot so the
8
+ // runtime never reaches the polyfilled code paths and the bundle stays slim.
9
+ export default {
10
+ excludeGlobals: [
11
+ 'document',
12
+ 'navigator',
13
+ 'Image',
14
+ 'HTMLElement',
15
+ 'HTMLCanvasElement',
16
+ 'HTMLImageElement',
17
+ 'MutationObserver',
18
+ 'ResizeObserver',
19
+ 'IntersectionObserver',
20
+ 'FontFace',
21
+ 'matchMedia',
22
+ 'location',
23
+ 'XMLHttpRequest',
24
+ 'XMLHttpRequestUpload',
25
+ ],
26
+ };
@@ -11,9 +11,9 @@
11
11
  "dev": "gjsify build src/index.ts --outfile dist/index.js && gjsify run dist/index.js"
12
12
  },
13
13
  "devDependencies": {
14
- "@gjsify/cli": "^0.3.5",
15
- "@gjsify/node-globals": "^0.3.5",
16
- "@gjsify/runtime": "^0.3.5",
14
+ "@gjsify/cli": "^0.3.7",
15
+ "@gjsify/node-globals": "^0.3.7",
16
+ "@gjsify/runtime": "^0.3.7",
17
17
  "@types/express": "^5.0.6",
18
18
  "@types/node": "^25.6.0",
19
19
  "typescript": "^6.0.3"
@@ -11,9 +11,9 @@
11
11
  "dev": "gjsify build src/index.ts --outfile dist/index.js && gjsify run dist/index.js"
12
12
  },
13
13
  "devDependencies": {
14
- "@gjsify/cli": "^0.3.5",
15
- "@gjsify/node-globals": "^0.3.5",
16
- "@gjsify/runtime": "^0.3.5",
14
+ "@gjsify/cli": "^0.3.7",
15
+ "@gjsify/node-globals": "^0.3.7",
16
+ "@gjsify/runtime": "^0.3.7",
17
17
  "@types/node": "^25.6.0",
18
18
  "typescript": "^6.0.3"
19
19
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/create-app",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Create a new Gjsify project",
5
5
  "type": "module",
6
6
  "main": "lib/create.js",