Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tyom committed Jan 5, 2024
1 parent 756b54d commit 878340a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,35 @@ version of the site and is located in static directory, available for download.

To start development server run:

yarn dev
pnpm dev

To generate static site run:

yarn build
pnpm build

To create PDF run:

yarn create-pdf
pnpm create-pdf

To serve the static build run:

yarn start
pnpm start

To start Storybook run:

yarn storybook
pnpm storybook

## Deployment

The deployment consists of the CV app and Storybook stories under `stories/` directory bundled as a static site.

To prepare the distribution (build and collate the files) run:

yarn predeploy
pnpm predeploy

The static site is deployed to GH Pages. To deploy manually (this also runs predeploy script) run:

yarn deploy
pnpm deploy

## Environment variables

Expand Down
15 changes: 0 additions & 15 deletions jsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev": "vite dev",
"build": "vite build",
"start": "vite preview",
"create-pdf": "node scripts/create-pdf",
"create-pdf": "pnpm playwright test",
"predeploy": "rm -rf build && pnpm playwright test && pnpm build && pnpm build-storybook && cp -a storybook-static/. build/storybook && echo tyom.semonov.com > build/CNAME",
"deploy": "gh-pages -d build --dotfiles",
"lint": "eslint --ignore-path .gitignore . && prettier --check .",
Expand Down

0 comments on commit 878340a

Please sign in to comment.