@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.schema,
366
+ ...schema,
367
367
  $id: '${schemaId}',
368
368
  title: '${schemaTitle}',
369
369
  version,
370
370
  properties: {
371
- ...schema.schema.properties,
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.schema,
406
+ ...schema,
407
407
  $id: '${schemaId}',
408
408
  title: '${schemaTitle}',
409
409
  version,
410
410
  properties: {
411
- ...schema.schema.properties,
411
+ ...schema.properties,
412
412
  module: { type: 'string' },
413
413
  greeting: {
414
414
  type: 'object',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/generators",
3
- "version": "1.51.8",
3
+ "version": "2.0.0-alpha.2",
4
4
  "description": "Main classes and utils for generators.",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "$schema": "https://platformatic.dev/schemas/v1.25.0/runtime",
3
3
  "entrypoint": "rival",
4
- "allowCycles": false,
5
4
  "hotReload": true,
6
5
  "autoload": {
7
6
  "path": "services",