@hraness/direct 0.7.5 → 0.7.6
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/README.md +9 -6
- package/package.json +8 -6
- package/skills/direct/references/install.md +3 -3
package/README.md
CHANGED
|
@@ -2,20 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://skills.sh/hraness/direct)
|
|
4
4
|
|
|
5
|
-
a
|
|
5
|
+
a TypeScript harness for deterministic frontend development with repeatable
|
|
6
|
+
scenarios, local fixtures, and browser verification for coding agents.
|
|
6
7
|
|
|
7
8
|
name signed-in, empty, error, and other hard-to-reach app states once, then let
|
|
8
9
|
coding agents open them by URL during development. your interface and feature
|
|
9
10
|
code run normally. direct replaces only the outside systems needed for that
|
|
10
|
-
state with predictable local
|
|
11
|
+
state with predictable local fixtures. it does not click through the browser
|
|
11
12
|
or test the systems it replaces.
|
|
12
13
|
|
|
13
14
|
```sh
|
|
14
|
-
bun add --dev @hraness/direct@0.7.
|
|
15
|
+
bun add --dev @hraness/direct@0.7.6
|
|
15
16
|
# or
|
|
16
|
-
npm install --save-dev @hraness/direct@0.7.
|
|
17
|
+
npm install --save-dev @hraness/direct@0.7.6
|
|
17
18
|
```
|
|
18
19
|
|
|
20
|
+
[npm](https://www.npmjs.com/package/@hraness/direct) ·
|
|
21
|
+
[github](https://github.com/hraness/direct) ·
|
|
19
22
|
[overview](https://hraness.com/direct)
|
|
20
23
|
|
|
21
24
|
```text
|
|
@@ -50,7 +53,7 @@ Copy this prompt into Codex, Claude Code, or another coding agent:
|
|
|
50
53
|
|
|
51
54
|
```text
|
|
52
55
|
Use $direct to install hraness/direct from
|
|
53
|
-
the npm registry at the exact 0.7.
|
|
56
|
+
the npm registry at the exact 0.7.6 version. Follow the repository README, add
|
|
54
57
|
`@hraness/direct` to devDependencies only, and verify that the production
|
|
55
58
|
dependency graph excludes Direct. Do not add a fixture composition until I
|
|
56
59
|
ask.
|
|
@@ -66,7 +69,7 @@ Pin the public npm package to an exact immutable version:
|
|
|
66
69
|
```json
|
|
67
70
|
{
|
|
68
71
|
"devDependencies": {
|
|
69
|
-
"@hraness/direct": "0.7.
|
|
72
|
+
"@hraness/direct": "0.7.6"
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hraness/direct",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "0.7.6",
|
|
4
|
+
"description": "A TypeScript harness for deterministic frontend development with repeatable scenarios, local fixtures, and browser verification for coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -21,12 +21,14 @@
|
|
|
21
21
|
"url": "https://github.com/hraness/direct/issues"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
|
-
"
|
|
24
|
+
"frontend-development",
|
|
25
25
|
"frontend-testing",
|
|
26
26
|
"deterministic-testing",
|
|
27
|
-
"
|
|
27
|
+
"browser-testing",
|
|
28
28
|
"scenario-testing",
|
|
29
|
-
"
|
|
29
|
+
"fixtures",
|
|
30
|
+
"coding-agents",
|
|
31
|
+
"typescript"
|
|
30
32
|
],
|
|
31
33
|
"exports": {
|
|
32
34
|
".": {
|
|
@@ -127,7 +129,7 @@
|
|
|
127
129
|
"example:typecheck": "tsc -p examples/todos/tsconfig.json --noEmit",
|
|
128
130
|
"example:verify": "bun run examples/todos/verify.ts",
|
|
129
131
|
"lint": "eslint src examples scripts",
|
|
130
|
-
"test:npm-release": "bun test ./scripts/npm-
|
|
132
|
+
"test:npm-release": "bun test ./scripts/npm-publish-workflow.test.ts",
|
|
131
133
|
"test:package": "bun run ./scripts/package-smoke.ts",
|
|
132
134
|
"kb:refresh": "bunx --bun github:hraness/kb#v0.15.2 refresh --root kb",
|
|
133
135
|
"kb:check:lane": "bunx --bun github:hraness/kb#v0.15.2 check --root kb --no-catalog",
|
|
@@ -21,9 +21,9 @@ global `direct` CLI.
|
|
|
21
21
|
For a new installation, pin the reviewed public release:
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
bun add --dev @hraness/direct@0.7.
|
|
24
|
+
bun add --dev @hraness/direct@0.7.6
|
|
25
25
|
# or, in an npm project
|
|
26
|
-
npm install --save-dev @hraness/direct@0.7.
|
|
26
|
+
npm install --save-dev @hraness/direct@0.7.6
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
The equivalent manifest entry is:
|
|
@@ -31,7 +31,7 @@ The equivalent manifest entry is:
|
|
|
31
31
|
```json
|
|
32
32
|
{
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@hraness/direct": "0.7.
|
|
34
|
+
"@hraness/direct": "0.7.6"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
```
|