mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
* feat: move import collection from git url and spec url from enterprise edition to opensource
* fix: corrected a typo
* test: add unit and e2e tests for import collection migration
* fix: guard against missing userAgentData platform in getOSName — Default platform to '' to prevent TypeError when navigator.userAgentData is unavailable (GitNotFoundModal/index.js)
fix: UID mismatch between status tracking and UI rendering in bulk import — Preserve synthetic file-${index} UID on converted collections so initialStatus, rename tracking, and the render loop all use the same key (BulkImportCollectionLocation/index.js)
fix: isConfirmDisabled returning non-boolean value — Changed .length checks to explicit comparisons (> 0, === 0) so the function always returns true/false (CloneGitRespository/index.js)
fix: missing ipcRenderer declaration in cloneGitRepository and scanForBrunoFiles — Added const { ipcRenderer } = window; to both actions to prevent ReferenceError at runtime (collections/actions.js)
fix: use strict equality in filterItemsInCollection — Changed == to === for item.name and item.type comparisons (importers/common.js)
fix: variable shadowing in transformItemsInCollection and hydrateSeqInCollection — Renamed forEach callback parameter from collection to col to avoid shadowing the outer parameter (importers/common.js)
fix: scanForBrunoFiles traversing node_modules and .git directories — Added exclusion for node_modules and .git to match getCollectionStats pattern, preventing app freezes on large repos (filesystem.js)
fix: diff hunk header using string character count instead of line count — Preserved prefixedLines array to compute lineCount before joining, so the @@ header has the correct line count (git.js)
fix: test locators not scoped to modal in bulk import e2e test — Changed page.getByTestId to bulkImportModal.getByTestId for grouping dropdown interactions (002-all-collection-types.spec.ts)
fix: missing afterEach cleanup in GitHub repository import test — Added closeAllCollections hook to match sibling test specs, replaced unused dotenv/config import (github-repository-import.spec.ts)
* fix: batch name tracking and git utility fixes
- Fix usedNamesInBatch tracking original name instead of final name, which
could produce duplicate environment names within the same batch
(BulkImportCollectionLocation/index.js)
- Remove unused lodash import (git.js)
- Add missing early return in fetchRemotes when gitRootPath is falsy,
preventing getSimpleGitInstanceForPath from running with undefined (git.js)
* fix: correct variable naming and state management in CloneGitRepository component
- Renamed `collectionpaths` to `collectionPaths` for consistency and clarity.
- Updated references throughout the component to use the corrected variable name.
- Removed error toast notification to streamline error handling during repository cloning.
106 lines
3.9 KiB
JSON
106 lines
3.9 KiB
JSON
{
|
|
"name": "usebruno",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/bruno-app",
|
|
"packages/bruno-electron",
|
|
"packages/bruno-cli",
|
|
"packages/bruno-common",
|
|
"packages/bruno-converters",
|
|
"packages/bruno-schema",
|
|
"packages/bruno-schema-types",
|
|
"packages/bruno-query",
|
|
"packages/bruno-js",
|
|
"packages/bruno-lang",
|
|
"packages/bruno-tests",
|
|
"packages/bruno-toml",
|
|
"packages/bruno-graphql-docs",
|
|
"packages/bruno-requests",
|
|
"packages/bruno-filestore"
|
|
],
|
|
"homepage": "https://usebruno.com",
|
|
"devDependencies": {
|
|
"@eslint/compat": "^1.3.2",
|
|
"@faker-js/faker": "^7.6.0",
|
|
"@jest/globals": "^29.2.0",
|
|
"@opencollection/types": "~0.7.0",
|
|
"@playwright/test": "^1.51.1",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@storybook/addon-webpack5-compiler-babel": "^4.0.0",
|
|
"@storybook/builder-webpack5": "^10.1.10",
|
|
"@storybook/react": "^10.1.10",
|
|
"@storybook/react-webpack5": "^10.1.10",
|
|
"@stylistic/eslint-plugin": "^5.3.1",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^22.14.1",
|
|
"@typescript-eslint/parser": "^8.39.0",
|
|
"concurrently": "^8.2.2",
|
|
"cross-env": "10.1.0",
|
|
"eslint": "^9.26.0",
|
|
"eslint-plugin-diff": "^2.0.3",
|
|
"fs-extra": "^11.1.1",
|
|
"globals": "^16.1.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.2.0",
|
|
"lodash-es": "^4.17.21",
|
|
"nano-staged": "^0.8.0",
|
|
"playwright": "^1.51.1",
|
|
"pretty-quick": "^3.1.3",
|
|
"randomstring": "^1.2.2",
|
|
"rimraf": "^6.0.1",
|
|
"storybook": "^10.1.10",
|
|
"ts-jest": "^29.2.6"
|
|
},
|
|
"scripts": {
|
|
"setup": "node ./scripts/setup.js",
|
|
"watch:converters": "npm run watch --workspace=packages/bruno-converters",
|
|
"dev": "node ./scripts/dev.js",
|
|
"watch": "npm run dev:watch",
|
|
"dev:watch": "node ./scripts/dev-hot-reload.js",
|
|
"dev:web": "npm run dev --workspace=packages/bruno-app",
|
|
"build:web": "npm run build --workspace=packages/bruno-app",
|
|
"dev:electron": "npm run dev --workspace=packages/bruno-electron",
|
|
"dev:electron:debug": "npm run debug --workspace=packages/bruno-electron",
|
|
"storybook": "npm run storybook --workspace=packages/bruno-app",
|
|
"build:bruno-common": "npm run build --workspace=packages/bruno-common",
|
|
"build:bruno-requests": "npm run build --workspace=packages/bruno-requests",
|
|
"build:bruno-filestore": "npm run build --workspace=packages/bruno-filestore",
|
|
"build:bruno-converters": "npm run build --workspace=packages/bruno-converters",
|
|
"build:bruno-query": "npm run build --workspace=packages/bruno-query",
|
|
"build:graphql-docs": "npm run build --workspace=packages/bruno-graphql-docs",
|
|
"build:schema-types": "npm run build --workspace=packages/bruno-schema-types",
|
|
"build:electron": "node ./scripts/build-electron.js",
|
|
"build:electron:mac": "./scripts/build-electron.sh mac",
|
|
"build:electron:win": "./scripts/build-electron.sh win",
|
|
"build:electron:linux": "./scripts/build-electron.sh linux",
|
|
"build:electron:deb": "./scripts/build-electron.sh deb",
|
|
"build:electron:rpm": "./scripts/build-electron.sh rpm",
|
|
"build:electron:snap": "./scripts/build-electron.sh snap",
|
|
"watch:common": "npm run watch --workspace=packages/bruno-common",
|
|
"watch:requests": "npm run watch --workspace=packages/bruno-requests",
|
|
"test:codegen": "node playwright/codegen.ts",
|
|
"test:e2e": "playwright test --project=default",
|
|
"test:e2e:ssl": "playwright test --project=ssl",
|
|
"lint": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" npx eslint",
|
|
"lint:fix": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" npx eslint --fix",
|
|
"prepare": "husky"
|
|
},
|
|
"nano-staged": {
|
|
"*.{js,ts,jsx}": [
|
|
"npm run lint:fix"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"rollup": "3.29.5",
|
|
"electron-store": {
|
|
"conf": {
|
|
"json-schema-typed": "8.0.1"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^8.17.1",
|
|
"git-url-parse": "^14.1.0"
|
|
}
|
|
} |