@bigbinary/neeto-audit-frontend 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +1 -0
- package/.github/pull_request_template.md +1 -1
- package/common/.husky/common/helpers/neeto_audit_frontend.sh +5 -0
- package/common/.husky/{pre-push → frontend/pre-push} +2 -0
- package/common/.husky/nano/pre-push +9 -0
- package/common/eslint/nano/.eslintrc.js +14 -0
- package/common/recommendedDependencies/common.js +110 -0
- package/common/recommendedDependencies/frontend.js +2 -100
- package/common/recommendedDependencies/index.js +4 -2
- package/common/recommendedDependencies/nano.js +11 -0
- package/dist/index.js +15310 -2465
- package/package.json +13 -6
- package/src/cli.js +4 -31
- package/src/constants/index.js +3 -0
- package/src/utils/index.js +121 -11
- package/src/verifiers/currentNodeVersion/index.js +3 -3
- package/src/verifiers/eslint/constants.js +0 -4
- package/src/verifiers/eslint/index.js +15 -7
- package/src/verifiers/husky/constants.js +4 -0
- package/src/verifiers/husky/index.js +29 -6
- package/src/verifiers/index.js +5 -6
- package/src/verifiers/prettier/index.js +3 -5
- package/src/verifiers/recommendedPackageVersions/constants.js +5 -5
- package/src/verifiers/recommendedPackageVersions/index.js +43 -13
- package/src/verifiers/recommendedPackageVersions/utils.js +42 -20
- /package/common/.husky/{_ → common/_}/husky.sh +0 -0
- /package/common/.husky/{helpers → common/helpers}/lint_staged.sh +0 -0
- /package/common/.husky/{helpers → common/helpers}/prevent_conflict_markers.sh +0 -0
- /package/common/.husky/{helpers → common/helpers}/prevent_pushing_to_main.sh +0 -0
- /package/common/.husky/{pre-commit → common/pre-commit} +0 -0
- /package/common/eslint/{.eslintrc.js → common/.eslintrc.js} +0 -0
package/.github/CODEOWNERS
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**Checklist**
|
|
4
4
|
|
|
5
5
|
- [ ] I have made corresponding changes to the documentation.
|
|
6
|
-
- [ ] I have verified the functionality in some of the neeto
|
|
6
|
+
- [ ] I have verified the functionality in some of the neeto nanos.
|
|
7
7
|
- [ ] I have added the necessary label (patch/minor/major - If package publish
|
|
8
8
|
is required).
|
|
9
9
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
. "$(dirname "$0")/_/husky.sh"
|
|
3
|
+
. "$(dirname "$0")/helpers/prevent_pushing_to_main.sh"
|
|
4
|
+
. "$(dirname "$0")/helpers/verify_neeto_audit.sh"
|
|
5
|
+
. "$(dirname "$0")/helpers/neeto_audit_frontend.sh"
|
|
6
|
+
|
|
7
|
+
prevent_pushing_to_main
|
|
8
|
+
verify_neeto_audit
|
|
9
|
+
neeto_audit_frontend
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const defaultConfig = require("@bigbinary/neeto-commons-frontend/configs/eslint/index.js");
|
|
2
|
+
|
|
3
|
+
const { mergeDeepLeft } = require("ramda");
|
|
4
|
+
|
|
5
|
+
module.exports = mergeDeepLeft(
|
|
6
|
+
{
|
|
7
|
+
rules: {
|
|
8
|
+
"@bigbinary/neeto/no-missing-localization": "off",
|
|
9
|
+
"@bigbinary/neeto/webpack-aliases-and-jsconfig-paths-should-be-in-sync":
|
|
10
|
+
"off",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
defaultConfig
|
|
14
|
+
);
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
const DEPENDENCIES = {};
|
|
2
|
+
|
|
3
|
+
const DEV_DEPENDENCIES = {
|
|
4
|
+
"@babel/core": "7.22.9",
|
|
5
|
+
"@babel/eslint-parser": "7.22.9",
|
|
6
|
+
"@babel/plugin-transform-runtime": "7.22.9",
|
|
7
|
+
"@babel/preset-env": "7.22.9",
|
|
8
|
+
"@babel/preset-react": "7.22.5",
|
|
9
|
+
"@babel/preset-typescript": "7.22.5",
|
|
10
|
+
"@babel/runtime": "7.22.6",
|
|
11
|
+
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
12
|
+
"@bigbinary/eslint-plugin-neeto": "1.1.2",
|
|
13
|
+
"@bigbinary/neeto-audit-frontend": "1.0.4",
|
|
14
|
+
"@bigbinary/neeto-commons-frontend": "2.0.99",
|
|
15
|
+
"@bigbinary/neeto-filters-frontend": "2.12.1",
|
|
16
|
+
"@bigbinary/neeto-icons": "1.13.0",
|
|
17
|
+
"@bigbinary/neeto-molecules": "1.0.34",
|
|
18
|
+
"@bigbinary/neetoui": "5.0.15",
|
|
19
|
+
"@faker-js/faker": "8.0.2",
|
|
20
|
+
"@honeybadger-io/react": "2.0.1",
|
|
21
|
+
"@rollup/plugin-alias": "5.0.0",
|
|
22
|
+
"@rollup/plugin-babel": "6.0.3",
|
|
23
|
+
"@rollup/plugin-commonjs": "25.0.3",
|
|
24
|
+
"@rollup/plugin-json": "6.0.0",
|
|
25
|
+
"@rollup/plugin-node-resolve": "15.1.0",
|
|
26
|
+
"@rollup/plugin-replace": "5.0.2",
|
|
27
|
+
"@svgr/rollup": "8.0.1",
|
|
28
|
+
antd: "4.24.10",
|
|
29
|
+
autoprefixer: "10.4.14",
|
|
30
|
+
axios: "1.4.0",
|
|
31
|
+
"babel-loader": "9.1.3",
|
|
32
|
+
"babel-plugin-istanbul": "6.1.1",
|
|
33
|
+
"babel-plugin-js-logger": "1.0.17",
|
|
34
|
+
"babel-plugin-macros": "3.1.0",
|
|
35
|
+
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
36
|
+
"babel-preset-react": "6.24.1",
|
|
37
|
+
"babel-preset-typescript": "7.0.0-alpha.19",
|
|
38
|
+
classnames: "2.3.2",
|
|
39
|
+
eslint: "8.45.0",
|
|
40
|
+
"eslint-config-prettier": "8.8.0",
|
|
41
|
+
"eslint-plugin-cypress": "2.13.3",
|
|
42
|
+
"eslint-plugin-import": "2.27.5",
|
|
43
|
+
"eslint-plugin-jam3": "0.2.3",
|
|
44
|
+
"eslint-plugin-json": "3.1.0",
|
|
45
|
+
"eslint-plugin-prettier": "5.0.0",
|
|
46
|
+
"eslint-plugin-promise": "6.1.1",
|
|
47
|
+
"eslint-plugin-react": "7.32.2",
|
|
48
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
49
|
+
"eslint-plugin-unused-imports": "3.0.0",
|
|
50
|
+
formik: "2.4.2",
|
|
51
|
+
husky: "8.0.3",
|
|
52
|
+
i18next: "23.2.11",
|
|
53
|
+
"js-logger": "1.6.1",
|
|
54
|
+
"lint-staged": "13.2.3",
|
|
55
|
+
"mixpanel-browser": "2.47.0",
|
|
56
|
+
postcss: "8.4.26",
|
|
57
|
+
"postcss-import": "15.1.0",
|
|
58
|
+
"postcss-loader": "7.3.3",
|
|
59
|
+
"postcss-preset-env": "9.0.0",
|
|
60
|
+
prettier: "2.8.8",
|
|
61
|
+
"prettier-plugin-tailwindcss": "0.4.1",
|
|
62
|
+
qs: "6.11.2",
|
|
63
|
+
ramda: "0.29.0",
|
|
64
|
+
react: "17.0.2",
|
|
65
|
+
"react-dom": "17.0.2",
|
|
66
|
+
"react-helmet": "6.1.0",
|
|
67
|
+
"react-i18next": "13.0.2",
|
|
68
|
+
"react-query": "3.39.3",
|
|
69
|
+
"react-router-dom": "5.3.4",
|
|
70
|
+
"react-toastify": "8.2.0",
|
|
71
|
+
rollup: "2.79.1",
|
|
72
|
+
"rollup-plugin-analyzer": "4.0.0",
|
|
73
|
+
"rollup-plugin-cleaner": "1.0.0",
|
|
74
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
75
|
+
"rollup-plugin-styles": "4.0.0",
|
|
76
|
+
sass: "1.64.0",
|
|
77
|
+
tailwindcss: "npm:@tailwindcss/postcss7-compat",
|
|
78
|
+
util: "0.12.5",
|
|
79
|
+
yup: "1.2.0",
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const PEER_DEPENDENCIES = {
|
|
83
|
+
"@bigbinary/neeto-commons-frontend": "^2.0.54",
|
|
84
|
+
"@bigbinary/neeto-filters-frontend": "^2.8.1",
|
|
85
|
+
"@bigbinary/neeto-icons": "^1.9.22",
|
|
86
|
+
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
87
|
+
"@bigbinary/neetoui": "^5.0.4",
|
|
88
|
+
"@honeybadger-io/react": "^2.0.1",
|
|
89
|
+
axios: "^0.27.2",
|
|
90
|
+
classnames: "^2.3.2",
|
|
91
|
+
formik: "^2.2.9",
|
|
92
|
+
i18next: "^22.5.1",
|
|
93
|
+
"js-logger": "^1.6.1",
|
|
94
|
+
"mixpanel-browser": "^2.45.0",
|
|
95
|
+
ramda: "^0.29.0",
|
|
96
|
+
react: "17.0.2",
|
|
97
|
+
"react-dom": "17.0.2",
|
|
98
|
+
"react-helmet": "^6.1.0",
|
|
99
|
+
"react-i18next": "^12.3.1",
|
|
100
|
+
"react-query": "3.39.2",
|
|
101
|
+
"react-router-dom": "5.3.0",
|
|
102
|
+
"react-toastify": "8.2.0",
|
|
103
|
+
yup: "^0.32.11",
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export default {
|
|
107
|
+
dependencies: DEPENDENCIES,
|
|
108
|
+
devDependencies: DEV_DEPENDENCIES,
|
|
109
|
+
peerDependencies: PEER_DEPENDENCIES,
|
|
110
|
+
};
|
|
@@ -1,106 +1,8 @@
|
|
|
1
1
|
const DEPENDENCIES = {};
|
|
2
2
|
|
|
3
|
-
const DEV_DEPENDENCIES = {
|
|
4
|
-
"@babel/core": "7.22.8",
|
|
5
|
-
"@babel/eslint-parser": "7.22.7",
|
|
6
|
-
"@babel/plugin-transform-runtime": "7.22.7",
|
|
7
|
-
"@babel/preset-env": "7.22.7",
|
|
8
|
-
"@babel/preset-react": "7.22.5",
|
|
9
|
-
"@babel/preset-typescript": "7.22.5",
|
|
10
|
-
"@babel/runtime": "7.22.6",
|
|
11
|
-
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
12
|
-
"@bigbinary/eslint-plugin-neeto": "1.0.64",
|
|
13
|
-
"@bigbinary/neeto-commons-frontend": "2.0.94",
|
|
14
|
-
"@bigbinary/neeto-filters-frontend": "2.11.18",
|
|
15
|
-
"@bigbinary/neeto-icons": "1.12.3",
|
|
16
|
-
"@bigbinary/neeto-molecules": "1.0.34",
|
|
17
|
-
"@bigbinary/neetoui": "5.0.13",
|
|
18
|
-
"@faker-js/faker": "8.0.2",
|
|
19
|
-
"@honeybadger-io/react": "2.0.1",
|
|
20
|
-
"@rollup/plugin-alias": "5.0.0",
|
|
21
|
-
"@rollup/plugin-babel": "6.0.3",
|
|
22
|
-
"@rollup/plugin-commonjs": "25.0.2",
|
|
23
|
-
"@rollup/plugin-json": "6.0.0",
|
|
24
|
-
"@rollup/plugin-node-resolve": "15.1.0",
|
|
25
|
-
"@rollup/plugin-replace": "5.0.2",
|
|
26
|
-
"@svgr/rollup": "8.0.1",
|
|
27
|
-
antd: "4.24.10",
|
|
28
|
-
autoprefixer: "10.4.14",
|
|
29
|
-
axios: "1.4.0",
|
|
30
|
-
"babel-loader": "9.1.3",
|
|
31
|
-
"babel-plugin-istanbul": "6.1.1",
|
|
32
|
-
"babel-plugin-js-logger": "1.0.17",
|
|
33
|
-
"babel-plugin-macros": "3.1.0",
|
|
34
|
-
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
35
|
-
"babel-preset-react": "6.24.1",
|
|
36
|
-
"babel-preset-typescript": "7.0.0-alpha.19",
|
|
37
|
-
classnames: "2.3.2",
|
|
38
|
-
eslint: "8.44.0",
|
|
39
|
-
"eslint-config-prettier": "8.8.0",
|
|
40
|
-
"eslint-plugin-cypress": "2.13.3",
|
|
41
|
-
"eslint-plugin-import": "2.27.5",
|
|
42
|
-
"eslint-plugin-jam3": "0.2.3",
|
|
43
|
-
"eslint-plugin-json": "3.1.0",
|
|
44
|
-
"eslint-plugin-prettier": "4.2.1",
|
|
45
|
-
"eslint-plugin-promise": "6.1.1",
|
|
46
|
-
"eslint-plugin-react": "7.32.2",
|
|
47
|
-
"eslint-plugin-react-hooks": "4.6.0",
|
|
48
|
-
"eslint-plugin-unused-imports": "2.0.0",
|
|
49
|
-
formik: "2.4.2",
|
|
50
|
-
husky: "8.0.3",
|
|
51
|
-
i18next: "23.2.8",
|
|
52
|
-
"js-logger": "1.6.1",
|
|
53
|
-
"lint-staged": "13.2.3",
|
|
54
|
-
"mixpanel-browser": "2.47.0",
|
|
55
|
-
postcss: "8.4.25",
|
|
56
|
-
"postcss-import": "15.1.0",
|
|
57
|
-
"postcss-loader": "7.3.3",
|
|
58
|
-
"postcss-preset-env": "9.0.0",
|
|
59
|
-
prettier: "2.8.8",
|
|
60
|
-
"prettier-plugin-tailwindcss": "0.3.0",
|
|
61
|
-
qs: "6.11.2",
|
|
62
|
-
ramda: "0.29.0",
|
|
63
|
-
react: "17.0.2",
|
|
64
|
-
"react-dom": "17.0.2",
|
|
65
|
-
"react-helmet": "6.1.0",
|
|
66
|
-
"react-i18next": "13.0.1",
|
|
67
|
-
"react-query": "3.39.3",
|
|
68
|
-
"react-router-dom": "5.3.4",
|
|
69
|
-
"react-toastify": "8.2.0",
|
|
70
|
-
rollup: "2.79.1",
|
|
71
|
-
"rollup-plugin-analyzer": "4.0.0",
|
|
72
|
-
"rollup-plugin-cleaner": "1.0.0",
|
|
73
|
-
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
74
|
-
"rollup-plugin-styles": "4.0.0",
|
|
75
|
-
sass: "1.63.6",
|
|
76
|
-
tailwindcss: "npm:@tailwindcss/postcss7-compat",
|
|
77
|
-
util: "0.12.5",
|
|
78
|
-
yup: "1.2.0",
|
|
79
|
-
};
|
|
3
|
+
const DEV_DEPENDENCIES = {};
|
|
80
4
|
|
|
81
|
-
const PEER_DEPENDENCIES = {
|
|
82
|
-
"@bigbinary/neeto-commons-frontend": "^2.0.54",
|
|
83
|
-
"@bigbinary/neeto-filters-frontend": "^2.8.1",
|
|
84
|
-
"@bigbinary/neeto-icons": "^1.9.22",
|
|
85
|
-
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
86
|
-
"@bigbinary/neetoui": "^4.4.10",
|
|
87
|
-
"@honeybadger-io/react": "^2.0.1",
|
|
88
|
-
axios: "^0.27.2",
|
|
89
|
-
classnames: "^2.3.2",
|
|
90
|
-
formik: "^2.2.9",
|
|
91
|
-
i18next: "^22.5.1",
|
|
92
|
-
"js-logger": "^1.6.1",
|
|
93
|
-
"mixpanel-browser": "^2.45.0",
|
|
94
|
-
ramda: "^0.29.0",
|
|
95
|
-
react: "17.0.2",
|
|
96
|
-
"react-dom": "17.0.2",
|
|
97
|
-
"react-helmet": "^6.1.0",
|
|
98
|
-
"react-i18next": "^12.3.1",
|
|
99
|
-
"react-query": "3.39.2",
|
|
100
|
-
"react-router-dom": "5.3.0",
|
|
101
|
-
"react-toastify": "8.2.0",
|
|
102
|
-
yup: "^0.32.11",
|
|
103
|
-
};
|
|
5
|
+
const PEER_DEPENDENCIES = {};
|
|
104
6
|
|
|
105
7
|
export default {
|
|
106
8
|
dependencies: DEPENDENCIES,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import common from "./common";
|
|
2
2
|
import extension from "./extension";
|
|
3
|
+
import frontend from "./frontend";
|
|
4
|
+
import nano from "./nano";
|
|
3
5
|
import widget from "./widget";
|
|
4
6
|
|
|
5
|
-
export default { extension, frontend, widget };
|
|
7
|
+
export default { common, extension, frontend, nano, widget };
|