Closed julien-vidal closed 3 years ago
Hello! Yes I can do an update to support this. Thank you for pointing this out.
@julien-vidal . Quick question. Were you talking in regards to custom schematics within an Nx workspace? Or plain angular project with custom schematics?
I'm talking about custom schematics within an Nx workspace.
Well, as far I can understand Kotlin code, it seems the issue will only happen for custom nx schematics.
The way you detect custom nx schematic from this location file seems different from how you detect them in node_module for example (file).
The first one seems based on id, which is now deprecated in favor of $id. The other seems to be based on description.
Don't know if it can help you ^^.
Got it. Yea I was just making sure. I only ask, because I still see the nx documentation which still uses the id
pattern, but I can easily also support reading off of $id
.
I merged in an update, feel free to download latest unreleased version of the plugin (0.9) from the releases page. Let me know if it works locally for you with the new $id
check.
Really cool ! I'll test it as soon the 0.9 will be rolled out.
For now, it seems releases page don't have the 0.9. Webstorm page doesn't have it too ...
Oh I just realized that Draft releases aren't available to the public 😅 . I manually uploaded the artifacts to this comment. nx-webstorm-0.9.zip
Let me know if you're able to test it out.
No problem ! 😄
I tested it and seems work perfectly !
Our customs nx schematics are detected with old id
and new one $id
.
Thanks a lot for your reactivity 😉 . I wait for official 0.9 now ^^.
Great! I just submitted plugin for pending reviewal... Should see it in marketplace sometime early next week.
0.9 should be published and available for update in jetbrains marketplace. Closing this ticket. Let me know if there is anything else. Thanks again.
Is your feature request related to a problem? Please describe.
In last version of json-schema, it seems the id property of a schema has been deprecated in favor of $id. It could be interesting to add this property for detect new json-schema and ensure long term schematics detection.
Describe the solution you'd like Handle id and $id property for json-schema
Additional context It seems schematics detection comes from this file.