@duffel/components 3.1.2 → 3.1.3--prototype.2
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/.circleci/config.yml +2 -2
- package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- package/.prettierignore +5 -1
- package/.storybook/main.ts +1 -1
- package/.tool-versions +1 -1
- package/.vscode/extensions.json +7 -0
- package/.vscode/settings.json +10 -0
- package/.yarn/releases/yarn-4.0.1.cjs +893 -0
- package/.yarn/sdks/eslint/bin/eslint.js +20 -0
- package/.yarn/sdks/eslint/lib/api.js +20 -0
- package/.yarn/sdks/eslint/lib/unsupported-api.js +20 -0
- package/.yarn/sdks/eslint/package.json +14 -0
- package/.yarn/sdks/integrations.yml +5 -0
- package/.yarn/sdks/prettier/bin-prettier.js +20 -0
- package/.yarn/sdks/prettier/index.js +20 -0
- package/.yarn/sdks/prettier/package.json +7 -0
- package/.yarn/sdks/typescript/bin/tsc +20 -0
- package/.yarn/sdks/typescript/bin/tsserver +20 -0
- package/.yarn/sdks/typescript/lib/tsc.js +20 -0
- package/.yarn/sdks/typescript/lib/tsserver.js +225 -0
- package/.yarn/sdks/typescript/lib/tsserverlibrary.js +225 -0
- package/.yarn/sdks/typescript/lib/typescript.js +20 -0
- package/.yarn/sdks/typescript/package.json +10 -0
- package/.yarnrc.yml +3 -0
- package/README.md +4 -0
- package/jest.config.ts +1 -1
- package/package.json +83 -134
- package/react-dist/custom-elements.js +20 -17
- package/react-dist/custom-elements.js.map +4 -4
- package/react-dist/index.js +21 -47
- package/react-dist/index.js.map +4 -4
- package/react-dist/scripts/generate-fixture.d.ts +3 -0
- package/react-dist/scripts/setup-suggestion-data.d.ts +28 -0
- package/react-dist/{components → src/components}/DuffelAncillaries/DuffelAncillariesCustomElement.d.ts +0 -1
- package/react-dist/{components → src/components}/DuffelPayments/DuffelPaymentsCustomElement.d.ts +0 -1
- package/react-dist/{index.d.ts → src/index.d.ts} +0 -1
- package/react-dist/{lib → src/lib}/logging.d.ts +1 -1
- package/scripts/build-and-publish.sh +42 -0
- package/scripts/generate-fixture.ts +2 -2
- package/scripts.tsconfig.json +1 -1
- package/src/components/PlacesLookup/PlacesLookup.tsx +2 -3
- package/src/examples/just-typescript/.yarn/install-state.gz +0 -0
- package/src/examples/just-typescript/package.json +2 -2
- package/src/examples/just-typescript/yarn.lock +467 -154
- package/src/examples/next/README.md +28 -0
- package/src/examples/next/next-env.d.ts +5 -0
- package/src/examples/next/next.config.js +4 -0
- package/src/examples/next/package.json +24 -0
- package/src/examples/next/src/app/DuffelComponents.tsx +40 -0
- package/src/examples/next/src/app/layout.tsx +18 -0
- package/src/examples/next/src/app/page.tsx +9 -0
- package/src/examples/next/tsconfig.json +27 -0
- package/src/examples/next/yarn.lock +257 -0
- package/src/examples/react-app/src/index.tsx +1 -1
- package/src/index.ts +0 -1
- package/src/lib/logging.ts +1 -1
- package/tsconfig.json +9 -3
- package/.github/workflows/autoapprove.yml +0 -18
- package/.github/workflows/release.yml +0 -89
- package/.husky/post-commit +0 -4
- package/.husky/pre-commit +0 -4
- package/.storybook/Storyshots.test.js +0 -3
- package/.storybook/__snapshots__/Storyshots.test.js.snap +0 -67984
- /package/react-dist/{components → src/components}/DuffelAncillaries/Card.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/Counter.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/DuffelAncillaries.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionCard.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionController.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionModal.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionModalBody.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/BaggageSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/bags/IncludedBaggageBanner.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionCard.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModal.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBody.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBodyListItem.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/Amenity.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/DeckSelect.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/Element.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/EmptyElement.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/ExitElement.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/Legend.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/Row.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/RowSection.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatElement.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatInfo.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatMap.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatMapUnavailable.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatSelectionCard.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatSelectionModal.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatSelectionModalBody.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelAncillaries/seats/SeatUnavailable.d.ts +0 -0
- /package/react-dist/{components → src/components}/DuffelPayments/DuffelPayments.d.ts +0 -0
- /package/react-dist/{components → src/components}/PlacesLookup/PlacesLookup.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/AnimatedLoaderEllipsis.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/Button.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/ErrorBoundary.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/FetchOfferErrorState.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/Icon.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/IconButton.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/Modal.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/NonIdealState.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/Stamp.d.ts +0 -0
- /package/react-dist/{components → src/components}/shared/Tabs.d.ts +0 -0
- /package/react-dist/{custom-elements.d.ts → src/custom-elements.d.ts} +0 -0
- /package/react-dist/{lib → src/lib}/captureErrorInSentry.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/compileCreateOrderPayload.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/createPriceFormatters.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/fetchFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/fetchFromFixtures.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/formatAvailableServices.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/formatDate.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/formatSeatMaps.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getBaggageServiceDescription.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getCabinsForSegmentAndDeck.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getCurrencyForSeatMaps.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getCurrencyForServices.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getFirstSeatElementMatchingCriteria.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getPassengerBySegmentList.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getPassengerInitials.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getPassengerMapById.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getPassengerName.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getRowNumber.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getSegmentList.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getServicePriceMapById.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getSymbols.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getTotalAmountForServices.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/getTotalQuantity.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/hasHighLuminance.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/hasService.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/hasServiceOfSameMetadataTypeAlreadyBeenSelected.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/hasWings.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/isBaggageService.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/isCancelForAnyReasonService.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/isFixtureOfferId.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/isPayloadComplete.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/isSeatElement.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/moneyStringFormatter.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/offerIsExpired.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/retrieveOffer.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/retrieveOfferFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/retrieveSeatMaps.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/retrieveSeatMapsFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/setBodyScrollability.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/validateProps.d.ts +0 -0
- /package/react-dist/{lib → src/lib}/withPlural.d.ts +0 -0
- /package/react-dist/{types → src/types}/Aircraft.d.ts +0 -0
- /package/react-dist/{types → src/types}/Airline.d.ts +0 -0
- /package/react-dist/{types → src/types}/Airport.d.ts +0 -0
- /package/react-dist/{types → src/types}/City.d.ts +0 -0
- /package/react-dist/{types → src/types}/CreateOrderPayload.d.ts +0 -0
- /package/react-dist/{types → src/types}/CurrencyConversion.d.ts +0 -0
- /package/react-dist/{types → src/types}/DuffelAncillariesProps.d.ts +0 -0
- /package/react-dist/{types → src/types}/Offer.d.ts +0 -0
- /package/react-dist/{types → src/types}/Order.d.ts +0 -0
- /package/react-dist/{types → src/types}/Place.d.ts +0 -0
- /package/react-dist/{types → src/types}/SeatMap.d.ts +0 -0
- /package/react-dist/{types → src/types}/index.d.ts +0 -0
package/.yarnrc.yml
ADDED
package/README.md
CHANGED
|
@@ -49,6 +49,10 @@ npm i @duffel/components
|
|
|
49
49
|
|
|
50
50
|
- [Find it on src/examples/payments-just-typescript](src/examples/payments-just-typescript)
|
|
51
51
|
|
|
52
|
+
7. **next** | This example imports and renders `@duffel/components` into a `next.js` project.
|
|
53
|
+
|
|
54
|
+
- [Find it on src/examples/payments-just-typescript](src/examples/next)
|
|
55
|
+
|
|
52
56
|
## What components are available?
|
|
53
57
|
|
|
54
58
|
### Ancillaries component
|
package/jest.config.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Config } from "jest";
|
|
|
3
3
|
const config: Config = {
|
|
4
4
|
silent: true,
|
|
5
5
|
testEnvironment: "jsdom",
|
|
6
|
-
roots: ["<rootDir>/src/tests"
|
|
6
|
+
roots: ["<rootDir>/src/tests"],
|
|
7
7
|
moduleNameMapper: {
|
|
8
8
|
"\\.css$": "<rootDir>/__mocks__/styleMock.js",
|
|
9
9
|
"@lib/(.*)$": "<rootDir>/src/lib/$1",
|
package/package.json
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/components",
|
|
3
|
-
"version": "3.1.2",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
3
|
+
"version": "3.1.3--prototype.2",
|
|
4
|
+
"description": "Component library to build your travel product with Duffel.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Duffel",
|
|
7
|
+
"ancillaries",
|
|
8
|
+
"seats",
|
|
9
|
+
"seat maps",
|
|
10
|
+
"baggage",
|
|
11
|
+
"travel"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/duffelhq/duffel-checkout#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/duffelhq/duffel-checkout/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/duffelhq/duffel-checkout.git"
|
|
10
20
|
},
|
|
21
|
+
"license": "MIT",
|
|
11
22
|
"maintainers": [
|
|
12
23
|
{
|
|
13
24
|
"name": "Duffel",
|
|
@@ -15,44 +26,22 @@
|
|
|
15
26
|
"url": "https://duffel.com"
|
|
16
27
|
}
|
|
17
28
|
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": "./react-dist/index.js",
|
|
31
|
+
"./custom-elements": "./react-dist/custom-elements.js"
|
|
32
|
+
},
|
|
33
|
+
"main": "react-dist/index.js",
|
|
18
34
|
"scripts": {
|
|
19
|
-
"
|
|
20
|
-
"cdn-build": "node config/esbuild.cdn.config.js",
|
|
35
|
+
"build-and-publish": "bash ./scripts/build-and-publish.sh",
|
|
21
36
|
"build-storybook": "storybook build",
|
|
22
37
|
"check-types": "tsc --project tsconfig.json --noEmit --emitDeclarationOnly false",
|
|
23
38
|
"dev": "node config/esbuild.dev.config.js",
|
|
24
|
-
"generate-fixture": "esbuild ./scripts/generate-fixture.ts --outfile=dist/scripts/generate-fixture.cjs --format=cjs --platform=node --bundle --tsconfig=scripts.tsconfig.json",
|
|
25
|
-
"postgenerate-fixture": "node dist/scripts/generate-fixture.cjs",
|
|
26
|
-
"setup-suggestion-data": "esbuild ./scripts/setup-suggestion-data.ts --outfile=dist/scripts/setup-suggestion-data.cjs --format=cjs --platform=node --bundle --tsconfig=scripts.tsconfig.json",
|
|
27
|
-
"postsetup-suggestion-data": "node dist/scripts/setup-suggestion-data.cjs",
|
|
28
|
-
"generate-type-declarations": "tsc --project tsconfig.json",
|
|
29
|
-
"commit": "cz",
|
|
39
|
+
"generate-fixture": "esbuild ./scripts/generate-fixture.ts --outfile=dist/scripts/generate-fixture.cjs --format=cjs --platform=node --bundle --tsconfig=scripts.tsconfig.json && node dist/scripts/generate-fixture.cjs",
|
|
30
40
|
"lint": "eslint . --ext .ts,.tsx,.mjs,.js --max-warnings=0",
|
|
31
|
-
"pre-commit-check": "concurrently --raw \"yarn check-types\" \"yarn lint-staged\"",
|
|
32
|
-
"post-commit-check": "yarn commitlint --from main",
|
|
33
|
-
"prepare": "husky install",
|
|
34
41
|
"prettier": "prettier --write --loglevel=warn .",
|
|
35
42
|
"prettier-check": "prettier --check .",
|
|
36
|
-
"prereact-build": "rm -rf ./react-dist",
|
|
37
|
-
"react-build": "node config/esbuild.react.config.js",
|
|
38
|
-
"postreact-build": "yarn generate-type-declarations",
|
|
39
|
-
"run-client-side-server": "http-server src/examples/client-side --port=6262",
|
|
40
|
-
"run-example:client-side": "concurrently \"yarn dev\" \"yarn run-client-side-server\"",
|
|
41
|
-
"run-example:full-stack": "concurrently \"yarn dev\" \"yarn run-full-stack-server\"",
|
|
42
|
-
"run-full-stack-server": "node src/examples/full-stack/server.mjs",
|
|
43
43
|
"storybook": "storybook dev -p 6006",
|
|
44
|
-
"test": "LANG='en_US' TZ=UTC yarn jest"
|
|
45
|
-
"preupload-to-cdn": "yarn cdn-build",
|
|
46
|
-
"upload-to-cdn": "bash ./scripts/upload-to-cdn.sh",
|
|
47
|
-
"prerelease": "yarn react-build",
|
|
48
|
-
"release": "yarn semantic-release",
|
|
49
|
-
"get-version": "cat package.json | jq '.version'"
|
|
50
|
-
},
|
|
51
|
-
"husky": {
|
|
52
|
-
"hooks": {
|
|
53
|
-
"pre-commit": "yarn pre-commit-check",
|
|
54
|
-
"post-commit": "yarn post-commit"
|
|
55
|
-
}
|
|
44
|
+
"test": "LANG='en_US' TZ=UTC yarn jest"
|
|
56
45
|
},
|
|
57
46
|
"lint-staged": {
|
|
58
47
|
"*.{ts,tsx,mjs,js}": [
|
|
@@ -61,111 +50,71 @@
|
|
|
61
50
|
]
|
|
62
51
|
},
|
|
63
52
|
"resolutions": {
|
|
64
|
-
"
|
|
65
|
-
"
|
|
53
|
+
"@babel/traverse": "7.23.2",
|
|
54
|
+
"semver": "7.5.3"
|
|
66
55
|
},
|
|
67
56
|
"dependencies": {
|
|
68
|
-
"@sentry/browser": "
|
|
69
|
-
"@stripe/react-stripe-js": "
|
|
70
|
-
"@stripe/stripe-js": "
|
|
71
|
-
"classnames": "
|
|
72
|
-
"fuse.js": "
|
|
73
|
-
"lodash": "
|
|
57
|
+
"@sentry/browser": "7.77.0",
|
|
58
|
+
"@stripe/react-stripe-js": "2.1.0",
|
|
59
|
+
"@stripe/stripe-js": "1.54.0",
|
|
60
|
+
"classnames": "2.3.2",
|
|
61
|
+
"fuse.js": "6.6.2",
|
|
62
|
+
"lodash": "4.17.21",
|
|
74
63
|
"react": "18.2.0",
|
|
75
64
|
"react-dom": "18.2.0"
|
|
76
65
|
},
|
|
77
66
|
"devDependencies": {
|
|
78
|
-
"@
|
|
79
|
-
"@babel/
|
|
80
|
-
"@babel/preset-
|
|
81
|
-
"@babel/preset-
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@sentry/esbuild-plugin": "
|
|
86
|
-
"@storybook/addon-essentials": "
|
|
87
|
-
"@storybook/addon-interactions": "
|
|
88
|
-
"@storybook/addon-links": "
|
|
89
|
-
"@storybook/
|
|
90
|
-
"@storybook/
|
|
91
|
-
"@storybook/react": "
|
|
92
|
-
"@storybook/
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"@types/
|
|
96
|
-
"@types/node": "
|
|
97
|
-
"@types/prompts": "
|
|
98
|
-
"@types/react": "
|
|
99
|
-
"@types/react-dom": "
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "
|
|
101
|
-
"@typescript-eslint/parser": "
|
|
102
|
-
"babel-jest": "
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
106
|
-
"dotenv": "^16.0.3",
|
|
67
|
+
"@aashutoshrathi/word-wrap": "1.2.6",
|
|
68
|
+
"@babel/core": "7.21.4",
|
|
69
|
+
"@babel/preset-env": "7.21.4",
|
|
70
|
+
"@babel/preset-react": "7.18.6",
|
|
71
|
+
"@babel/preset-typescript": "7.21.4",
|
|
72
|
+
"@duffel/api": "1.26.0",
|
|
73
|
+
"@sentry/cli": "2.21.2",
|
|
74
|
+
"@sentry/esbuild-plugin": "0.7.0",
|
|
75
|
+
"@storybook/addon-essentials": "7.0.2",
|
|
76
|
+
"@storybook/addon-interactions": "7.0.2",
|
|
77
|
+
"@storybook/addon-links": "7.0.2",
|
|
78
|
+
"@storybook/blocks": "7.0.2",
|
|
79
|
+
"@storybook/react": "7.0.2",
|
|
80
|
+
"@storybook/react-webpack5": "7.0.2",
|
|
81
|
+
"@storybook/testing-library": "0.1.0",
|
|
82
|
+
"@testing-library/react": "14.0.0",
|
|
83
|
+
"@types/jest": "29.5.7",
|
|
84
|
+
"@types/lodash": "4.14.200",
|
|
85
|
+
"@types/node": "18.18.8",
|
|
86
|
+
"@types/prompts": "2.4.7",
|
|
87
|
+
"@types/react": "18.2.33",
|
|
88
|
+
"@types/react-dom": "18.2.14",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "6.9.1",
|
|
90
|
+
"@typescript-eslint/parser": "6.9.1",
|
|
91
|
+
"babel-jest": "29.7.0",
|
|
92
|
+
"concurrently": "8.0.0",
|
|
93
|
+
"dotenv": "16.0.3",
|
|
107
94
|
"esbuild": "0.17.19",
|
|
108
|
-
"esbuild-copy-static-files": "
|
|
109
|
-
"eslint": "
|
|
110
|
-
"eslint-config-prettier": "
|
|
111
|
-
"eslint-plugin-import": "
|
|
112
|
-
"eslint-plugin-jsx-a11y": "
|
|
113
|
-
"eslint-plugin-react": "
|
|
114
|
-
"eslint-plugin-react-hooks": "
|
|
115
|
-
"eslint-plugin-storybook": "
|
|
116
|
-
"http-server": "
|
|
117
|
-
"
|
|
118
|
-
"jest": "
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"prettier": "
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
129
|
-
"typescript": "5.0.4"
|
|
95
|
+
"esbuild-copy-static-files": "0.1.0",
|
|
96
|
+
"eslint": "8.52.0",
|
|
97
|
+
"eslint-config-prettier": "9.0.0",
|
|
98
|
+
"eslint-plugin-import": "2.29.0",
|
|
99
|
+
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
100
|
+
"eslint-plugin-react": "7.33.2",
|
|
101
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
102
|
+
"eslint-plugin-storybook": "0.6.15",
|
|
103
|
+
"http-server": "14.1.1",
|
|
104
|
+
"jest": "29.7.0",
|
|
105
|
+
"jest-environment-jsdom": "29.7.0",
|
|
106
|
+
"lint-staged": "13.2.0",
|
|
107
|
+
"prettier": "2.8.7",
|
|
108
|
+
"prettier-plugin-organize-imports": "3.2.2",
|
|
109
|
+
"prompts": "2.4.2",
|
|
110
|
+
"prop-types": "15.8.1",
|
|
111
|
+
"storybook": "7.0.2",
|
|
112
|
+
"ts-node": "10.9.1",
|
|
113
|
+
"tsconfig-paths-webpack-plugin": "4.0.1",
|
|
114
|
+
"typescript": "5.2.2"
|
|
130
115
|
},
|
|
116
|
+
"packageManager": "yarn@4.0.1",
|
|
131
117
|
"engines": {
|
|
132
118
|
"node": "~18.*"
|
|
133
|
-
}
|
|
134
|
-
"config": {
|
|
135
|
-
"commitizen": {
|
|
136
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"plugins": [
|
|
140
|
-
[
|
|
141
|
-
"@semantic-release/commit-analyzer"
|
|
142
|
-
],
|
|
143
|
-
[
|
|
144
|
-
"@semantic-release/release-notes-generator"
|
|
145
|
-
],
|
|
146
|
-
"@semantic-release/npm",
|
|
147
|
-
"@semantic-release/github"
|
|
148
|
-
],
|
|
149
|
-
"release": {
|
|
150
|
-
"branches": [
|
|
151
|
-
"main"
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
|
-
"description": "Component library to build your travel product with Duffel.",
|
|
155
|
-
"repository": {
|
|
156
|
-
"type": "git",
|
|
157
|
-
"url": "git+https://github.com/duffelhq/duffel-checkout.git"
|
|
158
|
-
},
|
|
159
|
-
"keywords": [
|
|
160
|
-
"Duffel",
|
|
161
|
-
"ancillaries",
|
|
162
|
-
"seats",
|
|
163
|
-
"seat maps",
|
|
164
|
-
"baggage",
|
|
165
|
-
"travel"
|
|
166
|
-
],
|
|
167
|
-
"bugs": {
|
|
168
|
-
"url": "https://github.com/duffelhq/duffel-checkout/issues"
|
|
169
|
-
},
|
|
170
|
-
"homepage": "https://github.com/duffelhq/duffel-checkout#readme"
|
|
119
|
+
}
|
|
171
120
|
}
|