This PR addresses issue #3 by making the dashboard package function independently of the other packages in the repository.
Changes include:
Updating the scripts and dependencies in packages/dashboard/package.json to ensure that the dashboard package can be installed and run independently.
Replacing the current handler function in packages/dashboard/src/pages/api/index.page.ts with a function that returns dummy data.
Replacing the import statements that reference other packages in packages/dashboard/src/components/journeys/sidebar.tsx and packages/dashboard/src/pages/journeys/[id]/configure.page.tsx with dummy data or mock functions.
Updating the configuration in packages/dashboard/next.config.js to ensure that the dashboard package can be built and run independently.
These changes allow the dashboard package to function as a standalone package, with dummy data in the API folder that uses Next.js.
Please review and let me know if any changes are required.
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
This PR addresses issue #3 by making the dashboard package function independently of the other packages in the repository.
Changes include:
packages/dashboard/package.json
to ensure that the dashboard package can be installed and run independently.packages/dashboard/src/pages/api/index.page.ts
with a function that returns dummy data.packages/dashboard/src/components/journeys/sidebar.tsx
andpackages/dashboard/src/pages/journeys/[id]/configure.page.tsx
with dummy data or mock functions.packages/dashboard/next.config.js
to ensure that the dashboard package can be built and run independently.These changes allow the dashboard package to function as a standalone package, with dummy data in the API folder that uses Next.js.
Please review and let me know if any changes are required.
Fixes #3.
To checkout this PR branch, run the following command in your terminal: