@platformatic/basic 2.0.0-alpha.12 → 2.0.0-alpha.13

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/base.js CHANGED
@@ -11,6 +11,8 @@ import { NonZeroExitCode } from './errors.js'
11
11
  import { cleanBasePath } from './utils.js'
12
12
  import { ChildManager } from './worker/child-manager.js'
13
13
 
14
+ const merge = deepmerge()
15
+
14
16
  export class BaseStackable {
15
17
  #childManager
16
18
  #subprocess
@@ -23,7 +25,7 @@ export class BaseStackable {
23
25
  this.options = options
24
26
  this.root = root
25
27
  this.configManager = configManager
26
- this.serverConfig = deepmerge(options.context.serverConfig, configManager.current.server)
28
+ this.serverConfig = merge(options.context.serverConfig, configManager.current.server)
27
29
  this.openapiSchema = null
28
30
  this.getGraphqlSchema = null
29
31
  this.isEntrypoint = options.context.isEntrypoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/basic",
3
- "version": "2.0.0-alpha.12",
3
+ "version": "2.0.0-alpha.13",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -24,9 +24,9 @@
24
24
  "split2": "^4.2.0",
25
25
  "undici": "^6.19.5",
26
26
  "ws": "^8.18.0",
27
- "@platformatic/config": "2.0.0-alpha.12",
28
- "@platformatic/utils": "2.0.0-alpha.12",
29
- "@platformatic/itc": "2.0.0-alpha.12"
27
+ "@platformatic/config": "2.0.0-alpha.13",
28
+ "@platformatic/itc": "2.0.0-alpha.13",
29
+ "@platformatic/utils": "2.0.0-alpha.13"
30
30
  },
31
31
  "devDependencies": {
32
32
  "borp": "^0.17.0",
@@ -40,8 +40,8 @@
40
40
  "react-dom": "^18.3.1",
41
41
  "typescript": "^5.5.4",
42
42
  "vite": "^5.4.0",
43
- "@platformatic/service": "2.0.0-alpha.12",
44
- "@platformatic/composer": "2.0.0-alpha.12"
43
+ "@platformatic/composer": "2.0.0-alpha.13",
44
+ "@platformatic/service": "2.0.0-alpha.13"
45
45
  },
46
46
  "scripts": {
47
47
  "gen-schema": "node lib/schema.js > schema.json",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/basic/2.0.0-alpha.12.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/basic/2.0.0-alpha.13.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Stackable",
5
5
  "type": "object",