@platformatic/generators 1.51.8 → 2.0.0-alpha.2
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.
|
@@ -363,12 +363,12 @@ const { schema } = require('@platformatic/service')
|
|
|
363
363
|
const { version } = require('../package.json')
|
|
364
364
|
|
|
365
365
|
const ${schemaVarName} = {
|
|
366
|
-
...schema
|
|
366
|
+
...schema,
|
|
367
367
|
$id: '${schemaId}',
|
|
368
368
|
title: '${schemaTitle}',
|
|
369
369
|
version,
|
|
370
370
|
properties: {
|
|
371
|
-
...schema.
|
|
371
|
+
...schema.properties,
|
|
372
372
|
module: { type: 'string' },
|
|
373
373
|
greeting: {
|
|
374
374
|
type: 'object',
|
|
@@ -403,12 +403,12 @@ import { readFileSync } from 'node:fs'
|
|
|
403
403
|
const { version } = JSON.parse(readFileSync('package.json', 'utf8'))
|
|
404
404
|
|
|
405
405
|
const ${schemaVarName} = {
|
|
406
|
-
...schema
|
|
406
|
+
...schema,
|
|
407
407
|
$id: '${schemaId}',
|
|
408
408
|
title: '${schemaTitle}',
|
|
409
409
|
version,
|
|
410
410
|
properties: {
|
|
411
|
-
...schema.
|
|
411
|
+
...schema.properties,
|
|
412
412
|
module: { type: 'string' },
|
|
413
413
|
greeting: {
|
|
414
414
|
type: 'object',
|
package/package.json
CHANGED