create-fluixi 1.0.0-alpha.108 → 1.0.0-alpha.109
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/dist/index.js +20 -12
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// ../compiler/dist/
|
|
3
|
+
// ../compiler/dist/chunk-RTVBP53W.mjs
|
|
4
4
|
var REACTIVE_MODULE = "@fluixi/reactive/signal";
|
|
5
5
|
var INTRINSICS = {
|
|
6
6
|
$signal: { export: "signal", module: REACTIVE_MODULE, returns: "signal-handle" },
|
|
@@ -47,19 +47,9 @@ import { cpSync, renameSync, readFileSync as readFileSync3, writeFileSync as wri
|
|
|
47
47
|
import { resolve, basename, join as join2 } from "node:path";
|
|
48
48
|
import { fileURLToPath } from "node:url";
|
|
49
49
|
|
|
50
|
-
// ../cli/dist/
|
|
51
|
-
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
52
|
-
import { dirname as dirname2, join, relative } from "node:path";
|
|
50
|
+
// ../cli/dist/chunk-YUGMW4KS.mjs
|
|
53
51
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
54
52
|
import { dirname } from "node:path";
|
|
55
|
-
import { createInterface } from "node:readline/promises";
|
|
56
|
-
import { emitKeypressEvents } from "node:readline";
|
|
57
|
-
import { stdin as input, stdout as output, exit, env } from "node:process";
|
|
58
|
-
var __defProp = Object.defineProperty;
|
|
59
|
-
var __export = (target, all) => {
|
|
60
|
-
for (var name in all)
|
|
61
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
62
|
-
};
|
|
63
53
|
function closing(text, open) {
|
|
64
54
|
let depth = 0;
|
|
65
55
|
for (let i = open; i < text.length; i++) {
|
|
@@ -174,6 +164,15 @@ ${add.map(([k, v]) => `${k}=${v}`).join("\n")}
|
|
|
174
164
|
${block}` : block);
|
|
175
165
|
log.push({ kind: text ? "updated" : "created", file, detail: add.map(([k]) => k).join(", ") });
|
|
176
166
|
}
|
|
167
|
+
|
|
168
|
+
// ../cli/dist/chunk-7P6ASYW6.mjs
|
|
169
|
+
var __defProp = Object.defineProperty;
|
|
170
|
+
var __export = (target, all) => {
|
|
171
|
+
for (var name in all)
|
|
172
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
// ../cli/dist/chunk-E6XR4RAN.mjs
|
|
177
176
|
var templates_exports = {};
|
|
178
177
|
__export(templates_exports, {
|
|
179
178
|
AUTH_READER: () => AUTH_READER,
|
|
@@ -403,6 +402,10 @@ export const GET = handler;
|
|
|
403
402
|
export const POST = handler;
|
|
404
403
|
export default handler;
|
|
405
404
|
`;
|
|
405
|
+
|
|
406
|
+
// ../cli/dist/chunk-RJL4DDKJ.mjs
|
|
407
|
+
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
408
|
+
import { dirname as dirname2, join, relative } from "node:path";
|
|
406
409
|
var ScaffoldError = class extends Error {
|
|
407
410
|
};
|
|
408
411
|
function importPath(from, to) {
|
|
@@ -504,6 +507,11 @@ function setupBetterAuth(root, dependencySpec = "alpha") {
|
|
|
504
507
|
notes: []
|
|
505
508
|
};
|
|
506
509
|
}
|
|
510
|
+
|
|
511
|
+
// ../cli/dist/chunk-K2PDBXFB.mjs
|
|
512
|
+
import { createInterface } from "node:readline/promises";
|
|
513
|
+
import { emitKeypressEvents } from "node:readline";
|
|
514
|
+
import { stdin as input, stdout as output, exit, env } from "node:process";
|
|
507
515
|
var COLOR = env.NO_COLOR || env.FORCE_COLOR === "0" ? false : (!!output.isTTY || !!env.FORCE_COLOR) && env.TERM !== "dumb";
|
|
508
516
|
var sgr = (o, x) => (s) => COLOR ? `\x1B[${o}m${s}\x1B[${x}m` : `${s}`;
|
|
509
517
|
var c = { bold: sgr(1, 22), green: sgr(32, 39), cyan: sgr(36, 39), gray: sgr(90, 39) };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fluixi",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.109",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Ibrahima Touré",
|
|
6
6
|
"description": "Scaffold a new Fluixi app — `npm create fluixi <dir>`.",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"esbuild": "^0.24.0",
|
|
31
31
|
"vitest": "^5.0.3",
|
|
32
|
-
"@fluixi/cli": "1.0.0-alpha.
|
|
33
|
-
"@fluixi/compiler": "1.0.0-alpha.
|
|
32
|
+
"@fluixi/cli": "1.0.0-alpha.109",
|
|
33
|
+
"@fluixi/compiler": "1.0.0-alpha.109"
|
|
34
34
|
},
|
|
35
35
|
"nx": {
|
|
36
36
|
"targets": {
|