Skip to content

Commit 17486b4

Browse files
committed
fix fix
1 parent ca0b860 commit 17486b4

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

epicshop/fix.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const VERBOSE = false
1212
const logVerbose = (...args) => (VERBOSE ? console.log(...args) : undefined)
1313

1414
const workshopRoot = here('..')
15-
const examples = (await readDir(here('../examples'))).map((dir) =>
16-
here(`../examples/${dir}`),
15+
const extras = (await readDir(here('../extra'))).map((dir) =>
16+
here(`../extra/${dir}`),
1717
)
1818
const exercises = (await readDir(here('../exercises')))
1919
.map((name) => here(`../exercises/${name}`))
@@ -29,12 +29,12 @@ const exerciseApps = (
2929
}),
3030
)
3131
).flat()
32-
const exampleApps = (await readDir(here('../examples'))).map((dir) =>
33-
here(`../examples/${dir}`),
32+
const extraApps = (await readDir(here('../extra'))).map((dir) =>
33+
here(`../extra/${dir}`),
3434
)
35-
const apps = [...exampleApps, ...exerciseApps]
35+
const apps = [...extraApps, ...exerciseApps]
3636

37-
const appsWithPkgJson = [...examples, ...apps].filter((app) => {
37+
const appsWithPkgJson = [...extras, ...apps].filter((app) => {
3838
const pkgjsonPath = path.join(app, 'package.json')
3939
return exists(pkgjsonPath)
4040
})

extra/muffin-shop-checkout/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "examples_muffin-shop-checkout",
2+
"name": "extra_muffin-shop-checkout",
33
"type": "module",
44
"scripts": {
55
"start": "npx @kentcdodds/log-module ./index.ts"

extra/muffin-shop-dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "examples_muffin-shop-dashboard",
2+
"name": "extra_muffin-shop-dashboard",
33
"private": true,
44
"type": "module",
55
"scripts": {

0 commit comments

Comments
 (0)