@bigbinary/neeto-approvals-frontend 0.2.12 → 0.2.13

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/package.json CHANGED
@@ -1,178 +1,192 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-approvals-frontend",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "To manage approvals across neeto products.",
5
5
  "license": "UNLICENSED",
6
- "homepage": "https://github.com/bigbinary/neeto-approvals-frontend#readme",
6
+ "homepage": "https://github.com/bigbinary/neeto-approvals-nano",
7
7
  "bugs": {
8
- "url": "https://github.com/bigbinary/neeto-approvals-frontend/issues"
8
+ "url": "https://github.com/bigbinary/neeto-approvals-nano/issues"
9
9
  },
10
- "repository": "github:bigbinary/neeto-approvals-frontend",
10
+ "repository": "neeto-approvals-nano",
11
11
  "author": "BigBinary",
12
12
  "files": [
13
13
  "dist",
14
14
  "types.d.ts",
15
- "src/translations"
15
+ "app/javascript/src/translations"
16
16
  ],
17
17
  "main": "dist/index.cjs.js",
18
18
  "module": "dist/index.js",
19
19
  "types": "types.d.ts",
20
20
  "scripts": {
21
21
  "build": "NODE_ENV=production rollup -c --environment production",
22
- "dev": "(trap 'kill 0' SIGINT; vite & yarn server)",
22
+ "build-preview": "NODE_ENV=production webpack",
23
23
  "prepare": "husky install",
24
- "server": "node example/db",
25
- "start": "vite"
24
+ "release": "yarn build && yalc push --sig"
26
25
  },
27
26
  "lint-staged": {
28
- "{src,example}/**/*.{js,jsx,json}": [
27
+ "./**/*.rb": [
28
+ "bundle exec rubocop -a --force-exclusion"
29
+ ],
30
+ "./**/app/javascript/**/*.{js,jsx,json}": [
29
31
  "prettier --write",
30
32
  "eslint --fix"
33
+ ],
34
+ "./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
35
+ "prettier --write",
36
+ "eslint --fix"
37
+ ],
38
+ "{Gemfile,Rakefile,config.ru}": [
39
+ "bundle exec rubocop -a --force-exclusion"
31
40
  ]
32
41
  },
33
42
  "devDependencies": {
34
- "@babel/core": "^7.19.1",
35
- "@babel/eslint-parser": "7.17.0",
36
- "@babel/plugin-transform-runtime": "^7.19.1",
37
- "@babel/preset-env": "7.17.10",
38
- "@babel/preset-react": "7.16.7",
39
- "@babel/preset-typescript": "^7.18.6",
40
- "@babel/runtime": "^7.19.0",
41
- "@bigbinary/babel-preset-neeto": "^1.0.3",
42
- "@bigbinary/eslint-plugin-neeto": "^1.1.14",
43
+ "@babel/core": "7.22.9",
44
+ "@babel/eslint-parser": "7.22.9",
45
+ "@babel/plugin-transform-runtime": "7.22.9",
46
+ "@babel/preset-env": "7.22.9",
47
+ "@babel/preset-react": "7.22.5",
48
+ "@babel/preset-typescript": "7.22.5",
49
+ "@babel/runtime": "7.22.6",
50
+ "@bigbinary/babel-preset-neeto": "1.0.3",
51
+ "@bigbinary/eslint-plugin-neeto": "1.1.2",
43
52
  "@bigbinary/neeto-audit-frontend": "1.0.7",
44
53
  "@bigbinary/neeto-cist": "^1.0.2",
45
- "@bigbinary/neeto-commons-frontend": "^2.1.29",
54
+ "@bigbinary/neeto-commons-frontend": "2.0.99",
46
55
  "@bigbinary/neeto-editor": "^1.28.8",
47
- "@bigbinary/neeto-filters-frontend": "2.12.9",
48
- "@bigbinary/neeto-icons": "1.17.2",
49
- "@bigbinary/neeto-molecules": "1.1.44",
50
- "@bigbinary/neetoui": "5.2.21",
51
- "@emotion/is-prop-valid": "^1.2.0",
52
- "@faker-js/faker": "7.6.0",
53
- "@honeybadger-io/react": "^2.0.1",
54
- "@rollup/plugin-alias": "4.0.2",
56
+ "@bigbinary/neeto-filters-frontend": "2.12.1",
57
+ "@bigbinary/neeto-icons": "1.13.0",
58
+ "@bigbinary/neeto-molecules": "1.0.34",
59
+ "@bigbinary/neetoui": "5.0.15",
60
+ "@emotion/is-prop-valid": "1.2.0",
61
+ "@faker-js/faker": "8.0.2",
62
+ "@honeybadger-io/react": "2.0.1",
63
+ "@rollup/plugin-alias": "5.0.0",
55
64
  "@rollup/plugin-babel": "6.0.3",
56
- "@rollup/plugin-commonjs": "24.0.0",
65
+ "@rollup/plugin-commonjs": "25.0.3",
57
66
  "@rollup/plugin-json": "6.0.0",
58
- "@rollup/plugin-node-resolve": "15.0.1",
67
+ "@rollup/plugin-node-resolve": "15.1.0",
59
68
  "@rollup/plugin-replace": "5.0.2",
60
- "@svgr/rollup": "6.5.1",
61
- "@vitejs/plugin-react": "^3.0.0",
62
- "antd": "4.24.3",
63
- "assert": "^2.0.0",
64
- "autoprefixer": "^10.4.5",
65
- "axios": "1.6.0",
66
- "babel-loader": "^8.2.5",
67
- "babel-plugin-istanbul": "^6.1.1",
69
+ "@svgr/rollup": "8.0.1",
70
+ "antd": "4.24.10",
71
+ "autoprefixer": "10.4.14",
72
+ "axios": "1.4.0",
73
+ "babel-loader": "9.1.3",
74
+ "babel-plugin-istanbul": "6.1.1",
68
75
  "babel-plugin-js-logger": "1.0.17",
69
76
  "babel-plugin-macros": "3.1.0",
70
77
  "babel-plugin-preval": "^5.1.0",
71
78
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
72
79
  "babel-preset-react": "6.24.1",
73
- "babel-preset-typescript": "^7.0.0-alpha.19",
74
- "browserify-zlib": "^0.2.0",
75
- "buffer": "^6.0.3",
76
- "classnames": "2.3.1",
77
- "crypto-browserify": "^3.12.0",
78
- "css-loader": "6.7.1",
79
- "eslint": "8.14.0",
80
- "eslint-config-prettier": "8.5.0",
81
- "eslint-plugin-cypress": "2.12.1",
82
- "eslint-plugin-import": "2.26.0",
80
+ "babel-preset-typescript": "7.0.0-alpha.19",
81
+ "browserify-zlib": "0.2.0",
82
+ "buffer": "6.0.3",
83
+ "classnames": "2.3.2",
84
+ "crypto-browserify": "3.12.0",
85
+ "css-loader": "6.8.1",
86
+ "dompurify": "3.0.2",
87
+ "dotenv-webpack": "^8.0.1",
88
+ "eslint": "8.45.0",
89
+ "eslint-config-prettier": "8.8.0",
90
+ "eslint-plugin-cypress": "2.13.3",
91
+ "eslint-plugin-import": "2.27.5",
83
92
  "eslint-plugin-jam3": "0.2.3",
84
93
  "eslint-plugin-json": "3.1.0",
85
- "eslint-plugin-prettier": "4.0.0",
86
- "eslint-plugin-promise": "6.0.0",
87
- "eslint-plugin-react": "7.29.4",
88
- "eslint-plugin-react-hooks": "4.5.0",
89
- "eslint-plugin-unused-imports": "2.0.0",
90
- "formik": "2.2.9",
91
- "html-loader": "4.2.0",
92
- "html-webpack-plugin": "5.5.0",
93
- "https-browserify": "^1.0.0",
94
- "husky": "7.0.4",
95
- "i18next": "22.5.1",
94
+ "eslint-plugin-prettier": "5.0.0",
95
+ "eslint-plugin-promise": "6.1.1",
96
+ "eslint-plugin-react": "7.32.2",
97
+ "eslint-plugin-react-hooks": "4.6.0",
98
+ "eslint-plugin-security": "^1.7.1",
99
+ "eslint-plugin-sonarjs": "^0.21.0",
100
+ "eslint-plugin-unused-imports": "3.0.0",
101
+ "eslint-plugin-xss": "^0.1.12",
102
+ "formik": "2.4.2",
103
+ "html-webpack-plugin": "5.5.3",
104
+ "https-browserify": "1.0.0",
105
+ "husky": "8.0.3",
106
+ "i18next": "23.2.11",
96
107
  "i18next-browser-languagedetector": "7.0.1",
97
108
  "js-logger": "1.6.1",
98
- "lint-staged": "12.4.1",
99
- "mixpanel-browser": "^2.45.0",
100
- "os-browserify": "^0.3.0",
101
- "path-browserify": "^1.0.1",
102
- "postcss": "^8.4.17",
103
- "postcss-import": "^15.0.0",
104
- "postcss-loader": "^7.0.1",
105
- "postcss-preset-env": "7.8.2",
106
- "prettier": "2.6.2",
107
- "prettier-plugin-tailwindcss": "0.1.10",
108
- "prop-types": "15.8.1",
109
+ "lint-staged": "13.2.3",
110
+ "mini-css-extract-plugin": "2.7.6",
111
+ "mixpanel-browser": "2.47.0",
112
+ "os-browserify": "0.3.0",
113
+ "path-browserify": "1.0.1",
114
+ "postcss": "8.4.26",
115
+ "postcss-import": "15.1.0",
116
+ "postcss-loader": "7.3.3",
117
+ "postcss-preset-env": "9.0.0",
118
+ "prettier": "2.8.8",
119
+ "prettier-plugin-tailwindcss": "0.4.1",
120
+ "process": "0.11.10",
121
+ "qs": "6.11.2",
109
122
  "ramda": "0.29.0",
110
- "react": "^18.2.0",
111
- "react-dom": "^18.2.0",
112
- "react-helmet": "^6.1.0",
113
- "react-i18next": "11.16.8",
114
- "react-query": "3.39.2",
115
- "react-router-dom": "5.3.3",
123
+ "react": "17.0.2",
124
+ "react-dom": "17.0.2",
125
+ "react-helmet": "6.1.0",
126
+ "react-i18next": "13.0.2",
127
+ "react-query": "3.39.3",
128
+ "react-router-dom": "5.3.4",
116
129
  "react-toastify": "8.2.0",
130
+ "react_ujs": "^3.1.1",
117
131
  "rollup": "2.79.1",
118
132
  "rollup-plugin-analyzer": "4.0.0",
119
133
  "rollup-plugin-cleaner": "1.0.0",
120
134
  "rollup-plugin-peer-deps-external": "2.2.4",
121
135
  "rollup-plugin-styles": "4.0.0",
122
- "sass": "1.57.1",
123
- "sass-loader": "13.0.2",
124
- "stream-browserify": "^3.0.0",
125
- "stream-http": "^3.2.0",
126
- "style-loader": "3.3.1",
136
+ "sass": "1.64.0",
137
+ "sass-loader": "13.3.2",
138
+ "shakapacker": "6.6.0",
139
+ "stream-browserify": "3.0.0",
140
+ "stream-http": "3.2.0",
141
+ "style-loader": "3.3.3",
127
142
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
128
- "tty-browserify": "^0.0.1",
129
- "url": "^0.11.0",
130
- "util": "^0.12.5",
131
- "vite": "4.0.5",
132
- "vite-plugin-babel": "^1.1.3",
133
- "webpack": "5.74.0",
134
- "webpack-cli": "4.10.0",
135
- "webpack-dev-server": "4.11.1",
136
- "yup": "0.32.11",
137
- "zustand": "4.3.2"
143
+ "tty-browserify": "0.0.1",
144
+ "url": "0.11.1",
145
+ "util": "0.12.5",
146
+ "vm-browserify": "1.1.2",
147
+ "webpack": "5.88.1",
148
+ "webpack-assets-manifest": "5.1.0",
149
+ "webpack-cli": "5.1.4",
150
+ "webpack-dev-server": "4.15.1",
151
+ "yup": "1.2.0"
138
152
  },
139
153
  "peerDependencies": {
140
- "@bigbinary/neeto-commons-frontend": "latest",
154
+ "@bigbinary/neeto-cist": "latest",
155
+ "@bigbinary/neeto-commons-frontend": "^2.0.54",
141
156
  "@bigbinary/neeto-editor": "latest",
142
- "@bigbinary/neeto-icons": "latest",
143
- "@bigbinary/neeto-molecules": "latest",
144
- "@bigbinary/neetoui": "latest",
145
- "@honeybadger-io/react": "2.0.1",
146
- "antd": "4.24.3",
147
- "axios": "1.6.0",
148
- "classnames": "2.3.1",
149
- "dayjs": "1.11.1",
150
- "formik": "2.2.9",
151
- "i18next": "22.5.1",
152
- "ramda": "0.29.0",
157
+ "@bigbinary/neeto-filters-frontend": "^2.8.1",
158
+ "@bigbinary/neeto-icons": "^1.9.22",
159
+ "@bigbinary/neeto-molecules": "^1.0.9",
160
+ "@bigbinary/neetoui": "^5.0.4",
161
+ "@honeybadger-io/react": "^2.0.1",
162
+ "axios": "^0.27.2",
163
+ "classnames": "^2.3.2",
164
+ "formik": "^2.2.9",
165
+ "i18next": "^22.5.1",
166
+ "js-logger": "^1.6.1",
167
+ "mixpanel-browser": "^2.45.0",
168
+ "ramda": "^0.29.0",
153
169
  "react": "17.0.2",
154
170
  "react-dom": "17.0.2",
155
- "react-helmet": "6.1.0",
156
- "react-i18next": "11.16.8",
171
+ "react-helmet": "^6.1.0",
172
+ "react-i18next": "^12.3.1",
157
173
  "react-query": "3.39.2",
158
- "react-router-dom": "5.3.1",
174
+ "react-router-dom": "5.3.0",
159
175
  "react-toastify": "8.2.0",
160
- "yup": "0.32.11"
176
+ "yup": "^0.32.11",
177
+ "zustand": "4.3.2"
161
178
  },
162
179
  "resolutions": {
163
- "ansi-regex": "^5.0.1",
164
- "chokidar": "^3",
165
- "core-js": "^3.4",
166
- "glob-parent": "^5.1.2",
167
- "got": "^12.1.0",
168
- "minimist": "^1.2.6",
169
- "nth-check": "^2.0.1",
170
- "svgo": "^2",
171
- "unset-value": "^2.0.1"
180
+ "postcss": "^8"
172
181
  },
173
182
  "engines": {
174
- "node": "18.12",
175
- "npm": "9.x",
176
- "yarn": "1.22.x"
183
+ "node": ">=18.12",
184
+ "npm": ">=9",
185
+ "yarn": ">=1.22"
186
+ },
187
+ "dependencies": {
188
+ "react-router-nav-prompt": "0.4.1",
189
+ "source-map-loader": "^4.0.1",
190
+ "zustand": "4.3.2"
177
191
  }
178
192
  }