@platformatic/composer 3.28.0-alpha.1 → 3.28.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 +58 -0
  2. package/package.json +3 -3
  3. package/schema.json +20 -1
package/config.d.ts CHANGED
@@ -556,6 +556,7 @@ export interface PlatformaticComposerConfig {
556
556
  [k: string]: string;
557
557
  };
558
558
  sourceMaps?: boolean;
559
+ nodeModulesSourceMaps?: string[];
559
560
  scheduler?: {
560
561
  enabled?: boolean | string;
561
562
  name: string;
@@ -582,6 +583,63 @@ export interface PlatformaticComposerConfig {
582
583
  [k: string]: string | [string, ...string[]];
583
584
  };
584
585
  };
586
+ application?: {
587
+ reuseTcpPorts?: boolean;
588
+ workers?:
589
+ | number
590
+ | string
591
+ | {
592
+ static?: number;
593
+ minimum?: number;
594
+ maximum?: number;
595
+ [k: string]: unknown;
596
+ };
597
+ health?: {
598
+ enabled?: boolean | string;
599
+ interval?: number | string;
600
+ gracePeriod?: number | string;
601
+ maxUnhealthyChecks?: number | string;
602
+ maxELU?: number | string;
603
+ maxHeapUsed?: number | string;
604
+ maxHeapTotal?: number | string;
605
+ maxYoungGeneration?: number | string;
606
+ codeRangeSize?: number | string;
607
+ };
608
+ arguments?: string[];
609
+ env?: {
610
+ [k: string]: string;
611
+ };
612
+ envfile?: string;
613
+ sourceMaps?: boolean;
614
+ nodeModulesSourceMaps?: string[];
615
+ packageManager?: "npm" | "pnpm" | "yarn";
616
+ preload?: string | string[];
617
+ nodeOptions?: string;
618
+ execArgv?: string[];
619
+ permissions?: {
620
+ fs?: {
621
+ read?: string[];
622
+ write?: string[];
623
+ };
624
+ };
625
+ telemetry?: {
626
+ /**
627
+ * An array of instrumentations loaded if telemetry is enabled
628
+ */
629
+ instrumentations?: (
630
+ | string
631
+ | {
632
+ package: string;
633
+ exportName?: string;
634
+ options?: {
635
+ [k: string]: unknown;
636
+ };
637
+ [k: string]: unknown;
638
+ }
639
+ )[];
640
+ [k: string]: unknown;
641
+ };
642
+ };
585
643
  };
586
644
  telemetry?: {
587
645
  enabled?: boolean | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "3.28.0-alpha.1",
3
+ "version": "3.28.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "json-schema-to-typescript": "^15.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@platformatic/foundation": "3.28.0-alpha.1",
27
- "@platformatic/gateway": "3.28.0-alpha.1"
26
+ "@platformatic/foundation": "3.28.0",
27
+ "@platformatic/gateway": "3.28.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.28.0-alpha.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.28.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer Config",
5
5
  "type": "object",
@@ -891,6 +891,12 @@
891
891
  "sourceMaps": {
892
892
  "type": "boolean"
893
893
  },
894
+ "nodeModulesSourceMaps": {
895
+ "type": "array",
896
+ "items": {
897
+ "type": "string"
898
+ }
899
+ },
894
900
  "packageManager": {
895
901
  "type": "string",
896
902
  "enum": [
@@ -2137,6 +2143,13 @@
2137
2143
  "type": "boolean",
2138
2144
  "default": false
2139
2145
  },
2146
+ "nodeModulesSourceMaps": {
2147
+ "type": "array",
2148
+ "items": {
2149
+ "type": "string"
2150
+ },
2151
+ "default": []
2152
+ },
2140
2153
  "scheduler": {
2141
2154
  "type": "array",
2142
2155
  "items": {
@@ -2390,6 +2403,12 @@
2390
2403
  "sourceMaps": {
2391
2404
  "type": "boolean"
2392
2405
  },
2406
+ "nodeModulesSourceMaps": {
2407
+ "type": "array",
2408
+ "items": {
2409
+ "type": "string"
2410
+ }
2411
+ },
2393
2412
  "packageManager": {
2394
2413
  "type": "string",
2395
2414
  "enum": [