@bigbinary/neeto-webhooks-frontend 1.5.3 → 1.5.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/package.json CHANGED
@@ -1,137 +1,176 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-webhooks-frontend",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Manage webhooks across neeto products.",
5
- "author": "BigBinary",
6
- "license": "MIT",
7
- "repository": "https://github.com/bigbinary/neeto-webhooks-frontend",
8
- "main": "dist/index.cjs.js",
9
- "module": "dist/index.js",
10
- "engines": {
11
- "node": ">=18.12",
12
- "npm": ">=9",
13
- "yarn": ">=1.22"
5
+ "license": "UNLICENSED",
6
+ "homepage": "https://github.com/bigbinary/neeto-webhooks-nano",
7
+ "bugs": {
8
+ "url": "https://github.com/bigbinary/neeto-webhooks-nano/issues"
14
9
  },
10
+ "repository": "neeto-webhooks-nano",
11
+ "author": "BigBinary",
15
12
  "files": [
16
- "dist"
13
+ "dist",
14
+ "types.d.ts"
17
15
  ],
16
+ "main": "dist/index.cjs.js",
17
+ "module": "dist/index.js",
18
+ "types": "types.d.ts",
18
19
  "scripts": {
20
+ "build": "NODE_ENV=production rollup -c --environment production",
19
21
  "prepare": "husky install",
20
- "start": "vite",
21
- "build": "NODE_ENV=production rollup -c rollup.config.js",
22
- "server": "node example/db --watch example/db/data",
23
- "dev": "(trap 'kill 0' SIGINT; vite & yarn server)"
22
+ "release": "yarn build && yalc push --sig",
23
+ "build-preview": "NODE_ENV=production webpack"
24
24
  },
25
25
  "lint-staged": {
26
- "src/**/*.{js,jsx,json}": [
26
+ "./**/app/javascript/**/*.{js,jsx,json}": [
27
+ "prettier --write",
28
+ "eslint --fix"
29
+ ],
30
+ "./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
27
31
  "prettier --write",
28
32
  "eslint --fix"
33
+ ],
34
+ "./**/*.rb": [
35
+ "bundle exec rubocop -a --force-exclusion"
36
+ ],
37
+ "{Gemfile,Rakefile,config.ru}": [
38
+ "bundle exec rubocop -a --force-exclusion"
29
39
  ]
30
40
  },
31
41
  "devDependencies": {
32
- "@babel/core": "^7.19.1",
33
- "@babel/eslint-parser": "7.17.0",
34
- "@babel/plugin-transform-runtime": "^7.19.1",
35
- "@babel/preset-env": "7.17.10",
36
- "@babel/preset-react": "7.16.7",
37
- "@babel/preset-typescript": "^7.18.6",
38
- "@babel/runtime": "^7.19.0",
39
- "@bigbinary/eslint-plugin-neeto": "^1.0.21",
40
- "@bigbinary/neeto-commons-frontend": "^2.0.67",
41
- "@bigbinary/neeto-icons": "1.9.12",
42
- "@bigbinary/neeto-molecules": "^1.0.19",
43
- "@bigbinary/neetoui": "4.4.0",
42
+ "@babel/core": "7.22.6",
43
+ "@babel/eslint-parser": "7.22.6",
44
+ "@babel/plugin-transform-runtime": "7.22.6",
45
+ "@babel/preset-env": "7.22.6",
46
+ "@babel/preset-react": "7.22.5",
47
+ "@babel/preset-typescript": "7.22.5",
48
+ "@babel/runtime": "7.22.6",
49
+ "@bigbinary/babel-preset-neeto": "1.0.3",
50
+ "@bigbinary/eslint-plugin-neeto": "1.0.64",
51
+ "@bigbinary/neeto-commons-frontend": "2.0.93",
52
+ "@bigbinary/neeto-icons": "1.12.3",
53
+ "@bigbinary/neeto-molecules": "1.0.30",
54
+ "@bigbinary/neetoui": "5.0.13",
44
55
  "@emotion/is-prop-valid": "1.2.0",
56
+ "@faker-js/faker": "8.0.2",
45
57
  "@honeybadger-io/react": "2.0.1",
46
- "@rollup/plugin-alias": "3.1.9",
47
- "@rollup/plugin-babel": "5.3.1",
48
- "@rollup/plugin-commonjs": "22.0.2",
49
- "@rollup/plugin-html": "0.2.4",
50
- "@rollup/plugin-json": "4.1.0",
51
- "@rollup/plugin-node-resolve": "14.1.0",
52
- "@rollup/plugin-replace": "4.0.0",
53
- "@vitejs/plugin-react": "^3.1.0",
54
- "antd": "4.24.3",
55
- "autoprefixer": "^10.4.5",
56
- "axios": "0.27.2",
57
- "babel-loader": "^8.2.5",
58
- "babel-plugin-istanbul": "^6.1.1",
58
+ "@rollup/plugin-alias": "5.0.0",
59
+ "@rollup/plugin-babel": "6.0.3",
60
+ "@rollup/plugin-commonjs": "25.0.2",
61
+ "@rollup/plugin-json": "6.0.0",
62
+ "@rollup/plugin-node-resolve": "15.1.0",
63
+ "@rollup/plugin-replace": "5.0.2",
64
+ "@svgr/rollup": "8.0.1",
65
+ "antd": "4.24.12",
66
+ "autoprefixer": "10.4.14",
67
+ "axios": "1.4.0",
68
+ "babel-loader": "9.1.2",
69
+ "babel-plugin-istanbul": "6.1.1",
59
70
  "babel-plugin-js-logger": "1.0.17",
60
71
  "babel-plugin-macros": "3.1.0",
61
72
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
62
73
  "babel-preset-react": "6.24.1",
63
- "babel-preset-typescript": "^7.0.0-alpha.19",
64
- "classnames": "2.3.1",
65
- "css-loader": "6.7.1",
66
- "dayjs": "1.11.1",
67
- "eslint": "8.14.0",
68
- "eslint-config-prettier": "8.5.0",
69
- "eslint-plugin-cypress": "2.12.1",
70
- "eslint-plugin-import": "2.26.0",
74
+ "babel-preset-typescript": "7.0.0-alpha.19",
75
+ "browserify-zlib": "0.2.0",
76
+ "buffer": "6.0.3",
77
+ "classnames": "2.3.2",
78
+ "crypto-browserify": "3.12.0",
79
+ "css-loader": "6.8.1",
80
+ "dotenv-webpack": "^8.0.1",
81
+ "eslint": "8.44.0",
82
+ "eslint-config-prettier": "8.8.0",
83
+ "eslint-plugin-cypress": "2.13.3",
84
+ "eslint-plugin-import": "2.27.5",
71
85
  "eslint-plugin-jam3": "0.2.3",
72
86
  "eslint-plugin-json": "3.1.0",
73
- "eslint-plugin-prettier": "4.0.0",
74
- "eslint-plugin-promise": "6.0.0",
75
- "eslint-plugin-react": "7.29.4",
76
- "eslint-plugin-react-hooks": "4.5.0",
87
+ "eslint-plugin-prettier": "4.2.1",
88
+ "eslint-plugin-promise": "6.1.1",
89
+ "eslint-plugin-react": "7.32.2",
90
+ "eslint-plugin-react-hooks": "4.6.0",
77
91
  "eslint-plugin-unused-imports": "2.0.0",
78
- "formik": "2.2.9",
79
- "html-loader": "4.2.0",
80
- "html-webpack-plugin": "5.5.0",
81
- "husky": "^8.0.0",
82
- "i18next": "21.9.2",
83
- "json-server": "^0.17.1",
84
- "lint-staged": "13.0.3",
85
- "postcss": "^8.4.17",
86
- "postcss-import": "^15.0.0",
87
- "postcss-loader": "^7.0.1",
88
- "postcss-preset-env": "7.8.2",
89
- "prettier": "2.6.2",
90
- "prettier-plugin-tailwindcss": "0.1.10",
91
- "prop-types": "15.8.1",
92
+ "formik": "2.4.2",
93
+ "html-webpack-plugin": "5.5.3",
94
+ "https-browserify": "1.0.0",
95
+ "husky": "8.0.3",
96
+ "i18next": "23.2.7",
97
+ "js-logger": "1.6.1",
98
+ "lint-staged": "13.2.3",
99
+ "mini-css-extract-plugin": "2.7.6",
100
+ "mixpanel-browser": "2.47.0",
101
+ "os-browserify": "0.3.0",
102
+ "path-browserify": "1.0.1",
103
+ "postcss": "8.4.24",
104
+ "postcss-import": "15.1.0",
105
+ "postcss-loader": "7.3.3",
106
+ "postcss-preset-env": "9.0.0",
107
+ "prettier": "2.8.8",
108
+ "prettier-plugin-tailwindcss": "0.3.0",
109
+ "process": "0.11.10",
92
110
  "ramda": "0.29.0",
93
111
  "react": "17.0.2",
94
112
  "react-dom": "17.0.2",
95
- "react-i18next": "11.18.6",
96
- "react-query": "3.39.2",
97
- "react-router-dom": "5.3.1",
113
+ "react-helmet": "6.1.0",
114
+ "react-i18next": "13.0.1",
115
+ "react-query": "3.39.3",
116
+ "react-router-dom": "5.2.0",
98
117
  "react-toastify": "8.0.2",
99
- "react-transition-group": "4.4.5",
118
+ "react_ujs": "2.6.2",
100
119
  "rollup": "2.79.1",
101
120
  "rollup-plugin-analyzer": "4.0.0",
102
- "rollup-plugin-bundle-html": "0.2.2",
103
121
  "rollup-plugin-cleaner": "1.0.0",
104
- "rollup-plugin-generate-html-template": "1.7.0",
105
- "rollup-plugin-livereload": "2.0.5",
106
122
  "rollup-plugin-peer-deps-external": "2.2.4",
107
- "rollup-plugin-polyfill-node": "0.10.2",
108
- "rollup-plugin-serve": "2.0.1",
109
123
  "rollup-plugin-styles": "4.0.0",
110
- "sass": "1.55.0",
111
- "sass-loader": "13.0.2",
112
- "style-loader": "3.3.1",
124
+ "sass": "1.63.6",
125
+ "sass-loader": "13.3.2",
126
+ "shakapacker": "6.6.0",
127
+ "stream-browserify": "3.0.0",
128
+ "stream-http": "3.2.0",
129
+ "style-loader": "3.3.3",
113
130
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
114
- "util": "^0.12.5",
115
- "vite": "^4.1.3",
131
+ "tty-browserify": "0.0.1",
132
+ "url": "0.11.1",
133
+ "util": "0.12.5",
134
+ "vm-browserify": "1.1.2",
135
+ "webpack": "5.88.1",
136
+ "webpack-assets-manifest": "5.1.0",
137
+ "webpack-cli": "5.1.4",
138
+ "webpack-dev-server": "4.15.1",
116
139
  "yup": "0.32.11"
117
140
  },
118
141
  "peerDependencies": {
119
- "@bigbinary/neeto-commons-frontend": "latest",
120
- "@bigbinary/neeto-icons": "latest",
121
- "@bigbinary/neeto-molecules": "latest",
122
- "@bigbinary/neetoui": "latest",
123
- "antd": "4.24.3",
124
- "axios": "0.27.2",
125
- "classnames": "2.3.1",
126
- "dayjs": "1.11.1",
127
- "formik": "2.2.9",
128
- "ramda": "0.29.0",
142
+ "@bigbinary/neeto-commons-frontend": "^2.0.54",
143
+ "@bigbinary/neeto-editor": "^1.26.3",
144
+ "@bigbinary/neeto-icons": "^1.9.22",
145
+ "@bigbinary/neeto-molecules": "^1.0.9",
146
+ "@bigbinary/neetoui": "^4.4.10",
147
+ "@honeybadger-io/react": "^2.0.1",
148
+ "axios": "^0.27.2",
149
+ "classnames": "^2.3.2",
150
+ "formik": "^2.2.9",
151
+ "js-logger": "^1.6.1",
152
+ "mixpanel-browser": "^2.45.0",
153
+ "ramda": "^0.29.0",
129
154
  "react": "17.0.2",
130
155
  "react-dom": "17.0.2",
156
+ "react-helmet": "^6.1.0",
131
157
  "react-query": "3.39.2",
132
- "react-router-dom": "5.3.1",
133
- "react-toastify": "8.0.2",
134
- "yup": "0.32.11"
158
+ "react-router-dom": "5.3.0",
159
+ "react-toastify": "8.2.0",
160
+ "yup": "^0.32.11",
161
+ "zustand": "4.3.2"
162
+ },
163
+ "resolutions": {
164
+ "postcss": "^8"
165
+ },
166
+ "engines": {
167
+ "node": ">=18.12",
168
+ "npm": ">=9",
169
+ "yarn": ">=1.22"
135
170
  },
136
- "dependencies": {}
171
+ "dependencies": {
172
+ "react-router-nav-prompt": "0.4.1",
173
+ "source-map-loader": "^4.0.1",
174
+ "zustand": "4.3.2"
175
+ }
137
176
  }
package/types.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+
3
+ type Breadcrumb = {
4
+ text: string;
5
+ link: string;
6
+ };
7
+
8
+ export interface NeetoWebhooksProps {
9
+ entityType: string;
10
+ entityId?: string;
11
+ breadcrumbs?: Breadcrumb[];
12
+ }
13
+
14
+ export const NeetoWebhooks: React.FC<NeetoWebhooksProps>;