Skip to content

Commit 025d915

Browse files
committed
Re-generate project
Fixes #39
1 parent fc62ae7 commit 025d915

File tree

7 files changed

+719
-300
lines changed

7 files changed

+719
-300
lines changed

.gitignore

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
.DS_Store
21
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
/.svelte-kit
37
/build
48
/dist
5-
/.svelte-kit
6-
/package
9+
10+
# OS
11+
.DS_Store
12+
Thumbs.db
13+
14+
# Env
715
.env
816
.env.*
917
!.env.example
18+
!.env.test
19+
20+
# Vite
1021
vite.config.js.timestamp-*
1122
vite.config.ts.timestamp-*

.prettierignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ignore files for PNPM, NPM and YARN
2-
pnpm-lock.yaml
1+
# Package Managers
32
package-lock.json
3+
pnpm-lock.yaml
44
yarn.lock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ I update dependencies regularly. These are the steps:
1111
1. **Directory not empty. Continue?** Yes.
1212
1. **Which Svelte app template?** Library project.
1313
1. **Add type checking with TypeScript?** Yes, using JavaScript with JSDoc comments.
14-
1. Add ESLint and Prettier.
14+
1. Add ESLint, Prettier and Vitest.
1515
1. Revert `README.md`.
1616
1. Delete folder `node_modules` and file `pnpm-lock.yaml` and run `pnpm i`.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"prepublishOnly": "npm run package",
1010
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
1111
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
12+
"test": "vitest",
1213
"lint": "prettier --check . && eslint .",
1314
"format": "prettier --write ."
1415
},
@@ -43,7 +44,8 @@
4344
"svelte-check": "^3.6.0",
4445
"tslib": "^2.4.1",
4546
"typescript": "^5.0.0",
46-
"vite": "^5.0.11"
47+
"vite": "^5.0.11",
48+
"vitest": "^1.2.0"
4749
},
4850
"svelte": "./dist/index.js",
4951
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)