mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Makes explorer and desktop sibling projects, as proposed in ADR 1. This commit only moves files; paths in CI, scripts and docs are fixed in the following commits.
23 lines
555 B
TypeScript
23 lines
555 B
TypeScript
import nodeConfig from "config";
|
|
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
define: {
|
|
buildTimeConfig: JSON.stringify(nodeConfig.util.toObject()),
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
include: ["http-client/tests/*.test.ts"],
|
|
reporters: "verbose",
|
|
globalSetup: "./tests/support/globalSetup",
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@tests": path.resolve("./tests"),
|
|
"@app": path.resolve("./src"),
|
|
"@http-client": path.resolve("./http-client"),
|
|
},
|
|
},
|
|
});
|