@platformatic/composer 2.50.0 → 2.51.1-alpha.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.
@@ -4,6 +4,7 @@ const fp = require('fastify-plugin')
4
4
 
5
5
  async function openApiScalar (app, opts) {
6
6
  const { default: scalarTheme } = await import('@platformatic/scalar-theme')
7
+ const { default: scalarApiReference } = await import('@scalar/fastify-api-reference')
7
8
 
8
9
  /** Serve spec file in yaml and json */
9
10
  app.get('/documentation/json', { schema: { hide: true } }, async () => app.swagger())
@@ -11,7 +12,7 @@ async function openApiScalar (app, opts) {
11
12
 
12
13
  const routePrefix = opts.openapi?.swaggerPrefix || '/documentation'
13
14
 
14
- await app.register(require('@scalar/fastify-api-reference'), {
15
+ await app.register(scalarApiReference, {
15
16
  logLevel: 'warn',
16
17
  routePrefix,
17
18
  configuration: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "2.50.0",
3
+ "version": "2.51.1-alpha.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -32,9 +32,9 @@
32
32
  "typescript": "^5.5.4",
33
33
  "why-is-node-running": "2",
34
34
  "ws": "^8.16.0",
35
- "@platformatic/config": "2.50.0",
36
- "@platformatic/db": "2.50.0",
37
- "@platformatic/client": "2.50.0"
35
+ "@platformatic/config": "2.51.1-alpha.0",
36
+ "@platformatic/client": "2.51.1-alpha.0",
37
+ "@platformatic/db": "2.51.1-alpha.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "@fastify/error": "^4.0.0",
@@ -45,7 +45,7 @@
45
45
  "@fastify/view": "^10.0.1",
46
46
  "@platformatic/fastify-openapi-glue": "^5.1.0",
47
47
  "@platformatic/graphql-composer": "^0.10.0",
48
- "@scalar/fastify-api-reference": "^1.19.5",
48
+ "@scalar/fastify-api-reference": "1.25.122",
49
49
  "ajv": "^8.12.0",
50
50
  "commist": "^3.2.0",
51
51
  "console-table-printer": "^2.12.0",
@@ -68,12 +68,12 @@
68
68
  "rfdc": "^1.3.1",
69
69
  "semgrator": "^0.3.0",
70
70
  "undici": "^7.0.0",
71
- "@platformatic/config": "2.50.0",
72
- "@platformatic/generators": "2.50.0",
73
- "@platformatic/scalar-theme": "2.50.0",
74
- "@platformatic/service": "2.50.0",
75
- "@platformatic/telemetry": "2.50.0",
76
- "@platformatic/utils": "^2.50.0"
71
+ "@platformatic/config": "2.51.1-alpha.0",
72
+ "@platformatic/generators": "2.51.1-alpha.0",
73
+ "@platformatic/service": "2.51.1-alpha.0",
74
+ "@platformatic/utils": "^2.51.1-alpha.0",
75
+ "@platformatic/scalar-theme": "2.51.1-alpha.0",
76
+ "@platformatic/telemetry": "2.51.1-alpha.0"
77
77
  },
78
78
  "scripts": {
79
79
  "test": "pnpm run lint && borp -T --timeout=300000 -c 1 && tsd",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/2.50.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/2.51.1-alpha.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer",
5
5
  "type": "object",