@bigbinary/neeto-audit-frontend 1.0.3 → 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.
Files changed (30) hide show
  1. package/.github/CODEOWNERS +1 -0
  2. package/common/.husky/nano/pre-push +9 -0
  3. package/common/eslint/nano/.eslintrc.js +14 -0
  4. package/common/recommendedDependencies/common.js +110 -0
  5. package/common/recommendedDependencies/frontend.js +2 -101
  6. package/common/recommendedDependencies/index.js +4 -2
  7. package/common/recommendedDependencies/nano.js +11 -0
  8. package/dist/index.js +15173 -2524
  9. package/package.json +13 -6
  10. package/src/cli.js +4 -32
  11. package/src/constants/index.js +3 -0
  12. package/src/utils/index.js +121 -10
  13. package/src/verifiers/currentNodeVersion/index.js +3 -3
  14. package/src/verifiers/eslint/constants.js +0 -4
  15. package/src/verifiers/eslint/index.js +15 -7
  16. package/src/verifiers/husky/constants.js +4 -0
  17. package/src/verifiers/husky/index.js +29 -6
  18. package/src/verifiers/index.js +5 -6
  19. package/src/verifiers/prettier/index.js +3 -5
  20. package/src/verifiers/recommendedPackageVersions/constants.js +5 -5
  21. package/src/verifiers/recommendedPackageVersions/index.js +38 -14
  22. package/src/verifiers/recommendedPackageVersions/utils.js +21 -19
  23. /package/common/.husky/{_ → common/_}/husky.sh +0 -0
  24. /package/common/.husky/{helpers → common/helpers}/lint_staged.sh +0 -0
  25. /package/common/.husky/{helpers → common/helpers}/neeto_audit_frontend.sh +0 -0
  26. /package/common/.husky/{helpers → common/helpers}/prevent_conflict_markers.sh +0 -0
  27. /package/common/.husky/{helpers → common/helpers}/prevent_pushing_to_main.sh +0 -0
  28. /package/common/.husky/{pre-commit → common/pre-commit} +0 -0
  29. /package/common/.husky/{pre-push → frontend/pre-push} +0 -0
  30. /package/common/eslint/{.eslintrc.js → common/.eslintrc.js} +0 -0
@@ -1 +1,2 @@
1
1
  * @Thejus-Paul
2
+ * @ajmaln
@@ -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,107 +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-audit-frontend": "1.0.3",
14
- "@bigbinary/neeto-commons-frontend": "2.0.94",
15
- "@bigbinary/neeto-filters-frontend": "2.11.18",
16
- "@bigbinary/neeto-icons": "1.12.3",
17
- "@bigbinary/neeto-molecules": "1.0.34",
18
- "@bigbinary/neetoui": "5.0.13",
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.2",
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.44.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": "4.2.1",
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": "2.0.0",
50
- formik: "2.4.2",
51
- husky: "8.0.3",
52
- i18next: "23.2.8",
53
- "js-logger": "1.6.1",
54
- "lint-staged": "13.2.3",
55
- "mixpanel-browser": "2.47.0",
56
- postcss: "8.4.25",
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.3.0",
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.1",
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.63.6",
77
- tailwindcss: "npm:@tailwindcss/postcss7-compat",
78
- util: "0.12.5",
79
- yup: "1.2.0",
80
- };
3
+ const DEV_DEPENDENCIES = {};
81
4
 
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": "^4.4.10",
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
- };
5
+ const PEER_DEPENDENCIES = {};
105
6
 
106
7
  export default {
107
8
  dependencies: DEPENDENCIES,
@@ -1,5 +1,7 @@
1
- import frontend from "./frontend";
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 };
@@ -0,0 +1,11 @@
1
+ const DEPENDENCIES = {};
2
+
3
+ const DEV_DEPENDENCIES = {};
4
+
5
+ const PEER_DEPENDENCIES = {};
6
+
7
+ export default {
8
+ dependencies: DEPENDENCIES,
9
+ devDependencies: DEV_DEPENDENCIES,
10
+ peerDependencies: PEER_DEPENDENCIES,
11
+ };