From 878340abf01821d8153de8fc4e331bc42c7abc83 Mon Sep 17 00:00:00 2001 From: Tyom Semonov Date: Fri, 5 Jan 2024 22:41:58 +0000 Subject: [PATCH] Clean up --- README.md | 14 +++++++------- jsconfig.json | 15 --------------- package.json | 2 +- 3 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 jsconfig.json diff --git a/README.md b/README.md index fbfd95b..134f4e4 100644 --- a/README.md +++ b/README.md @@ -32,23 +32,23 @@ 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 @@ -56,11 +56,11 @@ The deployment consists of the CV app and Storybook stories under `stories/` dir 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 diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index c0f2e87..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "./.svelte-kit/tsconfig.json", - "compilerOptions": { - "baseUrl": ".", - "paths": { - "$app/*": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"], - "$lib": ["src/lib"], - "$lib/*": ["src/lib/*"], - "$src/*": ["src/*"], - "$components/*": ["src/components/*"], - "$data/*": ["data/*"] - } - }, - "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"] -} diff --git a/package.json b/package.json index dc8a772..6ba0c1f 100644 --- a/package.json +++ b/package.json @@ -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 .",