This monorepo contains the frontend, API, and custom CMS solution for my personal portfolio and blog.
- Clone the repository:
git clone https://github.com/DevlinRocha/portfolio.git
# or
git clone [email protected]:DevlinRocha/portfolio.git
- Change directories and install the modules:
cd portfolio/
pnpm install
The following scripts are available in the monorepo root. Similar scripts may exist for the individual packages and apps (projects) within the monorepo. Running a script from the monorepo root will run the script across all individual projects. Running a script from within an individual project will scope it to that project only.
Typechecks the monorepo root and builds each individual project. You can pass arguments and flags to control the behavior of the build process.
<projects>
(optional)
A space-separated list of project names to build. By default, the script will build all projects in the packages
and apps
directories.
Example: pnpm build projectX projectY
.
--typecheck-projects=<projects>
(optional)
A comma-separated list of project paths to typecheck instead of building. By default, all projects will be built.
Example: --typecheck-projects=packages/projectX,apps/projectY
.
--ignore-projects=<projects>
(optional)
A comma-separated list of projects to ignore during the build process.
Example: --ignore-projects=packages/projectX,apps/projectY
.
--ignore-errors
(optional)
The script will continue running even if errors occur. By default, errors will cause the script to exit.
-
Typecheck monorepo root and
packages/api
, build all other projects:pnpm build --typecheck-projects=packages/api
-
Typecheck monorepo root and build
apps/frontend
:pnpm build frontend
-
Typecheck monorepo root and
packages/api
:pnpm build --typecheck-projects=packages/api --ignore-projects=apps/frontend