@duffel/components 1.3.1 → 2.0.3
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/CHANGELOG.md +0 -0
- package/dist/CardPayment.esm.js +2 -0
- package/dist/CardPayment.esm.js.LICENSE.txt +6 -0
- package/dist/CardPayment.js +2 -0
- package/dist/CardPayment.js.LICENSE.txt +6 -0
- package/dist/CardPayment.min.css +233 -0
- package/dist/CardPayment.umd.min.js +2 -0
- package/dist/CardPayment.umd.min.js.LICENSE.txt +63 -0
- package/dist/SeatSelection.esm.js +1 -0
- package/dist/SeatSelection.js +1 -0
- package/dist/SeatSelection.min.css +1043 -0
- package/dist/SeatSelection.umd.min.js +2 -0
- package/dist/SeatSelection.umd.min.js.LICENSE.txt +54 -0
- package/dist/duffel-components.d.ts +1 -8
- package/dist/duffel-components.esm.js +1 -1
- package/dist/duffel-components.js +1 -1
- package/dist/duffel-components.min.css +1089 -0
- package/dist/duffel-components.umd.min.js +1 -1
- package/package.json +60 -30
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Set of pre-built UI
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"description": "Set of pre-built UI components for integrating with Duffel API",
|
|
5
5
|
"main": "dist/duffel-components.js",
|
|
6
6
|
"module": "dist/duffel-components.esm.js",
|
|
7
7
|
"jsnext:main": "dist/duffel-components.esm.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build": "webpack --mode production --config webpack.config.babel.js && yarn create-dts",
|
|
13
13
|
"lint": "eslint . --ext .ts,.tsx",
|
|
14
14
|
"test": "jest",
|
|
15
|
-
"pre-
|
|
15
|
+
"pre-commit-check": "yarn lint-staged && yarn test --passWithNoTests && yarn build && yarn e2e",
|
|
16
16
|
"prepare": "husky install",
|
|
17
17
|
"get-version": "echo $npm_package_version",
|
|
18
18
|
"release": "npx semantic-release",
|
|
@@ -20,23 +20,30 @@
|
|
|
20
20
|
"commitlint": "commitlint",
|
|
21
21
|
"storybook": "start-storybook -p 6006",
|
|
22
22
|
"build-storybook": "build-storybook",
|
|
23
|
-
"chromatic": "npx chromatic
|
|
23
|
+
"chromatic": "npx chromatic",
|
|
24
24
|
"create-dts": "dts-bundle-generator -o dist/duffel-components.d.ts src/index.ts --no-check",
|
|
25
25
|
"server": "http-server -p 1234",
|
|
26
26
|
"e2e": "npx playwright test",
|
|
27
|
-
"e2e:debug": "PWDEBUG=1 npx playwright test"
|
|
27
|
+
"e2e:debug": "PWDEBUG=1 npx playwright test",
|
|
28
|
+
"prettier": "prettier --write --loglevel=warn .",
|
|
29
|
+
"prettier-check": "prettier --check ."
|
|
28
30
|
},
|
|
29
31
|
"config": {
|
|
30
32
|
"commitizen": {
|
|
31
33
|
"path": "@commitlint/cz-commitlint"
|
|
32
34
|
}
|
|
33
35
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
36
|
+
"lint-staged": {
|
|
37
|
+
"*.{ts,tsx}": [
|
|
38
|
+
"eslint",
|
|
39
|
+
"prettier --write"
|
|
40
|
+
],
|
|
41
|
+
"*.{js,jsx,md,yml,yaml}": [
|
|
42
|
+
"prettier --write"
|
|
43
|
+
]
|
|
37
44
|
},
|
|
38
45
|
"files": [
|
|
39
|
-
"dist"
|
|
46
|
+
"dist/**"
|
|
40
47
|
],
|
|
41
48
|
"peerDependencies": {
|
|
42
49
|
"@popperjs/core": "^2.10.1",
|
|
@@ -68,46 +75,56 @@
|
|
|
68
75
|
"@babel/plugin-proposal-unicode-property-regex": "^7.16.0",
|
|
69
76
|
"@babel/preset-env": "^7.16.0",
|
|
70
77
|
"@babel/preset-react": "^7.16.0",
|
|
71
|
-
"@babel/preset-typescript": "^7.16.0",
|
|
72
78
|
"@babel/register": "^7.16.0",
|
|
73
|
-
"@commitlint/cli": "^
|
|
74
|
-
"@commitlint/config-angular": "^
|
|
75
|
-
"@commitlint/cz-commitlint": "^
|
|
79
|
+
"@commitlint/cli": "^16.0.2",
|
|
80
|
+
"@commitlint/config-angular": "^16.0.0",
|
|
81
|
+
"@commitlint/cz-commitlint": "^16.0.0",
|
|
76
82
|
"@playwright/test": "^1.16.3",
|
|
77
|
-
"@storybook/addon-actions": "^6.
|
|
78
|
-
"@storybook/addon-controls": "^6.
|
|
79
|
-
"@storybook/addon-essentials": "^6.
|
|
80
|
-
"@storybook/addon-links": "^6.
|
|
83
|
+
"@storybook/addon-actions": "^6.4.9",
|
|
84
|
+
"@storybook/addon-controls": "^6.4.9",
|
|
85
|
+
"@storybook/addon-essentials": "^6.4.9",
|
|
86
|
+
"@storybook/addon-links": "^6.4.9",
|
|
81
87
|
"@storybook/addon-postcss": "^2.0.0",
|
|
82
|
-
"@storybook/
|
|
88
|
+
"@storybook/builder-webpack5": "^6.4.9",
|
|
89
|
+
"@storybook/manager-webpack5": "^6.4.9",
|
|
90
|
+
"@storybook/react": "^6.4.9",
|
|
83
91
|
"@testing-library/jest-dom": "^5.14.1",
|
|
84
92
|
"@testing-library/react": "^12.0.0",
|
|
85
93
|
"@types/jest": "^27.0.1",
|
|
86
94
|
"@types/lodash": "^4.14.170",
|
|
95
|
+
"@types/node": "^17.0.4",
|
|
87
96
|
"@types/react-dom": "^17.0.7",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
89
|
-
"@typescript-eslint/parser": "^
|
|
97
|
+
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
|
98
|
+
"@typescript-eslint/parser": "^5.8.0",
|
|
90
99
|
"babel-loader": "^8.2.2",
|
|
91
100
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
92
101
|
"chromatic": "^6.0.4",
|
|
93
102
|
"clean-webpack-plugin": "^4.0.0",
|
|
94
103
|
"commitizen": "^4.2.4",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
104
|
+
"css-loader": "^6.5.1",
|
|
105
|
+
"dotenv": "^14.2.0",
|
|
106
|
+
"dts-bundle-generator": "^6.2.0",
|
|
107
|
+
"eslint": "^8.6.0",
|
|
108
|
+
"eslint-config-prettier": "^8.3.0",
|
|
98
109
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
99
110
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
111
|
+
"eslint-plugin-storybook": "^0.5.3",
|
|
100
112
|
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
|
101
113
|
"http-server": "^14.0.0",
|
|
102
114
|
"husky": "^7.0.0",
|
|
115
|
+
"inquirer": "^8.0.0",
|
|
103
116
|
"jest": "^26.6.3",
|
|
117
|
+
"lint-staged": "^12.3.2",
|
|
104
118
|
"lodash": "^4.17.21",
|
|
119
|
+
"mini-css-extract-plugin": "^2.4.4",
|
|
105
120
|
"node-polyfill-webpack-plugin": "^1.1.4",
|
|
106
121
|
"postcss": "^8.3.5",
|
|
122
|
+
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
107
123
|
"postcss-discard-duplicates": "^5.0.1",
|
|
108
124
|
"postcss-import": "^14.0.2",
|
|
109
125
|
"postcss-loader": "^6.2.0",
|
|
110
126
|
"postcss-nested": "^5.0.5",
|
|
127
|
+
"prettier": "^2.4.1",
|
|
111
128
|
"prop-types": "^15.7.2",
|
|
112
129
|
"ts-jest": "^26.5.6",
|
|
113
130
|
"ts-loader": "^9.2.6",
|
|
@@ -130,7 +147,7 @@
|
|
|
130
147
|
"releaseRules": [
|
|
131
148
|
{
|
|
132
149
|
"type": "docs",
|
|
133
|
-
"scope": "
|
|
150
|
+
"scope": "readme",
|
|
134
151
|
"release": "patch"
|
|
135
152
|
},
|
|
136
153
|
{
|
|
@@ -149,6 +166,14 @@
|
|
|
149
166
|
"changelogFile": "CHANGELOG.md"
|
|
150
167
|
}
|
|
151
168
|
],
|
|
169
|
+
[
|
|
170
|
+
"@semantic-release/git",
|
|
171
|
+
{
|
|
172
|
+
"assets": [
|
|
173
|
+
"CHANGELOG.md"
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
],
|
|
152
177
|
"@semantic-release/npm",
|
|
153
178
|
"@semantic-release/github"
|
|
154
179
|
],
|
|
@@ -159,6 +184,13 @@
|
|
|
159
184
|
}
|
|
160
185
|
]
|
|
161
186
|
},
|
|
187
|
+
"resolutions": {
|
|
188
|
+
"immer": "^9.0.6",
|
|
189
|
+
"ansi-regex": "^5.0.1",
|
|
190
|
+
"glob-parent": "^5.1.2",
|
|
191
|
+
"browserslist": "^4.16.5",
|
|
192
|
+
"trim": "^0.0.3"
|
|
193
|
+
},
|
|
162
194
|
"keywords": [
|
|
163
195
|
"seat",
|
|
164
196
|
"maps",
|
|
@@ -169,12 +201,10 @@
|
|
|
169
201
|
"duffel",
|
|
170
202
|
"duffelhq",
|
|
171
203
|
"seat",
|
|
172
|
-
"seatmap"
|
|
204
|
+
"seatmap",
|
|
205
|
+
"payment",
|
|
206
|
+
"payments"
|
|
173
207
|
],
|
|
174
208
|
"author": "Duffel Technology Limited <help@duffel.com> (http://duffel.com)",
|
|
175
|
-
"license": "MIT"
|
|
176
|
-
"bugs": {
|
|
177
|
-
"url": "https://github.com/duffelhq/components-javascript/issues"
|
|
178
|
-
},
|
|
179
|
-
"homepage": "https://github.com/duffelhq/components-javascript#readme"
|
|
209
|
+
"license": "MIT"
|
|
180
210
|
}
|