typescript-virtual-container 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builds/self-standalone.js +184 -300
- package/builds/self-standalone.js.map +3 -3
- package/builds/standalone-wo-sftp.js +155 -271
- package/builds/standalone-wo-sftp.js.map +3 -3
- package/builds/standalone.js +149 -265
- package/builds/standalone.js.map +3 -3
- package/dist/VirtualPackageManager/index.d.ts.map +1 -1
- package/dist/VirtualPackageManager/index.js +29 -1
- package/dist/commands/curl.d.ts.map +1 -1
- package/dist/commands/curl.js +2 -1
- package/dist/commands/gzip.d.ts.map +1 -1
- package/dist/commands/gzip.js +6 -0
- package/dist/commands/man.d.ts.map +1 -1
- package/dist/commands/man.js +30 -136
- package/dist/commands/neofetch.d.ts.map +1 -1
- package/dist/commands/neofetch.js +6 -0
- package/dist/commands/wget.d.ts.map +1 -1
- package/dist/commands/wget.js +11 -1
- package/package.json +2 -2
- package/src/VirtualPackageManager/index.ts +29 -1
- package/src/commands/curl.ts +2 -1
- package/src/commands/gzip.ts +7 -0
- package/src/commands/man.ts +38 -143
- package/src/commands/manuals/adduser.txt +11 -0
- package/src/commands/manuals/apt-cache.txt +12 -0
- package/src/commands/manuals/apt.txt +20 -0
- package/src/commands/manuals/awk.txt +13 -0
- package/src/commands/manuals/cat.txt +14 -0
- package/src/commands/manuals/cd.txt +16 -0
- package/src/commands/manuals/chmod.txt +16 -0
- package/src/commands/manuals/clear.txt +10 -0
- package/src/commands/manuals/cp.txt +10 -0
- package/src/commands/manuals/curl.txt +20 -0
- package/src/commands/manuals/date.txt +14 -0
- package/src/commands/manuals/declare.txt +12 -0
- package/src/commands/manuals/deluser.txt +10 -0
- package/src/commands/manuals/df.txt +10 -0
- package/src/commands/manuals/dpkg-query.txt +11 -0
- package/src/commands/manuals/dpkg.txt +14 -0
- package/src/commands/manuals/du.txt +11 -0
- package/src/commands/manuals/echo.txt +11 -0
- package/src/commands/manuals/false.txt +10 -0
- package/src/commands/manuals/find.txt +11 -0
- package/src/commands/manuals/free.txt +12 -0
- package/src/commands/manuals/grep.txt +13 -0
- package/src/commands/manuals/groups.txt +10 -0
- package/src/commands/manuals/gzip.txt +11 -0
- package/src/commands/manuals/head.txt +10 -0
- package/src/commands/manuals/help.txt +11 -0
- package/src/commands/manuals/history.txt +11 -0
- package/src/commands/manuals/hostname.txt +10 -0
- package/src/commands/manuals/id.txt +10 -0
- package/src/commands/manuals/kill.txt +13 -0
- package/src/commands/manuals/ls.txt +20 -0
- package/src/commands/manuals/lsb_release.txt +14 -0
- package/src/commands/manuals/mkdir.txt +10 -0
- package/src/commands/manuals/mv.txt +10 -0
- package/src/commands/manuals/nano.txt +11 -0
- package/src/commands/manuals/neofetch.txt +10 -0
- package/src/commands/manuals/node.txt +13 -0
- package/src/commands/manuals/npm.txt +13 -0
- package/src/commands/manuals/npx.txt +13 -0
- package/src/commands/manuals/passwd.txt +11 -0
- package/src/commands/manuals/ping.txt +10 -0
- package/src/commands/manuals/printf.txt +11 -0
- package/src/commands/manuals/ps.txt +10 -0
- package/src/commands/manuals/pwd.txt +10 -0
- package/src/commands/manuals/python3.txt +13 -0
- package/src/commands/manuals/readlink.txt +10 -0
- package/src/commands/manuals/return.txt +10 -0
- package/src/commands/manuals/rm.txt +10 -0
- package/src/commands/manuals/sed.txt +11 -0
- package/src/commands/manuals/set.txt +11 -0
- package/src/commands/manuals/shift.txt +10 -0
- package/src/commands/manuals/sleep.txt +10 -0
- package/src/commands/manuals/sort.txt +12 -0
- package/src/commands/manuals/source.txt +11 -0
- package/src/commands/manuals/ssh.txt +11 -0
- package/src/commands/manuals/stat.txt +10 -0
- package/src/commands/manuals/su.txt +13 -0
- package/src/commands/manuals/sudo.txt +11 -0
- package/src/commands/manuals/tail.txt +10 -0
- package/src/commands/manuals/tar.txt +19 -0
- package/src/commands/manuals/tee.txt +10 -0
- package/src/commands/manuals/test.txt +11 -0
- package/src/commands/manuals/touch.txt +11 -0
- package/src/commands/manuals/tr.txt +10 -0
- package/src/commands/manuals/trap.txt +10 -0
- package/src/commands/manuals/true.txt +10 -0
- package/src/commands/manuals/type.txt +10 -0
- package/src/commands/manuals/uname.txt +12 -0
- package/src/commands/manuals/uniq.txt +12 -0
- package/src/commands/manuals/unset.txt +10 -0
- package/src/commands/manuals/uptime.txt +11 -0
- package/src/commands/manuals/wc.txt +12 -0
- package/src/commands/manuals/wget.txt +12 -0
- package/src/commands/manuals/which.txt +10 -0
- package/src/commands/manuals/whoami.txt +10 -0
- package/src/commands/manuals/xargs.txt +10 -0
- package/src/commands/neofetch.ts +7 -0
- package/src/commands/wget.ts +12 -1
- package/tests/new-features.test.ts +2 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
CHMOD(1) User Commands CHMOD(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
chmod - change file mode bits
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
chmod [OPTION]... MODE[,MODE]... FILE...
|
|
8
|
+
chmod [OPTION]... OCTAL-MODE FILE...
|
|
9
|
+
|
|
10
|
+
DESCRIPTION
|
|
11
|
+
Change the file mode bits of each given file according to MODE.
|
|
12
|
+
|
|
13
|
+
EXAMPLES
|
|
14
|
+
chmod 755 script.sh rwxr-xr-x
|
|
15
|
+
chmod 644 file.txt rw-r--r--
|
|
16
|
+
chmod +x script.sh add execute permission
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
CURL(1) User Commands CURL(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
curl - transfer a URL
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
curl [options / URLs]
|
|
8
|
+
|
|
9
|
+
DESCRIPTION
|
|
10
|
+
curl is a tool for transferring data with URL syntax.
|
|
11
|
+
|
|
12
|
+
OPTIONS
|
|
13
|
+
-o, --output <file> Write output to <file>
|
|
14
|
+
-X, --request <method> Specify request method
|
|
15
|
+
-d, --data <data> HTTP POST data
|
|
16
|
+
-H, --header <header> Pass custom header
|
|
17
|
+
-s, --silent Silent mode
|
|
18
|
+
-I, --head Show document info only
|
|
19
|
+
-L, --location Follow redirects
|
|
20
|
+
-v, --verbose Make the operation more talkative
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
DPKG(1) User Commands DPKG(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
dpkg - package manager for Debian-like systems
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
dpkg [OPTION]... ACTION
|
|
8
|
+
|
|
9
|
+
OPTIONS
|
|
10
|
+
-l list installed packages
|
|
11
|
+
-s show package status
|
|
12
|
+
-L list files in package
|
|
13
|
+
-r remove package
|
|
14
|
+
-P purge package
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
GREP(1) User Commands GREP(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
grep, egrep, fgrep - print lines that match patterns
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
grep [OPTION]... PATTERNS [FILE]...
|
|
8
|
+
|
|
9
|
+
OPTIONS
|
|
10
|
+
-i, --ignore-case ignore case distinctions in patterns and data
|
|
11
|
+
-v, --invert-match select non-matching lines
|
|
12
|
+
-n, --line-number print line number with output lines
|
|
13
|
+
-r, --recursive read all files under each directory, recursively
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
LS(1) User Commands LS(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
ls - list directory contents
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
ls [OPTION]... [FILE]...
|
|
8
|
+
|
|
9
|
+
DESCRIPTION
|
|
10
|
+
List information about the FILEs (the current directory by default).
|
|
11
|
+
|
|
12
|
+
OPTIONS
|
|
13
|
+
-l use a long listing format
|
|
14
|
+
-a do not ignore entries starting with .
|
|
15
|
+
-h with -l, print human readable sizes
|
|
16
|
+
-r reverse order while sorting
|
|
17
|
+
-t sort by modification time
|
|
18
|
+
|
|
19
|
+
AUTHOR
|
|
20
|
+
Written by Richard M. Stallman and David MacKenzie.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
LSB_RELEASE(1) User Commands LSB_RELEASE(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
lsb_release - print distribution-specific information
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
lsb_release [OPTION]...
|
|
8
|
+
|
|
9
|
+
OPTIONS
|
|
10
|
+
-a show all available information
|
|
11
|
+
-i show distributor ID
|
|
12
|
+
-d show description
|
|
13
|
+
-r show release number
|
|
14
|
+
-c show codename
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
NODE(1) User Commands NODE(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
node - virtual JavaScript runtime entry point
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
node [--version] [-e SCRIPT] [-p EXPR]
|
|
8
|
+
|
|
9
|
+
DESCRIPTION
|
|
10
|
+
Execute JavaScript snippets in the virtual runtime.
|
|
11
|
+
|
|
12
|
+
NOTES
|
|
13
|
+
Requires package installation: apt install nodejs.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
NPM(1) User Commands NPM(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
npm - virtual Node.js package manager interface
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
npm [--version] [COMMAND]
|
|
8
|
+
|
|
9
|
+
DESCRIPTION
|
|
10
|
+
Manage packages and run scripts in the virtual environment.
|
|
11
|
+
|
|
12
|
+
NOTES
|
|
13
|
+
Requires package installation: apt install npm.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
PYTHON3(1) User Commands PYTHON3(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
python3 - virtual Python 3 interpreter entry point
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
python3 [--version] [-V] [-c COMMAND]
|
|
8
|
+
|
|
9
|
+
DESCRIPTION
|
|
10
|
+
Execute Python snippets in the virtual runtime.
|
|
11
|
+
|
|
12
|
+
NOTES
|
|
13
|
+
Requires package installation: apt install python3.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
SORT(1) User Commands SORT(1)
|
|
2
|
+
|
|
3
|
+
NAME
|
|
4
|
+
sort - sort lines of text files
|
|
5
|
+
|
|
6
|
+
SYNOPSIS
|
|
7
|
+
sort [OPTION]... [FILE]...
|
|
8
|
+
|
|
9
|
+
OPTIONS
|
|
10
|
+
-r reverse the result of comparisons
|
|
11
|
+
-n compare according to string numerical value
|
|
12
|
+
-u output only the first of an equal run
|