-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9b429c
commit 48576d7
Showing
2 changed files
with
57 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,77 @@ | ||
{ | ||
"name": "odf-plugin", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "ODF plugin", | ||
"repository": "[email protected]:red-hat-storage/odf-console.git", | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"repository": "[email protected]:red-hat-storage/odf-console.git", | ||
"scripts": { | ||
"analyze-client": "PLUGIN=client yarn analyze-common && PLUGIN=client yarn tsx ./analyzeTest.ts", | ||
"analyze-common": "yarn build:generate && NODE_ENV=production I8N_NS=${I8N_NS} ANALYZE_BUNDLE=true yarn tsx ./node_modules/.bin/webpack -c ./webpack.config.ts", | ||
"analyze-mco": "PLUGIN=mco yarn analyze-common && PLUGIN=mco yarn tsx ./analyzeTest.ts", | ||
"analyze-odf": "PLUGIN=odf yarn analyze-common && PLUGIN=odf yarn tsx ./analyzeTest.ts", | ||
"build": "NODE_ENV=production PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin", | ||
"build-client": "NODE_ENV=production PLUGIN=client I8N_NS=plugin__odf-client-console yarn build:plugin", | ||
"build-dev": "NODE_ENV=development PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin", | ||
"build-mco": "NODE_ENV=production PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn build:plugin", | ||
"build:generate": "yarn clean-${PLUGIN} && tsx ./scripts/versionCheck.mts --plugin ${PLUGIN} && tsx ./scripts/generatePluginPackage.mts --plugin ${PLUGIN}", | ||
"build:plugin": "yarn build:generate && NODE_OPTIONS='--max-old-space-size=4096' yarn tsx node_modules/.bin/webpack -c ./webpack.config.ts", | ||
"clean": "yarn clean-mco && yarn clean-odf", | ||
"clean-client": "cd plugins/client && rm -rf ./dist", | ||
"clean-mco": "cd plugins/mco && rm -rf ./dist", | ||
"clean-odf": "cd plugins/odf && rm -rf ./dist", | ||
"clean-client": "cd plugins/client && rm -rf ./dist", | ||
"cypress-merge": "mochawesome-merge ./gui-test-screenshots/cypress_report*.json > ./gui-test-screenshots/cypress.json", | ||
"cypress-generate": "marge -o ./gui-test-screenshots/ -f cypress-report -t 'OpenShift Console Cypress Test Results' -p 'OpenShift Cypress Test Results' --showPassed false --assetsDir ./gui-test-screenshots/cypress/assets ./gui-test-screenshots/cypress.json", | ||
"cypress-merge": "mochawesome-merge ./gui-test-screenshots/cypress_report*.json > ./gui-test-screenshots/cypress.json", | ||
"cypress-postreport": "yarn cypress-merge && yarn cypress-generate", | ||
"test": "jest --config=jest/config.js", | ||
"test-silent": "JEST_SILENT_REPORTER_DOTS=true jest --config=jest/config.js --reporters jest-silent-reporter", | ||
"test-coverage": "jest --config=jest/config.js --silent --coverage --coverageReporters text-summary", | ||
"test-cypress": "node_modules/.bin/cypress open --e2e --config-file ./cypress/cypress.config.ts --env openshift=true", | ||
"test-cypress-headless": "node --max-old-space-size=4096 node_modules/.bin/cypress run --e2e --config-file ./cypress/cypress.config.ts --env openshift=true --browser ${BRIDGE_E2E_BROWSER_NAME:=chrome} --headless", | ||
"build:generate": "yarn clean-${PLUGIN} && tsx ./scripts/versionCheck.mts --plugin ${PLUGIN} && tsx ./scripts/generatePluginPackage.mts --plugin ${PLUGIN}", | ||
"build:plugin": "yarn build:generate && NODE_OPTIONS='--max-old-space-size=4096' yarn tsx node_modules/.bin/webpack -c ./webpack.config.ts", | ||
"build": "NODE_ENV=production PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin", | ||
"build-mco": "NODE_ENV=production PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn build:plugin", | ||
"build-client": "NODE_ENV=production PLUGIN=client I8N_NS=plugin__odf-client-console yarn build:plugin", | ||
"build-dev": "NODE_ENV=development PLUGIN=odf I8N_NS=plugin__odf-console yarn build:plugin", | ||
"server:plugin": "yarn build:generate && I8N_NS=${I8N_NS} yarn tsx ./node_modules/.bin/webpack serve -c ./webpack.config.ts --progress", | ||
"analyze-common": "yarn build:generate && NODE_ENV=production I8N_NS=${I8N_NS} ANALYZE_BUNDLE=true yarn tsx ./node_modules/.bin/webpack -c ./webpack.config.ts", | ||
"analyze-odf": "PLUGIN=odf yarn analyze-common && PLUGIN=odf yarn tsx ./analyzeTest.ts", | ||
"analyze-mco": "PLUGIN=mco yarn analyze-common && PLUGIN=mco yarn tsx ./analyzeTest.ts", | ||
"analyze-client": "PLUGIN=client yarn analyze-common && PLUGIN=client yarn tsx ./analyzeTest.ts", | ||
"dev": "PLUGIN=odf I8N_NS=plugin__odf-console yarn server:plugin", | ||
"dev:no-type-check": "DEV_NO_TYPE_CHECK=true yarn dev", | ||
"dev-mco": "PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn server:plugin", | ||
"dev-client": "PLUGIN=client I8N_NS=plugin__odf-client-console yarn server:plugin", | ||
"serve-local-build": "./http-server.sh ./plugins/odf/dist", | ||
"serve-local-build:c": "yarn ocp-console & yarn serve-local-build & wait", | ||
"serve-local-build-mco": "./http-server.sh ./plugins/mco/dist", | ||
"lint-css": "yarn stylelint packages/**/**/*.scss", | ||
"lint-css-fix": "yarn stylelint packages/**/**/*.scss --fix", | ||
"lint-ts": "yarn eslint --ext .ts,.tsx .", | ||
"lint-ts-fix": "yarn eslint --fix --ext .ts,.tsx .", | ||
"lint": "yarn lint-ts && yarn lint-css", | ||
"lint-fix": "yarn lint-ts-fix && yarn lint-css-fix", | ||
"dev-mco": "PLUGIN=mco I8N_NS=plugin__odf-multicluster-console yarn server:plugin", | ||
"dev:c": "yarn ocp-console & PLUGIN=${PLUGIN:=odf} I8N_NS=${I8N_NS} yarn server:plugin & wait", | ||
"dev:no-type-check": "DEV_NO_TYPE_CHECK=true yarn dev", | ||
"export-pos": "./scripts/i18n/export-pos.sh", | ||
"format": "yarn prettier -w .", | ||
"format-test": "yarn prettier -c .", | ||
"prepare": "husky install", | ||
"i18n": "i18next \"packages/**/*.{ts,tsx}\" [-oc] -c i18next-parser.config.js", | ||
"i18n-test": "yarn i18n --fail-on-update", | ||
"i18n-to-po": "node ./scripts/i18n/i18n-to-po.js", | ||
"po-to-i18n": "node ./scripts/i18n/po-to-i18n.js", | ||
"export-pos": "./scripts/i18n/export-pos.sh", | ||
"memsource-upload": "./scripts/i18n/memsource-upload.sh", | ||
"lint": "yarn lint-ts && yarn lint-css", | ||
"lint-css": "yarn stylelint packages/**/**/*.scss", | ||
"lint-css-fix": "yarn stylelint packages/**/**/*.scss --fix", | ||
"lint-fix": "yarn lint-ts-fix && yarn lint-css-fix", | ||
"lint-ts": "yarn eslint --ext .ts,.tsx .", | ||
"lint-ts-fix": "yarn eslint --fix --ext .ts,.tsx .", | ||
"memsource-download": "./scripts/i18n/memsource-download.sh", | ||
"memsource-upload": "./scripts/i18n/memsource-upload.sh", | ||
"ocp-console": "./scripts/start-ocp-console.sh", | ||
"dev:c": "yarn ocp-console & PLUGIN=${PLUGIN:=odf} I8N_NS=${I8N_NS} yarn server:plugin & wait" | ||
"po-to-i18n": "node ./scripts/i18n/po-to-i18n.js", | ||
"prepare": "husky install", | ||
"serve-local-build": "./http-server.sh ./plugins/odf/dist", | ||
"serve-local-build-mco": "./http-server.sh ./plugins/mco/dist", | ||
"serve-local-build:c": "yarn ocp-console & yarn serve-local-build & wait", | ||
"server:plugin": "yarn build:generate && I8N_NS=${I8N_NS} yarn tsx ./node_modules/.bin/webpack serve -c ./webpack.config.ts --progress", | ||
"test": "jest --config=jest/config.js", | ||
"test-coverage": "jest --config=jest/config.js --silent --coverage --coverageReporters text-summary", | ||
"test-cypress": "node_modules/.bin/cypress open --e2e --config-file ./cypress/cypress.config.ts --env openshift=true", | ||
"test-cypress-headless": "node --max-old-space-size=4096 node_modules/.bin/cypress run --e2e --config-file ./cypress/cypress.config.ts --env openshift=true --browser ${BRIDGE_E2E_BROWSER_NAME:=chrome} --headless", | ||
"test-silent": "JEST_SILENT_REPORTER_DOTS=true jest --config=jest/config.js --reporters jest-silent-reporter" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,mts}": "eslint --cache --fix -c ./.eslintrc.js", | ||
"*.css": "stylelint --fix", | ||
"*": "prettier --ignore-unknown --write", | ||
"**/package.json": "npx sort-package-json" | ||
}, | ||
"resolutions": { | ||
"cross-spawn": "^7.0.6", | ||
"nanoid": "^3.3.8", | ||
"postcss": "^8.4.49", | ||
"tough-cookie": "^4.1.3", | ||
"webpack": "^5.96.1", | ||
"webpack-bundle-analyzer/ws": "^7.5.10", | ||
"webpack-dev-server/express": "^4.21.0" | ||
}, | ||
"dependencies": { | ||
"@aws-sdk/client-s3": "3.667.0", | ||
|
@@ -183,21 +198,7 @@ | |
"stylelint-order": "^6.0.4", | ||
"webpack-dev-server": "^5.1.0" | ||
}, | ||
"resolutions": { | ||
"webpack": "^5.96.1", | ||
"webpack-bundle-analyzer/ws": "^7.5.10", | ||
"webpack-dev-server/express": "^4.21.0", | ||
"tough-cookie": "^4.1.3", | ||
"cross-spawn": "^7.0.6", | ||
"postcss": "^8.4.49", | ||
"nanoid": "^3.3.8" | ||
}, | ||
"engines": { | ||
"node": ">=20.x" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,mts}": "eslint --cache --fix -c ./.eslintrc.js", | ||
"*.css": "stylelint --fix", | ||
"*": "prettier --ignore-unknown --write" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters