Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(24.04): Add nodejs slice #121

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions slices/libatomic1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libatomic1

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libatomic.so.1*:
10 changes: 10 additions & 0 deletions slices/libbrotli1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package: libbrotli1

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libbrotlicommon.so.1*:
/usr/lib/*-linux-*/libbrotlidec.so.1*:
/usr/lib/*-linux-*/libbrotlienc.so.1*:
8 changes: 8 additions & 0 deletions slices/libc-ares2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libc-ares2

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libcares.so.2*:
8 changes: 8 additions & 0 deletions slices/libnghttp2-14.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libnghttp2-14

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libnghttp2.so.14*:
23 changes: 23 additions & 0 deletions slices/libnode108.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package: libnode108

slices:
libs:
essential:
# The chisel tool does not support per-architecture packages
# libatomic1 is only required on mips* and riscv64
# - libatomic1
rebornplusplus marked this conversation as resolved.
Show resolved Hide resolved
- libbrotli1_libs
- libc-ares2_libs
- libc6_libs
- libgcc-s1_libs
linostar marked this conversation as resolved.
Show resolved Hide resolved
- libicu72_libs
- libnghttp2-14_libs
- libssl3_libs
- libstdc++6_libs
- libuv1_libs
- node-acorn_libs
- node-cjs-module-lexer_libs
- node-undici_libs
- zlib1g_libs
contents:
/usr/lib/*-linux-*/libnode.so.108:
8 changes: 8 additions & 0 deletions slices/libuv1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libuv1

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libuv.so.1*:
37 changes: 37 additions & 0 deletions slices/node-acorn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package: node-acorn

slices:
libs:
essential:
- node-xtend_libs
contents:
# basically avoiding all the .map files (line tables) and unittest drivers
/usr/share/nodejs/acorn-bigint/index.js:
/usr/share/nodejs/acorn-bigint/package.json:
/usr/share/nodejs/acorn-class-fields/index.js:
/usr/share/nodejs/acorn-class-fields/package.json:
/usr/share/nodejs/acorn-dynamic-import/**:
/usr/share/nodejs/acorn-export-ns-from/index.js:
/usr/share/nodejs/acorn-export-ns-from/package.json:
/usr/share/nodejs/acorn-globals/**:
/usr/share/nodejs/acorn-import-assertions/**:
/usr/share/nodejs/acorn-import-meta/index.js:
/usr/share/nodejs/acorn-import-meta/package.json:
/usr/share/nodejs/acorn-jsx/**:
/usr/share/nodejs/acorn-loose/**:
/usr/share/nodejs/acorn-node/**:
/usr/share/nodejs/acorn-numeric-separator/**.js:
/usr/share/nodejs/acorn-numeric-separator/dist/*.mjs:
/usr/share/nodejs/acorn-numeric-separator/package.json:
/usr/share/nodejs/acorn-private-class-elements/**:
/usr/share/nodejs/acorn-private-methods/**.js:
/usr/share/nodejs/acorn-private-methods/dist/*.mjs:
/usr/share/nodejs/acorn-private-methods/package.json:
/usr/share/nodejs/acorn-static-class-features/index.js:
/usr/share/nodejs/acorn-static-class-features/package.json:
/usr/share/nodejs/acorn-walk/dist/*.js:
/usr/share/nodejs/acorn-walk/dist/*.mjs:
/usr/share/nodejs/acorn-walk/package.json:
/usr/share/nodejs/acorn/dist/acorn.js:
/usr/share/nodejs/acorn/dist/acorn.mjs:
/usr/share/nodejs/acorn/package.json:
8 changes: 8 additions & 0 deletions slices/node-busboy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: node-busboy

slices:
libs:
contents:
/usr/share/nodejs/busboy/lib/**:
/usr/share/nodejs/busboy/package.json:
/usr/share/nodejs/streamsearch/**:
8 changes: 8 additions & 0 deletions slices/node-cjs-module-lexer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: node-cjs-module-lexer

slices:
libs:
contents:
/usr/share/nodejs/cjs-module-lexer/*.js:
/usr/share/nodejs/cjs-module-lexer/*.json:
rebornplusplus marked this conversation as resolved.
Show resolved Hide resolved
/usr/share/nodejs/cjs-module-lexer/dist/**:
13 changes: 13 additions & 0 deletions slices/node-undici.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package: node-undici

slices:
libs:
essential:
- node-busboy_libs
contents:
/usr/share/nodejs/binary-search/*.js:
/usr/share/nodejs/undici/index-fetch.js:
/usr/share/nodejs/undici/index.js:
/usr/share/nodejs/undici/lib/**.js:
/usr/share/nodejs/undici/package.json:
/usr/share/nodejs/undici/undici-fetch.js:
6 changes: 6 additions & 0 deletions slices/node-xtend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package: node-xtend

slices:
libs:
contents:
/usr/share/nodejs/xtend/**:
10 changes: 10 additions & 0 deletions slices/nodejs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package: nodejs

slices:
bins:
essential:
- libc6_libs
- libnode108_libs
contents:
/usr/bin/node:
/usr/bin/nodejs:
linostar marked this conversation as resolved.
Show resolved Hide resolved