@platformatic/next 2.2.0 → 2.2.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.
Files changed (3) hide show
  1. package/index.js +4 -1
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -211,7 +211,10 @@ export class NextStackable extends BaseStackable {
211
211
  })
212
212
 
213
213
  this.#manager.register()
214
- const serverPromise = createServerListener((this.isEntrypoint ? serverOptions?.port : undefined) ?? true)
214
+ const serverPromise = createServerListener(
215
+ (this.isEntrypoint ? serverOptions?.port : undefined) ?? true,
216
+ (this.isEntrypoint ? serverOptions?.hostname : undefined) ?? true
217
+ )
215
218
 
216
219
  await nextStart(serverOptions, this.root)
217
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
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.2.0",
24
- "@platformatic/config": "2.2.0",
25
- "@platformatic/utils": "2.2.0"
23
+ "@platformatic/basic": "2.2.1",
24
+ "@platformatic/config": "2.2.1",
25
+ "@platformatic/utils": "2.2.1"
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.2.0",
40
- "@platformatic/service": "2.2.0"
39
+ "@platformatic/composer": "2.2.1",
40
+ "@platformatic/service": "2.2.1"
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.2.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/2.2.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Stackable",
5
5
  "type": "object",