Skip to content

Commit

Permalink
chore: move node slice
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jan 3, 2025
1 parent 98fbdd9 commit d7c51cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rockcraft/extensions/expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class ExpressJSFramework(Extension):
"package-lock.json",
"node_modules",
]
RUNTIME_DEBS = ["node"]
RUNTIME_SLICES = ["ca-certificates_data", "libpq5"]
RUNTIME_DEBS = ["ca-certificates_data"]
RUNTIME_SLICES = ["node", "libpq5"]

@staticmethod
@override
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/extensions/test_expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ def test_expressjs_extension_default(
"expressjs-framework/runtime-debs": {
"plugin": "nil",
"stage-packages": [
"node",
"ca-certificates_data",
],
},
"expressjs-framework/runtime-slices": {
"plugin": "nil",
"stage-packages": ["ca-certificates_data", "libpq5"],
"stage-packages": ["node", "libpq5"],
},
},
"services": {
Expand Down

0 comments on commit d7c51cd

Please sign in to comment.