@platformatic/service 2.67.0 → 2.67.1

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/index.js CHANGED
@@ -147,6 +147,11 @@ function _buildServer (options, app, context) {
147
147
  return buildServer(options, app || module.exports, context)
148
148
  }
149
149
 
150
+ // No-op for now, inserted for future compatibility
151
+ async function createDefaultConfig (opts) {
152
+ return {}
153
+ }
154
+
150
155
  async function buildStackable (options, app = platformaticService, Stackable = ServiceStackable) {
151
156
  let configManager = options.configManager
152
157
 
@@ -202,6 +207,7 @@ module.exports.app = platformaticService
202
207
  module.exports.schema = schema
203
208
  module.exports.buildServer = _buildServer
204
209
  module.exports.buildStackable = buildStackable
210
+ module.exports.createDefaultConfig = createDefaultConfig
205
211
  module.exports.schemas = require('./lib/schema')
206
212
  module.exports.platformaticService = platformaticService
207
213
  module.exports.addLoggerToTheConfig = addLoggerToTheConfig
package/lib/stackable.js CHANGED
@@ -154,7 +154,7 @@ class ServiceStackable {
154
154
 
155
155
  return {
156
156
  enabled,
157
- path: dirname(this.configManager.fullPath),
157
+ path: this.configManager.dirname ?? dirname(this.configManager.fullPath),
158
158
  allow: config.watch?.allow,
159
159
  ignore: config.watch?.ignore
160
160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "2.67.0",
3
+ "version": "2.67.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -76,14 +76,14 @@
76
76
  "rfdc": "^1.3.1",
77
77
  "semgrator": "^0.3.0",
78
78
  "undici": "^7.0.0",
79
- "@platformatic/client": "2.67.0",
80
- "@platformatic/generators": "2.67.0",
81
- "@platformatic/scalar-theme": "2.67.0",
82
- "@platformatic/metrics": "2.67.0",
83
- "@platformatic/telemetry": "2.67.0",
84
- "@platformatic/ts-compiler": "2.67.0",
85
- "@platformatic/utils": "2.67.0",
86
- "@platformatic/config": "2.67.0"
79
+ "@platformatic/client": "2.67.1",
80
+ "@platformatic/metrics": "2.67.1",
81
+ "@platformatic/config": "2.67.1",
82
+ "@platformatic/generators": "2.67.1",
83
+ "@platformatic/telemetry": "2.67.1",
84
+ "@platformatic/ts-compiler": "2.67.1",
85
+ "@platformatic/utils": "2.67.1",
86
+ "@platformatic/scalar-theme": "2.67.1"
87
87
  },
88
88
  "scripts": {
89
89
  "test": "pnpm run lint && borp -T --concurrency=1 --timeout=300000 && tsd",
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/2.67.0.json",
3
- "version": "2.67.0",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/2.67.1.json",
3
+ "version": "2.67.1",
4
4
  "title": "Platformatic Service",
5
5
  "type": "object",
6
6
  "properties": {