create-wattpm 3.44.0 → 3.46.0

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/lib/index.js +4 -0
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -519,6 +519,10 @@ export async function createApplication (
519
519
  }
520
520
  }
521
521
 
522
+ if (generator.applications.some(({ application }) => application.module === '@platformatic/db' && application.config.database === 'sqlite')) {
523
+ content += '\nallowBuilds:\n- better-sqlite3'
524
+ }
525
+
522
526
  await writeFile(pnpmWorkspacePath, content)
523
527
  }
524
528
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-wattpm",
3
- "version": "3.44.0",
3
+ "version": "3.46.0",
4
4
  "description": "Create platformatic application interactive tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,8 +24,8 @@
24
24
  "resolve": "^1.22.8",
25
25
  "undici": "^7.0.0",
26
26
  "which": "^3.0.1",
27
- "@platformatic/foundation": "3.44.0",
28
- "@platformatic/generators": "3.44.0"
27
+ "@platformatic/generators": "3.46.0",
28
+ "@platformatic/foundation": "3.46.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.5.0",
@@ -39,10 +39,10 @@
39
39
  "semver": "^7.6.0",
40
40
  "typescript": "~5.8.0",
41
41
  "yaml": "^2.4.1",
42
- "@platformatic/gateway": "3.44.0",
43
- "@platformatic/service": "3.44.0",
44
- "@platformatic/runtime": "3.44.0",
45
- "@platformatic/db": "3.44.0"
42
+ "@platformatic/db": "3.46.0",
43
+ "@platformatic/gateway": "3.46.0",
44
+ "@platformatic/runtime": "3.46.0",
45
+ "@platformatic/service": "3.46.0"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=22.19.0"