pi-feats 0.1.1 → 0.1.2

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.
@@ -1,5 +1,13 @@
1
1
  const { join } = require("node:path");
2
+ const appRoot = __dirname;
2
3
 
3
4
  module.exports = {
4
5
  outputFileTracingRoot: join(__dirname, "../.."),
6
+ // npm installs Pi Feats below node_modules. Ask Next to transpile the
7
+ // package itself when the Console app is built from that location.
8
+ transpilePackages: ["pi-feats"],
9
+ webpack(config) {
10
+ config.resolve.alias["@"] = appRoot;
11
+ return config;
12
+ },
5
13
  };
@@ -11,6 +11,7 @@
11
11
  "module": "esnext",
12
12
  "moduleResolution": "bundler",
13
13
  "jsx": "preserve",
14
+ "baseUrl": ".",
14
15
  "plugins": [
15
16
  {
16
17
  "name": "next"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-feats",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A modular Pi package for profiles, sandboxing, remote access, applications, guardrails, skills, session management, observability, and web-based operations.",
5
5
  "keywords": [
6
6
  "pi-coding-agent",
@@ -34,7 +34,7 @@
34
34
  "node": ">=22"
35
35
  },
36
36
  "scripts": {
37
- "build:web": "cd extensions/pi-console-webui && ../../node_modules/.bin/next build",
37
+ "build:web": "cd extensions/pi-console-webui && npx --no-install next build",
38
38
  "ensure:nono": "sh scripts/install-nono.sh",
39
39
  "postinstall": "npm run ensure:nono && npm run build:web",
40
40
  "test": "npm run build:web"