@release-notes/schema
Advanced tools
| # Contributor Covenant Code of Conduct | ||
| ## LT;DR | ||
| * Everyone is welcome to be part of our community. | ||
| * Be nice and respectful to each other. | ||
| --- | ||
| The detailed version of our code of conduct can be found in our meta project. | ||
| https://github.com/release-notes/release-notes/blob/develop/CODE_OF_CONDUCT.md |
| # Contributing to Release Notes | ||
| :sparkles::tada: Many thanks for contributing! :tada::sparkles: | ||
| ## LT;DR | ||
| * Our mission is to build the best tooling around standardized release notes management. | ||
| * Any contribution is welcome. | ||
| * This project is committed to the following [CODE OF CONDUCT](CODE_OF_CONDUCT.md). | ||
| * This project follows [git flow](http://nvie.com/posts/a-successful-git-branching-model/) | ||
| * Releases are [semanticly versioned](http://semver.org/) | ||
| * This is our [coding style](https://github.com/release-notes/eslint-config-release-notes) | ||
| --- | ||
| The detailed version of our contributing guidelines can be found in our meta project. | ||
| https://github.com/release-notes/release-notes/blob/develop/CONTRIBUTING.md |
| { | ||
| "$id": "@release-notes/tag-list", | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "tag" | ||
| } | ||
| } |
| { | ||
| "$id": "@release-notes/tag", | ||
| "type": "string", | ||
| "minLength": 1 | ||
| } |
+17
| 'use strict'; | ||
| const Modification = require('./definitions/modification.json'); | ||
| const ModificationList = require('./definitions/modification-list.json'); | ||
| const Release = require('./definitions/release.json'); | ||
| const ReleaseNotes = require('./definitions/release-notes.json'); | ||
| const Tag = require('./definitions/tag.json'); | ||
| const TagList = require('./definitions/tag-list.json'); | ||
| module.exports = { | ||
| Modification, | ||
| ModificationList, | ||
| Release, | ||
| ReleaseNotes, | ||
| Tag, | ||
| TagList, | ||
| }; |
@@ -15,2 +15,5 @@ { | ||
| "type": "string" | ||
| }, | ||
| "tags": { | ||
| "$ref": "tag-list" | ||
| } | ||
@@ -17,0 +20,0 @@ } |
+3
-2
| { | ||
| "name": "@release-notes/schema", | ||
| "version": "0.1.0", | ||
| "version": "0.2.0", | ||
| "description": "JSON Schema definitions of the release-notes specification - an easy to use, human readable and machine processable schema for release notes.", | ||
@@ -26,3 +26,4 @@ "author": "Alrik Zachert <alrik.zachert@gmail.com>", | ||
| "Alrik Zachert <alrik.zachert@gmail.com>" | ||
| ] | ||
| ], | ||
| "main": "./index.js" | ||
| } |
+38
-5
| # Release Notes Schema | ||
| **Title** | Release Notes JSON-Schema | ||
| :-----------|:------------------------- | ||
| **Specification** | [Release Notes Draft 0.2.0](https://github.com/release-notes/release-notes-spec/blob/0.2.0/README.md) | ||
| **License** | MIT | ||
| [](https://release-notes.com/@release-notes/release-notes-schema) | ||
| [](https://www.npmjs.com/package/@release-notes/schema) | ||
| [](LICENSE) | ||
@@ -11,4 +10,38 @@ # About | ||
| The goal of this repository is to implement [JSON Schema Definitions](https://trac.tools.ietf.org/html/draft-wright-json-schema-validation-01) | ||
| of the [Release Notes Spec](https://github.com/release-notes/release-notes-spec). | ||
| of the [Release Notes Specification](https://github.com/release-notes/release-notes-spec). | ||
| The following schemas are defined: | ||
| * [ReleaseNotes](definitions/release-notes.json) | ||
| * [Release](definitions/release.json) | ||
| * [ModificationList](definitions/modification-list.json) | ||
| * [Modification](definitions/modification.json) | ||
| * [TagList](definitions/tag-list.json) | ||
| * [Tag](definitions/tag.json) | ||
| ## Installation | ||
| `$ npm i -S @release-notes/schema` | ||
| ## Usage | ||
| ```js | ||
| const ReleaseNotesSchema = require('@release-notes/schema'); | ||
| console.info( | ||
| 'Required fields of release notes: %s', | ||
| ReleaseNotesSchema.ReleaseNotes.required.join(', ') | ||
| ); | ||
| ``` | ||
| ## Project Repositories | ||
| The Release Notes project consists of the following repositories: | ||
| - [Release Notes Hub](https://github.com/release-notes/release-notes-hub) | ||
| - [Release Notes CLI Tool](https://github.com/release-notes/release-notes-cli) | ||
| - [Release Notes Node.js lib](https://github.com/release-notes/release-notes-node) | ||
| - [Release Notes Specification](https://github.com/release-notes/release-notes-spec) | ||
| - [Release Notes JSON-Schema Definitions](https://github.com/release-notes/release-notes-schema) | ||
| --- | ||
@@ -15,0 +48,0 @@ |
@@ -7,2 +7,8 @@ title: Release Notes of Release Notes Schema | ||
| releases: | ||
| - version: 0.2.0 | ||
| date: 2017-10-30 | ||
| improved: | ||
| - All schema definitions can be accessed from main package export. | ||
| added: | ||
| - Add support for tags on modifications. | ||
| - version: 0.1.0 | ||
@@ -9,0 +15,0 @@ date: 2017-07-07T12:48:00Z |
7933
65.55%13
62.5%138
27.78%53
165%