@duffel/components 2.0.2 → 2.1.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@duffel/components",
3
- "version": "2.0.2",
4
- "description": "Set of pre-built UI, like seat selection, for building with Duffel API",
3
+ "version": "2.1.1",
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",
@@ -15,7 +15,7 @@
15
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
- "release": "npx semantic-release",
18
+ "release": "npx semantic-release --debug",
19
19
  "commit": "git-cz",
20
20
  "commitlint": "commitlint",
21
21
  "storybook": "start-storybook -p 6006",
@@ -42,10 +42,6 @@
42
42
  "prettier --write"
43
43
  ]
44
44
  },
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/duffelhq/components-javascript.git"
48
- },
49
45
  "files": [
50
46
  "dist/**"
51
47
  ],
@@ -80,10 +76,13 @@
80
76
  "@babel/preset-env": "^7.16.0",
81
77
  "@babel/preset-react": "^7.16.0",
82
78
  "@babel/register": "^7.16.0",
83
- "@commitlint/cli": "^15.0.0",
84
- "@commitlint/config-angular": "^15.0.0",
85
- "@commitlint/cz-commitlint": "^15.0.0",
79
+ "@commitlint/cli": "^16.0.2",
80
+ "@commitlint/config-angular": "^16.0.0",
81
+ "@commitlint/cz-commitlint": "^16.0.0",
86
82
  "@playwright/test": "^1.16.3",
83
+ "@semantic-release/changelog": "^6.0.1",
84
+ "@semantic-release/commit-analyzer": "^9.0.2",
85
+ "@semantic-release/git": "^10.0.1",
87
86
  "@storybook/addon-actions": "^6.4.9",
88
87
  "@storybook/addon-controls": "^6.4.9",
89
88
  "@storybook/addon-essentials": "^6.4.9",
@@ -96,29 +95,29 @@
96
95
  "@testing-library/react": "^12.0.0",
97
96
  "@types/jest": "^27.0.1",
98
97
  "@types/lodash": "^4.14.170",
99
- "@types/node": "^14.0.10",
98
+ "@types/node": "^17.0.4",
100
99
  "@types/react-dom": "^17.0.7",
101
100
  "@typescript-eslint/eslint-plugin": "^5.7.0",
102
- "@typescript-eslint/parser": "^4.30.0",
101
+ "@typescript-eslint/parser": "^5.8.0",
103
102
  "babel-loader": "^8.2.2",
104
103
  "babel-plugin-module-resolver": "^4.1.0",
105
104
  "chromatic": "^6.0.4",
106
105
  "clean-webpack-plugin": "^4.0.0",
107
106
  "commitizen": "^4.2.4",
108
107
  "css-loader": "^6.5.1",
109
- "dotenv": "^10.0.0",
110
- "dts-bundle-generator": "^5.9.0",
111
- "eslint": "^7.26.0",
108
+ "dotenv": "^16.0.0",
109
+ "dts-bundle-generator": "^6.2.0",
110
+ "eslint": "^8.6.0",
112
111
  "eslint-config-prettier": "^8.3.0",
113
112
  "eslint-plugin-react-hooks": "^4.2.0",
114
113
  "eslint-plugin-spellcheck": "^0.0.19",
115
114
  "eslint-plugin-storybook": "^0.5.3",
116
- "fork-ts-checker-webpack-plugin": "^6.4.0",
115
+ "fork-ts-checker-webpack-plugin": "^7.1.1",
117
116
  "http-server": "^14.0.0",
118
117
  "husky": "^7.0.0",
119
118
  "inquirer": "^8.0.0",
120
119
  "jest": "^26.6.3",
121
- "lint-staged": "^12.0.1",
120
+ "lint-staged": "^12.3.2",
122
121
  "lodash": "^4.17.21",
123
122
  "mini-css-extract-plugin": "^2.4.4",
124
123
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -130,64 +129,70 @@
130
129
  "postcss-nested": "^5.0.5",
131
130
  "prettier": "^2.4.1",
132
131
  "prop-types": "^15.7.2",
132
+ "semantic-release": "^19.0.2",
133
133
  "ts-jest": "^26.5.6",
134
134
  "ts-loader": "^9.2.6",
135
135
  "ts-node": "^10.4.0",
136
136
  "tslib": "^2.3.1",
137
137
  "types-webpack-bundler": "^1.0.2",
138
138
  "typescript": "^4.4.4",
139
- "webpack": "^5.61.0",
139
+ "webpack": "^5.67.0",
140
140
  "webpack-cli": "^4.9.1",
141
141
  "webpack-node-externals": "^3.0.0"
142
142
  },
143
143
  "engines": {
144
144
  "node": ">=14.*"
145
145
  },
146
- "plugins": [
147
- [
148
- "@semantic-release/commit-analyzer",
149
- {
150
- "preset": "angular",
151
- "releaseRules": [
152
- {
153
- "type": "docs",
154
- "scope": "README",
155
- "release": "patch"
156
- },
157
- {
158
- "type": "refactor",
159
- "release": "patch"
160
- }
161
- ]
162
- }
163
- ],
164
- [
165
- "@semantic-release/release-notes-generator"
166
- ],
167
- [
168
- "@semantic-release/changelog",
169
- {
170
- "changelogFile": "CHANGELOG.md"
171
- }
172
- ],
173
- [
174
- "@semantic-release/git",
175
- {
176
- "assets": [
177
- "CHANGELOG.md"
178
- ]
179
- }
180
- ],
181
- "@semantic-release/npm",
182
- "@semantic-release/github"
183
- ],
184
146
  "release": {
185
147
  "branches": [
186
148
  {
187
149
  "name": "main"
188
150
  }
151
+ ],
152
+ "plugins": [
153
+ [
154
+ "@semantic-release/commit-analyzer",
155
+ {
156
+ "preset": "angular",
157
+ "releaseRules": [
158
+ {
159
+ "type": "docs",
160
+ "scope": "readme",
161
+ "release": "patch"
162
+ },
163
+ {
164
+ "type": "refactor",
165
+ "release": "patch"
166
+ },
167
+ {
168
+ "breaking": true,
169
+ "release": "major"
170
+ }
171
+ ]
172
+ }
173
+ ],
174
+ [
175
+ "@semantic-release/release-notes-generator"
176
+ ],
177
+ [
178
+ "@semantic-release/git",
179
+ {
180
+ "assets": [
181
+ "CHANGELOG.md"
182
+ ]
183
+ }
184
+ ],
185
+ "@semantic-release/npm",
186
+ "@semantic-release/github"
189
187
  ]
190
188
  },
189
+ "resolutions": {
190
+ "immer": "^9.0.6",
191
+ "ansi-regex": "^5.0.1",
192
+ "glob-parent": "^5.1.2",
193
+ "browserslist": "^4.16.5",
194
+ "trim": "^0.0.3"
195
+ },
191
196
  "keywords": [
192
197
  "seat",
193
198
  "maps",
@@ -203,9 +208,5 @@
203
208
  "payments"
204
209
  ],
205
210
  "author": "Duffel Technology Limited <help@duffel.com> (http://duffel.com)",
206
- "license": "MIT",
207
- "bugs": {
208
- "url": "https://github.com/duffelhq/components-javascript/issues"
209
- },
210
- "homepage": "https://github.com/duffelhq/components-javascript#readme"
211
+ "license": "MIT"
211
212
  }
package/CHANGELOG.md DELETED
File without changes