Skip to content

Commit

Permalink
fix: use nodejs package
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jan 3, 2025
1 parent 9233492 commit acc3c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rockcraft/extensions/expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _gen_install_app_part(self) -> dict:
"source": "app/",
"organize": self._app_organize,
"override-prime": f"rm -rf lib/node_modules/{self._app_name}",
"build-snaps": ["node"],
"build-packages": ["nodejs"],
}

def _gen_runtime_debs_part(self) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/extensions/test_expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_expressjs_extension_default(
"organize": {
"lib/node_modules/test-expressjs-project/package.json": "app/package.json",
},
"build-snaps": ["node"],
"build-packages": ["nodejs"],
"override-prime": f"rm -rf lib/node_modules/{expressjs_project_name}",
},
"expressjs-framework/runtime-debs": {
Expand Down

0 comments on commit acc3c05

Please sign in to comment.