Skip to content

Commit

Permalink
fix(schematics): remove comments in collection.json (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilletuzi committed Apr 15, 2020
1 parent 582222c commit 5514f59
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/schematics/src/collection.json
@@ -1,29 +1,13 @@
// By default, collection.json is a Loose-format JSON5 format, which means it's loaded using a
// special loader and you can use comments, as well as single quotes or no-quotes for standard
// JavaScript identifiers.
// Note that this is only true for collection.json and it depends on the tooling itself.
// We read package.json using a require() call, which is standard JSON.
{
// This is just to indicate to your IDE that there is a schema for collection.json.
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",

"extends": ["@schematics/angular"],
// Schematics are listed as a map of schematicName => schematicDescription.
// Each description contains a description field which is required, a factory reference,
// an extends field and a schema reference.
// The extends field points to another schematic (either in the same collection or a
// separate collection using the format collectionName:schematicName).
// The factory is required, except when using the extends field. Then the factory can
// overwrite the extended schematic factory.
"schematics": {
// Adds @ngx-formly to an application without changing any templates
"ng-add": {
"description": "Adds @ngx-formly to the application without affecting any templates",
"factory": "./ng-add",
"schema": "./ng-add/schema.json",
"aliases": ["init"]
},

"wrapper": {
"aliases": [ "wc" ],
"factory": "./wrapper-component",
Expand Down

0 comments on commit 5514f59

Please sign in to comment.