@flaredev/cli 0.6.0 → 0.6.1
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.
- package/README.md +4 -0
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -323,6 +323,7 @@ function installArgs(pm) {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
// src/commands/create.ts
|
|
326
|
+
var ALLOW_BUILDS = ["'@prisma/engines': true", "esbuild: true", "prisma: true", "sharp: false", "workerd: true"].map((line) => ` ${line}`).join("\n");
|
|
326
327
|
function toAppName(dir) {
|
|
327
328
|
const name = basename(resolve2(dir)).toLowerCase().replace(/[^a-z0-9-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
328
329
|
if (!name) throw new Error(`Cannot derive an app name from "${dir}". Use letters, digits, and dashes.`);
|
|
@@ -411,8 +412,9 @@ MAIL_FROM=
|
|
|
411
412
|
${devVarsEntries(authProviders)}`
|
|
412
413
|
);
|
|
413
414
|
if (packageManager === "pnpm" && !inWorkspace) {
|
|
414
|
-
|
|
415
|
-
|
|
415
|
+
writeFileSync3(join3(dir, "pnpm-workspace.yaml"), `allowBuilds:
|
|
416
|
+
${ALLOW_BUILDS}
|
|
417
|
+
`);
|
|
416
418
|
}
|
|
417
419
|
const pinned = flarePackageSpec("core", dir, packageManager).startsWith("^");
|
|
418
420
|
if (pinned) copyLockfile(packageManager, dir);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flaredev/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "The flare command-line tool: create, generate, migrate, and deploy Flare apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Muke Johnbaptist",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"jiti": "^2.7.0",
|
|
42
42
|
"jsonc-parser": "^3.3.1",
|
|
43
43
|
"picocolors": "^1.1.1",
|
|
44
|
-
"@flaredev/core": "0.6.
|
|
44
|
+
"@flaredev/core": "0.6.1"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=22"
|