File tree Expand file tree Collapse file tree 4 files changed +67
-73
lines changed
Expand file tree Collapse file tree 4 files changed +67
-73
lines changed Original file line number Diff line number Diff line change 1414 "email" : " selemonsrdev@gmail.com"
1515 },
1616 "engines" : {
17- "vscode" : " ^1.74.0 "
17+ "vscode" : " ^1.103 "
1818 },
1919 "categories" : [
2020 " Other" ,
165165 "devDependencies" : {
166166 "@types/node" : " 20.x" ,
167167 "@types/vscode" : " ^1.103" ,
168- "@typescript-eslint/eslint-plugin" : " ^7.0 .0" ,
169- "@typescript-eslint/parser" : " ^6.13.1 " ,
168+ "@typescript-eslint/eslint-plugin" : " ^7.18 .0" ,
169+ "@typescript-eslint/parser" : " ^6.21.0 " ,
170170 "esbuild" : " ^0.25.9" ,
171- "eslint" : " ^8.54.0 " ,
171+ "eslint" : " ^8.57.1 " ,
172172 "typescript" : " ^5.9.2"
173173 },
174174 "dependencies" : {
175- "ofetch" : " ^1.3.3 " ,
175+ "ofetch" : " ^1.4.1 " ,
176176 "pkg-types" : " ^2.3.0"
177177 },
178- "packageManager" : " pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228 "
178+ "packageManager" : " pnpm@9.15.9 "
179179}
Original file line number Diff line number Diff line change 11import { getProjectDirectory } from "./getProjectDir" ;
2- import { readPackageJSON } from "pkg-types" ;
32import { existsSync } from 'fs' ;
43
54type Dependency = {
@@ -14,6 +13,7 @@ export const getProjectDependencies = async (): Promise<Dependency[]> => {
1413 if ( ! existsSync ( packageJsonPath ) ) {
1514 return [ ] ;
1615 } else {
16+ const { readPackageJSON } = await import ( "pkg-types" ) ;
1717 const packageJSON = await readPackageJSON ( packageJsonPath ) ;
1818
1919 const addDependencies = ( depObj : Record < string , string > | undefined ) => {
@@ -31,4 +31,4 @@ export const getProjectDependencies = async (): Promise<Dependency[]> => {
3131
3232 return dependencies ;
3333 }
34- } ;
34+ } ;
Original file line number Diff line number Diff line change 77 ],
88 "sourceMap" : true ,
99 "rootDir" : " src" ,
10- "strict" : true /* enable all strict type-checking options */
10+ "strict" : true ,
11+ "skipLibCheck" : true /* enable all strict type-checking options */
1112 /* Additional Checks */
1213 // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
1314 // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
You can’t perform that action at this time.
0 commit comments