From 8f930a1a80da45507270fc2ff875a9ed83595cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Ba=CC=88chler?= Date: Tue, 9 Dec 2025 22:58:14 +0100 Subject: [PATCH] fix: Remove wrong dependencies --- CONTRIBUTING.md | 2 +- template/api/package.json | 9 +-------- template/mock-backend/package.json | 4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2c07726..07ebbe0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,5 +6,5 @@ To verify the generator before publishing: 1. Run `npm pack` in this repository to produce a tarball (for example `create-tinker-stack-0.2.2.tgz`). -2. In a temporary directory, execute `npx --yes create-tinker-stack@file:/absolute/path/to/create-tinker-stack-0.2.2.tgz`. +2. In a temporary directory, execute `npx --yes create-tinker-stack@file://$(pwd)/create-tinker-stack-0.2.3.tgz`. - Replace the path with the absolute path to the tarball from step 1 (npm `create` does not currently support `file:` specifiers). diff --git a/template/api/package.json b/template/api/package.json index 6a06685..c297c84 100644 --- a/template/api/package.json +++ b/template/api/package.json @@ -17,9 +17,6 @@ "@repo/eslint-config": "*", "@repo/typescript-config": "*" }, - "peerDependencies": { - "msw": "^2.4.9" - }, "engines": { "node": ">=22.0.0" }, @@ -42,9 +39,5 @@ "*.{json,md}": [ "prettier --write" ] - }, - "dependencies": { - "memoize": "^10.0.0", - "msw": "^2.4.9" } -} +} \ No newline at end of file diff --git a/template/mock-backend/package.json b/template/mock-backend/package.json index 72ab27f..64520bf 100644 --- a/template/mock-backend/package.json +++ b/template/mock-backend/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@repo/api": "*", - "@repo/mock-data": "2024.0.0", + "@repo/mock-data": "*", "@tinyhttp/cookie": "^2.1.1", "memoize": "^10.0.0", "msw": "^2.4.9", @@ -59,4 +59,4 @@ "prettier --write" ] } -} +} \ No newline at end of file