This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from vimeo/v4-dev
v4
- Loading branch information
Showing
241 changed files
with
16,877 additions
and
6,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "vimeo/mill", | ||
"description": "A PHP library for documenting a REST API with a small annotation DSL.", | ||
"description": "☴ An annotation-based DSL for documenting a REST API.", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
|
@@ -12,7 +12,7 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"minimum-stability": "stable", | ||
"minimum-stability": "RC", | ||
"bin": ["bin/mill"], | ||
"require": { | ||
"php": ">=7.1.0", | ||
|
@@ -24,13 +24,15 @@ | |
"gossi/docblock": "^1.5", | ||
"nicmart/string-template": "^0.1.1", | ||
"ocramius/package-versions": "^1.1", | ||
"symfony/console": "^3.2 || ^4.0" | ||
"symfony/console": "^3.2 || ^4.0", | ||
"symfony/yaml": "^2.0", | ||
"cocur/slugify": "^3.1" | ||
}, | ||
"require-dev": { | ||
"league/flysystem-memory": "^1.0", | ||
"squizlabs/php_codesniffer": "^3.0", | ||
"vimeo/psalm": "^1.0", | ||
"phpunit/phpunit": "^7.0" | ||
"phpunit/phpunit": "^7.0", | ||
"vimeo/psalm": "^2.0" | ||
}, | ||
"suggest": { | ||
"ext-xml": "Required for config file processing." | ||
|
@@ -51,46 +53,50 @@ | |
} | ||
}, | ||
"scripts": { | ||
"build-blueprints": [ | ||
"rm -rf resources/examples/Showtimes/blueprints", | ||
"mkdir resources/examples/Showtimes/blueprints", | ||
"./bin/mill generate --config=resources/examples/mill.xml resources/examples/Showtimes/blueprints/" | ||
"build-docs-apiblueprint": [ | ||
"./bin/mill compile --config=resources/examples/mill.xml --format=apiblueprint resources/examples/Showtimes/compiled/" | ||
], | ||
"build-docs-openapi": [ | ||
"./bin/mill compile --config=resources/examples/mill.xml --format=openapi resources/examples/Showtimes/compiled/" | ||
], | ||
"build-changelogs": [ | ||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/changelog.md resources/examples/Showtimes/blueprints/changelog-public-only-all-capabilities.md", | ||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/changelog.md resources/examples/Showtimes/compiled/changelog-public-only-all-vendor-tags.md", | ||
|
||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false --capability=BUY_TICKETS --capability=FEATURE_FLAG resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/changelog.md resources/examples/Showtimes/blueprints/changelog-public-only-matched-with-tickets-and-feature-capabilities.md", | ||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false --vendor_tag='tag:BUY_TICKETS' --vendor_tag='tag:FEATURE_FLAG' resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/changelog.md resources/examples/Showtimes/compiled/changelog-public-only-matched-with-tickets-and-feature-vendor-tags.md", | ||
|
||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false --capability=DELETE_CONTENT resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/changelog.md resources/examples/Showtimes/blueprints/changelog-public-only-matched-with-delete-capabilities.md", | ||
"./bin/mill changelog --config=resources/examples/mill.xml --private=false --vendor_tag='tag:DELETE_CONTENT' resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/changelog.md resources/examples/Showtimes/compiled/changelog-public-only-matched-with-delete-vendor-tags.md", | ||
|
||
"./bin/mill changelog --config=resources/examples/mill.xml resources/examples/Showtimes/blueprints/" | ||
"./bin/mill changelog --config=resources/examples/mill.xml resources/examples/Showtimes/compiled/" | ||
], | ||
"build-errors": [ | ||
"./bin/mill errors --config=resources/examples/mill.xml --private=false resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/1.0/errors.md resources/examples/Showtimes/blueprints/1.0/errors-public-only-all-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1/errors.md resources/examples/Showtimes/blueprints/1.1/errors-public-only-all-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.1/errors.md resources/examples/Showtimes/blueprints/1.1.1/errors-public-only-all-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.3/errors.md resources/examples/Showtimes/blueprints/1.1.3/errors-public-only-all-capabilities.md", | ||
"./bin/mill errors --config=resources/examples/mill.xml --private=false resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/1.0/errors.md resources/examples/Showtimes/compiled/1.0/errors-public-only-all-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1/errors.md resources/examples/Showtimes/compiled/1.1/errors-public-only-all-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.1/errors.md resources/examples/Showtimes/compiled/1.1.1/errors-public-only-all-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.3/errors.md resources/examples/Showtimes/compiled/1.1.3/errors-public-only-all-vendor-tags.md", | ||
|
||
"./bin/mill errors --config=resources/examples/mill.xml --private=false --capability=BUY_TICKETS --capability=FEATURE_FLAG resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/1.0/errors.md resources/examples/Showtimes/blueprints/1.0/errors-public-only-unmatched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1/errors.md resources/examples/Showtimes/blueprints/1.1/errors-public-only-unmatched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.1/errors.md resources/examples/Showtimes/blueprints/1.1.1/errors-public-only-unmatched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.3/errors.md resources/examples/Showtimes/blueprints/1.1.3/errors-public-only-unmatched-capabilities.md", | ||
"./bin/mill errors --config=resources/examples/mill.xml --private=false --vendor_tag='tag:BUY_TICKETS' --vendor_tag='tag:FEATURE_FLAG' resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/1.0/errors.md resources/examples/Showtimes/compiled/1.0/errors-public-only-unmatched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1/errors.md resources/examples/Showtimes/compiled/1.1/errors-public-only-unmatched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.1/errors.md resources/examples/Showtimes/compiled/1.1.1/errors-public-only-unmatched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.3/errors.md resources/examples/Showtimes/compiled/1.1.3/errors-public-only-unmatched-vendor-tags.md", | ||
|
||
"./bin/mill errors --config=resources/examples/mill.xml --private=false --capability=DELETE_CONTENT resources/examples/Showtimes/blueprints/", | ||
"mv resources/examples/Showtimes/blueprints/1.0/errors.md resources/examples/Showtimes/blueprints/1.0/errors-public-only-matched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1/errors.md resources/examples/Showtimes/blueprints/1.1/errors-public-only-matched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.1/errors.md resources/examples/Showtimes/blueprints/1.1.1/errors-public-only-matched-capabilities.md", | ||
"mv resources/examples/Showtimes/blueprints/1.1.3/errors.md resources/examples/Showtimes/blueprints/1.1.3/errors-public-only-matched-capabilities.md", | ||
"./bin/mill errors --config=resources/examples/mill.xml --private=false --vendor_tag='tag:DELETE_CONTENT' resources/examples/Showtimes/compiled/", | ||
"mv resources/examples/Showtimes/compiled/1.0/errors.md resources/examples/Showtimes/compiled/1.0/errors-public-only-matched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1/errors.md resources/examples/Showtimes/compiled/1.1/errors-public-only-matched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.1/errors.md resources/examples/Showtimes/compiled/1.1.1/errors-public-only-matched-vendor-tags.md", | ||
"mv resources/examples/Showtimes/compiled/1.1.3/errors.md resources/examples/Showtimes/compiled/1.1.3/errors-public-only-matched-vendor-tags.md", | ||
|
||
"./bin/mill errors --config=resources/examples/mill.xml resources/examples/Showtimes/blueprints/" | ||
"./bin/mill errors --config=resources/examples/mill.xml resources/examples/Showtimes/compiled/" | ||
], | ||
"build-resources": [ | ||
"composer build-blueprints", | ||
"rm -rf resources/examples/Showtimes/compiled", | ||
"mkdir resources/examples/Showtimes/compiled", | ||
"composer build-docs-apiblueprint", | ||
"composer build-docs-openapi", | ||
"composer build-changelogs", | ||
"composer build-errors" | ||
], | ||
|
Oops, something went wrong.