Skip to content

Commit 6b2a56b

Browse files
committed
deps: remove tsm and desm
1 parent f6f30ec commit 6b2a56b

File tree

3 files changed

+6
-253
lines changed

3 files changed

+6
-253
lines changed

packages/jellycommands/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@
4242
"devDependencies": {
4343
"@types/node": "^18.19.64",
4444
"@vitest/coverage-v8": "^1.6.0",
45-
"desm": "^1.3.1",
4645
"discord.js": "^14.15.3",
4746
"publint": "catalog:",
48-
"tsm": "^2.3.0",
4947
"tsup": "^8.3.5",
5048
"typescript": "^5.7.2",
5149
"vitest": "^1.6.0"

packages/jellycommands/vitest.config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import { defineConfig } from 'vitest/config';
2-
import { join } from 'desm';
2+
import { dirname, join } from 'node:path';
3+
import { fileURLToPath } from 'node:url';
4+
5+
const __dirname = dirname(fileURLToPath(import.meta.url));
36

47
export default defineConfig({
58
test: {
69
alias: {
7-
$src: join(import.meta.url, './src'),
8-
$mock: join(import.meta.url, './tests/mock.ts'),
10+
$src: join(__dirname, './src'),
11+
$mock: join(__dirname, './tests/mock.ts'),
912
},
1013
include: ['tests/**/*.test.ts'],
1114
unstubEnvs: true,

pnpm-lock.yaml

Lines changed: 0 additions & 248 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)