This is a SvelteKit package project which I use as a GitHub template:
I update dependencies regularly. These are the steps:
- Run
pnpm create svelte@latest .
to regenerate the SvelteKit skeleton project into the existing directory. - Where should we create your project? Hit enter to use the current directory.
- Directory not empty. Continue? Yes.
- Which Svelte app template? Library project.
- Add type checking with TypeScript? Yes, using TypScript syntax.
- Add ESLint, Prettier and Vitest.
- Revert
README.md
. - Delete folder
node_modules
and filepnpm-lock.yaml
and runpnpm i
.