Skip to content

Commit d88145a

Browse files
MarkoVcodeclaude
andcommitted
fix: Add bruno-openapi-docs to build process
- Added bruno-openapi-docs to workspaces in package.json - Added build:openapi-docs script - Integrated openapi-docs build into setup.js - This fixes the build error where @usebruno/openapi-docs module was not found 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 83c9f28 commit d88145a

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"packages/bruno-tests",
1515
"packages/bruno-toml",
1616
"packages/bruno-graphql-docs",
17+
"packages/bruno-openapi-docs",
1718
"packages/bruno-requests",
1819
"packages/bruno-filestore"
1920
],
@@ -61,6 +62,7 @@
6162
"build:bruno-converters": "npm run build --workspace=packages/bruno-converters",
6263
"build:bruno-query": "npm run build --workspace=packages/bruno-query",
6364
"build:graphql-docs": "npm run build --workspace=packages/bruno-graphql-docs",
65+
"build:openapi-docs": "npm run build --workspace=packages/bruno-openapi-docs",
6466
"build:electron": "node ./scripts/build-electron.js",
6567
"build:electron:mac": "./scripts/build-electron.sh mac",
6668
"build:electron:win": "./scripts/build-electron.sh win",

scripts/setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async function setup() {
7272

7373
// Build packages
7474
execCommand('npm run build:graphql-docs', 'Building graphql-docs');
75+
execCommand('npm run build:openapi-docs', 'Building openapi-docs');
7576
execCommand('npm run build:bruno-query', 'Building bruno-query');
7677
execCommand('npm run build:bruno-common', 'Building bruno-common');
7778
execCommand('npm run build:bruno-converters', 'Building bruno-converters');

0 commit comments

Comments
 (0)