mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-27 22:54:07 +00:00
* test cases for workspace import and validation TC-969, jira: https://usebruno.atlassian.net/browse/BRU-3575 * incorporated comments, moved findWorkspaceDirByName function to helpers.ts, fixed all the comments * modified as per comment provided , removed css locators , used playwright inbuilt methods , handled timeout * Created file structure as per comment provided, added tc-id , resolved code-rabbit review * incorporated comments removed commented line, removed timeouts, modified package.json added package in dev dependencies * changed const l to locators for better readbility * - Reorganized test helpers: split title-bar locators into title-bar.ts and import-workspace flow into workspace/import-workspace.ts for reuse - Replaced brittle .bruno-modal-card/CSS locators with stable role/testid/label based locators - Added a data-testid for the Import Workspace modal and removed the redundant one - Cleaned up unnecessary comments - Updated package-lock.json * minor changes * minor changes * addressed comments * addressed comments for variable naming * minor changes
115 lines
4.3 KiB
JSON
115 lines
4.3 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",
|
|
"@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/adm-zip": "^0.5.8",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^22.14.1",
|
|
"@typescript-eslint/parser": "^8.39.0",
|
|
"adm-zip": "^0.5.17",
|
|
"concurrently": "^8.2.2",
|
|
"cross-env": "10.1.0",
|
|
"eslint": "^9.39.4",
|
|
"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.23",
|
|
"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 --project=system-pac",
|
|
"test:e2e:ssl": "playwright test --project=ssl",
|
|
"test:e2e:auth": "playwright test --project=auth",
|
|
"test:e2e:sanity": "playwright test --project=default --project=system-pac --grep @sanity",
|
|
"test:benchmark": "playwright test --config=playwright.benchmark.config.ts",
|
|
"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": {
|
|
"lodash": "4.18.1",
|
|
"axios": "1.16.0",
|
|
"rollup": "3.30.0",
|
|
"pbkdf2": "3.1.5",
|
|
"electron-store": {
|
|
"conf": {
|
|
"json-schema-typed": "8.0.1"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^8.17.1",
|
|
"git-url-parse": "^14.1.0"
|
|
}
|
|
}
|