@farm.js/devtools 0.1.0-beta.0 → 0.1.0-beta.1

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 (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +8 -4
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @farm.js/devtools
2
2
 
3
- A development-only workspace for Farm.js routes, APIs, integrations, runtime diagnostics, and
4
- browser modules. Uses the Farm logo, bundled Geist fonts, light/dark themes, and syntax-highlighted
3
+ Farm's official DevTools: a development-only workspace for Farm.js routes, APIs, integrations,
4
+ runtime diagnostics, and browser modules. It replaces the deprecated built-in dashboard. Uses the Farm logo, bundled Geist fonts, light/dark themes, and syntax-highlighted
5
5
  source and JSON with safe copy controls.
6
6
 
7
7
  ```ts
@@ -16,8 +16,8 @@ Install with `pnpm add -D @farm.js/devtools`. Open the lower-left launcher or pr
16
16
  removed from production configuration, with no production client or server endpoint.
17
17
 
18
18
  Options: `launcher?: boolean`, `shortcut?: string | false`, `inspect?: boolean`. Registration
19
- is the opt-in; there is no `enabled` option. Existing top-level DevTools configuration remains
20
- supported without the plugin. Do not combine it with `devtools: false`.
19
+ is the opt-in; there is no `enabled` option. Without the plugin, apps fall back to the
20
+ deprecated built-in dashboard. Do not combine it with `devtools: false`.
21
21
 
22
22
  Inspect compares the current application source with Vite's cached browser output, not individual
23
23
  plugin stages. Only already-transformed, in-project browser source is eligible; virtual/server-only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm.js/devtools",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.1",
4
4
  "description": "Development workspace inspector for Farm.js routes, runtime, and browser modules",
5
5
  "keywords": [
6
6
  "devtools",
@@ -41,8 +41,7 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@fontsource-variable/geist-mono": "5.3.0",
45
- "@farm.js/core": "0.1.0-beta.96"
44
+ "@fontsource-variable/geist-mono": "5.3.0"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@fontsource-variable/geist": "5.3.0",
@@ -52,13 +51,18 @@
52
51
  "sugar-high": "0.9.5",
53
52
  "typescript": "^5.3.3",
54
53
  "vite": "^5.0.10",
55
- "vitest": "^3.2.7"
54
+ "vitest": "^3.2.7",
55
+ "@farm.js/core": "0.1.0-beta.98"
56
+ },
57
+ "peerDependencies": {
58
+ "@farm.js/core": ">=0.1.0-beta.96 <0.2.0"
56
59
  },
57
60
  "engines": {
58
61
  "node": ">=22.13.0"
59
62
  },
60
63
  "scripts": {
61
64
  "build": "tsc && node scripts/build-ui.mjs",
65
+ "build:runtime": "node scripts/build-runtime.mjs && node scripts/build-ui.mjs",
62
66
  "type-check": "tsc --noEmit",
63
67
  "test": "vitest run"
64
68
  }