Skip to content

Commit

Permalink
chore: rebase branch master into next (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: asyncapi-bot <bot+chan@asyncapi.io>
  • Loading branch information
aeworxet and asyncapi-bot authored Mar 15, 2024
1 parent 51e899d commit 1427b29
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
- if: steps.packagejson.outputs.exists == 'true'
name: Bumping latest version of this package in other repositories
uses: derberg/npm-dependency-manager-for-your-github-org@26a4f13d740254719971325046822a169aaa7441 # using v5.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v5.0.0
uses: derberg/npm-dependency-manager-for-your-github-org@3df56be95bcaa5c76a9c9a4af863ab151545b649 # using v6.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v6
with:
github_token: ${{ secrets.GH_TOKEN }}
committer_username: asyncapi-bot
committer_email: info@asyncapi.io
repos_to_ignore: spec,bindings
repos_to_ignore: spec,bindings,saunter
2 changes: 1 addition & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { Optimizer } = require('../lib/Optimizer')
const input = require('fs').readFileSync('./examples/input.yaml', 'utf8')
const optimizer = new Optimizer(input)
optimizer.getReport().then((report) => {
console.log(JSON.stringify(report))
console.log(report)
const optimizedDocument = optimizer.getOptimizedDocument({
output: 'YAML',
rules: {
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/optimizer",
"version": "0.3.0",
"version": "0.3.9",
"description": "This library will optimize the AsyncAPI specification file.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -56,7 +56,7 @@
"access": "public"
},
"dependencies": {
"@asyncapi/parser": "^3.0.2",
"@asyncapi/parser": "^3.0.10",
"@types/debug": "^4.1.8",
"debug": "^4.3.4",
"js-yaml": "^4.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/ComponentProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const getOptimizableComponents = (
parameters: getAllComponents('parameters'),
correlationIds: getAllComponents('correlationIds'),
replies: getAllComponents('replies'),
replyAddresses: getAllComponents('replyAddresses'),
externalDocs: getAllComponents('externalDocs'),
tags: getAllComponents('tags'),
operationTraits: getAllComponents('operationTraits'),
Expand Down

0 comments on commit 1427b29

Please sign in to comment.