Skip to content

Personal website built in Next.js, NX, and TypeScript

Notifications You must be signed in to change notification settings

michael-brittlebank/michaelbrittlebank.com

Repository files navigation

Build Status

MichaelBrittlebank.com

Description

Architecture

Set up

First install dependencies:

pnpm install --frozen-lockfile

Then run the development server:

pnpm dev

Creating a new library

For only TypeScript use

npx nx generate @nrwl/js:lib my-lib

for a React TypeScript library use:

npx nx generate @nrwl/react:lib my-lib

Create a new app

npx nx generate @nrwl/next:app my-app

Publishing a new version

Use the npm version command like

npm version patch

to update the package.json and create a tag. Run

pnpm export

to build the code. Then be sure to push the tag and the code up to the remote where it can be merged into the master branch.

git push —-tags origin master