This project was bootstrapped with Create Next App.
Find the most recent version of this guide at here. And check out Next.js repo for the most up-to-date info.
- Install dependencies:
npm i
- Set up environment: copy
.env.schema
to.env
and update environment accordingly if needed. Out-of-the-box values are meant for local development. - Dev commands:
npm run dev
for work that involves the custom server
To keep commit messages consistent, we use gitmoji-cli, available as a dev dependency
npm run commit
will start interactive commit tool- configuring gitmoji-cli:
npm run gitmoji-config
npm run type-check
: trigger TypeScript type check for whole reponpm run type-check -- --watch
: runs the above with watch mode- Any
npm run type-check
triggerstsc
, so any flag layed out here can be used
- Any
- If using vscode,
tsc
can also be run as a task in the editor:Cmd+Shift+B
, then selecttsc:build - tsconfig.json
- This will report errors in vscode's
PROBLEMS
tab
/uikit
contains the reusable UI components for Argo.
-
npm run storybook
to run start a local storybook.- creating a new component:
npm run create-component
-
uikit
components should not reference (import
) anything outside of theuikit
directory