From b1a9059d06d74db573484afebda6415a30ba827e Mon Sep 17 00:00:00 2001 From: peccu Date: Sun, 7 Jan 2024 14:12:27 +0000 Subject: [PATCH 1/5] update depcruise conf --- vue-app/.dependency-cruiser.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue-app/.dependency-cruiser.cjs b/vue-app/.dependency-cruiser.cjs index 1fc1273..2a1cc40 100644 --- a/vue-app/.dependency-cruiser.cjs +++ b/vue-app/.dependency-cruiser.cjs @@ -290,7 +290,7 @@ module.exports = { defaults to './tsconfig.json'. */ tsConfig: { - fileName: 'tsconfig.json' + fileName: 'tsconfig.app.json' }, /* Webpack configuration to use to get resolve options from. @@ -486,4 +486,4 @@ module.exports = { } } }; -// generated: dependency-cruiser@16.0.0 on 2024-01-07T05:51:36.635Z +// generated: dependency-cruiser@16.0.0 on 2024-01-07T14:10:04.631Z From 019260eb8dc27510f83d205a5da84b8e99ceff3c Mon Sep 17 00:00:00 2001 From: peccu Date: Sun, 7 Jan 2024 14:13:08 +0000 Subject: [PATCH 2/5] update depcruise conf --- .dependency-cruiser.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.dependency-cruiser.cjs b/.dependency-cruiser.cjs index 85dbd55..2a1cc40 100644 --- a/.dependency-cruiser.cjs +++ b/.dependency-cruiser.cjs @@ -290,7 +290,7 @@ module.exports = { defaults to './tsconfig.json'. */ tsConfig: { - fileName: 'tsconfig.json' + fileName: 'tsconfig.app.json' }, /* Webpack configuration to use to get resolve options from. @@ -486,4 +486,4 @@ module.exports = { } } }; -// generated: dependency-cruiser@16.0.0 on 2024-01-07T05:24:35.319Z +// generated: dependency-cruiser@16.0.0 on 2024-01-07T14:10:04.631Z From b4cf1b9df866366506cac9730f3096416718741d Mon Sep 17 00:00:00 2001 From: peccu Date: Sun, 7 Jan 2024 14:14:22 +0000 Subject: [PATCH 3/5] add patch in codesandbox container --- .codesandbox/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile index 4e60e2b..1dd0ad6 100644 --- a/.codesandbox/Dockerfile +++ b/.codesandbox/Dockerfile @@ -7,4 +7,4 @@ RUN apt update -y && apt install -y curl unzip \ && cd /usr/local/bin \ && ln -s bun bunx -RUN apt-get install -y graphviz +RUN apt-get install -y graphviz patch From 4005bd207f69843cf02087d6c8c62198c4dfc4ae Mon Sep 17 00:00:00 2001 From: peccu Date: Sun, 7 Jan 2024 14:17:33 +0000 Subject: [PATCH 4/5] fix patch path --- patch/my-config.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch/my-config.patch b/patch/my-config.patch index 2fc83a5..bae33c9 100644 --- a/patch/my-config.patch +++ b/patch/my-config.patch @@ -268,8 +268,8 @@ index 226a102..8053cc5 100644 parameters: { diff --git .dependency-cruiser.cjs .dependency-cruiser.cjs index cc64b44..69ec80c 100644 ---- .dependency-cruiser.js -+++ .dependency-cruiser.js +--- .dependency-cruiser.cjs ++++ .dependency-cruiser.cjs @@ -133,10 +133,10 @@ module.exports = { "or there's something in the test folder that isn't a test.", severity: 'error', From 6ce7d8371321fb455dfc7618fb5b56b119562eac Mon Sep 17 00:00:00 2001 From: peccu Date: Sun, 7 Jan 2024 14:18:35 +0000 Subject: [PATCH 5/5] update note for dep cruise --- update-from-template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-from-template.sh b/update-from-template.sh index 4e97861..a1c3ed6 100755 --- a/update-from-template.sh +++ b/update-from-template.sh @@ -24,7 +24,7 @@ Setup dependency cruiser. Please choose like below ✔ Do your test files live in a separate folder? … yes ✔ Where do your test files live? … e2e ✔ Looks like you're using a 'tsconfig.json'. Use that? … yes -✔ Full path to your 'tsconfig.json › tsconfig.json +✔ Full path to your 'tsconfig.json › tsconfig.app.json ✔ Also regard TypeScript dependencies that exist only before compilation? … yes ==================== EOL