@heleg/runpad 0.0.4 → 0.1.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.
Files changed (4) hide show
  1. package/README.md +35 -18
  2. package/dist/index.mjs +639 -1594
  3. package/package.json +10 -2
  4. package/schema.json +73 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heleg/runpad",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/heleg/runpad.git"
@@ -10,15 +10,18 @@
10
10
  "runpad": "dist/index.mjs"
11
11
  },
12
12
  "files": [
13
- "dist"
13
+ "dist",
14
+ "schema.json"
14
15
  ],
15
16
  "type": "module",
16
17
  "publishConfig": {
17
18
  "access": "public"
18
19
  },
19
20
  "scripts": {
21
+ "prepare": "lefthook install",
20
22
  "start": "bun run src/index.ts",
21
23
  "build": "tsdown",
24
+ "schema": "bun run scripts/configJsonSchema.ts",
22
25
  "test": "bun test",
23
26
  "typecheck": "tsc --noEmit",
24
27
  "fmt": "oxfmt",
@@ -29,14 +32,19 @@
29
32
  "execa": "^10.2.1",
30
33
  "ink": "^8.0.0",
31
34
  "minimatch": "^11.0.8",
35
+ "nypm": "^0.6.12",
32
36
  "react": "^19.3.1",
33
37
  "valibot": "^1.5.0",
38
+ "withstand": "^0.0.28",
39
+ "wrap-ansi": "^10.0.2",
34
40
  "yaml": "^2.9.1"
35
41
  },
36
42
  "devDependencies": {
37
43
  "@types/bun": "^1.4.4",
38
44
  "@types/node": "^26.6.6",
39
45
  "@types/react": "^19.3.0",
46
+ "@valibot/to-json-schema": "^1.8.0",
47
+ "lefthook": "^2.2.2",
40
48
  "oxfmt": "^0.78.0",
41
49
  "oxlint": "^1.93.0",
42
50
  "oxlint-tsgolint": "^7.0.2007",
package/schema.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "RunPad config",
4
+ "description": "Team settings for RunPad, committed to the repository.",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string"
9
+ },
10
+ "scripts": {
11
+ "type": "object",
12
+ "properties": {
13
+ "hidden": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "object",
17
+ "properties": {
18
+ "package": {
19
+ "type": "string",
20
+ "description": "Package directory relative to the config root, \".\" for the root package."
21
+ },
22
+ "scripts": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "Script names of this package, as written in package.json."
28
+ }
29
+ },
30
+ "required": [
31
+ "package",
32
+ "scripts"
33
+ ],
34
+ "additionalProperties": false
35
+ },
36
+ "description": "Scripts left out of the lists.",
37
+ "default": []
38
+ },
39
+ "pinned": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "object",
43
+ "properties": {
44
+ "package": {
45
+ "type": "string",
46
+ "description": "Package directory relative to the config root, \".\" for the root package."
47
+ },
48
+ "scripts": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "string"
52
+ },
53
+ "description": "Script names of this package, as written in package.json."
54
+ }
55
+ },
56
+ "required": [
57
+ "package",
58
+ "scripts"
59
+ ],
60
+ "additionalProperties": false
61
+ },
62
+ "description": "Scripts shown at the top for the whole team.",
63
+ "default": []
64
+ }
65
+ },
66
+ "required": [],
67
+ "default": {},
68
+ "additionalProperties": false
69
+ }
70
+ },
71
+ "required": [],
72
+ "additionalProperties": false
73
+ }