@platformatic/next 3.38.0 → 3.38.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/lib/capability.js CHANGED
@@ -159,9 +159,8 @@ export class NextCapability extends BaseCapability {
159
159
 
160
160
  let command = config.application.commands.build
161
161
 
162
- if (!command || !config.next?.standalone) {
163
- await this.init(true)
164
- }
162
+ // Always init to ensure #nextVersion is set (needed by #getChildManagerScripts)
163
+ await this.init(true)
165
164
 
166
165
  if (!command) {
167
166
  command = ['node', resolvePath(this.#next, './dist/bin/next'), 'build', this.root]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.38.0",
3
+ "version": "3.38.1",
4
4
  "description": "Platformatic Next.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "iovalkey": "^0.3.0",
24
24
  "msgpackr": "^1.11.2",
25
25
  "semver": "^7.6.3",
26
- "@platformatic/basic": "3.38.0",
27
- "@platformatic/foundation": "3.38.0"
26
+ "@platformatic/basic": "3.38.1",
27
+ "@platformatic/foundation": "3.38.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@fastify/reply-from": "^12.0.0",
@@ -40,8 +40,8 @@
40
40
  "next": "^16.0.0",
41
41
  "typescript": "^5.5.4",
42
42
  "ws": "^8.18.0",
43
- "@platformatic/service": "3.38.0",
44
- "@platformatic/gateway": "3.38.0"
43
+ "@platformatic/service": "3.38.1",
44
+ "@platformatic/gateway": "3.38.1"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/3.38.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.38.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Config",
5
5
  "type": "object",