@bigbinary/neeto-webhooks-frontend 1.5.3 → 1.5.5
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/README.md +12 -92
- package/dist/index.cjs.js +3528 -8837
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3659 -8968
- package/dist/index.js.map +1 -1
- package/package.json +137 -97
- package/types.d.ts +14 -0
package/package.json
CHANGED
|
@@ -1,137 +1,177 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-webhooks-frontend",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "Manage webhooks across neeto products.",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
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
|
-
"
|
|
21
|
-
"build": "NODE_ENV=production
|
|
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
|
-
"
|
|
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": "
|
|
33
|
-
"@babel/eslint-parser": "7.
|
|
34
|
-
"@babel/plugin-transform-runtime": "
|
|
35
|
-
"@babel/preset-env": "7.
|
|
36
|
-
"@babel/preset-react": "7.
|
|
37
|
-
"@babel/preset-typescript": "
|
|
38
|
-
"@babel/runtime": "
|
|
39
|
-
"@bigbinary/
|
|
40
|
-
"@bigbinary/
|
|
41
|
-
"@bigbinary/neeto-
|
|
42
|
-
"@bigbinary/neeto-
|
|
43
|
-
"@bigbinary/
|
|
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-audit-frontend": "1.0.8",
|
|
52
|
+
"@bigbinary/neeto-commons-frontend": "2.0.93",
|
|
53
|
+
"@bigbinary/neeto-icons": "1.12.3",
|
|
54
|
+
"@bigbinary/neeto-molecules": "1.0.30",
|
|
55
|
+
"@bigbinary/neetoui": "5.0.13",
|
|
44
56
|
"@emotion/is-prop-valid": "1.2.0",
|
|
57
|
+
"@faker-js/faker": "8.0.2",
|
|
45
58
|
"@honeybadger-io/react": "2.0.1",
|
|
46
|
-
"@rollup/plugin-alias": "
|
|
47
|
-
"@rollup/plugin-babel": "
|
|
48
|
-
"@rollup/plugin-commonjs": "
|
|
49
|
-
"@rollup/plugin-
|
|
50
|
-
"@rollup/plugin-
|
|
51
|
-
"@rollup/plugin-
|
|
52
|
-
"@rollup
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"babel-
|
|
58
|
-
"babel-plugin-istanbul": "^6.1.1",
|
|
59
|
+
"@rollup/plugin-alias": "5.0.0",
|
|
60
|
+
"@rollup/plugin-babel": "6.0.3",
|
|
61
|
+
"@rollup/plugin-commonjs": "25.0.2",
|
|
62
|
+
"@rollup/plugin-json": "6.0.0",
|
|
63
|
+
"@rollup/plugin-node-resolve": "15.1.0",
|
|
64
|
+
"@rollup/plugin-replace": "5.0.2",
|
|
65
|
+
"@svgr/rollup": "8.0.1",
|
|
66
|
+
"antd": "4.24.12",
|
|
67
|
+
"autoprefixer": "10.4.14",
|
|
68
|
+
"axios": "1.4.0",
|
|
69
|
+
"babel-loader": "9.1.2",
|
|
70
|
+
"babel-plugin-istanbul": "6.1.1",
|
|
59
71
|
"babel-plugin-js-logger": "1.0.17",
|
|
60
72
|
"babel-plugin-macros": "3.1.0",
|
|
61
73
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
62
74
|
"babel-preset-react": "6.24.1",
|
|
63
|
-
"babel-preset-typescript": "
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"eslint
|
|
75
|
+
"babel-preset-typescript": "7.0.0-alpha.19",
|
|
76
|
+
"browserify-zlib": "0.2.0",
|
|
77
|
+
"buffer": "6.0.3",
|
|
78
|
+
"classnames": "2.3.2",
|
|
79
|
+
"crypto-browserify": "3.12.0",
|
|
80
|
+
"css-loader": "6.8.1",
|
|
81
|
+
"dotenv-webpack": "^8.0.1",
|
|
82
|
+
"eslint": "8.44.0",
|
|
83
|
+
"eslint-config-prettier": "8.8.0",
|
|
84
|
+
"eslint-plugin-cypress": "2.13.3",
|
|
85
|
+
"eslint-plugin-import": "2.27.5",
|
|
71
86
|
"eslint-plugin-jam3": "0.2.3",
|
|
72
87
|
"eslint-plugin-json": "3.1.0",
|
|
73
|
-
"eslint-plugin-prettier": "4.
|
|
74
|
-
"eslint-plugin-promise": "6.
|
|
75
|
-
"eslint-plugin-react": "7.
|
|
76
|
-
"eslint-plugin-react-hooks": "4.
|
|
88
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
89
|
+
"eslint-plugin-promise": "6.1.1",
|
|
90
|
+
"eslint-plugin-react": "7.32.2",
|
|
91
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
77
92
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
78
|
-
"formik": "2.2
|
|
79
|
-
"html-
|
|
80
|
-
"
|
|
81
|
-
"husky": "
|
|
82
|
-
"i18next": "
|
|
83
|
-
"
|
|
84
|
-
"lint-staged": "13.
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
93
|
+
"formik": "2.4.2",
|
|
94
|
+
"html-webpack-plugin": "5.5.3",
|
|
95
|
+
"https-browserify": "1.0.0",
|
|
96
|
+
"husky": "8.0.3",
|
|
97
|
+
"i18next": "23.2.7",
|
|
98
|
+
"js-logger": "1.6.1",
|
|
99
|
+
"lint-staged": "13.2.3",
|
|
100
|
+
"mini-css-extract-plugin": "2.7.6",
|
|
101
|
+
"mixpanel-browser": "2.47.0",
|
|
102
|
+
"os-browserify": "0.3.0",
|
|
103
|
+
"path-browserify": "1.0.1",
|
|
104
|
+
"postcss": "8.4.24",
|
|
105
|
+
"postcss-import": "15.1.0",
|
|
106
|
+
"postcss-loader": "7.3.3",
|
|
107
|
+
"postcss-preset-env": "9.0.0",
|
|
108
|
+
"prettier": "2.8.8",
|
|
109
|
+
"prettier-plugin-tailwindcss": "0.3.0",
|
|
110
|
+
"process": "0.11.10",
|
|
92
111
|
"ramda": "0.29.0",
|
|
93
|
-
"react": "
|
|
94
|
-
"react-dom": "
|
|
95
|
-
"react-
|
|
96
|
-
"react-
|
|
97
|
-
"react-
|
|
112
|
+
"react": "^18.2.0",
|
|
113
|
+
"react-dom": "^18.2.0",
|
|
114
|
+
"react-helmet": "6.1.0",
|
|
115
|
+
"react-i18next": "13.0.1",
|
|
116
|
+
"react-query": "3.39.3",
|
|
117
|
+
"react-router-dom": "5.2.0",
|
|
98
118
|
"react-toastify": "8.0.2",
|
|
99
|
-
"
|
|
119
|
+
"react_ujs": "^3.1.1",
|
|
100
120
|
"rollup": "2.79.1",
|
|
101
121
|
"rollup-plugin-analyzer": "4.0.0",
|
|
102
|
-
"rollup-plugin-bundle-html": "0.2.2",
|
|
103
122
|
"rollup-plugin-cleaner": "1.0.0",
|
|
104
|
-
"rollup-plugin-generate-html-template": "1.7.0",
|
|
105
|
-
"rollup-plugin-livereload": "2.0.5",
|
|
106
123
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
107
|
-
"rollup-plugin-polyfill-node": "0.10.2",
|
|
108
|
-
"rollup-plugin-serve": "2.0.1",
|
|
109
124
|
"rollup-plugin-styles": "4.0.0",
|
|
110
|
-
"sass": "1.
|
|
111
|
-
"sass-loader": "13.
|
|
112
|
-
"
|
|
125
|
+
"sass": "1.63.6",
|
|
126
|
+
"sass-loader": "13.3.2",
|
|
127
|
+
"shakapacker": "6.6.0",
|
|
128
|
+
"stream-browserify": "3.0.0",
|
|
129
|
+
"stream-http": "3.2.0",
|
|
130
|
+
"style-loader": "3.3.3",
|
|
113
131
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
114
|
-
"
|
|
115
|
-
"
|
|
132
|
+
"tty-browserify": "0.0.1",
|
|
133
|
+
"url": "0.11.1",
|
|
134
|
+
"util": "0.12.5",
|
|
135
|
+
"vm-browserify": "1.1.2",
|
|
136
|
+
"webpack": "5.88.1",
|
|
137
|
+
"webpack-assets-manifest": "5.1.0",
|
|
138
|
+
"webpack-cli": "5.1.4",
|
|
139
|
+
"webpack-dev-server": "4.15.1",
|
|
116
140
|
"yup": "0.32.11"
|
|
117
141
|
},
|
|
118
142
|
"peerDependencies": {
|
|
119
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
120
|
-
"@bigbinary/neeto-
|
|
121
|
-
"@bigbinary/neeto-
|
|
122
|
-
"@bigbinary/
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"formik": "2.2.9",
|
|
128
|
-
"
|
|
143
|
+
"@bigbinary/neeto-commons-frontend": "^2.0.54",
|
|
144
|
+
"@bigbinary/neeto-editor": "^1.26.3",
|
|
145
|
+
"@bigbinary/neeto-icons": "^1.9.22",
|
|
146
|
+
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
147
|
+
"@bigbinary/neetoui": "^4.4.10",
|
|
148
|
+
"@honeybadger-io/react": "^2.0.1",
|
|
149
|
+
"axios": "^0.27.2",
|
|
150
|
+
"classnames": "^2.3.2",
|
|
151
|
+
"formik": "^2.2.9",
|
|
152
|
+
"js-logger": "^1.6.1",
|
|
153
|
+
"mixpanel-browser": "^2.45.0",
|
|
154
|
+
"ramda": "^0.29.0",
|
|
129
155
|
"react": "17.0.2",
|
|
130
156
|
"react-dom": "17.0.2",
|
|
157
|
+
"react-helmet": "^6.1.0",
|
|
131
158
|
"react-query": "3.39.2",
|
|
132
|
-
"react-router-dom": "5.3.
|
|
133
|
-
"react-toastify": "8.0
|
|
134
|
-
"yup": "0.32.11"
|
|
159
|
+
"react-router-dom": "5.3.3",
|
|
160
|
+
"react-toastify": "8.2.0",
|
|
161
|
+
"yup": "^0.32.11",
|
|
162
|
+
"zustand": "4.3.2"
|
|
163
|
+
},
|
|
164
|
+
"resolutions": {
|
|
165
|
+
"postcss": "^8"
|
|
166
|
+
},
|
|
167
|
+
"engines": {
|
|
168
|
+
"node": ">=18.12",
|
|
169
|
+
"npm": ">=9",
|
|
170
|
+
"yarn": ">=1.22"
|
|
135
171
|
},
|
|
136
|
-
"dependencies": {
|
|
172
|
+
"dependencies": {
|
|
173
|
+
"react-router-nav-prompt": "0.4.1",
|
|
174
|
+
"source-map-loader": "^4.0.1",
|
|
175
|
+
"zustand": "4.3.2"
|
|
176
|
+
}
|
|
137
177
|
}
|
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>;
|