@platformatic/next 2.27.1 → 2.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/index.js +3 -2
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -287,7 +287,7 @@ function transformConfig () {
287
287
  this.current.cache.adapter = 'valkey'
288
288
  }
289
289
 
290
- basicTransformConfig.call(this)
290
+ return basicTransformConfig.call(this)
291
291
  }
292
292
 
293
293
  export async function buildStackable (opts) {
@@ -298,7 +298,8 @@ export async function buildStackable (opts) {
298
298
  source: opts.config ?? {},
299
299
  schemaOptions,
300
300
  transformConfig,
301
- dirname: root
301
+ dirname: root,
302
+ context: opts.context
302
303
  })
303
304
  await configManager.parseAndValidate()
304
305
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "2.27.1",
3
+ "version": "2.28.0",
4
4
  "description": "Platformatic Next.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,9 +23,9 @@
23
23
  "iovalkey": "^0.2.1",
24
24
  "msgpackr": "^1.11.2",
25
25
  "semver": "^7.6.3",
26
- "@platformatic/basic": "2.27.1",
27
- "@platformatic/utils": "2.27.1",
28
- "@platformatic/config": "2.27.1"
26
+ "@platformatic/basic": "2.28.0",
27
+ "@platformatic/config": "2.28.0",
28
+ "@platformatic/utils": "2.28.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@fastify/reply-from": "^11.0.0",
@@ -41,8 +41,8 @@
41
41
  "react-dom": "^18.3.1",
42
42
  "typescript": "^5.5.4",
43
43
  "ws": "^8.18.0",
44
- "@platformatic/service": "2.27.1",
45
- "@platformatic/composer": "2.27.1"
44
+ "@platformatic/composer": "2.28.0",
45
+ "@platformatic/service": "2.28.0"
46
46
  },
47
47
  "scripts": {
48
48
  "test": "npm run lint && borp --concurrency=1 --no-timeout",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/2.27.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/2.28.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Stackable",
5
5
  "type": "object",