@platformatic/next 2.6.1 → 2.7.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 +8 -2
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -136,7 +136,10 @@ export class NextStackable extends BaseStackable {
136
136
  root: pathToFileURL(this.root).toString(),
137
137
  basePath: this.#basePath,
138
138
  logLevel: this.logger.level,
139
- port: false
139
+ port: false,
140
+ isEntrypoint: this.isEntrypoint,
141
+ runtimeBasePath: this.runtimeConfig.basePath,
142
+ wantsAbsoluteUrls: true
140
143
  }
141
144
  })
142
145
 
@@ -182,7 +185,10 @@ export class NextStackable extends BaseStackable {
182
185
  // Always use URL to avoid serialization problem in Windows
183
186
  root: pathToFileURL(this.root).toString(),
184
187
  basePath: this.#basePath,
185
- logLevel: this.logger.level
188
+ logLevel: this.logger.level,
189
+ isEntrypoint: this.isEntrypoint,
190
+ runtimeBasePath: this.runtimeConfig.basePath,
191
+ wantsAbsoluteUrls: true,
186
192
  }
187
193
  })
188
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "Platformatic Next.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,9 +20,9 @@
20
20
  "@babel/traverse": "^7.25.3",
21
21
  "@babel/types": "^7.25.2",
22
22
  "semver": "^7.6.3",
23
- "@platformatic/basic": "2.6.1",
24
- "@platformatic/config": "2.6.1",
25
- "@platformatic/utils": "2.6.1"
23
+ "@platformatic/basic": "2.7.0",
24
+ "@platformatic/config": "2.7.0",
25
+ "@platformatic/utils": "2.7.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@fastify/reply-from": "^11.0.0",
@@ -36,8 +36,8 @@
36
36
  "react-dom": "^18.3.1",
37
37
  "typescript": "^5.5.4",
38
38
  "ws": "^8.18.0",
39
- "@platformatic/composer": "2.6.1",
40
- "@platformatic/service": "2.6.1"
39
+ "@platformatic/composer": "2.7.0",
40
+ "@platformatic/service": "2.7.0"
41
41
  },
42
42
  "scripts": {
43
43
  "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.6.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/2.7.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Stackable",
5
5
  "type": "object",