Merged in feat/sw-2880-prepare-booking-flow-package (pull request #2467)

feat(SW-2880) Prepare booking flow package

* Init booking-flow package

* Add gitignore

* Use booking-flow package

* Use design-system


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-06-30 07:48:28 +00:00
parent f0def99425
commit a91c28096d
16 changed files with 267 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
.page {
color: white;
width: 500px;
height: 500px;
padding-left: 200px;
padding-top: 200px;
}

View File

@@ -1,3 +1,4 @@
import { Temp } from "@scandic-hotels/booking-flow/test-entry"
import { Typography } from "@scandic-hotels/design-system/Typography"
import styles from "./page.module.css"
@@ -10,6 +11,11 @@ export default function Home() {
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
<p>hello world</p>
</Typography>
<Typography>
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
<p>from booking-flow package:</p>
</Typography>
<Temp />
</main>
</div>
)

View File

@@ -3,7 +3,11 @@ import type { NextConfig } from "next"
const nextConfig: NextConfig = {
poweredByHeader: false,
trailingSlash: false,
transpilePackages: ["@scandic-hotels/common", "@scandic-hotels/trpc"],
transpilePackages: [
"@scandic-hotels/common",
"@scandic-hotels/trpc",
"@scandic-hotels/booking-flow",
],
output: "standalone",
webpack: function (config: any) {

View File

@@ -13,6 +13,7 @@
},
"dependencies": {
"@netlify/plugin-nextjs": "^5.11.2",
"@scandic-hotels/booking-flow": "workspace:*",
"@scandic-hotels/design-system": "workspace:*",
"next": "15.3.4",
"react": "^19.0.0",