Skip to content

Commit 1bfa55c

Browse files
committed
Update install script
1 parent 0097865 commit 1bfa55c

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

scripts/install.js

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,16 @@ const shell = require("shelljs");
33
[
44
"01-imperative-to-declarative",
55
"02-hocs-render-props",
6-
"03-context-clone-element",
7-
"04-portals",
8-
"05-wai-aria",
9-
"06-gsbu",
10-
"07-gdsfp",
11-
"08-suspense"
6+
"03-clone-element",
7+
"04-context",
8+
"05-portals",
9+
"06-wai-aria",
10+
"07-gsbu",
11+
"08-gdsfp",
12+
"09-suspense"
1213
].forEach(dir => {
1314
shell.cd(`${dir}/exercise`);
1415
shell.echo(`\nInstalling exercise ${dir}:`);
1516
shell.exec(`yarn`);
1617
shell.cd("../..");
1718
});
18-
19-
[
20-
"01-imperative-to-declarative",
21-
"02-hocs-render-props",
22-
"03-context-clone-element",
23-
"04-portals",
24-
"06-gsbu",
25-
"07-gdsfp",
26-
"08-suspense"
27-
].forEach(dir => {
28-
shell.cd(`${dir}/lecture`);
29-
shell.echo(`\nInstalling lecture ${dir}:`);
30-
shell.exec(`yarn`);
31-
shell.cd("../..");
32-
});

0 commit comments

Comments
 (0)