Skip to content

Commit 58f8f54

Browse files
committed
feat: use local mdk packages with useProducts hook
- Update .gitignore to allow local-packages/*.tgz - Include local @moneydevkit/core and @moneydevkit/nextjs packages - Update package.json to reference local packages - Update Dockerfile to copy local-packages directory
1 parent 135e2b8 commit 58f8f54

6 files changed

Lines changed: 223 additions & 246 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ coverage
1919
.idea
2020
.vscode
2121
*.tgz
22+
!**/local-packages/*.tgz
2223
.secrets
2324
.envrc
2425
.direnv

mdk-nextjs-demo/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ WORKDIR /app
99
# Install curl and jq for healthchecks and JSON manipulation
1010
RUN apk add --no-cache curl libc6-compat jq
1111

12-
# Copy package files
12+
# Copy package files and local packages
1313
COPY package.json package-lock.json* ./
14+
COPY local-packages ./local-packages
1415

1516
# Install dependencies
1617
RUN npm install
61.8 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)