@platformatic/next 2.7.0 → 2.8.0-alpha.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 +4 -2
- package/package.json +6 -6
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -131,7 +131,8 @@ export class NextStackable extends BaseStackable {
|
|
|
131
131
|
this.childManager = new ChildManager({
|
|
132
132
|
loader: loaderUrl,
|
|
133
133
|
context: {
|
|
134
|
-
|
|
134
|
+
serviceId: this.serviceId,
|
|
135
|
+
workerId: this.workerId,
|
|
135
136
|
// Always use URL to avoid serialization problem in Windows
|
|
136
137
|
root: pathToFileURL(this.root).toString(),
|
|
137
138
|
basePath: this.#basePath,
|
|
@@ -181,7 +182,8 @@ export class NextStackable extends BaseStackable {
|
|
|
181
182
|
this.childManager = new ChildManager({
|
|
182
183
|
loader: loaderUrl,
|
|
183
184
|
context: {
|
|
184
|
-
|
|
185
|
+
serviceId: this.serviceId,
|
|
186
|
+
workerId: this.workerId,
|
|
185
187
|
// Always use URL to avoid serialization problem in Windows
|
|
186
188
|
root: pathToFileURL(this.root).toString(),
|
|
187
189
|
basePath: this.#basePath,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/next",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0-alpha.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.
|
|
24
|
-
"@platformatic/config": "2.
|
|
25
|
-
"@platformatic/utils": "2.
|
|
23
|
+
"@platformatic/basic": "2.8.0-alpha.1",
|
|
24
|
+
"@platformatic/config": "2.8.0-alpha.1",
|
|
25
|
+
"@platformatic/utils": "2.8.0-alpha.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.
|
|
40
|
-
"@platformatic/service": "2.
|
|
39
|
+
"@platformatic/composer": "2.8.0-alpha.1",
|
|
40
|
+
"@platformatic/service": "2.8.0-alpha.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
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/next/2.8.0-alpha.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Next.js Stackable",
|
|
5
5
|
"type": "object",
|