@qavajs/html-formatter
Advanced tools
Comparing version 0.14.3 to 0.15.0
@@ -0,1 +1,8 @@ | ||
# 0.15.0 | ||
- migrated to react 18 and vite dev server | ||
- added displaying of execution time for steps and scenarios | ||
# 0.14.4 | ||
- fixed [Feature that contains only undefined/skipped scenarios is displayed as passed](https://github.com/qavajs/html-formatter/issues/36) | ||
# 0.14.3 | ||
@@ -2,0 +9,0 @@ - fixed width and height of error and logs overlay |
206
package.json
{ | ||
"name": "@qavajs/html-formatter", | ||
"version": "0.14.3", | ||
"version": "0.15.0", | ||
"main": "formatter/formatter.js", | ||
"authors": [ | ||
"Alexandr Galichenko", | ||
"Alexandr Legchilov" | ||
], | ||
"scripts": { | ||
"report:compile": "node test/compile_report.js", | ||
"report:compile:dev": "node test/compile_dev.js", | ||
"report:generate": "ts-node node_modules/.bin/qavajs run --config test/report.ts", | ||
"test:e2e": "ts-node --project test-e2e/tsconfig.json node_modules/.bin/qavajs run --config test-e2e/test.ts", | ||
"debug:e2e": "ts-node --project test-e2e/tsconfig.json node_modules/.bin/qavajs run --config test-e2e/test.ts --profile debug", | ||
"start": "node scripts/start.js", | ||
"build": "node scripts/build.js", | ||
"postbuild": "cp build/index.html formatter/index.html", | ||
"test": "node scripts/test.js", | ||
"analyze": "source-map-explorer 'build/static/js/*.js'" | ||
"prebuild": "qavajs run --config test/report.ts --profile json", | ||
"report:generate": "qavajs run --config test/report.ts", | ||
"test:e2e": "qavajs run --config test-e2e/test.ts", | ||
"debug:e2e": "qavajs run --config test-e2e/test.ts --profile debug", | ||
"start": "vite --port 3000", | ||
"build": "vite build --mode production", | ||
"postbuild": "cp dist/index.html formatter/index.html", | ||
"serve": "vite preview", | ||
"test": "vitest", | ||
"test:ci": "vitest run", | ||
"lint": "eslint ./src/**/*.{ts,tsx} --fix", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
@@ -41,152 +47,44 @@ "eslintConfig": { | ||
"devDependencies": { | ||
"@babel/core": "^7.21.0", | ||
"@cucumber/cucumber": "^9.4.0", | ||
"@epam/assets": "^4.10.2", | ||
"@epam/promo": "^4.10.2", | ||
"@epam/uui-components": "^4.10.2", | ||
"@epam/uui-core": "^4.10.2", | ||
"@pmmmwh/react-refresh-webpack-plugin": "0.4.3", | ||
"@qavajs/cli": "^0.28.0", | ||
"@qavajs/console-formatter": "^0.5.0", | ||
"@cucumber/cucumber": "^10.0.1", | ||
"@epam/assets": "latest", | ||
"@epam/promo": "latest", | ||
"@epam/uui": "latest", | ||
"@epam/uui-components": "latest", | ||
"@epam/uui-core": "latest", | ||
"@epam/uui-test-utils": "latest", | ||
"@qavajs/cli": "^0.30.2", | ||
"@qavajs/console-formatter": "^0.6.0", | ||
"@qavajs/memory": "^1.6.2", | ||
"@qavajs/po-playwright": "^0.11.0", | ||
"@qavajs/steps-playwright": "^0.31.0", | ||
"@qavajs/xunit-formatter": "^0.0.4", | ||
"@svgr/webpack": "5.5.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^12.1.5", | ||
"@types/history": "^4.7.9", | ||
"@types/jest": "^25.2.3", | ||
"@types/node": "^14.0.5", | ||
"@types/react": "^17.0.3", | ||
"@types/react-dom": "^17.0.3", | ||
"@types/react-router-dom": "^5.1.7", | ||
"@typescript-eslint/eslint-plugin": "^4.5.0", | ||
"@typescript-eslint/parser": "^4.5.0", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^26.6.0", | ||
"babel-loader": "8.1.0", | ||
"babel-plugin-named-asset-import": "^0.3.7", | ||
"babel-preset-react-app": "^10.0.0", | ||
"bfj": "^7.0.2", | ||
"camelcase": "^6.1.0", | ||
"case-sensitive-paths-webpack-plugin": "2.3.0", | ||
"css-loader": "4.3.0", | ||
"dotenv": "8.2.0", | ||
"dotenv-expand": "5.1.0", | ||
"eslint": "^7.11.0", | ||
"eslint-config-react-app": "^6.0.0", | ||
"eslint-plugin-flowtype": "^5.2.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.0", | ||
"eslint-plugin-jsx-a11y": "^6.3.1", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint-plugin-testing-library": "^3.9.2", | ||
"eslint-webpack-plugin": "^2.5.2", | ||
"file-loader": "6.1.1", | ||
"fs-extra": "^9.0.1", | ||
"@types/react": "18.2.21", | ||
"@types/react-router-dom": "^5.3.3", | ||
"@typescript-eslint/parser": "^5.59.7", | ||
"@vitejs/plugin-react": "^4.1.0", | ||
"eslint": "^8.41.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-testing-library": "^5.11.0", | ||
"eslint-plugin-vitest": "^0.3.1", | ||
"history": "^4.10.1", | ||
"html-inline-css-webpack-plugin": "^1.11.1", | ||
"html-webpack-plugin": "4.5.0", | ||
"identity-obj-proxy": "3.0.0", | ||
"inline-chunk-html-plugin": "^1.1.1", | ||
"jest": "26.6.0", | ||
"jest-circus": "26.6.0", | ||
"jest-resolve": "26.6.0", | ||
"jest-watch-typeahead": "0.6.1", | ||
"mini-css-extract-plugin": "0.11.3", | ||
"optimize-css-assets-webpack-plugin": "5.0.4", | ||
"pnp-webpack-plugin": "1.6.4", | ||
"postcss-flexbugs-fixes": "4.2.1", | ||
"postcss-loader": "3.0.0", | ||
"postcss-normalize": "8.0.1", | ||
"postcss-preset-env": "6.7.0", | ||
"postcss-safe-parser": "5.0.2", | ||
"prompts": "2.4.0", | ||
"react": "^17.0.2", | ||
"react-app-polyfill": "^2.0.0", | ||
"react-dev-utils": "^11.0.3", | ||
"react-dom": "^17.0.2", | ||
"react-refresh": "^0.8.3", | ||
"react-router-dom": "^5.2.0", | ||
"recharts": "^2.2.0", | ||
"resolve": "1.18.1", | ||
"resolve-url-loader": "^3.1.2", | ||
"sass": "^1.56.1", | ||
"sass-loader": "^10.0.5", | ||
"semver": "7.3.2", | ||
"source-map-explorer": "^2.5.3", | ||
"style-loader": "1.3.0", | ||
"terser-webpack-plugin": "4.2.3", | ||
"jsdom": "^22.1.0", | ||
"prettier": "^3.0.3", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^5.3.4", | ||
"recharts": "^2.9.0", | ||
"sass": "^1.62.1", | ||
"ts-node": "^10.9.1", | ||
"ts-pnp": "1.2.0", | ||
"typescript": "^4.9.4", | ||
"url-loader": "4.1.1", | ||
"webpack": "4.44.2", | ||
"webpack-dev-server": "3.11.1", | ||
"webpack-manifest-plugin": "2.2.0", | ||
"workbox-webpack-plugin": "5.1.4" | ||
"typescript": "4.9.3", | ||
"vite": "^4.4.9", | ||
"vite-plugin-singlefile": "^0.13.5", | ||
"vite-plugin-svgr": "^3.2.0", | ||
"vitest": "^0.34.6", | ||
"vitest-dom": "^0.1.1" | ||
}, | ||
"authors": [ | ||
"Alexandr Galichenko", | ||
"Alexandr Legchilov" | ||
], | ||
"jest": { | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,jsx,ts,tsx}", | ||
"!src/**/*.d.ts" | ||
], | ||
"setupFiles": [ | ||
"react-app-polyfill/jsdom" | ||
], | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/src/setupTests.ts" | ||
], | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||
], | ||
"testEnvironment": "jsdom", | ||
"testRunner": "/Users/Oleksandr_Halichenko/WebstormProjects/qavajs_html_reporter/node_modules/jest-circus/runner.js", | ||
"transform": { | ||
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js", | ||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | ||
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | ||
}, | ||
"transformIgnorePatterns": [ | ||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$", | ||
"^.+\\.module\\.(css|sass|scss)$" | ||
], | ||
"modulePaths": [], | ||
"moduleNameMapper": { | ||
"^react-native$": "react-native-web", | ||
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy" | ||
}, | ||
"moduleFileExtensions": [ | ||
"web.js", | ||
"js", | ||
"web.ts", | ||
"ts", | ||
"web.tsx", | ||
"tsx", | ||
"json", | ||
"web.jsx", | ||
"jsx", | ||
"node" | ||
], | ||
"watchPlugins": [ | ||
"jest-watch-typeahead/filename", | ||
"jest-watch-typeahead/testname" | ||
], | ||
"resetMocks": true | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"react-app" | ||
] | ||
"resolutions": { | ||
"@types/react": "18.2.21" | ||
} | ||
} |
@@ -15,3 +15,5 @@ # @qavajs/html-formatter | ||
default: { | ||
format: ['@qavajs/html-formatter:report.html'] | ||
format: [ | ||
['@qavajs/html-formatter', 'report.html'] | ||
] | ||
}, | ||
@@ -35,11 +37,9 @@ formatOptions: { | ||
## Development (use nodejs 16) | ||
## Development | ||
`npm install` | ||
`npm run report:generate` | ||
`npm run build` | ||
`npm run report:compile:dev` | ||
`npm start` | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"esnext" | ||
], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx" | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"isolatedModules": true, | ||
"jsx": "react-jsx", | ||
"module": "node16", | ||
"moduleResolution": "node16", | ||
"noEmit": true, | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
"strictNullChecks": false, | ||
"skipLibCheck": true, | ||
"target": "ES2017", | ||
"rootDir": ".", | ||
"types": [ | ||
"vitest/globals", | ||
"vitest-dom/extend-expect" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38
19
196
1239103
1