@appweaver/cli 1.1.5 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/skill/SKILL.md +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appweaver/cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@cli)",
5
5
  "author": "Luka Matosevic",
6
6
  "license": "MIT",
package/skill/SKILL.md CHANGED
@@ -103,6 +103,12 @@ bun weaver migration new init
103
103
  bun run seed
104
104
  ```
105
105
 
106
+ **Install scripts:** npm 12+ blocks dependency install scripts by default. The scaffolded `package.json` ships an
107
+ `allowScripts` field (Bun: `trustedDependencies`) covering the packages Appweaver needs to build. Without it,
108
+ `npm install` skips the native builds and `weaver generate` fails. To approve a newly added dependency, run
109
+ `npm install-scripts approve <pkg>`; it writes the entry to the root `package.json`. Note that a `package.json`
110
+ `allowScripts` field makes npm ignore `.npmrc` `allow-scripts` entirely.
111
+
106
112
  ### Creating and starting the application server
107
113
 
108
114
  The main entrypoint to the application. This function creates an application object and initializes all resources and