Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

calling the plugin from a generator causes error #579

Open
ghost opened this issue Dec 16, 2021 · 3 comments
Open

calling the plugin from a generator causes error #579

ghost opened this issue Dec 16, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 16, 2021

using the plugin from a generator causes an error with the latest migrations - 13.3.6

const appGenerator = wrapAngularDevkitSchematic(
    '@nxtend/ionic-angular',
    'app'
  );
 await appGenerator(tree, {
      name: myApp
    }),

NOT SUPPORTED: keyword "id", use "$id" for schema ID

 at Object.code (...ajv/dist/vocabularies/core/id.js:6:15)
at keywordCode (.../ajv/dist/compile/validate/index.js:454:13)

12.10.1 works fine.

@devinshoemaker
Copy link
Collaborator

This may get resolved when I release the official v13 update that's built on Nx 13. This is in progress now, but with the holidays I don't have a solid ETA.

@devinshoemaker devinshoemaker added the bug Something isn't working label Dec 30, 2021
@devinshoemaker
Copy link
Collaborator

Nxtend 13.0.0 has been released. Can you update and let me know if you have issues?

@ghost
Copy link
Author

ghost commented Feb 8, 2022

It works if i change @nxtend/ionic-angular/src/generators/application/schema.json line 4:

"id": "IonicAngularApp",
to...
"$id": "IonicAngularApp"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant