├── .github ├── CODEOWNER ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── BUG-REPORT.yml │ ├── DESIGN-DOC.yml │ ├── FEATURE-REQUEST.yml │ └── config.yml ├── auto_assign.yml ├── config.yml └── workflows │ ├── closed_references.yml │ ├── conventional_commits.yml │ ├── format.yml │ ├── labels.yml │ ├── licenses.yml │ ├── release_tagger.yml │ └── stale.yml ├── .gitignore ├── .reference-ignore ├── .reports └── dep-licenses.csv ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── action.yml ├── package-lock.json ├── package.json └── scripts ├── executor-info.sh ├── install-buf.sh ├── install-go-grpc-plugin.sh ├── install-go-plugin.sh ├── install-grpc-java-plugin.sh ├── install-python_betterproto-plugin.sh └── install-ts-proto-plugin.sh /.github/CODEOWNER: -------------------------------------------------------------------------------- 1 | * @ory/maintainers 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml 3 | 4 | # These are supported funding model platforms 5 | 6 | # github: 7 | patreon: _ory 8 | open_collective: ory 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG-REPORT.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/BUG-REPORT.yml 3 | 4 | description: "Create a bug report" 5 | labels: 6 | - bug 7 | name: "Bug Report" 8 | body: 9 | - attributes: 10 | value: "Thank you for taking the time to fill out this bug report!\n" 11 | type: markdown 12 | - attributes: 13 | label: "Preflight checklist" 14 | options: 15 | - label: 16 | "I could not find a solution in the existing issues, docs, nor 17 | discussions." 18 | required: true 19 | - label: 20 | "I agree to follow this project's [Code of 21 | Conduct](https://github.com/ory/build-buf-action/blob/master/CODE_OF_CONDUCT.md)." 22 | required: true 23 | - label: 24 | "I have read and am following this repository's [Contribution 25 | Guidelines](https://github.com/ory/build-buf-action/blob/master/CONTRIBUTING.md)." 26 | required: true 27 | - label: 28 | "I have joined the [Ory Community Slack](https://slack.ory.sh)." 29 | - label: 30 | "I am signed up to the [Ory Security Patch 31 | Newsletter](https://www.ory.sh/l/sign-up-newsletter)." 32 | id: checklist 33 | type: checkboxes 34 | - attributes: 35 | description: 36 | "Enter the slug or API URL of the affected Ory Network project. Leave 37 | empty when you are self-hosting." 38 | label: "Ory Network Project" 39 | placeholder: "https://.projects.oryapis.com" 40 | id: ory-network-project 41 | type: input 42 | - attributes: 43 | description: "A clear and concise description of what the bug is." 44 | label: "Describe the bug" 45 | placeholder: "Tell us what you see!" 46 | id: describe-bug 47 | type: textarea 48 | validations: 49 | required: true 50 | - attributes: 51 | description: | 52 | Clear, formatted, and easy to follow steps to reproduce the behavior: 53 | placeholder: | 54 | Steps to reproduce the behavior: 55 | 56 | 1. Run `docker run ....` 57 | 2. Make API Request to with `curl ...` 58 | 3. Request fails with response: `{"some": "error"}` 59 | label: "Reproducing the bug" 60 | id: reproduce-bug 61 | type: textarea 62 | validations: 63 | required: true 64 | - attributes: 65 | description: 66 | "Please copy and paste any relevant log output. This will be 67 | automatically formatted into code, so no need for backticks. Please 68 | redact any sensitive information" 69 | label: "Relevant log output" 70 | render: shell 71 | placeholder: | 72 | log=error .... 73 | id: logs 74 | type: textarea 75 | - attributes: 76 | description: 77 | "Please copy and paste any relevant configuration. This will be 78 | automatically formatted into code, so no need for backticks. Please 79 | redact any sensitive information!" 80 | label: "Relevant configuration" 81 | render: yml 82 | placeholder: | 83 | server: 84 | admin: 85 | port: 1234 86 | id: config 87 | type: textarea 88 | - attributes: 89 | description: "What version of our software are you running?" 90 | label: Version 91 | id: version 92 | type: input 93 | validations: 94 | required: true 95 | - attributes: 96 | label: "On which operating system are you observing this issue?" 97 | options: 98 | - Ory Network 99 | - macOS 100 | - Linux 101 | - Windows 102 | - FreeBSD 103 | - Other 104 | id: operating-system 105 | type: dropdown 106 | - attributes: 107 | label: "In which environment are you deploying?" 108 | options: 109 | - Ory Network 110 | - Docker 111 | - "Docker Compose" 112 | - "Kubernetes with Helm" 113 | - Kubernetes 114 | - Binary 115 | - Other 116 | id: deployment 117 | type: dropdown 118 | - attributes: 119 | description: "Add any other context about the problem here." 120 | label: Additional Context 121 | id: additional 122 | type: textarea 123 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/DESIGN-DOC.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml 3 | 4 | description: 5 | "A design document is needed for non-trivial changes to the code base." 6 | labels: 7 | - rfc 8 | name: "Design Document" 9 | body: 10 | - attributes: 11 | value: | 12 | Thank you for writing this design document. 13 | 14 | One of the key elements of Ory's software engineering culture is the use of defining software designs through design docs. These are relatively informal documents that the primary author or authors of a software system or application create before they embark on the coding project. The design doc documents the high level implementation strategy and key design decisions with emphasis on the trade-offs that were considered during those decisions. 15 | 16 | Ory is leaning heavily on [Google's design docs process](https://www.industrialempathy.com/posts/design-docs-at-google/) 17 | and [Golang Proposals](https://github.com/golang/proposal). 18 | 19 | Writing a design doc before contributing your change ensures that your ideas are checked with 20 | the community and maintainers. It will save you a lot of time developing things that might need to be changed 21 | after code reviews, and your pull requests will be merged faster. 22 | type: markdown 23 | - attributes: 24 | label: "Preflight checklist" 25 | options: 26 | - label: 27 | "I could not find a solution in the existing issues, docs, nor 28 | discussions." 29 | required: true 30 | - label: 31 | "I agree to follow this project's [Code of 32 | Conduct](https://github.com/ory/build-buf-action/blob/master/CODE_OF_CONDUCT.md)." 33 | required: true 34 | - label: 35 | "I have read and am following this repository's [Contribution 36 | Guidelines](https://github.com/ory/build-buf-action/blob/master/CONTRIBUTING.md)." 37 | required: true 38 | - label: 39 | "I have joined the [Ory Community Slack](https://slack.ory.sh)." 40 | - label: 41 | "I am signed up to the [Ory Security Patch 42 | Newsletter](https://www.ory.sh/l/sign-up-newsletter)." 43 | id: checklist 44 | type: checkboxes 45 | - attributes: 46 | description: 47 | "Enter the slug or API URL of the affected Ory Network project. Leave 48 | empty when you are self-hosting." 49 | label: "Ory Network Project" 50 | placeholder: "https://.projects.oryapis.com" 51 | id: ory-network-project 52 | type: input 53 | - attributes: 54 | description: | 55 | This section gives the reader a very rough overview of the landscape in which the new system is being built and what is actually being built. This isn’t a requirements doc. Keep it succinct! The goal is that readers are brought up to speed but some previous knowledge can be assumed and detailed info can be linked to. This section should be entirely focused on objective background facts. 56 | label: "Context and scope" 57 | id: scope 58 | type: textarea 59 | validations: 60 | required: true 61 | 62 | - attributes: 63 | description: | 64 | A short list of bullet points of what the goals of the system are, and, sometimes more importantly, what non-goals are. Note, that non-goals aren’t negated goals like “The system shouldn’t crash”, but rather things that could reasonably be goals, but are explicitly chosen not to be goals. A good example would be “ACID compliance”; when designing a database, you’d certainly want to know whether that is a goal or non-goal. And if it is a non-goal you might still select a solution that provides it, if it doesn’t introduce trade-offs that prevent achieving the goals. 65 | label: "Goals and non-goals" 66 | id: goals 67 | type: textarea 68 | validations: 69 | required: true 70 | 71 | - attributes: 72 | description: | 73 | This section should start with an overview and then go into details. 74 | The design doc is the place to write down the trade-offs you made in designing your software. Focus on those trade-offs to produce a useful document with long-term value. That is, given the context (facts), goals and non-goals (requirements), the design doc is the place to suggest solutions and show why a particular solution best satisfies those goals. 75 | 76 | The point of writing a document over a more formal medium is to provide the flexibility to express the problem at hand in an appropriate manner. Because of this, there is no explicit guidance on how to actually describe the design. 77 | label: "The design" 78 | id: design 79 | type: textarea 80 | validations: 81 | required: true 82 | 83 | - attributes: 84 | description: | 85 | If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead, focus on the parts that are relevant to the design and its trade-offs. 86 | label: "APIs" 87 | id: apis 88 | type: textarea 89 | 90 | - attributes: 91 | description: | 92 | Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead, focus on the parts that are relevant to the design and its trade-offs. 93 | label: "Data storage" 94 | id: persistence 95 | type: textarea 96 | 97 | - attributes: 98 | description: | 99 | Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the feasibility of the design. 100 | label: "Code and pseudo-code" 101 | id: pseudocode 102 | type: textarea 103 | 104 | - attributes: 105 | description: | 106 | One of the primary factors that would influence the shape of a software design and hence the design doc, is the degree of constraint of the solution space. 107 | 108 | On one end of the extreme is the “greenfield software project”, where all we know are the goals, and the solution can be whatever makes the most sense. Such a document may be wide-ranging, but it also needs to quickly define a set of rules that allow zooming in on a manageable set of solutions. 109 | 110 | On the other end are systems where the possible solutions are very well defined, but it isn't at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasn't designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language. 111 | 112 | In this situation, you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are great, and hence such a document should focus on selecting the best way given all identified trade-offs. 113 | label: "Degree of constraint" 114 | id: constrait 115 | type: textarea 116 | 117 | - attributes: 118 | description: | 119 | This section lists alternative designs that would have reasonably achieved similar outcomes. The focus should be on the trade-offs that each respective design makes and how those trade-offs led to the decision to select the design that is the primary topic of the document. 120 | 121 | While it is fine to be succinct about a solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals. 122 | 123 | label: Alternatives considered 124 | id: alternatives 125 | type: textarea 126 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml 3 | 4 | description: 5 | "Suggest an idea for this project without a plan for implementation" 6 | labels: 7 | - feat 8 | name: "Feature Request" 9 | body: 10 | - attributes: 11 | value: | 12 | Thank you for suggesting an idea for this project! 13 | 14 | If you already have a plan to implement a feature or a change, please create a [design document](https://github.com/aeneasr/gh-template-test/issues/new?assignees=&labels=rfc&template=DESIGN-DOC.yml) instead if the change is non-trivial! 15 | type: markdown 16 | - attributes: 17 | label: "Preflight checklist" 18 | options: 19 | - label: 20 | "I could not find a solution in the existing issues, docs, nor 21 | discussions." 22 | required: true 23 | - label: 24 | "I agree to follow this project's [Code of 25 | Conduct](https://github.com/ory/build-buf-action/blob/master/CODE_OF_CONDUCT.md)." 26 | required: true 27 | - label: 28 | "I have read and am following this repository's [Contribution 29 | Guidelines](https://github.com/ory/build-buf-action/blob/master/CONTRIBUTING.md)." 30 | required: true 31 | - label: 32 | "I have joined the [Ory Community Slack](https://slack.ory.sh)." 33 | - label: 34 | "I am signed up to the [Ory Security Patch 35 | Newsletter](https://www.ory.sh/l/sign-up-newsletter)." 36 | id: checklist 37 | type: checkboxes 38 | - attributes: 39 | description: 40 | "Enter the slug or API URL of the affected Ory Network project. Leave 41 | empty when you are self-hosting." 42 | label: "Ory Network Project" 43 | placeholder: "https://.projects.oryapis.com" 44 | id: ory-network-project 45 | type: input 46 | - attributes: 47 | description: 48 | "Is your feature request related to a problem? Please describe." 49 | label: "Describe your problem" 50 | placeholder: 51 | "A clear and concise description of what the problem is. Ex. I'm always 52 | frustrated when [...]" 53 | id: problem 54 | type: textarea 55 | validations: 56 | required: true 57 | - attributes: 58 | description: | 59 | Describe the solution you'd like 60 | placeholder: | 61 | A clear and concise description of what you want to happen. 62 | label: "Describe your ideal solution" 63 | id: solution 64 | type: textarea 65 | validations: 66 | required: true 67 | - attributes: 68 | description: "Describe alternatives you've considered" 69 | label: "Workarounds or alternatives" 70 | id: alternatives 71 | type: textarea 72 | validations: 73 | required: true 74 | - attributes: 75 | description: "What version of our software are you running?" 76 | label: Version 77 | id: version 78 | type: input 79 | validations: 80 | required: true 81 | - attributes: 82 | description: 83 | "Add any other context or screenshots about the feature request here." 84 | label: Additional Context 85 | id: additional 86 | type: textarea 87 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/config.yml 3 | 4 | blank_issues_enabled: false 5 | contact_links: 6 | - name: Ory Buildbuf Action Forum 7 | url: https://github.com/orgs/ory/discussions 8 | about: 9 | Please ask and answer questions here, show your implementations and 10 | discuss ideas. 11 | - name: Ory Chat 12 | url: https://www.ory.sh/chat 13 | about: 14 | Hang out with other Ory community members to ask and answer questions. 15 | -------------------------------------------------------------------------------- /.github/auto_assign.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/auto_assign.yml 3 | 4 | # Set to true to add reviewers to pull requests 5 | addReviewers: true 6 | 7 | # Set to true to add assignees to pull requests 8 | addAssignees: true 9 | 10 | # A list of reviewers to be added to pull requests (GitHub user name) 11 | assignees: 12 | - ory/maintainers 13 | 14 | # A number of reviewers added to the pull request 15 | # Set 0 to add all the reviewers (default: 0) 16 | numberOfReviewers: 0 17 | -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/config.yml 3 | 4 | todo: 5 | keyword: "@todo" 6 | label: todo 7 | -------------------------------------------------------------------------------- /.github/workflows/closed_references.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml 3 | 4 | name: Closed Reference Notifier 5 | 6 | on: 7 | schedule: 8 | - cron: "0 0 * * *" 9 | workflow_dispatch: 10 | inputs: 11 | issueLimit: 12 | description: Max. number of issues to create 13 | required: true 14 | default: "5" 15 | 16 | jobs: 17 | find_closed_references: 18 | if: github.repository_owner == 'ory' 19 | runs-on: ubuntu-latest 20 | name: Find closed references 21 | steps: 22 | - uses: actions/checkout@v2 23 | - uses: actions/setup-node@v2-beta 24 | with: 25 | node-version: "14" 26 | - uses: ory/closed-reference-notifier@v1 27 | with: 28 | token: ${{ secrets.GITHUB_TOKEN }} 29 | issueLabels: upstream,good first issue,help wanted 30 | issueLimit: ${{ github.event.inputs.issueLimit || '5' }} 31 | -------------------------------------------------------------------------------- /.github/workflows/conventional_commits.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml 3 | 4 | name: Conventional commits 5 | 6 | # This GitHub CI Action enforces that pull request titles follow conventional commits. 7 | # More info at https://www.conventionalcommits.org. 8 | # 9 | # The Ory-wide defaults for commit titles and scopes are below. 10 | # Your repository can add/replace elements via a configuration file at the path below. 11 | # More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md 12 | 13 | on: 14 | pull_request_target: 15 | types: 16 | - edited 17 | - opened 18 | - ready_for_review 19 | - reopened 20 | # pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo 21 | 22 | jobs: 23 | main: 24 | name: Validate PR title 25 | runs-on: ubuntu-latest 26 | steps: 27 | - uses: actions/checkout@v3 28 | - id: config 29 | uses: ory/ci/conventional_commit_config@master 30 | with: 31 | config_path: .github/conventional_commits.json 32 | default_types: | 33 | feat 34 | fix 35 | revert 36 | docs 37 | style 38 | refactor 39 | test 40 | build 41 | autogen 42 | security 43 | ci 44 | chore 45 | default_scopes: | 46 | deps 47 | docs 48 | default_require_scope: false 49 | - uses: amannn/action-semantic-pull-request@v4 50 | env: 51 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 52 | with: 53 | types: ${{ steps.config.outputs.types }} 54 | scopes: ${{ steps.config.outputs.scopes }} 55 | requireScope: ${{ steps.config.outputs.requireScope }} 56 | subjectPattern: ^(?![A-Z]).+$ 57 | subjectPatternError: | 58 | The subject should start with a lowercase letter, yours is uppercase: 59 | "{subject}" 60 | -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- 1 | name: Format 2 | 3 | on: 4 | pull_request: 5 | push: 6 | 7 | jobs: 8 | format: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v3 12 | - uses: actions/setup-go@v3 13 | with: 14 | go-version: 1.19 15 | - run: make format 16 | - name: Indicate formatting issues 17 | run: git diff HEAD --exit-code --color 18 | -------------------------------------------------------------------------------- /.github/workflows/labels.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/labels.yml 3 | 4 | name: Synchronize Issue Labels 5 | 6 | on: 7 | workflow_dispatch: 8 | push: 9 | branches: 10 | - master 11 | 12 | jobs: 13 | milestone: 14 | if: github.repository_owner == 'ory' 15 | name: Synchronize Issue Labels 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Checkout 19 | uses: actions/checkout@v2 20 | - name: Synchronize Issue Labels 21 | uses: ory/label-sync-action@v0 22 | with: 23 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 24 | dry: false 25 | forced: true 26 | -------------------------------------------------------------------------------- /.github/workflows/licenses.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/licenses.yml 3 | 4 | name: Licenses 5 | 6 | on: 7 | pull_request: 8 | push: 9 | branches: 10 | - main 11 | - v3 12 | - master 13 | 14 | jobs: 15 | licenses: 16 | name: License compliance 17 | runs-on: ubuntu-latest 18 | steps: 19 | - name: Install script 20 | uses: ory/ci/licenses/setup@master 21 | with: 22 | token: ${{ secrets.ORY_BOT_PAT || secrets.GITHUB_TOKEN }} 23 | - name: Check licenses 24 | uses: ory/ci/licenses/check@master 25 | - name: Write, commit, push licenses 26 | uses: ory/ci/licenses/write@master 27 | if: 28 | ${{ github.ref == 'refs/heads/main' || github.ref == 29 | 'refs/heads/master' || github.ref == 'refs/heads/v3' }} 30 | with: 31 | author-email: 32 | ${{ secrets.ORY_BOT_PAT && 33 | '60093411+ory-bot@users.noreply.github.com' || 34 | format('{0}@users.noreply.github.com', github.actor) }} 35 | author-name: ${{ secrets.ORY_BOT_PAT && 'ory-bot' || github.actor }} 36 | -------------------------------------------------------------------------------- /.github/workflows/release_tagger.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/action/.github/workflows/release_tagger.yml 3 | 4 | name: Tag latest and major release 5 | 6 | on: 7 | release: 8 | types: [published, edited] 9 | 10 | jobs: 11 | actions-tagger: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: Actions-R-Us/actions-tagger@latest 15 | env: 16 | GITHUB_TOKEN: "${{ github.token }}" 17 | with: 18 | publish_latest_tag: true 19 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | # AUTO-GENERATED, DO NOT EDIT! 2 | # Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/stale.yml 3 | 4 | name: "Close Stale Issues" 5 | on: 6 | workflow_dispatch: 7 | schedule: 8 | - cron: "0 0 * * *" 9 | 10 | jobs: 11 | stale: 12 | if: github.repository_owner == 'ory' 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/stale@v4 16 | with: 17 | repo-token: ${{ secrets.GITHUB_TOKEN }} 18 | stale-issue-message: | 19 | Hello contributors! 20 | 21 | I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue 22 | 23 | - open a PR referencing and resolving the issue; 24 | - leave a comment on it and discuss ideas on how you could contribute towards resolving it; 25 | - leave a comment and describe in detail why this issue is critical for your use case; 26 | - open a new issue with updated details and a plan for resolving the issue. 27 | 28 | Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic. 29 | 30 | Unfortunately, [burnout](https://www.jeffgeerling.com/blog/2016/why-i-close-prs-oss-project-maintainer-notes) has become a [topic](https://opensource.guide/best-practices/#its-okay-to-hit-pause) of [concern](https://docs.brew.sh/Maintainers-Avoiding-Burnout) amongst open-source projects. 31 | 32 | It can lead to severe personal and health issues as well as [opening](https://haacked.com/archive/2019/05/28/maintainer-burnout/) catastrophic [attack vectors](https://www.gradiant.org/en/blog/open-source-maintainer-burnout-as-an-attack-surface/). 33 | 34 | The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone. 35 | 36 | If this issue was marked as stale erroneously you can exempt it by adding the `backlog` label, assigning someone, or setting a milestone for it. 37 | 38 | Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you! 39 | 40 | Thank you 🙏✌️ 41 | stale-issue-label: "stale" 42 | exempt-issue-labels: "bug,blocking,docs,backlog" 43 | days-before-stale: 365 44 | days-before-close: 30 45 | exempt-milestones: true 46 | exempt-assignees: true 47 | only-pr-labels: "stale" 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .bin 3 | -------------------------------------------------------------------------------- /.reference-ignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | docs 3 | CHANGELOG.md 4 | -------------------------------------------------------------------------------- /.reports/dep-licenses.csv: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Contributor Covenant Code of Conduct 5 | 6 | ## Our Pledge 7 | 8 | We as members, contributors, and leaders pledge to make participation in our 9 | community a harassment-free experience for everyone, regardless of age, body 10 | size, visible or invisible disability, ethnicity, sex characteristics, gender 11 | identity and expression, level of experience, education, socio-economic status, 12 | nationality, personal appearance, race, caste, color, religion, or sexual 13 | identity and orientation. 14 | 15 | We pledge to act and interact in ways that contribute to an open, welcoming, 16 | diverse, inclusive, and healthy community. 17 | 18 | ## Our Standards 19 | 20 | Examples of behavior that contributes to a positive environment for our 21 | community include: 22 | 23 | - Demonstrating empathy and kindness toward other people 24 | - Being respectful of differing opinions, viewpoints, and experiences 25 | - Giving and gracefully accepting constructive feedback 26 | - Accepting responsibility and apologizing to those affected by our mistakes, 27 | and learning from the experience 28 | - Focusing on what is best not just for us as individuals, but for the overall 29 | community 30 | 31 | Examples of unacceptable behavior include: 32 | 33 | - The use of sexualized language or imagery, and sexual attention or advances of 34 | any kind 35 | - Trolling, insulting or derogatory comments, and personal or political attacks 36 | - Public or private harassment 37 | - Publishing others' private information, such as a physical or email address, 38 | without their explicit permission 39 | - Other conduct which could reasonably be considered inappropriate in a 40 | professional setting 41 | 42 | ## Open Source Community Support 43 | 44 | Ory Open source software is collaborative and based on contributions by 45 | developers in the Ory community. There is no obligation from Ory to help with 46 | individual problems. If Ory open source software is used in production in a 47 | for-profit company or enterprise environment, we mandate a paid support contract 48 | where Ory is obligated under their service level agreements (SLAs) to offer a 49 | defined level of availability and responsibility. For more information about 50 | paid support please contact us at sales@ory.sh. 51 | 52 | ## Enforcement Responsibilities 53 | 54 | Community leaders are responsible for clarifying and enforcing our standards of 55 | acceptable behavior and will take appropriate and fair corrective action in 56 | response to any behavior that they deem inappropriate, threatening, offensive, 57 | or harmful. 58 | 59 | Community leaders have the right and responsibility to remove, edit, or reject 60 | comments, commits, code, wiki edits, issues, and other contributions that are 61 | not aligned to this Code of Conduct, and will communicate reasons for moderation 62 | decisions when appropriate. 63 | 64 | ## Scope 65 | 66 | This Code of Conduct applies within all community spaces, and also applies when 67 | an individual is officially representing the community in public spaces. 68 | Examples of representing our community include using an official e-mail address, 69 | posting via an official social media account, or acting as an appointed 70 | representative at an online or offline event. 71 | 72 | ## Enforcement 73 | 74 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 75 | reported to the community leaders responsible for enforcement at 76 | [office@ory.sh](mailto:office@ory.sh). All complaints will be reviewed and 77 | investigated promptly and fairly. 78 | 79 | All community leaders are obligated to respect the privacy and security of the 80 | reporter of any incident. 81 | 82 | ## Enforcement Guidelines 83 | 84 | Community leaders will follow these Community Impact Guidelines in determining 85 | the consequences for any action they deem in violation of this Code of Conduct: 86 | 87 | ### 1. Correction 88 | 89 | **Community Impact**: Use of inappropriate language or other behavior deemed 90 | unprofessional or unwelcome in the community. 91 | 92 | **Consequence**: A private, written warning from community leaders, providing 93 | clarity around the nature of the violation and an explanation of why the 94 | behavior was inappropriate. A public apology may be requested. 95 | 96 | ### 2. Warning 97 | 98 | **Community Impact**: A violation through a single incident or series of 99 | actions. 100 | 101 | **Consequence**: A warning with consequences for continued behavior. No 102 | interaction with the people involved, including unsolicited interaction with 103 | those enforcing the Code of Conduct, for a specified period of time. This 104 | includes avoiding interactions in community spaces as well as external channels 105 | like social media. Violating these terms may lead to a temporary or permanent 106 | ban. 107 | 108 | ### 3. Temporary Ban 109 | 110 | **Community Impact**: A serious violation of community standards, including 111 | sustained inappropriate behavior. 112 | 113 | **Consequence**: A temporary ban from any sort of interaction or public 114 | communication with the community for a specified period of time. No public or 115 | private interaction with the people involved, including unsolicited interaction 116 | with those enforcing the Code of Conduct, is allowed during this period. 117 | Violating these terms may lead to a permanent ban. 118 | 119 | ### 4. Permanent Ban 120 | 121 | **Community Impact**: Demonstrating a pattern of violation of community 122 | standards, including sustained inappropriate behavior, harassment of an 123 | individual, or aggression toward or disparagement of classes of individuals. 124 | 125 | **Consequence**: A permanent ban from any sort of public interaction within the 126 | community. 127 | 128 | ## Attribution 129 | 130 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 131 | version 2.1, available at 132 | [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. 133 | 134 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 135 | enforcement ladder][mozilla coc]. 136 | 137 | For answers to common questions about this code of conduct, see the FAQ at 138 | [https://www.contributor-covenant.org/faq][faq]. Translations are available at 139 | [https://www.contributor-covenant.org/translations][translations]. 140 | 141 | [homepage]: https://www.contributor-covenant.org 142 | [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html 143 | [mozilla coc]: https://github.com/mozilla/diversity 144 | [faq]: https://www.contributor-covenant.org/faq 145 | [translations]: https://www.contributor-covenant.org/translations 146 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Contribute to Ory Buildbuf Action 5 | 6 | 7 | 8 | 9 | - [Introduction](#introduction) 10 | - [FAQ](#faq) 11 | - [How can I contribute?](#how-can-i-contribute) 12 | - [Communication](#communication) 13 | - [Contribute examples or community projects](#contribute-examples-or-community-projects) 14 | - [Contribute code](#contribute-code) 15 | - [Contribute documentation](#contribute-documentation) 16 | - [Disclosing vulnerabilities](#disclosing-vulnerabilities) 17 | - [Code style](#code-style) 18 | - [Working with forks](#working-with-forks) 19 | - [Conduct](#conduct) 20 | 21 | 22 | 23 | ## Introduction 24 | 25 | _Please note_: We take Ory Buildbuf Action's security and our users' trust very 26 | seriously. If you believe you have found a security issue in Ory Buildbuf 27 | Action, please disclose it by contacting us at security@ory.sh. 28 | 29 | There are many ways in which you can contribute. The goal of this document is to 30 | provide a high-level overview of how you can get involved in Ory. 31 | 32 | As a potential contributor, your changes and ideas are welcome at any hour of 33 | the day or night, on weekdays, weekends, and holidays. Please do not ever 34 | hesitate to ask a question or send a pull request. 35 | 36 | If you are unsure, just ask or submit the issue or pull request anyways. You 37 | won't be yelled at for giving it your best effort. The worst that can happen is 38 | that you'll be politely asked to change something. We appreciate any sort of 39 | contributions and don't want a wall of rules to get in the way of that. 40 | 41 | That said, if you want to ensure that a pull request is likely to be merged, 42 | talk to us! You can find out our thoughts and ensure that your contribution 43 | won't clash with Ory Buildbuf Action's direction. A great way to do this is via 44 | [Ory Buildbuf Action Discussions](https://github.com/orgs/ory/discussions) or 45 | the [Ory Chat](https://www.ory.sh/chat). 46 | 47 | ## FAQ 48 | 49 | - I am new to the community. Where can I find the 50 | [Ory Community Code of Conduct?](https://github.com/ory/build-buf-action/blob/master/CODE_OF_CONDUCT.md) 51 | 52 | - I have a question. Where can I get 53 | [answers to questions regarding Ory Buildbuf Action?](#communication) 54 | 55 | - I would like to contribute but I am not sure how. Are there 56 | [easy ways to contribute?](#how-can-i-contribute) 57 | [Or good first issues?](https://github.com/search?l=&o=desc&q=label%3A%22help+wanted%22+label%3A%22good+first+issue%22+is%3Aopen+user%3Aory+user%3Aory-corp&s=updated&type=Issues) 58 | 59 | - I want to talk to other Ory Buildbuf Action users. 60 | [How can I become a part of the community?](#communication) 61 | 62 | - I would like to know what I am agreeing to when I contribute to Ory Buildbuf 63 | Action. Does Ory have 64 | [a Contributors License Agreement?](https://cla-assistant.io/ory/build-buf-action) 65 | 66 | - I would like updates about new versions of Ory Buildbuf Action. 67 | [How are new releases announced?](https://www.ory.sh/l/sign-up-newsletter) 68 | 69 | ## How can I contribute? 70 | 71 | If you want to start to contribute code right away, take a look at the 72 | [list of good first issues](https://github.com/ory/build-buf-action/labels/good%20first%20issue). 73 | 74 | There are many other ways you can contribute. Here are a few things you can do 75 | to help out: 76 | 77 | - **Give us a star.** It may not seem like much, but it really makes a 78 | difference. This is something that everyone can do to help out Ory Buildbuf 79 | Action. Github stars help the project gain visibility and stand out. 80 | 81 | - **Join the community.** Sometimes helping people can be as easy as listening 82 | to their problems and offering a different perspective. Join our Slack, have a 83 | look at discussions in the forum and take part in community events. More info 84 | on this in [Communication](#communication). 85 | 86 | - **Answer discussions.** At all times, there are several unanswered discussions 87 | on GitHub. You can see an 88 | [overview here](https://github.com/discussions?discussions_q=is%3Aunanswered+org%3Aory+sort%3Aupdated-desc). 89 | If you think you know an answer or can provide some information that might 90 | help, please share it! Bonus: You get GitHub achievements for answered 91 | discussions. 92 | 93 | - **Help with open issues.** We have a lot of open issues for Ory Buildbuf 94 | Action and some of them may lack necessary information, some are duplicates of 95 | older issues. You can help out by guiding people through the process of 96 | filling out the issue template, asking for clarifying information or pointing 97 | them to existing issues that match their description of the problem. 98 | 99 | - **Review documentation changes.** Most documentation just needs a review for 100 | proper spelling and grammar. If you think a document can be improved in any 101 | way, feel free to hit the `edit` button at the top of the page. More info on 102 | contributing to the documentation [here](#contribute-documentation). 103 | 104 | - **Help with tests.** Pull requests may lack proper tests or test plans. These 105 | are needed for the change to be implemented safely. 106 | 107 | ## Communication 108 | 109 | We use [Slack](https://www.ory.sh/chat). You are welcome to drop in and ask 110 | questions, discuss bugs and feature requests, talk to other users of Ory, etc. 111 | 112 | Check out 113 | [Ory Buildbuf Action Discussions](https://github.com/orgs/ory/discussions). This 114 | is a great place for in-depth discussions and lots of code examples, logs and 115 | similar data. 116 | 117 | You can also join our community calls if you want to speak to the Ory team 118 | directly or ask some questions. You can find more info and participate in 119 | [Slack](https://www.ory.sh/chat) in the #community-call channel. 120 | 121 | If you want to receive regular notifications about updates to Ory Buildbuf 122 | Action, consider joining the mailing list. We will _only_ send you vital 123 | information on the projects that you are interested in. 124 | 125 | Also, [follow us on Twitter](https://twitter.com/orycorp). 126 | 127 | ## Contribute examples or community projects 128 | 129 | One of the most impactful ways to contribute is by adding code examples or other 130 | Ory-related code. You can find an overview of community code in the 131 | [awesome-ory](https://github.com/ory/awesome-ory) repository. 132 | 133 | _If you would like to contribute a new example, we would love to hear from you!_ 134 | 135 | Please [open a pull request at awesome-ory](https://github.com/ory/awesome-ory/) 136 | to add your example or Ory-related project to the awesome-ory README. 137 | 138 | ## Contribute code 139 | 140 | Unless you are fixing a known bug, we **strongly** recommend discussing it with 141 | the core team via a GitHub issue or [in our chat](https://www.ory.sh/chat) 142 | before getting started to ensure your work is consistent with Ory Buildbuf 143 | Action's roadmap and architecture. 144 | 145 | All contributions are made via pull requests. To make a pull request, you will 146 | need a GitHub account; if you are unclear on this process, see GitHub's 147 | documentation on [forking](https://help.github.com/articles/fork-a-repo) and 148 | [pull requests](https://help.github.com/articles/using-pull-requests). Pull 149 | requests should be targeted at the `master` branch. Before creating a pull 150 | request, go through this checklist: 151 | 152 | 1. Create a feature branch off of `master` so that changes do not get mixed up. 153 | 1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local 154 | changes against the `master` branch. 155 | 1. Run the full project test suite with the `go test -tags sqlite ./...` (or 156 | equivalent) command and confirm that it passes. 157 | 1. Run `make format` 158 | 1. Add a descriptive prefix to commits. This ensures a uniform commit history 159 | and helps structure the changelog. Please refer to this 160 | [Convential Commits configuration](https://github.com/ory/build-buf-action/blob/master/.github/workflows/conventional_commits.yml) 161 | for the list of accepted prefixes. You can read more about the Conventional 162 | Commit specification 163 | [at their site](https://www.conventionalcommits.org/en/v1.0.0/). 164 | 165 | If a pull request is not ready to be reviewed yet 166 | [it should be marked as a "Draft"](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request). 167 | 168 | Before your contributions can be reviewed you need to sign our 169 | [Contributor License Agreement](https://cla-assistant.io/ory/build-buf-action). 170 | 171 | This agreement defines the terms under which your code is contributed to Ory. 172 | More specifically it declares that you have the right to, and actually do, grant 173 | us the rights to use your contribution. You can see the Apache 2.0 license under 174 | which our projects are published 175 | [here](https://github.com/ory/meta/blob/master/LICENSE). 176 | 177 | When pull requests fail the automated testing stages (for example unit or E2E 178 | tests), authors are expected to update their pull requests to address the 179 | failures until the tests pass. 180 | 181 | Pull requests eligible for review 182 | 183 | 1. follow the repository's code formatting conventions; 184 | 2. include tests that prove that the change works as intended and does not add 185 | regressions; 186 | 3. document the changes in the code and/or the project's documentation; 187 | 4. pass the CI pipeline; 188 | 5. have signed our 189 | [Contributor License Agreement](https://cla-assistant.io/ory/build-buf-action); 190 | 6. include a proper git commit message following the 191 | [Conventional Commit Specification](https://www.conventionalcommits.org/en/v1.0.0/). 192 | 193 | If all of these items are checked, the pull request is ready to be reviewed and 194 | you should change the status to "Ready for review" and 195 | [request review from a maintainer](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review). 196 | 197 | Reviewers will approve the pull request once they are satisfied with the patch. 198 | 199 | ## Contribute documentation 200 | 201 | Please provide documentation when changing, removing, or adding features. All 202 | Ory Documentation resides in the 203 | [Ory documentation repository](https://github.com/ory/docs/). For further 204 | instructions please head over to the Ory Documentation 205 | [README.md](https://github.com/ory/docs/blob/master/README.md). 206 | 207 | ## Disclosing vulnerabilities 208 | 209 | Please disclose vulnerabilities exclusively to 210 | [security@ory.sh](mailto:security@ory.sh). Do not use GitHub issues. 211 | 212 | ## Code style 213 | 214 | Please run `make format` to format all source code following the Ory standard. 215 | 216 | ### Working with forks 217 | 218 | ```bash 219 | # First you clone the original repository 220 | git clone git@github.com:ory/ory/build-buf-action.git 221 | 222 | # Next you add a git remote that is your fork: 223 | git remote add fork git@github.com:/ory/build-buf-action.git 224 | 225 | # Next you fetch the latest changes from origin for master: 226 | git fetch origin 227 | git checkout master 228 | git pull --rebase 229 | 230 | # Next you create a new feature branch off of master: 231 | git checkout my-feature-branch 232 | 233 | # Now you do your work and commit your changes: 234 | git add -A 235 | git commit -a -m "fix: this is the subject line" -m "This is the body line. Closes #123" 236 | 237 | # And the last step is pushing this to your fork 238 | git push -u fork my-feature-branch 239 | ``` 240 | 241 | Now go to the project's GitHub Pull Request page and click "New pull request" 242 | 243 | ## Conduct 244 | 245 | Whether you are a regular contributor or a newcomer, we care about making this 246 | community a safe place for you and we've got your back. 247 | 248 | [Ory Community Code of Conduct](https://github.com/ory/build-buf-action/blob/master/CODE_OF_CONDUCT.md) 249 | 250 | We welcome discussion about creating a welcoming, safe, and productive 251 | environment for the community. If you have any questions, feedback, or concerns 252 | [please let us know](https://www.ory.sh/chat). 253 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | format: .bin/ory node_modules # formats the source code 2 | .bin/ory dev headers copyright --type=open-source 3 | npm exec -- prettier --write . 4 | 5 | help: # prints all make targets 6 | cat Makefile | grep '^[^ ]*:' | grep -v '^\.bin/' | grep -v '.SILENT:' | grep -v '^node_modules:' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t 7 | 8 | licenses: .bin/licenses node_modules # checks open-source licenses 9 | .bin/licenses 10 | 11 | .bin/licenses: Makefile 12 | curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh 13 | 14 | .bin/ory: Makefile 15 | curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.48 16 | touch .bin/ory 17 | 18 | node_modules: package-lock.json 19 | npm ci 20 | touch node_modules 21 | 22 | 23 | .SILENT: 24 | .DEFAULT_GOAL := help 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Build Buf GitHub Action 2 | 3 | A GitHub action that provides [buf](https://github.com/bufbuild/buf). 4 | 5 | ## Usage 6 | 7 | ```yaml 8 | name: Generate and Lint buf 9 | 10 | on: 11 | push: 12 | branches: 13 | - "*" 14 | workflow_dispatch: 15 | 16 | jobs: 17 | lint-build: 18 | name: buf check lint 19 | runs-on: ubuntu-latest 20 | steps: 21 | - uses: actions/checkout@v2 22 | - uses: ory/build-buf-action@v0 23 | with: 24 | bufVersion: v0.31.1 25 | bufArgs: check lint --config buf/api/buf.yaml 26 | - uses: ory/build-buf-action@v0 27 | with: 28 | bufVersion: v0.31.1 29 | protocPlugins: 30 | go@v1.25.0 go-grpc@v1.0.1 python_betterproto@2.0.0b2 ts-proto@1.39.0 31 | grpc-java@1.34.0 32 | bufArgs: 33 | generate --config buf/api/buf.yaml --template buf/api/buf.gen.yaml 34 | # Don't forget to commit and push after this step 35 | ``` 36 | 37 | ## Plugins 38 | 39 | `buf` requires you to install the protoc plugins for the languages you want to 40 | generate. Currently, the following plugins are available in the action: 41 | 42 | - [go](https://github.com/protocolbuffers/protobuf-go) 43 | - [go-grpc](https://github.com/grpc/grpc-go) 44 | - [python_betterproto](https://github.com/danielgtaylor/python-betterproto) 45 | - [ts-proto](https://github.com/stephenh/ts-proto) 46 | - [grpc-java](https://github.com/grpc/grpc-java) 47 | 48 | Please open a PR to add install scripts for any missing plugin. 49 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Ory Security Policy 5 | 6 | This policy outlines Ory's security commitments and practices for users across 7 | different licensing and deployment models. 8 | 9 | To learn more about Ory's security service level agreements (SLAs) and 10 | processes, please [contact us](https://www.ory.sh/contact/). 11 | 12 | ## Ory Network Users 13 | 14 | - **Security SLA:** Ory addresses vulnerabilities in the Ory Network according 15 | to the following guidelines: 16 | - Critical: Typically addressed within 14 days. 17 | - High: Typically addressed within 30 days. 18 | - Medium: Typically addressed within 90 days. 19 | - Low: Typically addressed within 180 days. 20 | - Informational: Addressed as necessary. 21 | These timelines are targets and may vary based on specific circumstances. 22 | - **Release Schedule:** Updates are deployed to the Ory Network as 23 | vulnerabilities are resolved. 24 | - **Version Support:** The Ory Network always runs the latest version, ensuring 25 | up-to-date security fixes. 26 | 27 | ## Ory Enterprise License Customers 28 | 29 | - **Security SLA:** Ory addresses vulnerabilities based on their severity: 30 | - Critical: Typically addressed within 14 days. 31 | - High: Typically addressed within 30 days. 32 | - Medium: Typically addressed within 90 days. 33 | - Low: Typically addressed within 180 days. 34 | - Informational: Addressed as necessary. 35 | These timelines are targets and may vary based on specific circumstances. 36 | - **Release Schedule:** Updates are made available as vulnerabilities are 37 | resolved. Ory works closely with enterprise customers to ensure timely updates 38 | that align with their operational needs. 39 | - **Version Support:** Ory may provide security support for multiple versions, 40 | depending on the terms of the enterprise agreement. 41 | 42 | ## Apache 2.0 License Users 43 | 44 | - **Security SLA:** Ory does not provide a formal SLA for security issues under 45 | the Apache 2.0 License. 46 | - **Release Schedule:** Releases prioritize new functionality and include fixes 47 | for known security vulnerabilities at the time of release. While major 48 | releases typically occur one to two times per year, Ory does not guarantee a 49 | fixed release schedule. 50 | - **Version Support:** Security patches are only provided for the latest release 51 | version. 52 | 53 | ## Reporting a Vulnerability 54 | 55 | For details on how to report security vulnerabilities, visit our 56 | [security policy documentation](https://www.ory.sh/docs/ecosystem/security). 57 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: Build Buf 2 | description: A GitHub action that provides buildbuf/buf 3 | 4 | inputs: 5 | bufVersion: 6 | description: The version of buf to use (as in their GitHub releases) 7 | default: v0.31.1 8 | required: false 9 | bufArgs: 10 | description: The arguments to pass to buf 11 | default: check lint 12 | required: false 13 | protocPlugins: 14 | description: 15 | The protoc language plugins to install, space separated. See README for 16 | supported plugins. 17 | default: "none" 18 | required: false 19 | 20 | runs: 21 | using: composite 22 | steps: 23 | # requires actions within actions as tracked in https://github.com/actions/runner/issues/646 24 | # - uses: actions/cache@v2 25 | - name: Maybe install and definitely invoke buf 26 | shell: bash 27 | run: | 28 | REPO_DIR="$(pwd)" 29 | cd ${{ github.action_path }} 30 | source scripts/install-buf.sh ${{ inputs.bufVersion }} "${{ inputs.protocPlugins }}" 31 | cd $REPO_DIR 32 | buf ${{ inputs.bufArgs }} 33 | 34 | branding: 35 | color: blue 36 | icon: box 37 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "build-buf-action", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "name": "build-buf-action", 8 | "devDependencies": { 9 | "license-checker": "^25.0.1", 10 | "ory-prettier-styles": "1.3.0", 11 | "prettier": "^2.7.1", 12 | "prettier-plugin-packagejson": "^2.2.18" 13 | } 14 | }, 15 | "node_modules/@nodelib/fs.scandir": { 16 | "version": "2.1.5", 17 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 18 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 19 | "dev": true, 20 | "dependencies": { 21 | "@nodelib/fs.stat": "2.0.5", 22 | "run-parallel": "^1.1.9" 23 | }, 24 | "engines": { 25 | "node": ">= 8" 26 | } 27 | }, 28 | "node_modules/@nodelib/fs.stat": { 29 | "version": "2.0.5", 30 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 31 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 32 | "dev": true, 33 | "engines": { 34 | "node": ">= 8" 35 | } 36 | }, 37 | "node_modules/@nodelib/fs.walk": { 38 | "version": "1.2.8", 39 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 40 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 41 | "dev": true, 42 | "dependencies": { 43 | "@nodelib/fs.scandir": "2.1.5", 44 | "fastq": "^1.6.0" 45 | }, 46 | "engines": { 47 | "node": ">= 8" 48 | } 49 | }, 50 | "node_modules/@types/glob": { 51 | "version": "7.2.0", 52 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", 53 | "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", 54 | "dev": true, 55 | "dependencies": { 56 | "@types/minimatch": "*", 57 | "@types/node": "*" 58 | } 59 | }, 60 | "node_modules/@types/minimatch": { 61 | "version": "5.1.2", 62 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", 63 | "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", 64 | "dev": true 65 | }, 66 | "node_modules/@types/node": { 67 | "version": "18.7.15", 68 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.15.tgz", 69 | "integrity": "sha512-XnjpaI8Bgc3eBag2Aw4t2Uj/49lLBSStHWfqKvIuXD7FIrZyMLWp8KuAFHAqxMZYTF9l08N1ctUn9YNybZJVmQ==", 70 | "dev": true 71 | }, 72 | "node_modules/abbrev": { 73 | "version": "1.1.1", 74 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 75 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 76 | "dev": true 77 | }, 78 | "node_modules/ansi-styles": { 79 | "version": "3.2.1", 80 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 81 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 82 | "dev": true, 83 | "dependencies": { 84 | "color-convert": "^1.9.0" 85 | }, 86 | "engines": { 87 | "node": ">=4" 88 | } 89 | }, 90 | "node_modules/array-find-index": { 91 | "version": "1.0.2", 92 | "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", 93 | "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", 94 | "dev": true, 95 | "engines": { 96 | "node": ">=0.10.0" 97 | } 98 | }, 99 | "node_modules/array-union": { 100 | "version": "2.1.0", 101 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 102 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 103 | "dev": true, 104 | "engines": { 105 | "node": ">=8" 106 | } 107 | }, 108 | "node_modules/asap": { 109 | "version": "2.0.6", 110 | "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", 111 | "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", 112 | "dev": true 113 | }, 114 | "node_modules/balanced-match": { 115 | "version": "1.0.2", 116 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 117 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 118 | "dev": true 119 | }, 120 | "node_modules/brace-expansion": { 121 | "version": "1.1.11", 122 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 123 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 124 | "dev": true, 125 | "dependencies": { 126 | "balanced-match": "^1.0.0", 127 | "concat-map": "0.0.1" 128 | } 129 | }, 130 | "node_modules/braces": { 131 | "version": "3.0.2", 132 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 133 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 134 | "dev": true, 135 | "dependencies": { 136 | "fill-range": "^7.0.1" 137 | }, 138 | "engines": { 139 | "node": ">=8" 140 | } 141 | }, 142 | "node_modules/chalk": { 143 | "version": "2.4.2", 144 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 145 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 146 | "dev": true, 147 | "dependencies": { 148 | "ansi-styles": "^3.2.1", 149 | "escape-string-regexp": "^1.0.5", 150 | "supports-color": "^5.3.0" 151 | }, 152 | "engines": { 153 | "node": ">=4" 154 | } 155 | }, 156 | "node_modules/color-convert": { 157 | "version": "1.9.3", 158 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 159 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 160 | "dev": true, 161 | "dependencies": { 162 | "color-name": "1.1.3" 163 | } 164 | }, 165 | "node_modules/color-name": { 166 | "version": "1.1.3", 167 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 168 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", 169 | "dev": true 170 | }, 171 | "node_modules/concat-map": { 172 | "version": "0.0.1", 173 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 174 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 175 | "dev": true 176 | }, 177 | "node_modules/debug": { 178 | "version": "3.2.7", 179 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 180 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 181 | "dev": true, 182 | "dependencies": { 183 | "ms": "^2.1.1" 184 | } 185 | }, 186 | "node_modules/debuglog": { 187 | "version": "1.0.1", 188 | "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", 189 | "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", 190 | "dev": true, 191 | "engines": { 192 | "node": "*" 193 | } 194 | }, 195 | "node_modules/detect-indent": { 196 | "version": "6.1.0", 197 | "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", 198 | "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", 199 | "dev": true, 200 | "engines": { 201 | "node": ">=8" 202 | } 203 | }, 204 | "node_modules/detect-newline": { 205 | "version": "3.1.0", 206 | "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", 207 | "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", 208 | "dev": true, 209 | "engines": { 210 | "node": ">=8" 211 | } 212 | }, 213 | "node_modules/dezalgo": { 214 | "version": "1.0.4", 215 | "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", 216 | "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", 217 | "dev": true, 218 | "dependencies": { 219 | "asap": "^2.0.0", 220 | "wrappy": "1" 221 | } 222 | }, 223 | "node_modules/dir-glob": { 224 | "version": "3.0.1", 225 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 226 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 227 | "dev": true, 228 | "dependencies": { 229 | "path-type": "^4.0.0" 230 | }, 231 | "engines": { 232 | "node": ">=8" 233 | } 234 | }, 235 | "node_modules/escape-string-regexp": { 236 | "version": "1.0.5", 237 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 238 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 239 | "dev": true, 240 | "engines": { 241 | "node": ">=0.8.0" 242 | } 243 | }, 244 | "node_modules/fast-glob": { 245 | "version": "3.2.11", 246 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", 247 | "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", 248 | "dev": true, 249 | "dependencies": { 250 | "@nodelib/fs.stat": "^2.0.2", 251 | "@nodelib/fs.walk": "^1.2.3", 252 | "glob-parent": "^5.1.2", 253 | "merge2": "^1.3.0", 254 | "micromatch": "^4.0.4" 255 | }, 256 | "engines": { 257 | "node": ">=8.6.0" 258 | } 259 | }, 260 | "node_modules/fastq": { 261 | "version": "1.13.0", 262 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 263 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 264 | "dev": true, 265 | "dependencies": { 266 | "reusify": "^1.0.4" 267 | } 268 | }, 269 | "node_modules/fill-range": { 270 | "version": "7.0.1", 271 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 272 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 273 | "dev": true, 274 | "dependencies": { 275 | "to-regex-range": "^5.0.1" 276 | }, 277 | "engines": { 278 | "node": ">=8" 279 | } 280 | }, 281 | "node_modules/fs.realpath": { 282 | "version": "1.0.0", 283 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 284 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 285 | "dev": true 286 | }, 287 | "node_modules/function-bind": { 288 | "version": "1.1.1", 289 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 290 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 291 | "dev": true 292 | }, 293 | "node_modules/git-hooks-list": { 294 | "version": "1.0.3", 295 | "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-1.0.3.tgz", 296 | "integrity": "sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==", 297 | "dev": true, 298 | "funding": { 299 | "url": "https://github.com/fisker/git-hooks-list?sponsor=1" 300 | } 301 | }, 302 | "node_modules/glob": { 303 | "version": "7.2.3", 304 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 305 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 306 | "dev": true, 307 | "dependencies": { 308 | "fs.realpath": "^1.0.0", 309 | "inflight": "^1.0.4", 310 | "inherits": "2", 311 | "minimatch": "^3.1.1", 312 | "once": "^1.3.0", 313 | "path-is-absolute": "^1.0.0" 314 | }, 315 | "engines": { 316 | "node": "*" 317 | }, 318 | "funding": { 319 | "url": "https://github.com/sponsors/isaacs" 320 | } 321 | }, 322 | "node_modules/glob-parent": { 323 | "version": "5.1.2", 324 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 325 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 326 | "dev": true, 327 | "dependencies": { 328 | "is-glob": "^4.0.1" 329 | }, 330 | "engines": { 331 | "node": ">= 6" 332 | } 333 | }, 334 | "node_modules/globby": { 335 | "version": "10.0.0", 336 | "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.0.tgz", 337 | "integrity": "sha512-3LifW9M4joGZasyYPz2A1U74zbC/45fvpXUvO/9KbSa+VV0aGZarWkfdgKyR9sExNP0t0x0ss/UMJpNpcaTspw==", 338 | "dev": true, 339 | "dependencies": { 340 | "@types/glob": "^7.1.1", 341 | "array-union": "^2.1.0", 342 | "dir-glob": "^3.0.1", 343 | "fast-glob": "^3.0.3", 344 | "glob": "^7.1.3", 345 | "ignore": "^5.1.1", 346 | "merge2": "^1.2.3", 347 | "slash": "^3.0.0" 348 | }, 349 | "engines": { 350 | "node": ">=8" 351 | } 352 | }, 353 | "node_modules/graceful-fs": { 354 | "version": "4.2.10", 355 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 356 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", 357 | "dev": true 358 | }, 359 | "node_modules/has": { 360 | "version": "1.0.3", 361 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 362 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 363 | "dev": true, 364 | "dependencies": { 365 | "function-bind": "^1.1.1" 366 | }, 367 | "engines": { 368 | "node": ">= 0.4.0" 369 | } 370 | }, 371 | "node_modules/has-flag": { 372 | "version": "3.0.0", 373 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 374 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 375 | "dev": true, 376 | "engines": { 377 | "node": ">=4" 378 | } 379 | }, 380 | "node_modules/hosted-git-info": { 381 | "version": "2.8.9", 382 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", 383 | "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", 384 | "dev": true 385 | }, 386 | "node_modules/ignore": { 387 | "version": "5.2.0", 388 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 389 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 390 | "dev": true, 391 | "engines": { 392 | "node": ">= 4" 393 | } 394 | }, 395 | "node_modules/inflight": { 396 | "version": "1.0.6", 397 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 398 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 399 | "dev": true, 400 | "dependencies": { 401 | "once": "^1.3.0", 402 | "wrappy": "1" 403 | } 404 | }, 405 | "node_modules/inherits": { 406 | "version": "2.0.4", 407 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 408 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 409 | "dev": true 410 | }, 411 | "node_modules/is-core-module": { 412 | "version": "2.10.0", 413 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz", 414 | "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==", 415 | "dev": true, 416 | "dependencies": { 417 | "has": "^1.0.3" 418 | }, 419 | "funding": { 420 | "url": "https://github.com/sponsors/ljharb" 421 | } 422 | }, 423 | "node_modules/is-extglob": { 424 | "version": "2.1.1", 425 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 426 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 427 | "dev": true, 428 | "engines": { 429 | "node": ">=0.10.0" 430 | } 431 | }, 432 | "node_modules/is-glob": { 433 | "version": "4.0.3", 434 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 435 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 436 | "dev": true, 437 | "dependencies": { 438 | "is-extglob": "^2.1.1" 439 | }, 440 | "engines": { 441 | "node": ">=0.10.0" 442 | } 443 | }, 444 | "node_modules/is-number": { 445 | "version": "7.0.0", 446 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 447 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 448 | "dev": true, 449 | "engines": { 450 | "node": ">=0.12.0" 451 | } 452 | }, 453 | "node_modules/is-plain-obj": { 454 | "version": "2.1.0", 455 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 456 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 457 | "dev": true, 458 | "engines": { 459 | "node": ">=8" 460 | } 461 | }, 462 | "node_modules/json-parse-even-better-errors": { 463 | "version": "2.3.1", 464 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", 465 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", 466 | "dev": true 467 | }, 468 | "node_modules/license-checker": { 469 | "version": "25.0.1", 470 | "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", 471 | "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", 472 | "dev": true, 473 | "dependencies": { 474 | "chalk": "^2.4.1", 475 | "debug": "^3.1.0", 476 | "mkdirp": "^0.5.1", 477 | "nopt": "^4.0.1", 478 | "read-installed": "~4.0.3", 479 | "semver": "^5.5.0", 480 | "spdx-correct": "^3.0.0", 481 | "spdx-expression-parse": "^3.0.0", 482 | "spdx-satisfies": "^4.0.0", 483 | "treeify": "^1.1.0" 484 | }, 485 | "bin": { 486 | "license-checker": "bin/license-checker" 487 | } 488 | }, 489 | "node_modules/merge2": { 490 | "version": "1.4.1", 491 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 492 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 493 | "dev": true, 494 | "engines": { 495 | "node": ">= 8" 496 | } 497 | }, 498 | "node_modules/micromatch": { 499 | "version": "4.0.5", 500 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", 501 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", 502 | "dev": true, 503 | "dependencies": { 504 | "braces": "^3.0.2", 505 | "picomatch": "^2.3.1" 506 | }, 507 | "engines": { 508 | "node": ">=8.6" 509 | } 510 | }, 511 | "node_modules/minimatch": { 512 | "version": "3.1.2", 513 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 514 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 515 | "dev": true, 516 | "dependencies": { 517 | "brace-expansion": "^1.1.7" 518 | }, 519 | "engines": { 520 | "node": "*" 521 | } 522 | }, 523 | "node_modules/minimist": { 524 | "version": "1.2.7", 525 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 526 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", 527 | "dev": true, 528 | "funding": { 529 | "url": "https://github.com/sponsors/ljharb" 530 | } 531 | }, 532 | "node_modules/mkdirp": { 533 | "version": "0.5.6", 534 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 535 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 536 | "dev": true, 537 | "dependencies": { 538 | "minimist": "^1.2.6" 539 | }, 540 | "bin": { 541 | "mkdirp": "bin/cmd.js" 542 | } 543 | }, 544 | "node_modules/ms": { 545 | "version": "2.1.3", 546 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 547 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 548 | "dev": true 549 | }, 550 | "node_modules/nopt": { 551 | "version": "4.0.3", 552 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", 553 | "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", 554 | "dev": true, 555 | "dependencies": { 556 | "abbrev": "1", 557 | "osenv": "^0.1.4" 558 | }, 559 | "bin": { 560 | "nopt": "bin/nopt.js" 561 | } 562 | }, 563 | "node_modules/normalize-package-data": { 564 | "version": "2.5.0", 565 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 566 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 567 | "dev": true, 568 | "dependencies": { 569 | "hosted-git-info": "^2.1.4", 570 | "resolve": "^1.10.0", 571 | "semver": "2 || 3 || 4 || 5", 572 | "validate-npm-package-license": "^3.0.1" 573 | } 574 | }, 575 | "node_modules/npm-normalize-package-bin": { 576 | "version": "1.0.1", 577 | "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", 578 | "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", 579 | "dev": true 580 | }, 581 | "node_modules/once": { 582 | "version": "1.4.0", 583 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 584 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 585 | "dev": true, 586 | "dependencies": { 587 | "wrappy": "1" 588 | } 589 | }, 590 | "node_modules/ory-prettier-styles": { 591 | "version": "1.3.0", 592 | "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", 593 | "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", 594 | "dev": true 595 | }, 596 | "node_modules/os-homedir": { 597 | "version": "1.0.2", 598 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", 599 | "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", 600 | "dev": true, 601 | "engines": { 602 | "node": ">=0.10.0" 603 | } 604 | }, 605 | "node_modules/os-tmpdir": { 606 | "version": "1.0.2", 607 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 608 | "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", 609 | "dev": true, 610 | "engines": { 611 | "node": ">=0.10.0" 612 | } 613 | }, 614 | "node_modules/osenv": { 615 | "version": "0.1.5", 616 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", 617 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", 618 | "dev": true, 619 | "dependencies": { 620 | "os-homedir": "^1.0.0", 621 | "os-tmpdir": "^1.0.0" 622 | } 623 | }, 624 | "node_modules/path-is-absolute": { 625 | "version": "1.0.1", 626 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 627 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 628 | "dev": true, 629 | "engines": { 630 | "node": ">=0.10.0" 631 | } 632 | }, 633 | "node_modules/path-parse": { 634 | "version": "1.0.7", 635 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 636 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 637 | "dev": true 638 | }, 639 | "node_modules/path-type": { 640 | "version": "4.0.0", 641 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 642 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 643 | "dev": true, 644 | "engines": { 645 | "node": ">=8" 646 | } 647 | }, 648 | "node_modules/picomatch": { 649 | "version": "2.3.1", 650 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 651 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 652 | "dev": true, 653 | "engines": { 654 | "node": ">=8.6" 655 | }, 656 | "funding": { 657 | "url": "https://github.com/sponsors/jonschlinkert" 658 | } 659 | }, 660 | "node_modules/prettier": { 661 | "version": "2.7.1", 662 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", 663 | "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", 664 | "dev": true, 665 | "bin": { 666 | "prettier": "bin-prettier.js" 667 | }, 668 | "engines": { 669 | "node": ">=10.13.0" 670 | }, 671 | "funding": { 672 | "url": "https://github.com/prettier/prettier?sponsor=1" 673 | } 674 | }, 675 | "node_modules/prettier-plugin-packagejson": { 676 | "version": "2.2.18", 677 | "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.2.18.tgz", 678 | "integrity": "sha512-iBjQ3IY6IayFrQHhXvg+YvKprPUUiIJ04Vr9+EbeQPfwGajznArIqrN33c5bi4JcIvmLHGROIMOm9aYakJj/CA==", 679 | "dev": true, 680 | "dependencies": { 681 | "sort-package-json": "1.57.0" 682 | }, 683 | "peerDependencies": { 684 | "prettier": ">= 1.16.0" 685 | } 686 | }, 687 | "node_modules/queue-microtask": { 688 | "version": "1.2.3", 689 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 690 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 691 | "dev": true, 692 | "funding": [ 693 | { 694 | "type": "github", 695 | "url": "https://github.com/sponsors/feross" 696 | }, 697 | { 698 | "type": "patreon", 699 | "url": "https://www.patreon.com/feross" 700 | }, 701 | { 702 | "type": "consulting", 703 | "url": "https://feross.org/support" 704 | } 705 | ] 706 | }, 707 | "node_modules/read-installed": { 708 | "version": "4.0.3", 709 | "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", 710 | "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", 711 | "dev": true, 712 | "dependencies": { 713 | "debuglog": "^1.0.1", 714 | "read-package-json": "^2.0.0", 715 | "readdir-scoped-modules": "^1.0.0", 716 | "semver": "2 || 3 || 4 || 5", 717 | "slide": "~1.1.3", 718 | "util-extend": "^1.0.1" 719 | }, 720 | "optionalDependencies": { 721 | "graceful-fs": "^4.1.2" 722 | } 723 | }, 724 | "node_modules/read-package-json": { 725 | "version": "2.1.2", 726 | "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", 727 | "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", 728 | "dev": true, 729 | "dependencies": { 730 | "glob": "^7.1.1", 731 | "json-parse-even-better-errors": "^2.3.0", 732 | "normalize-package-data": "^2.0.0", 733 | "npm-normalize-package-bin": "^1.0.0" 734 | } 735 | }, 736 | "node_modules/readdir-scoped-modules": { 737 | "version": "1.1.0", 738 | "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", 739 | "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", 740 | "dev": true, 741 | "dependencies": { 742 | "debuglog": "^1.0.1", 743 | "dezalgo": "^1.0.0", 744 | "graceful-fs": "^4.1.2", 745 | "once": "^1.3.0" 746 | } 747 | }, 748 | "node_modules/resolve": { 749 | "version": "1.22.1", 750 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", 751 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 752 | "dev": true, 753 | "dependencies": { 754 | "is-core-module": "^2.9.0", 755 | "path-parse": "^1.0.7", 756 | "supports-preserve-symlinks-flag": "^1.0.0" 757 | }, 758 | "bin": { 759 | "resolve": "bin/resolve" 760 | }, 761 | "funding": { 762 | "url": "https://github.com/sponsors/ljharb" 763 | } 764 | }, 765 | "node_modules/reusify": { 766 | "version": "1.0.4", 767 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 768 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 769 | "dev": true, 770 | "engines": { 771 | "iojs": ">=1.0.0", 772 | "node": ">=0.10.0" 773 | } 774 | }, 775 | "node_modules/run-parallel": { 776 | "version": "1.2.0", 777 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 778 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 779 | "dev": true, 780 | "funding": [ 781 | { 782 | "type": "github", 783 | "url": "https://github.com/sponsors/feross" 784 | }, 785 | { 786 | "type": "patreon", 787 | "url": "https://www.patreon.com/feross" 788 | }, 789 | { 790 | "type": "consulting", 791 | "url": "https://feross.org/support" 792 | } 793 | ], 794 | "dependencies": { 795 | "queue-microtask": "^1.2.2" 796 | } 797 | }, 798 | "node_modules/semver": { 799 | "version": "5.7.1", 800 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 801 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 802 | "dev": true, 803 | "bin": { 804 | "semver": "bin/semver" 805 | } 806 | }, 807 | "node_modules/slash": { 808 | "version": "3.0.0", 809 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 810 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 811 | "dev": true, 812 | "engines": { 813 | "node": ">=8" 814 | } 815 | }, 816 | "node_modules/slide": { 817 | "version": "1.1.6", 818 | "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", 819 | "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", 820 | "dev": true, 821 | "engines": { 822 | "node": "*" 823 | } 824 | }, 825 | "node_modules/sort-object-keys": { 826 | "version": "1.1.3", 827 | "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", 828 | "integrity": "sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==", 829 | "dev": true 830 | }, 831 | "node_modules/sort-package-json": { 832 | "version": "1.57.0", 833 | "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.57.0.tgz", 834 | "integrity": "sha512-FYsjYn2dHTRb41wqnv+uEqCUvBpK3jZcTp9rbz2qDTmel7Pmdtf+i2rLaaPMRZeSVM60V3Se31GyWFpmKs4Q5Q==", 835 | "dev": true, 836 | "dependencies": { 837 | "detect-indent": "^6.0.0", 838 | "detect-newline": "3.1.0", 839 | "git-hooks-list": "1.0.3", 840 | "globby": "10.0.0", 841 | "is-plain-obj": "2.1.0", 842 | "sort-object-keys": "^1.1.3" 843 | }, 844 | "bin": { 845 | "sort-package-json": "cli.js" 846 | } 847 | }, 848 | "node_modules/spdx-compare": { 849 | "version": "1.0.0", 850 | "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", 851 | "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", 852 | "dev": true, 853 | "dependencies": { 854 | "array-find-index": "^1.0.2", 855 | "spdx-expression-parse": "^3.0.0", 856 | "spdx-ranges": "^2.0.0" 857 | } 858 | }, 859 | "node_modules/spdx-correct": { 860 | "version": "3.1.1", 861 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", 862 | "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", 863 | "dev": true, 864 | "dependencies": { 865 | "spdx-expression-parse": "^3.0.0", 866 | "spdx-license-ids": "^3.0.0" 867 | } 868 | }, 869 | "node_modules/spdx-exceptions": { 870 | "version": "2.3.0", 871 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", 872 | "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", 873 | "dev": true 874 | }, 875 | "node_modules/spdx-expression-parse": { 876 | "version": "3.0.1", 877 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", 878 | "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", 879 | "dev": true, 880 | "dependencies": { 881 | "spdx-exceptions": "^2.1.0", 882 | "spdx-license-ids": "^3.0.0" 883 | } 884 | }, 885 | "node_modules/spdx-license-ids": { 886 | "version": "3.0.12", 887 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", 888 | "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", 889 | "dev": true 890 | }, 891 | "node_modules/spdx-ranges": { 892 | "version": "2.1.1", 893 | "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", 894 | "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", 895 | "dev": true 896 | }, 897 | "node_modules/spdx-satisfies": { 898 | "version": "4.0.1", 899 | "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", 900 | "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", 901 | "dev": true, 902 | "dependencies": { 903 | "spdx-compare": "^1.0.0", 904 | "spdx-expression-parse": "^3.0.0", 905 | "spdx-ranges": "^2.0.0" 906 | } 907 | }, 908 | "node_modules/supports-color": { 909 | "version": "5.5.0", 910 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 911 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 912 | "dev": true, 913 | "dependencies": { 914 | "has-flag": "^3.0.0" 915 | }, 916 | "engines": { 917 | "node": ">=4" 918 | } 919 | }, 920 | "node_modules/supports-preserve-symlinks-flag": { 921 | "version": "1.0.0", 922 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 923 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 924 | "dev": true, 925 | "engines": { 926 | "node": ">= 0.4" 927 | }, 928 | "funding": { 929 | "url": "https://github.com/sponsors/ljharb" 930 | } 931 | }, 932 | "node_modules/to-regex-range": { 933 | "version": "5.0.1", 934 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 935 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 936 | "dev": true, 937 | "dependencies": { 938 | "is-number": "^7.0.0" 939 | }, 940 | "engines": { 941 | "node": ">=8.0" 942 | } 943 | }, 944 | "node_modules/treeify": { 945 | "version": "1.1.0", 946 | "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", 947 | "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", 948 | "dev": true, 949 | "engines": { 950 | "node": ">=0.6" 951 | } 952 | }, 953 | "node_modules/util-extend": { 954 | "version": "1.0.3", 955 | "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", 956 | "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", 957 | "dev": true 958 | }, 959 | "node_modules/validate-npm-package-license": { 960 | "version": "3.0.4", 961 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 962 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 963 | "dev": true, 964 | "dependencies": { 965 | "spdx-correct": "^3.0.0", 966 | "spdx-expression-parse": "^3.0.0" 967 | } 968 | }, 969 | "node_modules/wrappy": { 970 | "version": "1.0.2", 971 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 972 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 973 | "dev": true 974 | } 975 | }, 976 | "dependencies": { 977 | "@nodelib/fs.scandir": { 978 | "version": "2.1.5", 979 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 980 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 981 | "dev": true, 982 | "requires": { 983 | "@nodelib/fs.stat": "2.0.5", 984 | "run-parallel": "^1.1.9" 985 | } 986 | }, 987 | "@nodelib/fs.stat": { 988 | "version": "2.0.5", 989 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 990 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 991 | "dev": true 992 | }, 993 | "@nodelib/fs.walk": { 994 | "version": "1.2.8", 995 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 996 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 997 | "dev": true, 998 | "requires": { 999 | "@nodelib/fs.scandir": "2.1.5", 1000 | "fastq": "^1.6.0" 1001 | } 1002 | }, 1003 | "@types/glob": { 1004 | "version": "7.2.0", 1005 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", 1006 | "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", 1007 | "dev": true, 1008 | "requires": { 1009 | "@types/minimatch": "*", 1010 | "@types/node": "*" 1011 | } 1012 | }, 1013 | "@types/minimatch": { 1014 | "version": "5.1.2", 1015 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", 1016 | "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", 1017 | "dev": true 1018 | }, 1019 | "@types/node": { 1020 | "version": "18.7.15", 1021 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.15.tgz", 1022 | "integrity": "sha512-XnjpaI8Bgc3eBag2Aw4t2Uj/49lLBSStHWfqKvIuXD7FIrZyMLWp8KuAFHAqxMZYTF9l08N1ctUn9YNybZJVmQ==", 1023 | "dev": true 1024 | }, 1025 | "abbrev": { 1026 | "version": "1.1.1", 1027 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 1028 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 1029 | "dev": true 1030 | }, 1031 | "ansi-styles": { 1032 | "version": "3.2.1", 1033 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1034 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1035 | "dev": true, 1036 | "requires": { 1037 | "color-convert": "^1.9.0" 1038 | } 1039 | }, 1040 | "array-find-index": { 1041 | "version": "1.0.2", 1042 | "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", 1043 | "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", 1044 | "dev": true 1045 | }, 1046 | "array-union": { 1047 | "version": "2.1.0", 1048 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 1049 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 1050 | "dev": true 1051 | }, 1052 | "asap": { 1053 | "version": "2.0.6", 1054 | "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", 1055 | "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", 1056 | "dev": true 1057 | }, 1058 | "balanced-match": { 1059 | "version": "1.0.2", 1060 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1061 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1062 | "dev": true 1063 | }, 1064 | "brace-expansion": { 1065 | "version": "1.1.11", 1066 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1067 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1068 | "dev": true, 1069 | "requires": { 1070 | "balanced-match": "^1.0.0", 1071 | "concat-map": "0.0.1" 1072 | } 1073 | }, 1074 | "braces": { 1075 | "version": "3.0.2", 1076 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 1077 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 1078 | "dev": true, 1079 | "requires": { 1080 | "fill-range": "^7.0.1" 1081 | } 1082 | }, 1083 | "chalk": { 1084 | "version": "2.4.2", 1085 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 1086 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 1087 | "dev": true, 1088 | "requires": { 1089 | "ansi-styles": "^3.2.1", 1090 | "escape-string-regexp": "^1.0.5", 1091 | "supports-color": "^5.3.0" 1092 | } 1093 | }, 1094 | "color-convert": { 1095 | "version": "1.9.3", 1096 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1097 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1098 | "dev": true, 1099 | "requires": { 1100 | "color-name": "1.1.3" 1101 | } 1102 | }, 1103 | "color-name": { 1104 | "version": "1.1.3", 1105 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1106 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", 1107 | "dev": true 1108 | }, 1109 | "concat-map": { 1110 | "version": "0.0.1", 1111 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1112 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 1113 | "dev": true 1114 | }, 1115 | "debug": { 1116 | "version": "3.2.7", 1117 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 1118 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 1119 | "dev": true, 1120 | "requires": { 1121 | "ms": "^2.1.1" 1122 | } 1123 | }, 1124 | "debuglog": { 1125 | "version": "1.0.1", 1126 | "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", 1127 | "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", 1128 | "dev": true 1129 | }, 1130 | "detect-indent": { 1131 | "version": "6.1.0", 1132 | "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", 1133 | "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", 1134 | "dev": true 1135 | }, 1136 | "detect-newline": { 1137 | "version": "3.1.0", 1138 | "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", 1139 | "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", 1140 | "dev": true 1141 | }, 1142 | "dezalgo": { 1143 | "version": "1.0.4", 1144 | "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", 1145 | "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", 1146 | "dev": true, 1147 | "requires": { 1148 | "asap": "^2.0.0", 1149 | "wrappy": "1" 1150 | } 1151 | }, 1152 | "dir-glob": { 1153 | "version": "3.0.1", 1154 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 1155 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 1156 | "dev": true, 1157 | "requires": { 1158 | "path-type": "^4.0.0" 1159 | } 1160 | }, 1161 | "escape-string-regexp": { 1162 | "version": "1.0.5", 1163 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 1164 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 1165 | "dev": true 1166 | }, 1167 | "fast-glob": { 1168 | "version": "3.2.11", 1169 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", 1170 | "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", 1171 | "dev": true, 1172 | "requires": { 1173 | "@nodelib/fs.stat": "^2.0.2", 1174 | "@nodelib/fs.walk": "^1.2.3", 1175 | "glob-parent": "^5.1.2", 1176 | "merge2": "^1.3.0", 1177 | "micromatch": "^4.0.4" 1178 | } 1179 | }, 1180 | "fastq": { 1181 | "version": "1.13.0", 1182 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 1183 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 1184 | "dev": true, 1185 | "requires": { 1186 | "reusify": "^1.0.4" 1187 | } 1188 | }, 1189 | "fill-range": { 1190 | "version": "7.0.1", 1191 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1192 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1193 | "dev": true, 1194 | "requires": { 1195 | "to-regex-range": "^5.0.1" 1196 | } 1197 | }, 1198 | "fs.realpath": { 1199 | "version": "1.0.0", 1200 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1201 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1202 | "dev": true 1203 | }, 1204 | "function-bind": { 1205 | "version": "1.1.1", 1206 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1207 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1208 | "dev": true 1209 | }, 1210 | "git-hooks-list": { 1211 | "version": "1.0.3", 1212 | "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-1.0.3.tgz", 1213 | "integrity": "sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==", 1214 | "dev": true 1215 | }, 1216 | "glob": { 1217 | "version": "7.2.3", 1218 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1219 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1220 | "dev": true, 1221 | "requires": { 1222 | "fs.realpath": "^1.0.0", 1223 | "inflight": "^1.0.4", 1224 | "inherits": "2", 1225 | "minimatch": "^3.1.1", 1226 | "once": "^1.3.0", 1227 | "path-is-absolute": "^1.0.0" 1228 | } 1229 | }, 1230 | "glob-parent": { 1231 | "version": "5.1.2", 1232 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1233 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1234 | "dev": true, 1235 | "requires": { 1236 | "is-glob": "^4.0.1" 1237 | } 1238 | }, 1239 | "globby": { 1240 | "version": "10.0.0", 1241 | "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.0.tgz", 1242 | "integrity": "sha512-3LifW9M4joGZasyYPz2A1U74zbC/45fvpXUvO/9KbSa+VV0aGZarWkfdgKyR9sExNP0t0x0ss/UMJpNpcaTspw==", 1243 | "dev": true, 1244 | "requires": { 1245 | "@types/glob": "^7.1.1", 1246 | "array-union": "^2.1.0", 1247 | "dir-glob": "^3.0.1", 1248 | "fast-glob": "^3.0.3", 1249 | "glob": "^7.1.3", 1250 | "ignore": "^5.1.1", 1251 | "merge2": "^1.2.3", 1252 | "slash": "^3.0.0" 1253 | } 1254 | }, 1255 | "graceful-fs": { 1256 | "version": "4.2.10", 1257 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 1258 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", 1259 | "dev": true 1260 | }, 1261 | "has": { 1262 | "version": "1.0.3", 1263 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1264 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1265 | "dev": true, 1266 | "requires": { 1267 | "function-bind": "^1.1.1" 1268 | } 1269 | }, 1270 | "has-flag": { 1271 | "version": "3.0.0", 1272 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1273 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 1274 | "dev": true 1275 | }, 1276 | "hosted-git-info": { 1277 | "version": "2.8.9", 1278 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", 1279 | "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", 1280 | "dev": true 1281 | }, 1282 | "ignore": { 1283 | "version": "5.2.0", 1284 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 1285 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 1286 | "dev": true 1287 | }, 1288 | "inflight": { 1289 | "version": "1.0.6", 1290 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1291 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1292 | "dev": true, 1293 | "requires": { 1294 | "once": "^1.3.0", 1295 | "wrappy": "1" 1296 | } 1297 | }, 1298 | "inherits": { 1299 | "version": "2.0.4", 1300 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1301 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1302 | "dev": true 1303 | }, 1304 | "is-core-module": { 1305 | "version": "2.10.0", 1306 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz", 1307 | "integrity": "sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==", 1308 | "dev": true, 1309 | "requires": { 1310 | "has": "^1.0.3" 1311 | } 1312 | }, 1313 | "is-extglob": { 1314 | "version": "2.1.1", 1315 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1316 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1317 | "dev": true 1318 | }, 1319 | "is-glob": { 1320 | "version": "4.0.3", 1321 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1322 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1323 | "dev": true, 1324 | "requires": { 1325 | "is-extglob": "^2.1.1" 1326 | } 1327 | }, 1328 | "is-number": { 1329 | "version": "7.0.0", 1330 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1331 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1332 | "dev": true 1333 | }, 1334 | "is-plain-obj": { 1335 | "version": "2.1.0", 1336 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 1337 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 1338 | "dev": true 1339 | }, 1340 | "json-parse-even-better-errors": { 1341 | "version": "2.3.1", 1342 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", 1343 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", 1344 | "dev": true 1345 | }, 1346 | "license-checker": { 1347 | "version": "25.0.1", 1348 | "resolved": "https://registry.npmjs.org/license-checker/-/license-checker-25.0.1.tgz", 1349 | "integrity": "sha512-mET5AIwl7MR2IAKYYoVBBpV0OnkKQ1xGj2IMMeEFIs42QAkEVjRtFZGWmQ28WeU7MP779iAgOaOy93Mn44mn6g==", 1350 | "dev": true, 1351 | "requires": { 1352 | "chalk": "^2.4.1", 1353 | "debug": "^3.1.0", 1354 | "mkdirp": "^0.5.1", 1355 | "nopt": "^4.0.1", 1356 | "read-installed": "~4.0.3", 1357 | "semver": "^5.5.0", 1358 | "spdx-correct": "^3.0.0", 1359 | "spdx-expression-parse": "^3.0.0", 1360 | "spdx-satisfies": "^4.0.0", 1361 | "treeify": "^1.1.0" 1362 | } 1363 | }, 1364 | "merge2": { 1365 | "version": "1.4.1", 1366 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1367 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1368 | "dev": true 1369 | }, 1370 | "micromatch": { 1371 | "version": "4.0.5", 1372 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", 1373 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", 1374 | "dev": true, 1375 | "requires": { 1376 | "braces": "^3.0.2", 1377 | "picomatch": "^2.3.1" 1378 | } 1379 | }, 1380 | "minimatch": { 1381 | "version": "3.1.2", 1382 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1383 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1384 | "dev": true, 1385 | "requires": { 1386 | "brace-expansion": "^1.1.7" 1387 | } 1388 | }, 1389 | "minimist": { 1390 | "version": "1.2.7", 1391 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 1392 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", 1393 | "dev": true 1394 | }, 1395 | "mkdirp": { 1396 | "version": "0.5.6", 1397 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1398 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1399 | "dev": true, 1400 | "requires": { 1401 | "minimist": "^1.2.6" 1402 | } 1403 | }, 1404 | "ms": { 1405 | "version": "2.1.3", 1406 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1407 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1408 | "dev": true 1409 | }, 1410 | "nopt": { 1411 | "version": "4.0.3", 1412 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", 1413 | "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", 1414 | "dev": true, 1415 | "requires": { 1416 | "abbrev": "1", 1417 | "osenv": "^0.1.4" 1418 | } 1419 | }, 1420 | "normalize-package-data": { 1421 | "version": "2.5.0", 1422 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 1423 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 1424 | "dev": true, 1425 | "requires": { 1426 | "hosted-git-info": "^2.1.4", 1427 | "resolve": "^1.10.0", 1428 | "semver": "2 || 3 || 4 || 5", 1429 | "validate-npm-package-license": "^3.0.1" 1430 | } 1431 | }, 1432 | "npm-normalize-package-bin": { 1433 | "version": "1.0.1", 1434 | "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", 1435 | "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", 1436 | "dev": true 1437 | }, 1438 | "once": { 1439 | "version": "1.4.0", 1440 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1441 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1442 | "dev": true, 1443 | "requires": { 1444 | "wrappy": "1" 1445 | } 1446 | }, 1447 | "ory-prettier-styles": { 1448 | "version": "1.3.0", 1449 | "resolved": "https://registry.npmjs.org/ory-prettier-styles/-/ory-prettier-styles-1.3.0.tgz", 1450 | "integrity": "sha512-Vfn0G6CyLaadwcCamwe1SQCf37ZQfBDgMrhRI70dE/2fbE3Q43/xu7K5c32I5FGt/EliroWty5yBjmdkj0eWug==", 1451 | "dev": true 1452 | }, 1453 | "os-homedir": { 1454 | "version": "1.0.2", 1455 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", 1456 | "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", 1457 | "dev": true 1458 | }, 1459 | "os-tmpdir": { 1460 | "version": "1.0.2", 1461 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1462 | "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", 1463 | "dev": true 1464 | }, 1465 | "osenv": { 1466 | "version": "0.1.5", 1467 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", 1468 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", 1469 | "dev": true, 1470 | "requires": { 1471 | "os-homedir": "^1.0.0", 1472 | "os-tmpdir": "^1.0.0" 1473 | } 1474 | }, 1475 | "path-is-absolute": { 1476 | "version": "1.0.1", 1477 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1478 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1479 | "dev": true 1480 | }, 1481 | "path-parse": { 1482 | "version": "1.0.7", 1483 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1484 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1485 | "dev": true 1486 | }, 1487 | "path-type": { 1488 | "version": "4.0.0", 1489 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1490 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1491 | "dev": true 1492 | }, 1493 | "picomatch": { 1494 | "version": "2.3.1", 1495 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1496 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1497 | "dev": true 1498 | }, 1499 | "prettier": { 1500 | "version": "2.7.1", 1501 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", 1502 | "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", 1503 | "dev": true 1504 | }, 1505 | "prettier-plugin-packagejson": { 1506 | "version": "2.2.18", 1507 | "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.2.18.tgz", 1508 | "integrity": "sha512-iBjQ3IY6IayFrQHhXvg+YvKprPUUiIJ04Vr9+EbeQPfwGajznArIqrN33c5bi4JcIvmLHGROIMOm9aYakJj/CA==", 1509 | "dev": true, 1510 | "requires": { 1511 | "sort-package-json": "1.57.0" 1512 | } 1513 | }, 1514 | "queue-microtask": { 1515 | "version": "1.2.3", 1516 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1517 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1518 | "dev": true 1519 | }, 1520 | "read-installed": { 1521 | "version": "4.0.3", 1522 | "resolved": "https://registry.npmjs.org/read-installed/-/read-installed-4.0.3.tgz", 1523 | "integrity": "sha512-O03wg/IYuV/VtnK2h/KXEt9VIbMUFbk3ERG0Iu4FhLZw0EP0T9znqrYDGn6ncbEsXUFaUjiVAWXHzxwt3lhRPQ==", 1524 | "dev": true, 1525 | "requires": { 1526 | "debuglog": "^1.0.1", 1527 | "graceful-fs": "^4.1.2", 1528 | "read-package-json": "^2.0.0", 1529 | "readdir-scoped-modules": "^1.0.0", 1530 | "semver": "2 || 3 || 4 || 5", 1531 | "slide": "~1.1.3", 1532 | "util-extend": "^1.0.1" 1533 | } 1534 | }, 1535 | "read-package-json": { 1536 | "version": "2.1.2", 1537 | "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", 1538 | "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", 1539 | "dev": true, 1540 | "requires": { 1541 | "glob": "^7.1.1", 1542 | "json-parse-even-better-errors": "^2.3.0", 1543 | "normalize-package-data": "^2.0.0", 1544 | "npm-normalize-package-bin": "^1.0.0" 1545 | } 1546 | }, 1547 | "readdir-scoped-modules": { 1548 | "version": "1.1.0", 1549 | "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", 1550 | "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", 1551 | "dev": true, 1552 | "requires": { 1553 | "debuglog": "^1.0.1", 1554 | "dezalgo": "^1.0.0", 1555 | "graceful-fs": "^4.1.2", 1556 | "once": "^1.3.0" 1557 | } 1558 | }, 1559 | "resolve": { 1560 | "version": "1.22.1", 1561 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", 1562 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 1563 | "dev": true, 1564 | "requires": { 1565 | "is-core-module": "^2.9.0", 1566 | "path-parse": "^1.0.7", 1567 | "supports-preserve-symlinks-flag": "^1.0.0" 1568 | } 1569 | }, 1570 | "reusify": { 1571 | "version": "1.0.4", 1572 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1573 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1574 | "dev": true 1575 | }, 1576 | "run-parallel": { 1577 | "version": "1.2.0", 1578 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1579 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1580 | "dev": true, 1581 | "requires": { 1582 | "queue-microtask": "^1.2.2" 1583 | } 1584 | }, 1585 | "semver": { 1586 | "version": "5.7.1", 1587 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1588 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 1589 | "dev": true 1590 | }, 1591 | "slash": { 1592 | "version": "3.0.0", 1593 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 1594 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 1595 | "dev": true 1596 | }, 1597 | "slide": { 1598 | "version": "1.1.6", 1599 | "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", 1600 | "integrity": "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==", 1601 | "dev": true 1602 | }, 1603 | "sort-object-keys": { 1604 | "version": "1.1.3", 1605 | "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-1.1.3.tgz", 1606 | "integrity": "sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==", 1607 | "dev": true 1608 | }, 1609 | "sort-package-json": { 1610 | "version": "1.57.0", 1611 | "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-1.57.0.tgz", 1612 | "integrity": "sha512-FYsjYn2dHTRb41wqnv+uEqCUvBpK3jZcTp9rbz2qDTmel7Pmdtf+i2rLaaPMRZeSVM60V3Se31GyWFpmKs4Q5Q==", 1613 | "dev": true, 1614 | "requires": { 1615 | "detect-indent": "^6.0.0", 1616 | "detect-newline": "3.1.0", 1617 | "git-hooks-list": "1.0.3", 1618 | "globby": "10.0.0", 1619 | "is-plain-obj": "2.1.0", 1620 | "sort-object-keys": "^1.1.3" 1621 | } 1622 | }, 1623 | "spdx-compare": { 1624 | "version": "1.0.0", 1625 | "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", 1626 | "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", 1627 | "dev": true, 1628 | "requires": { 1629 | "array-find-index": "^1.0.2", 1630 | "spdx-expression-parse": "^3.0.0", 1631 | "spdx-ranges": "^2.0.0" 1632 | } 1633 | }, 1634 | "spdx-correct": { 1635 | "version": "3.1.1", 1636 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", 1637 | "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", 1638 | "dev": true, 1639 | "requires": { 1640 | "spdx-expression-parse": "^3.0.0", 1641 | "spdx-license-ids": "^3.0.0" 1642 | } 1643 | }, 1644 | "spdx-exceptions": { 1645 | "version": "2.3.0", 1646 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", 1647 | "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", 1648 | "dev": true 1649 | }, 1650 | "spdx-expression-parse": { 1651 | "version": "3.0.1", 1652 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", 1653 | "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", 1654 | "dev": true, 1655 | "requires": { 1656 | "spdx-exceptions": "^2.1.0", 1657 | "spdx-license-ids": "^3.0.0" 1658 | } 1659 | }, 1660 | "spdx-license-ids": { 1661 | "version": "3.0.12", 1662 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", 1663 | "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==", 1664 | "dev": true 1665 | }, 1666 | "spdx-ranges": { 1667 | "version": "2.1.1", 1668 | "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", 1669 | "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", 1670 | "dev": true 1671 | }, 1672 | "spdx-satisfies": { 1673 | "version": "4.0.1", 1674 | "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-4.0.1.tgz", 1675 | "integrity": "sha512-WVzZ/cXAzoNmjCWiEluEA3BjHp5tiUmmhn9MK+X0tBbR9sOqtC6UQwmgCNrAIZvNlMuBUYAaHYfb2oqlF9SwKA==", 1676 | "dev": true, 1677 | "requires": { 1678 | "spdx-compare": "^1.0.0", 1679 | "spdx-expression-parse": "^3.0.0", 1680 | "spdx-ranges": "^2.0.0" 1681 | } 1682 | }, 1683 | "supports-color": { 1684 | "version": "5.5.0", 1685 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1686 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1687 | "dev": true, 1688 | "requires": { 1689 | "has-flag": "^3.0.0" 1690 | } 1691 | }, 1692 | "supports-preserve-symlinks-flag": { 1693 | "version": "1.0.0", 1694 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1695 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1696 | "dev": true 1697 | }, 1698 | "to-regex-range": { 1699 | "version": "5.0.1", 1700 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1701 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1702 | "dev": true, 1703 | "requires": { 1704 | "is-number": "^7.0.0" 1705 | } 1706 | }, 1707 | "treeify": { 1708 | "version": "1.1.0", 1709 | "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", 1710 | "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", 1711 | "dev": true 1712 | }, 1713 | "util-extend": { 1714 | "version": "1.0.3", 1715 | "resolved": "https://registry.npmjs.org/util-extend/-/util-extend-1.0.3.tgz", 1716 | "integrity": "sha512-mLs5zAK+ctllYBj+iAQvlDCwoxU/WDOUaJkcFudeiAX6OajC6BKXJUa9a+tbtkC11dz2Ufb7h0lyvIOVn4LADA==", 1717 | "dev": true 1718 | }, 1719 | "validate-npm-package-license": { 1720 | "version": "3.0.4", 1721 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 1722 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 1723 | "dev": true, 1724 | "requires": { 1725 | "spdx-correct": "^3.0.0", 1726 | "spdx-expression-parse": "^3.0.0" 1727 | } 1728 | }, 1729 | "wrappy": { 1730 | "version": "1.0.2", 1731 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1732 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1733 | "dev": true 1734 | } 1735 | } 1736 | } 1737 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "build-buf-action", 3 | "private": true, 4 | "description": "A GitHub action that provides [buf](https://github.com/bufbuild/buf).", 5 | "homepage": "https://github.com/ory/build-buf-action#readme", 6 | "bugs": { 7 | "url": "https://github.com/ory/build-buf-action/issues" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/ory/build-buf-action.git" 12 | }, 13 | "main": "index.js", 14 | "prettier": "ory-prettier-styles", 15 | "devDependencies": { 16 | "license-checker": "^25.0.1", 17 | "ory-prettier-styles": "1.3.0", 18 | "prettier": "^2.7.1", 19 | "prettier-plugin-packagejson": "^2.2.18" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /scripts/executor-info.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | UNAME_OS=$(uname -s) 5 | UNAME_ARCH=$(uname -m) 6 | 7 | NORMALIZED_OS=$UNAME_OS 8 | if [ "$NORMALIZED_OS" = "Linux" ]; then 9 | NORMALIZED_OS="linux" 10 | fi 11 | 12 | NORMALIZED_ARCH=$UNAME_ARCH 13 | if [ "$NORMALIZED_ARCH" = "x86_64" ]; then 14 | NORMALIZED_ARCH="amd64" 15 | fi 16 | 17 | export UNAME_OS 18 | export UNAME_ARCH 19 | export NORMALIZED_OS 20 | export NORMALIZED_ARCH 21 | -------------------------------------------------------------------------------- /scripts/install-buf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | BUF_VERSION=$1 7 | 8 | if [ "$2" != "none" ]; then 9 | IFS=" " read -r -a PROTOC_PLUGINS <<<"$2" 10 | for part in "${PROTOC_PLUGINS[@]}"; do 11 | IFS="@" read -r -a langAndVersion <<<"$part" 12 | 13 | if [ "${#langAndVersion[@]}" != 2 ]; then 14 | echo "Malformed plugin specifier \"$part\", expected e.g. go@v1.25.0" 15 | exit 1 16 | fi 17 | 18 | bash "scripts/install-${langAndVersion[0]}-plugin.sh" "${langAndVersion[1]}" 19 | done 20 | fi 21 | 22 | if [ ! -f ".bin/buf" ]; then 23 | echo "Installing buf $BUF_VERSION for OS $UNAME_OS Arch $UNAME_ARCH" 24 | mkdir -p .bin 25 | curl --fail -sSL "https://github.com/bufbuild/buf/releases/download/$BUF_VERSION/buf-$UNAME_OS-$UNAME_ARCH" -o .bin/buf 26 | chmod +x .bin/buf 27 | fi 28 | 29 | PATH=$PATH:"$(pwd)/.bin" 30 | export PATH 31 | -------------------------------------------------------------------------------- /scripts/install-go-grpc-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | PLUGIN_VERSION=$1 7 | 8 | if [ ! -f ".bin/protoc-gen-go-grpc" ] || .bin/protoc-gen-go-grpc --version | grep -q "$PLUGIN_VERSION"; then 9 | echo "Installing protobuf-gen-go-grpc $PLUGIN_VERSION for OS $UNAME_OS Arch $UNAME_ARCH" 10 | mkdir -p .bin 11 | curl --fail -sSL "https://github.com/grpc/grpc-go/releases/download/cmd%2Fprotoc-gen-go-grpc%2F$PLUGIN_VERSION/protoc-gen-go-grpc.$PLUGIN_VERSION.$NORMALIZED_OS.$NORMALIZED_ARCH.tar.gz" -o .bin/protoc-gen-go-grpc.tar.gz 12 | tar -xf .bin/protoc-gen-go-grpc.tar.gz -C .bin 13 | chmod +x .bin/protoc-gen-go-grpc 14 | fi 15 | -------------------------------------------------------------------------------- /scripts/install-go-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | GO_PROTOC_VERSION=$1 7 | 8 | if [ ! -f ".bin/protoc-gen-go" ] || .bin/protoc-gen-go --version | grep -q "$GO_PROTOC_VERSION"; then 9 | echo "Installing protobuf-gen-go $GO_PROTOC_VERSION for OS $UNAME_OS Arch $UNAME_ARCH" 10 | mkdir -p .bin 11 | curl --fail -sSL "https://github.com/protocolbuffers/protobuf-go/releases/download/$GO_PROTOC_VERSION/protoc-gen-go.$GO_PROTOC_VERSION.$NORMALIZED_OS.$NORMALIZED_ARCH.tar.gz" -o .bin/protoc-gen-go.tar.gz 12 | tar -xf .bin/protoc-gen-go.tar.gz -C .bin 13 | chmod +x .bin/protoc-gen-go 14 | fi 15 | -------------------------------------------------------------------------------- /scripts/install-grpc-java-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | PLUGIN_VERSION=$1 7 | BIN_DIR=$(pwd)/.bin 8 | PLUGIN=protoc-gen-grpc-java 9 | VER_FILE=$BIN_DIR/$PLUGIN.ver 10 | PLUGIN_EXE=$BIN_DIR/$PLUGIN 11 | 12 | # Can't use grep with `set -e pipfail`... 13 | CUR_VER= 14 | if [ -f "$VER_FILE" ]; then CUR_VER=($(<$VER_FILE)); fi 15 | 16 | if [ ! -f "$PLUGIN_EXE" ] || ! [[ " ${CUR_VER[@]} " =~ " ${PLUGIN_VERSION} " ]]; then 17 | echo "Installing $PLUGIN $PLUGIN_VERSION for OS $UNAME_OS Arch $UNAME_ARCH" 18 | mkdir -p $BIN_DIR 19 | curl --fail -sSL "https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/$PLUGIN_VERSION/protoc-gen-grpc-java-$PLUGIN_VERSION-$NORMALIZED_OS-$UNAME_ARCH.exe" -o ./.bin/protoc-gen-grpc-java 20 | chmod +x $PLUGIN_EXE 21 | echo "$PLUGIN_VERSION" > $VER_FILE 22 | fi 23 | -------------------------------------------------------------------------------- /scripts/install-python_betterproto-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | PLUGIN_VERSION=$1 7 | BIN_DIR=$(pwd)/.bin 8 | PLUGIN=protoc-gen-python_betterproto 9 | 10 | VER_FILE=$BIN_DIR/$PLUGIN.ver 11 | PLUGIN_EXE=$BIN_DIR/$PLUGIN 12 | 13 | # Can't use grep with `set -e pipfail`... 14 | CUR_VER= 15 | if [ -f "$VER_FILE" ]; then CUR_VER=($(<$VER_FILE)); fi 16 | 17 | if [ ! -f "$PLUGIN_EXE" ] || ! [[ " ${CUR_VER[@]} " =~ " ${PLUGIN_VERSION} " ]]; then 18 | echo "Installing $PLUGIN $PLUGIN_VERSION" 19 | mkdir -p $BIN_DIR 20 | pip install --upgrade --target="$BIN_DIR" "betterproto[compiler]==$PLUGIN_VERSION" 21 | echo "$PLUGIN_VERSION" > $VER_FILE 22 | mv $BIN_DIR/bin/protoc* $BIN_DIR 23 | fi 24 | -------------------------------------------------------------------------------- /scripts/install-ts-proto-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | source scripts/executor-info.sh 5 | 6 | PLUGIN_VERSION=$1 7 | BIN_DIR=$(pwd)/.bin 8 | PLUGIN=protoc-gen-ts-proto 9 | VER_FILE=$BIN_DIR/$PLUGIN.ver 10 | PLUGIN_EXE=$BIN_DIR/$PLUGIN 11 | 12 | # Can't use grep with `set -e pipfail`... 13 | CUR_VER= 14 | if [ -f "$VER_FILE" ]; then CUR_VER=($(<$VER_FILE)); fi 15 | 16 | if [ ! -f "$PLUGIN_EXE" ] || ! [[ " ${CUR_VER[@]} " =~ " ${PLUGIN_VERSION} " ]]; then 17 | echo "Installing $PLUGIN $PLUGIN_VERSION" 18 | mkdir -p $BIN_DIR 19 | npm install --prefix $BIN_DIR ts-proto@$PLUGIN_VERSION 20 | echo "$PLUGIN_VERSION" > $VER_FILE 21 | ln -s $BIN_DIR/node_modules/ts-proto/protoc-gen-ts_proto $BIN_DIR/protoc-gen-ts_proto 22 | fi 23 | --------------------------------------------------------------------------------