File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 103
103
"@testing-library/user-event" : " ^14.5.2" ,
104
104
"@typescript-eslint/eslint-plugin" : " ^8.0.0" ,
105
105
"@typescript-eslint/parser" : " ^8.0.0" ,
106
- "@vitest/coverage-v8" : " ^2.0.2" ,
106
+ "@vitest/coverage-v8" : " ^1.0.0 || ^ 2.0.2" ,
107
107
"all-contributors-cli" : " ^6.26.1" ,
108
108
"doctoc" : " ^2.2.1" ,
109
+ "esbuild" : " *" ,
109
110
"eslint" : " ^8.57.0" ,
110
111
"eslint-config-prettier" : " ^9.1.0" ,
111
112
"eslint-config-standard" : " ^17.1.0" ,
123
124
"prettier" : " ^3.3.3" ,
124
125
"prettier-plugin-svelte" : " ^3.2.5" ,
125
126
"svelte" : " ^3 || ^4 || ^5 || ^5.0.0-next.0" ,
126
- "svelte-check" : " ^4.0.4" ,
127
+ "svelte-check" : " ^3.0.0 || ^ 4.0.4" ,
127
128
"svelte-jester" : " ^5.0.0" ,
128
129
"typescript" : " ^5.5.3" ,
129
- "vite" : " ^5.3.3" ,
130
- "vitest" : " ^2.0.2"
130
+ "vite" : " ^4.0.0 || ^ 5.3.3" ,
131
+ "vitest" : " ^1.0.0 || ^ 2.0.2"
131
132
}
132
133
}
Original file line number Diff line number Diff line change @@ -15,4 +15,11 @@ elif [[ "${svelte_version}" == "3" ]]; then
15
15
npm install --no-save vite@4 vitest@1 @vitest/coverage-v8@1 @sveltejs/vite-plugin-svelte@2 svelte-check@3 svelte@3
16
16
fi
17
17
18
- npm ls --depth=0 svelte
18
+ npm dedupe
19
+ installed_version=$( npm ls --depth=0 --parseable svelte@${svelte_version} )
20
+
21
+ if [[ -z " ${installed_version} " ]]; then
22
+ echo " Error: expected svelte@${svelte_version} "
23
+ npm ls --depth=0 svelte
24
+ exit 1
25
+ fi
You can’t perform that action at this time.
0 commit comments