File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,22 +19,21 @@ parts:
19
19
nodejs :
20
20
plugin : nil
21
21
stage-packages :
22
- - bash_bins
23
22
- base-files_lib
24
- - coreutils_bins
25
23
- libbrotli1_libs
26
24
- libc-ares2_libs
27
25
- libicu74_libs
28
26
- libnghttp2-14_libs
29
27
- libssl3_libs
30
28
- libstdc++6_libs
31
29
- libuv1_libs
32
- - sed_bins
33
30
- zlib1g_libs
34
31
stage-snaps :
35
32
- node/20
36
33
override-prime : |
37
34
craftctl default
38
- ln -s ${CRAFT_PRIME}/usr/bin/bash ${CRAFT_PRIME}/bin/sh
35
+ rm -rf ${CRAFT_PRIME}/lib/node_modules/
36
+ rm ${CRAFT_PRIME}/bin/npm ${CRAFT_PRIME}/bin/npx
37
+ rm ${CRAFT_PRIME}/bin/corepack ${CRAFT_PRIME}/bin/yarn*
39
38
ln -s ${CRAFT_PRIME}/bin/node ${CRAFT_PRIME}/bin/nodejs
40
39
ln -s ${CRAFT_PRIME}/bin/node ${CRAFT_PRIME}/bin/js
You can’t perform that action at this time.
0 commit comments