Skip to content

Commit 25b9c00

Browse files
authored
[stable-4.9] test & test-workflow cleanup (#4973)
* [stable-4.9] test & test-workflow cleanup No-Issue * 2 spaces package.json
1 parent dfe9506 commit 25b9c00

9 files changed

+14844
-15001
lines changed

package-lock.json

+14,712-14,712
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+103-106
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,105 @@
11
{
2-
"name": "ansible-hub-ui",
3-
"version": "0.1.0",
4-
"license": "Apache-2.0",
5-
"author": "Red Hat, Inc.",
6-
"private": true,
7-
"dependencies": {
8-
"@babel/runtime": "^7.24.1",
9-
"@lingui/react": "^4.7.2",
10-
"@patternfly/patternfly": "^4.224.5",
11-
"@patternfly/react-code-editor": "^4.82.122",
12-
"@patternfly/react-core": "^4.278.1",
13-
"@patternfly/react-table": "^4.113.7",
14-
"@types/node": "^18.19.21",
15-
"@types/react": "^17.0.2",
16-
"@types/react-dom": "^17.0.2",
17-
"antsibull-docs": "^1.0.0",
18-
"axios": "^1.6.7",
19-
"classnames": "^2.5.1",
20-
"csstype": "^3.1.3",
21-
"detect-browser": "^5.3.0",
22-
"file-saver": "^2.0.5",
23-
"js-cookie": "^3.0.5",
24-
"lodash": "^4.17.21",
25-
"moment": "^2.29.4",
26-
"monaco-editor": "^0.34.1",
27-
"monaco-yaml": "^4.0.4",
28-
"react": "^17.0.2",
29-
"react-dom": "^17.0.2",
30-
"react-markdown": "^8.0.7",
31-
"react-monaco-editor": "^0.51.0",
32-
"react-router-dom": "^6.22.2",
33-
"react-router-hash-link": "^2.4.3"
34-
},
35-
"devDependencies": {
36-
"@babel/core": "^7.24.3",
37-
"@babel/plugin-transform-runtime": "^7.24.3",
38-
"@babel/preset-env": "^7.24.3",
39-
"@babel/preset-react": "^7.24.1",
40-
"@babel/preset-typescript": "^7.24.1",
41-
"@lingui/cli": "^4.7.2",
42-
"@lingui/macro": "^4.7.2",
43-
"@ls-lint/ls-lint": "^2.2.2",
44-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
45-
"@typescript-eslint/eslint-plugin": "^7.0.0",
46-
"@typescript-eslint/parser": "^6.14.0",
47-
"babel-core": "^7.0.0-bridge.0",
48-
"babel-loader": "^9.1.3",
49-
"babel-plugin-macros": "^3.1.0",
50-
"clean-webpack-plugin": "^4.0.0",
51-
"css-loader": "^6.10.0",
52-
"eslint": "^8.56.0",
53-
"eslint-config-prettier": "^9.1.0",
54-
"eslint-plugin-react": "^7.33.2",
55-
"fork-ts-checker-webpack-plugin": "^9.0.2",
56-
"html-webpack-plugin": "^5.6.0",
57-
"mini-css-extract-plugin": "^2.7.6",
58-
"monaco-editor-webpack-plugin": "^7.1.0",
59-
"npm-run-all": "^4.1.5",
60-
"postcss": "^8.4.32",
61-
"prettier": "^3.1.1",
62-
"sass": "^1.71.1",
63-
"sass-loader": "^14.1.1",
64-
"source-map-loader": "^5.0.0",
65-
"style-loader": "^3.3.4",
66-
"stylelint": "^15.11.0",
67-
"stylelint-config-standard-scss": "^11.1.0",
68-
"stylelint-scss": "^5.3.2",
69-
"typescript": "^5.3.3",
70-
"webpack": "^5.90.3",
71-
"webpack-cli": "^5.1.4",
72-
"webpack-dev-server": "^5.0.4"
73-
},
74-
"scripts": {
75-
"build-standalone": "NODE_ENV=production webpack --config config/standalone.prod.webpack.config.js",
76-
"eslint": "eslint --ext .js,.jsx,.ts,.tsx src/ config/ test/",
77-
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix src/ config/ test/",
78-
"find-unused-exports": "npx find-unused-exports --module-glob 'src/**/*.{js,ts,jsx,tsx}' --resolve-file-extensions 'tsx,ts,jsx,js' --resolve-index-files",
79-
"gettext:compile": "lingui compile",
80-
"gettext:extract": "lingui extract",
81-
"imports-to-relative": "perl -i -pe 's#from '\\''src/#from '\\''../#' src/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../#' src/*/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../../#' src/*/*/*/*.*",
82-
"imports-to-src": "perl -i -pe 's#from '\\''\\.\\./#from '\\''src/#' src/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./#from '\\''src/#' src/*/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./\\.\\./#from '\\''src/#' src/*/*/*/*.*",
83-
"lint": "npm-run-all lint:*",
84-
"lint-fix": "npm-run-all lint:*:fix",
85-
"lint-setup": "npm-run-all lint:*:setup",
86-
"lint:js": "npm run prettier:check && npm run eslint",
87-
"lint:js:fix": "npm run eslint:fix && npm run prettier",
88-
"lint:ls": "ls-lint",
89-
"lint:po": "lint-po locale/*.po",
90-
"lint:po:setup": "pip install --upgrade lint-po",
91-
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
92-
"lint:ts": "tsc",
93-
"lint:yaml": "yamllint .",
94-
"lint:yaml:setup": "pip install --upgrade yamllint",
95-
"prettier": "prettier --write 'src/**' 'config/**' 'test/**'",
96-
"prettier:check": "prettier -l 'src/**' 'config/**' 'test/**'",
97-
"sort-exports": "perl -i -pe 's/^export/import/' src/**/index.ts ; npm run prettier ; perl -i -pe 's/^import/export/' src/**/index.ts",
98-
"start-pulp": "NODE_ENV=development API_PROXY_PORT=8080 API_BASE_PATH='/api/galaxy/' webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js",
99-
"start-standalone": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js",
100-
"test": "npm run test-build && npm run test-run",
101-
"test-build": "test/scripts/ctn-build.sh",
102-
"test-run": "test/scripts/ctn-run.sh"
103-
},
104-
"engines": {
105-
"node": ">=18",
106-
"npm": ">=9"
107-
}
2+
"name": "ansible-hub-ui",
3+
"version": "0.1.0",
4+
"license": "Apache-2.0",
5+
"author": "Red Hat, Inc.",
6+
"private": true,
7+
"dependencies": {
8+
"@babel/runtime": "^7.24.1",
9+
"@lingui/react": "^4.7.2",
10+
"@patternfly/patternfly": "^4.224.5",
11+
"@patternfly/react-code-editor": "^4.82.122",
12+
"@patternfly/react-core": "^4.278.1",
13+
"@patternfly/react-table": "^4.113.7",
14+
"@types/node": "^18.19.21",
15+
"@types/react": "^17.0.2",
16+
"@types/react-dom": "^17.0.2",
17+
"antsibull-docs": "^1.0.0",
18+
"axios": "^1.6.7",
19+
"classnames": "^2.5.1",
20+
"csstype": "^3.1.3",
21+
"detect-browser": "^5.3.0",
22+
"file-saver": "^2.0.5",
23+
"js-cookie": "^3.0.5",
24+
"lodash": "^4.17.21",
25+
"moment": "^2.29.4",
26+
"monaco-editor": "^0.34.1",
27+
"monaco-yaml": "^4.0.4",
28+
"react": "^17.0.2",
29+
"react-dom": "^17.0.2",
30+
"react-markdown": "^8.0.7",
31+
"react-monaco-editor": "^0.51.0",
32+
"react-router-dom": "^6.22.2",
33+
"react-router-hash-link": "^2.4.3"
34+
},
35+
"devDependencies": {
36+
"@babel/core": "^7.24.3",
37+
"@babel/plugin-transform-runtime": "^7.24.3",
38+
"@babel/preset-env": "^7.24.3",
39+
"@babel/preset-react": "^7.24.1",
40+
"@babel/preset-typescript": "^7.24.1",
41+
"@lingui/cli": "^4.7.2",
42+
"@lingui/macro": "^4.7.2",
43+
"@ls-lint/ls-lint": "^2.2.2",
44+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
45+
"@typescript-eslint/eslint-plugin": "^7.0.0",
46+
"@typescript-eslint/parser": "^6.14.0",
47+
"babel-core": "^7.0.0-bridge.0",
48+
"babel-loader": "^9.1.3",
49+
"babel-plugin-macros": "^3.1.0",
50+
"clean-webpack-plugin": "^4.0.0",
51+
"css-loader": "^6.10.0",
52+
"eslint": "^8.56.0",
53+
"eslint-config-prettier": "^9.1.0",
54+
"eslint-plugin-react": "^7.33.2",
55+
"fork-ts-checker-webpack-plugin": "^9.0.2",
56+
"html-webpack-plugin": "^5.6.0",
57+
"mini-css-extract-plugin": "^2.7.6",
58+
"monaco-editor-webpack-plugin": "^7.1.0",
59+
"npm-run-all": "^4.1.5",
60+
"postcss": "^8.4.32",
61+
"prettier": "^3.1.1",
62+
"sass": "^1.71.1",
63+
"sass-loader": "^14.1.1",
64+
"source-map-loader": "^5.0.0",
65+
"style-loader": "^3.3.4",
66+
"stylelint": "^15.11.0",
67+
"stylelint-config-standard-scss": "^11.1.0",
68+
"stylelint-scss": "^5.3.2",
69+
"typescript": "^5.3.3",
70+
"webpack": "^5.90.3",
71+
"webpack-cli": "^5.1.4",
72+
"webpack-dev-server": "^5.0.4"
73+
},
74+
"scripts": {
75+
"build-standalone": "NODE_ENV=production webpack --config config/standalone.prod.webpack.config.js",
76+
"eslint": "eslint --ext .js,.jsx,.ts,.tsx src/ config/ test/",
77+
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx --fix src/ config/ test/",
78+
"find-unused-exports": "npx find-unused-exports --module-glob 'src/**/*.{js,ts,jsx,tsx}' --resolve-file-extensions 'tsx,ts,jsx,js' --resolve-index-files",
79+
"gettext:compile": "lingui compile",
80+
"gettext:extract": "lingui extract",
81+
"imports-to-relative": "perl -i -pe 's#from '\\''src/#from '\\''../#' src/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../#' src/*/*/*.* ; perl -i -pe 's#from '\\''src/#from '\\''../../../#' src/*/*/*/*.*",
82+
"imports-to-src": "perl -i -pe 's#from '\\''\\.\\./#from '\\''src/#' src/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./#from '\\''src/#' src/*/*/*.* ; perl -i -pe 's#from '\\''\\.\\./\\.\\./\\.\\./#from '\\''src/#' src/*/*/*/*.*",
83+
"lint": "npm-run-all lint:*",
84+
"lint-fix": "npm-run-all lint:*:fix",
85+
"lint-setup": "npm-run-all lint:*:setup",
86+
"lint:js": "npm run prettier:check && npm run eslint",
87+
"lint:js:fix": "npm run eslint:fix && npm run prettier",
88+
"lint:ls": "ls-lint",
89+
"lint:po": "lint-po locale/*.po",
90+
"lint:po:setup": "pip install --upgrade lint-po",
91+
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
92+
"lint:ts": "tsc",
93+
"lint:yaml": "yamllint .",
94+
"lint:yaml:setup": "pip install --upgrade yamllint",
95+
"prettier": "prettier --write 'src/**' 'config/**' 'test/**'",
96+
"prettier:check": "prettier -l 'src/**' 'config/**' 'test/**'",
97+
"sort-exports": "perl -i -pe 's/^export/import/' src/**/index.ts ; npm run prettier ; perl -i -pe 's/^import/export/' src/**/index.ts",
98+
"start-pulp": "NODE_ENV=development API_PROXY_PORT=8080 API_BASE_PATH='/api/galaxy/' webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js",
99+
"start-standalone": "NODE_ENV=development webpack serve --host 0.0.0.0 --config config/standalone.dev.webpack.config.js"
100+
},
101+
"engines": {
102+
"node": ">=18",
103+
"npm": ">=9"
104+
}
108105
}

test/Dockerfile

-16
This file was deleted.

0 commit comments

Comments
 (0)