riteshjs 0.0.0-stage → 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,133 @@
1
1
  {
2
2
  "name": "riteshjs",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "rite: a shell for the browser, on xterm.js",
5
+ "license": "MIT",
6
+ "author": "Jarrod Baumann",
7
+ "homepage": "https://github.com/jarrodb/ritesh",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/jarrodb/ritesh.git",
11
+ "directory": "packages/ritesh"
12
+ },
13
+ "bugs": "https://github.com/jarrodb/ritesh/issues",
14
+ "keywords": [
15
+ "shell",
16
+ "terminal",
17
+ "xterm",
18
+ "browser"
19
+ ],
20
+ "type": "module",
21
+ "sideEffects": [
22
+ "*.css"
23
+ ],
24
+ "files": [
25
+ "dist",
26
+ "THIRD_PARTY_NOTICES",
27
+ "LICENSE"
28
+ ],
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "./eggs": {
35
+ "types": "./dist/eggs.d.ts",
36
+ "default": "./dist/eggs.js"
37
+ },
38
+ "./remote": {
39
+ "types": "./dist/remote.d.ts",
40
+ "default": "./dist/remote.js"
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",
52
+ "./rite.css": "./dist/rite.css",
53
+ "./package.json": "./package.json"
54
+ },
55
+ "unpkg": "./dist/rite.bundle.min.js",
56
+ "jsdelivr": "./dist/rite.bundle.min.js",
57
+ "engines": {
58
+ "node": ">=24.11.0"
59
+ },
60
+ "scripts": {
61
+ "build": "tsdown && node scripts/copy-css.mjs",
62
+ "typecheck": "tsc --noEmit -p tsconfig.json",
63
+ "test": "vitest run",
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",
65
+ "prepack": "node -e \"require('fs').copyFileSync('../../LICENSE','LICENSE')\""
66
+ },
67
+ "devDependencies": {
68
+ "@arethetypeswrong/cli": "0.18.5",
69
+ "@size-limit/file": "14.3.0",
70
+ "@xterm/addon-fit": "0.11.0",
71
+ "@xterm/addon-unicode11": "0.9.0",
72
+ "@xterm/addon-web-links": "0.12.0",
73
+ "@xterm/headless": "6.0.0",
74
+ "@xterm/xterm": "6.0.0",
75
+ "ajv": "8.20.0",
76
+ "ipaddr.js": "2.5.0",
77
+ "jq-wasm": "3.0.0-jq-1.8.2",
78
+ "publint": "0.3.25",
79
+ "size-limit": "14.3.0",
80
+ "tsdown": "0.23.7",
81
+ "vitest": "5.1.2"
82
+ },
83
+ "size-limit": [
84
+ {
85
+ "name": "IIFE bundle (with xterm)",
86
+ "path": "dist/rite.bundle.min.js",
87
+ "limit": "150 kB",
88
+ "gzip": true
89
+ },
90
+ {
91
+ "name": "rite code (ESM, unminified: consumers' bundlers minify)",
92
+ "path": [
93
+ "dist/*.js",
94
+ "!dist/rite.bundle.min.js",
95
+ "!dist/net.js",
96
+ "!dist/jq.js",
97
+ "!dist/jq-worker.js"
98
+ ],
99
+ "limit": "75 kB",
100
+ "gzip": true
101
+ },
102
+ {
103
+ "name": "xterm vendor chunk",
104
+ "path": "dist/vendor/*.js",
105
+ "limit": "120 kB",
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
131
+ }
132
+ ]
133
+ }