Skip to content

[rush] Add missing "$schema" directives for Rush config files - #778

Merged
Pete Gonzalez (octogonz) merged 15 commits into
masterfrom
pgonzal/json-schema-update
Aug 22, 2018
Merged

Pete Gonzalez (octogonz) merged 15 commits into
masterfrom
pgonzal/json-schema-update

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

For the files managed by the Rush tool, the serializer needs to add the $schema directive.

// (which passed schema validation).

this._loadedJson.$schema = 'https://developer.microsoft.com/json-schemas/rush/v5/approved-packages.schema.json',

@iclanton Ian Clanton-Thuon (iclanton) Aug 22, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably go in a constants file. #Resolved

/**
* Serializes the specified JSON object to a string buffer.
* @param jsonObject - the object to be serialized
* @param options - other settings that control serialization

@iclanton Ian Clanton-Thuon (iclanton) Aug 22, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update these. #Resolved

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@octogonz
Pete Gonzalez (octogonz) merged commit cfa56fe into master Aug 22, 2018
@octogonz
Pete Gonzalez (octogonz) deleted the pgonzal/json-schema-update branch September 1, 2018 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants