@platformatic/next 2.0.0-alpha.5 → 2.0.0-alpha.6

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 CHANGED
@@ -20,8 +20,6 @@ export class NextStackable extends BaseStackable {
20
20
  }
21
21
 
22
22
  async init () {
23
- globalThis[Symbol.for('plt.runtime.itc')].handle('getServiceMeta', this.getMeta.bind(this))
24
-
25
23
  this.#next = pathResolve(dirname(createRequire(this.root).resolve('next')), '../..')
26
24
  const nextPackage = JSON.parse(await readFile(pathResolve(this.#next, 'package.json'), 'utf-8'))
27
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-alpha.6",
4
4
  "description": "Platformatic Next.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,22 +20,22 @@
20
20
  "@babel/traverse": "^7.25.3",
21
21
  "@babel/types": "^7.25.2",
22
22
  "semver": "^7.6.3",
23
- "@platformatic/basic": "2.0.0-alpha.5",
24
- "@platformatic/utils": "2.0.0-alpha.5",
25
- "@platformatic/config": "2.0.0-alpha.5"
23
+ "@platformatic/basic": "2.0.0-alpha.6",
24
+ "@platformatic/config": "2.0.0-alpha.6",
25
+ "@platformatic/utils": "2.0.0-alpha.6"
26
26
  },
27
27
  "devDependencies": {
28
28
  "borp": "^0.17.0",
29
29
  "eslint": "9",
30
+ "json-schema-to-typescript": "^15.0.1",
30
31
  "neostandard": "^0.11.1",
31
32
  "next": "^14.2.5",
32
33
  "react": "^18.3.1",
33
34
  "react-dom": "^18.3.1",
34
- "json-schema-to-typescript": "^15.0.0",
35
35
  "typescript": "^5.5.4",
36
36
  "ws": "^8.18.0",
37
- "@platformatic/composer": "2.0.0-alpha.5",
38
- "@platformatic/service": "2.0.0-alpha.5"
37
+ "@platformatic/composer": "2.0.0-alpha.6",
38
+ "@platformatic/service": "2.0.0-alpha.6"
39
39
  },
40
40
  "scripts": {
41
41
  "test": "npm run lint && borp --concurrency=1 --timeout=180000",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/2.0.0-alpha.5.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/2.0.0-alpha.6.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Stackable",
5
5
  "type": "object",
@@ -123,6 +123,7 @@ test('can detect and start a Next application with working React Server Componen
123
123
  await verifyJSONViaHTTP(url, '/plugin', 200, { ok: true })
124
124
  await verifyJSONViaHTTP(url, '/frontend/plugin', 200, { ok: true })
125
125
  await verifyJSONViaHTTP(url, '/service/direct', 200, { ok: true })
126
+ await verifyJSONViaHTTP(url, '/service/mesh', 200, { ok: true })
126
127
 
127
128
  await verifyJSONViaInject(runtime, 'main', 'GET', 'plugin', 200, { ok: true })
128
129
  await verifyJSONViaInject(runtime, 'main', 'GET', '/frontend/plugin', 200, { ok: true })