riteshjs 0.1.0 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riteshjs",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "rite: a shell for the browser, on xterm.js",
5
5
  "license": "MIT",
6
6
  "author": "Jarrod Baumann",
@@ -39,6 +39,16 @@
39
39
  "types": "./dist/remote.d.ts",
40
40
  "default": "./dist/remote.js"
41
41
  },
42
+ "./net": {
43
+ "types": "./dist/net.d.ts",
44
+ "default": "./dist/net.js"
45
+ },
46
+ "./jq": {
47
+ "types": "./dist/jq.d.ts",
48
+ "default": "./dist/jq.js"
49
+ },
50
+ "./jq-worker.js": "./dist/jq-worker.js",
51
+ "./jq.wasm": "./dist/jq.wasm",
42
52
  "./rite.css": "./dist/rite.css",
43
53
  "./package.json": "./package.json"
44
54
  },
@@ -51,7 +61,7 @@
51
61
  "build": "tsdown && node scripts/copy-css.mjs",
52
62
  "typecheck": "tsc --noEmit -p tsconfig.json",
53
63
  "test": "vitest run",
54
- "check:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./rite.css && size-limit && node scripts/pack-smoke.mjs",
64
+ "check:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./rite.css ./jq-worker.js ./jq.wasm && size-limit && node scripts/pack-smoke.mjs",
55
65
  "prepack": "node -e \"require('fs').copyFileSync('../../LICENSE','LICENSE')\""
56
66
  },
57
67
  "devDependencies": {
@@ -63,6 +73,8 @@
63
73
  "@xterm/headless": "6.0.0",
64
74
  "@xterm/xterm": "6.0.0",
65
75
  "ajv": "8.20.0",
76
+ "ipaddr.js": "2.5.0",
77
+ "jq-wasm": "3.0.0-jq-1.8.2",
66
78
  "publint": "0.3.25",
67
79
  "size-limit": "14.3.0",
68
80
  "tsdown": "0.23.7",
@@ -79,7 +91,10 @@
79
91
  "name": "rite code (ESM, unminified: consumers' bundlers minify)",
80
92
  "path": [
81
93
  "dist/*.js",
82
- "!dist/rite.bundle.min.js"
94
+ "!dist/rite.bundle.min.js",
95
+ "!dist/net.js",
96
+ "!dist/jq.js",
97
+ "!dist/jq-worker.js"
83
98
  ],
84
99
  "limit": "75 kB",
85
100
  "gzip": true
@@ -89,6 +104,30 @@
89
104
  "path": "dist/vendor/*.js",
90
105
  "limit": "120 kB",
91
106
  "gzip": true
107
+ },
108
+ {
109
+ "name": "net add-on (with ipaddr.js)",
110
+ "path": "dist/net.js",
111
+ "limit": "12 kB",
112
+ "gzip": true
113
+ },
114
+ {
115
+ "name": "jq add-on (the command)",
116
+ "path": "dist/jq.js",
117
+ "limit": "4 kB",
118
+ "gzip": true
119
+ },
120
+ {
121
+ "name": "jq worker (with jq-wasm)",
122
+ "path": "dist/jq-worker.js",
123
+ "limit": "32 kB",
124
+ "gzip": true
125
+ },
126
+ {
127
+ "name": "jq.wasm",
128
+ "path": "dist/jq.wasm",
129
+ "limit": "360 kB",
130
+ "gzip": true
92
131
  }
93
132
  ]
94
133
  }
@@ -1,13 +0,0 @@
1
- /*! ritesh | MIT | Copyright (c) 2026 Jarrod Baumann | bundles xterm.js (MIT, see THIRD_PARTY_NOTICES) */
2
- // \0rolldown/runtime.js
3
- var __defProp = Object.defineProperty;
4
- var __exportAll = (all, flags) => {
5
- let target = Object.setPrototypeOf({}, null);
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
- return flags & 2 ? target : Object.preventExtensions(target);
12
- };
13
- export { __exportAll as t };