{"id":20312475,"url":"https://github.com/oori/gulp-jsonschema-bundle","last_synced_at":"2026-05-10T18:07:30.587Z","repository":{"id":57258066,"uuid":"60742838","full_name":"oori/gulp-jsonschema-bundle","owner":"oori","description":"Gulp plugin to bundle external $ref references (file+http) into a single json schema","archived":false,"fork":false,"pushed_at":"2018-05-03T13:38:12.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T12:25:07.685Z","etag":null,"topics":["gulp-plugins","json-schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oori.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-09T01:44:47.000Z","updated_at":"2018-05-03T13:38:03.000Z","dependencies_parsed_at":"2022-08-25T21:23:41.915Z","dependency_job_id":null,"html_url":"https://github.com/oori/gulp-jsonschema-bundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oori%2Fgulp-jsonschema-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oori%2Fgulp-jsonschema-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oori%2Fgulp-jsonschema-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oori%2Fgulp-jsonschema-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oori","download_url":"https://codeload.github.com/oori/gulp-jsonschema-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241811562,"owners_count":20024215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gulp-plugins","json-schema"],"created_at":"2024-11-14T18:06:17.477Z","updated_at":"2026-05-10T18:07:30.549Z","avatar_url":"https://github.com/oori.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-jsonschema-bundle\n\n[![Build Status](https://travis-ci.org/oori/gulp-jsonschema-bundle.svg?branch=master)](https://travis-ci.org/oori/gulp-jsonschema-bundle)\n[![Dependencies](https://david-dm.org/oori/gulp-jsonschema-bundle.svg)](https://david-dm.org/oori/gulp-jsonschema-bundle)\n[![Inline docs](http://inch-ci.org/github/oori/gulp-jsonschema-bundle.svg?branch=master)](http://inch-ci.org/github/oori/gulp-jsonschema-bundle)\n[![npm](http://img.shields.io/npm/v/gulp-jsonschema-bundle.svg)](https://www.npmjs.com/package/gulp-jsonschema-bundle)\n[![License](https://img.shields.io/npm/l/gulp-jsonschema-bundle.svg)](LICENSE)\n\n\u003e Gulp plugin to bundle external $ref references (*file+http*) into a single json schema\n\n## Install\n\n```\n$ npm install --save-dev gulp-jsonschema-bundle\n```\n\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar jsonschemaBundle = require('gulp-jsonschema-bundle');\n\nvar schemaFiles = '*.schema.json',\n\tdefinitionsFiles = 'definitions/' + schemaFiles,\n\tbuildFolder = 'build';\n\ngulp.task('resolve-schema', function() {\n\tvar stream = gulp.src( schemaFiles )\n\t\t.pipe( jsonschemaBundle() )\n\t\t.pipe( gulp.dest(buildFolder) );\n\treturn stream;\n});\n\n\ngulp.task('watch-schema', function() {\n\tvar watcher = gulp.watch( [schemaFiles,definitionsFiles], ['resolve-schema']);\n\n\twatcher.on('change', function(event) {\n\t  console.log('File ' + event.path + ' was ' + event.type + ', running tasks...');\n\t});\n});\n\ngulp.task('default', ['resolve-schema','watch-schema']);\n```\n\n\n## API\nCurrently, dependant on [json-schema-ref-parser](https://github.com/BigstickCarpet/json-schema-ref-parser)\n\n### jsonschemaBundle([options])\n\n#### options\n\nsee: [bundle](https://github.com/BigstickCarpet/json-schema-ref-parser/blob/master/docs/ref-parser.md#bundleschema-options-callback)\n\n## License\n\nMIT © [oori](https://github.com/oori)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foori%2Fgulp-jsonschema-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foori%2Fgulp-jsonschema-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foori%2Fgulp-jsonschema-bundle/lists"}