@caplets/pi 0.5.3 → 0.5.4

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/dist/index.js +1 -0
  2. package/package.json +6 -4
package/dist/index.js CHANGED
@@ -3533,6 +3533,7 @@ function nativeServiceOptions(options) {
3533
3533
  }
3534
3534
  function shouldShowStatusWidget(options, statusWidget) {
3535
3535
  if (statusWidget === false) return false;
3536
+ if (options.mode === "local") return false;
3536
3537
  return options.mode === "remote" || !!options.server?.url || process.env.CAPLETS_SERVER_URL !== void 0;
3537
3538
  }
3538
3539
  async function readFileUtf8(path) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caplets/pi",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Native Pi extension for Caplets.",
5
5
  "homepage": "https://github.com/spiritledsoftware/caplets#readme",
6
6
  "bugs": {
@@ -26,11 +26,11 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@caplets/core": "0.18.3"
29
+ "@caplets/core": "0.18.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^25.9.1",
33
- "@typescript/native-preview": "7.0.0-dev.20260521.1",
33
+ "@typescript/native-preview": "7.0.0-dev.20260523.1",
34
34
  "rolldown": "^1.0.2",
35
35
  "typescript": "^6.0.3",
36
36
  "vitest": "^4.1.7"
@@ -48,7 +48,9 @@
48
48
  ]
49
49
  },
50
50
  "scripts": {
51
- "build": "rm -rf dist && rolldown -c",
51
+ "clean": "rm -rf dist",
52
+ "build": "pnpm run clean && rolldown -c",
53
+ "build:watch": "pnpm run clean && rolldown -c --watch",
52
54
  "typecheck": "tsgo --noEmit",
53
55
  "test": "vitest run"
54
56
  }