Skip to content

Commit d7d73aa

Browse files
committed
do not include non-tsconfig projects
1 parent 69cc630 commit d7d73aa

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

epicshop/fix.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const apps = [...exampleApps, ...exerciseApps]
3636

3737
const appsWithPkgJson = [...examples, ...apps].filter((app) => {
3838
const pkgjsonPath = path.join(app, 'package.json')
39-
return exists(pkgjsonPath)
39+
const tsconfigPath = path.join(app, 'tsconfig.json')
40+
return exists(pkgjsonPath) && exists(tsconfigPath)
4041
})
4142

4243
// update the package.json file name property

tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
},
1616
{
1717
"path": "exercises/01.exercise-navigation/02.solution.multi-step"
18-
},
19-
{
20-
"path": "exercises/02.app-varieties/01.problem.no-preview"
21-
},
22-
{
23-
"path": "exercises/02.app-varieties/01.solution.no-preview"
2418
}
2519
]
2620
}

0 commit comments

Comments
 (0)