Skip to content

Commit

Permalink
Add new npm lesson and to pathway fixtures
Browse files Browse the repository at this point in the history
npm contents separated from ES6 Modules lesson as requested in
TheOdinProject/curriculum#27953
  • Loading branch information
MaoShizhong committed Jun 28, 2024
1 parent 7f80c46 commit 830c3f3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions db/fixtures/lessons/javascript_lessons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ def javascript_lessons
github_path: '/javascript/organizing_your_javascript_code/es6_modules.md',
identifier_uuid: '0169e4d1-e381-49e0-897b-f9364ac10e51',
},
'npm' => {
title: 'npm',
description: 'npm',
is_project: false,
github_path: '/javascript/organizing_your_javascript_code/npm.md',
identifier_uuid: 'bec8407e-22fb-4106-8bdf-4f65b29c1365',
},
'Webpack' => {
title: 'Webpack',
description: 'Webpack',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
javascript_lessons.fetch('Tic Tac Toe'),
javascript_lessons.fetch('Classes'),
javascript_lessons.fetch('ES6 Modules'),
javascript_lessons.fetch('npm'),
javascript_lessons.fetch('Webpack'),
javascript_lessons.fetch('Restaurant Page'),
javascript_lessons.fetch('Revisiting Webpack'),
Expand Down
1 change: 1 addition & 0 deletions db/fixtures/paths/full_stack_rails/courses/javascript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
javascript_lessons.fetch('Tic Tac Toe'),
javascript_lessons.fetch('Classes'),
javascript_lessons.fetch('ES6 Modules'),
javascript_lessons.fetch('npm'),
javascript_lessons.fetch('Webpack'),
javascript_lessons.fetch('Restaurant Page'),
javascript_lessons.fetch('Revisiting Webpack'),
Expand Down

0 comments on commit 830c3f3

Please sign in to comment.