@appweaver/create-weaver-app 1.1.4 → 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.
@@ -11,7 +11,7 @@ const node_child_process_1 = require("node:child_process");
11
11
  const commander_1 = require("commander");
12
12
  const glob_1 = require("glob");
13
13
  const pkg = JSON.parse(node_fs_1.default.readFileSync(node_path_1.default.join(__dirname, './package.json'), 'utf8'));
14
- const prismaVersion = '7.8.0';
14
+ const prismaVersion = '7.9.1';
15
15
  const dbTypes = ['sqlite', 'postgresql', 'mysql', 'sqlserver'];
16
16
  const agentTypes = [
17
17
  'claude',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appweaver/create-weaver-app",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@create-weaver-app)",
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
@@ -1,5 +1,5 @@
1
1
  ## 1. Install dependencies and build the application
2
- FROM node:24.13.0-alpine AS build
2
+ FROM node:24.18.1-alpine AS build
3
3
 
4
4
  # Install tools for building libraries on other platforms
5
5
  RUN apk add build-base python3 py3-pip make gcc
@@ -18,7 +18,7 @@ RUN npm run build
18
18
 
19
19
 
20
20
  ## 2. Setup server environment, copy build output and start the application script
21
- FROM node:24.13.0-alpine AS deploy
21
+ FROM node:24.18.1-alpine AS deploy
22
22
 
23
23
  # Install tools for building libraries on other platforms
24
24
  RUN apk add build-base python3 py3-pip make gcc
@@ -35,5 +35,12 @@
35
35
  "prettier": "3.8.4",
36
36
  "typescript": "5.9.3",
37
37
  "typescript-eslint": "8.61.1"
38
- }
38
+ },
39
+ "trustedDependencies": [
40
+ "@prisma/engines",
41
+ "bcrypt",
42
+ "msgpackr-extract",
43
+ "prisma",
44
+ "unrs-resolver"
45
+ ]
39
46
  }
@@ -40,5 +40,14 @@
40
40
  "prettier": "3.8.4",
41
41
  "typescript": "5.9.3",
42
42
  "typescript-eslint": "8.61.1"
43
+ },
44
+ "allowScripts": {
45
+ "@prisma/engines": true,
46
+ "@swc/core": true,
47
+ "bcrypt": true,
48
+ "better-sqlite3": true,
49
+ "msgpackr-extract": true,
50
+ "prisma": true,
51
+ "unrs-resolver": true
43
52
  }
44
53
  }