tangled
alpha
login
or
join now
danabra.mov
/
statusphere-react
forked from
samuel.fm/statusphere-react
0
fork
atom
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
Remove vitest
Paul Frazee
2 years ago
4c89fc98
53dfbe27
+3
-21
3 changed files
expand all
collapse all
unified
split
package.json
tsconfig.json
vite.config.mts
+2
-6
package.json
···
11
11
"build": "tsup",
12
12
"start": "node dist/index.js",
13
13
"lexgen": "lex gen-server ./src/lexicon ./lexicons/*",
14
14
-
"clean": "rimraf dist coverage",
15
15
-
"test": "vitest run"
14
14
+
"clean": "rimraf dist coverage"
16
15
},
17
16
"dependencies": {
18
17
"@atproto/identity": "^0.4.0",
···
44
43
"@types/express": "^4.17.21",
45
44
"pino-pretty": "^11.0.0",
46
45
"rimraf": "^5.0.0",
47
47
-
"supertest": "^7.0.0",
48
46
"ts-node": "^10.9.2",
49
47
"tsup": "^8.0.2",
50
48
"tsx": "^4.7.2",
51
51
-
"typescript": "^5.4.4",
52
52
-
"vite-tsconfig-paths": "^4.3.2",
53
53
-
"vitest": "^2.0.0"
49
49
+
"typescript": "^5.4.4"
54
50
},
55
51
"tsup": {
56
52
"entry": [
+1
-2
tsconfig.json
···
12
12
"strict": true,
13
13
"esModuleInterop": true,
14
14
"skipLibCheck": true,
15
15
-
"forceConsistentCasingInFileNames": true,
16
16
-
"types": ["vitest/globals"]
15
15
+
"forceConsistentCasingInFileNames": true
17
16
},
18
17
"include": ["src/**/*"],
19
18
"exclude": ["node_modules"]
-13
vite.config.mts
···
1
1
-
import tsconfigPaths from "vite-tsconfig-paths";
2
2
-
import { defineConfig } from "vitest/config";
3
3
-
4
4
-
export default defineConfig({
5
5
-
test: {
6
6
-
coverage: {
7
7
-
exclude: ["**/node_modules/**", "**/index.ts"],
8
8
-
},
9
9
-
globals: true,
10
10
-
restoreMocks: true,
11
11
-
},
12
12
-
plugins: [tsconfigPaths()],
13
13
-
});