@platformatic/remix 3.18.0 → 3.20.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.
Files changed (3) hide show
  1. package/config.d.ts +11 -0
  2. package/package.json +6 -6
  3. package/schema.json +72 -4
package/config.d.ts CHANGED
@@ -231,6 +231,7 @@ export interface PlatformaticRemixConfig {
231
231
  maxHeapUsed?: number | string;
232
232
  maxHeapTotal?: number | string;
233
233
  maxYoungGeneration?: number | string;
234
+ codeRangeSize?: number | string;
234
235
  };
235
236
  undici?: {
236
237
  agentOptions?: {
@@ -337,6 +338,7 @@ export interface PlatformaticRemixConfig {
337
338
  body?: string;
338
339
  };
339
340
  };
341
+ healthChecksTimeouts?: number | string;
340
342
  plugins?: string[];
341
343
  timeout?: number | string;
342
344
  /**
@@ -529,6 +531,15 @@ export interface PlatformaticRemixConfig {
529
531
  serverDirectory?: string;
530
532
  }
531
533
  | boolean;
534
+ notFoundHandler?:
535
+ | boolean
536
+ | string
537
+ | {
538
+ enabled?: boolean;
539
+ path?: string;
540
+ contentType?: string;
541
+ statusCode?: number;
542
+ };
532
543
  };
533
544
  remix?: {
534
545
  outputDirectory?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/remix",
3
- "version": "3.18.0",
3
+ "version": "3.20.0",
4
4
  "description": "Platformatic Remix Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,9 +20,9 @@
20
20
  "light-my-request": "^6.0.0",
21
21
  "pino-http": "^10.2.0",
22
22
  "semver": "^7.6.3",
23
- "@platformatic/basic": "3.18.0",
24
- "@platformatic/vite": "3.18.0",
25
- "@platformatic/foundation": "3.18.0"
23
+ "@platformatic/basic": "3.20.0",
24
+ "@platformatic/foundation": "3.20.0",
25
+ "@platformatic/vite": "3.20.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@remix-run/dev": "^2.16.8",
@@ -41,8 +41,8 @@
41
41
  "typescript": "^5.5.4",
42
42
  "vite": "^5.4.2",
43
43
  "ws": "^8.18.0",
44
- "@platformatic/gateway": "3.18.0",
45
- "@platformatic/service": "3.18.0"
44
+ "@platformatic/gateway": "3.20.0",
45
+ "@platformatic/service": "3.20.0"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/remix/3.18.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/remix/3.20.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Remix Config",
5
5
  "type": "object",
@@ -549,6 +549,17 @@
549
549
  "type": "string"
550
550
  }
551
551
  ]
552
+ },
553
+ "codeRangeSize": {
554
+ "anyOf": [
555
+ {
556
+ "type": "number",
557
+ "minimum": 0
558
+ },
559
+ {
560
+ "type": "string"
561
+ }
562
+ ]
552
563
  }
553
564
  },
554
565
  "additionalProperties": false
@@ -1142,7 +1153,8 @@
1142
1153
  {
1143
1154
  "type": "string"
1144
1155
  }
1145
- ]
1156
+ ],
1157
+ "default": 4294967296
1146
1158
  },
1147
1159
  "maxYoungGeneration": {
1148
1160
  "anyOf": [
@@ -1153,7 +1165,20 @@
1153
1165
  {
1154
1166
  "type": "string"
1155
1167
  }
1156
- ]
1168
+ ],
1169
+ "default": 134217728
1170
+ },
1171
+ "codeRangeSize": {
1172
+ "anyOf": [
1173
+ {
1174
+ "type": "number",
1175
+ "minimum": 0
1176
+ },
1177
+ {
1178
+ "type": "string"
1179
+ }
1180
+ ],
1181
+ "default": 268435456
1157
1182
  }
1158
1183
  },
1159
1184
  "additionalProperties": false
@@ -1469,6 +1494,17 @@
1469
1494
  }
1470
1495
  ]
1471
1496
  },
1497
+ "healthChecksTimeouts": {
1498
+ "anyOf": [
1499
+ {
1500
+ "type": "integer"
1501
+ },
1502
+ {
1503
+ "type": "string"
1504
+ }
1505
+ ],
1506
+ "default": 5000
1507
+ },
1472
1508
  "plugins": {
1473
1509
  "type": "array",
1474
1510
  "items": {
@@ -1912,7 +1948,7 @@
1912
1948
  "default": {}
1913
1949
  },
1914
1950
  "ssr": {
1915
- "oneOf": [
1951
+ "anyOf": [
1916
1952
  {
1917
1953
  "type": "object",
1918
1954
  "properties": {
@@ -1942,6 +1978,38 @@
1942
1978
  }
1943
1979
  ],
1944
1980
  "default": false
1981
+ },
1982
+ "notFoundHandler": {
1983
+ "anyOf": [
1984
+ {
1985
+ "type": "boolean"
1986
+ },
1987
+ {
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "type": "object",
1992
+ "properties": {
1993
+ "enabled": {
1994
+ "type": "boolean"
1995
+ },
1996
+ "path": {
1997
+ "type": "string",
1998
+ "default": "index.html"
1999
+ },
2000
+ "contentType": {
2001
+ "type": "string",
2002
+ "default": "text/html; charset=utf-8"
2003
+ },
2004
+ "statusCode": {
2005
+ "type": "number",
2006
+ "default": 200
2007
+ }
2008
+ },
2009
+ "additionalProperties": false
2010
+ }
2011
+ ],
2012
+ "default": false
1945
2013
  }
1946
2014
  },
1947
2015
  "default": {},