brsh 2.1.4 → 2.2.0
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/CHANGELOG.md +14 -0
- package/bin/exportFileSystem.js +5 -1
- package/dist/shell.es.js +461 -287
- package/dist/shell.es.js.map +1 -1
- package/dist/shell.min.js +5 -4
- package/dist/shell.min.js.map +1 -1
- package/dist/terminal.es.js +420 -246
- package/dist/terminal.es.js.map +1 -1
- package/dist/terminal.min.js +8 -7
- package/dist/terminal.min.js.map +1 -1
- package/index.js +9 -0
- package/lib/Command.js +1 -2
- package/lib/ScriptCommand.js +220 -8
- package/lib/buildFilesystemStructure.js +15 -1
- package/lib/builtins/index.js +1 -0
- package/lib/builtins/printf.js +48 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.2.0](https://github.com/eliotstocker/Brsh-JS/compare/v2.1.5...v2.2.0) (2026-05-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* more scriptiing support ([48ce7ec](https://github.com/eliotstocker/Brsh-JS/commit/48ce7ec1fc9affef5a5767ed55664d67f63018f1))
|
|
7
|
+
|
|
8
|
+
## [2.1.5](https://github.com/eliotstocker/Brsh-JS/compare/v2.1.4...v2.1.5) (2026-05-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* binary serialisation ([b2aa4d2](https://github.com/eliotstocker/Brsh-JS/commit/b2aa4d23d4b4d696b1fdc965fd55f2155c8eb44d))
|
|
14
|
+
|
|
1
15
|
## [2.1.4](https://github.com/eliotstocker/Brsh-JS/compare/v2.1.3...v2.1.4) (2026-05-22)
|
|
2
16
|
|
|
3
17
|
|
package/bin/exportFileSystem.js
CHANGED
|
@@ -100,6 +100,8 @@ const textLoaderPlugin = {
|
|
|
100
100
|
&& !filename.endsWith('.jpg')
|
|
101
101
|
&& !filename.endsWith('.jpeg')
|
|
102
102
|
&& !filename.endsWith('.bmp')
|
|
103
|
+
&& !filename.endsWith('.webp')
|
|
104
|
+
&& !filename.endsWith('.ico')
|
|
103
105
|
) {
|
|
104
106
|
const contents = await fs.promises.readFile(args.path, 'utf8');
|
|
105
107
|
return { contents, loader: 'text' };
|
|
@@ -124,7 +126,9 @@ esbuild.build({
|
|
|
124
126
|
'.png': 'binary',
|
|
125
127
|
'.jpg': 'binary',
|
|
126
128
|
'.jpeg': 'binary',
|
|
127
|
-
'.bmp': 'binary'
|
|
129
|
+
'.bmp': 'binary',
|
|
130
|
+
'.webp': 'binary',
|
|
131
|
+
'.ico': 'binary'
|
|
128
132
|
},
|
|
129
133
|
plugins: [
|
|
130
134
|
textLoaderPlugin,
|