@gaganref/confect-cli 0.0.0-stage → 10.3.1-fork.10
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/CHANGELOG.md +1824 -0
- package/LICENSE +7 -0
- package/README.md +16 -2
- package/bin/confect.mjs +26 -0
- package/dist/Ansi.mjs +18 -0
- package/dist/Ansi.mjs.map +1 -0
- package/dist/BuildError.mjs +30 -0
- package/dist/BuildError.mjs.map +1 -0
- package/dist/Bundler.mjs +426 -0
- package/dist/Bundler.mjs.map +1 -0
- package/dist/CodeBlockWriter.mjs +55 -0
- package/dist/CodeBlockWriter.mjs.map +1 -0
- package/dist/CodegenError.mjs +194 -0
- package/dist/CodegenError.mjs.map +1 -0
- package/dist/ConfectDirectory.mjs +35 -0
- package/dist/ConfectDirectory.mjs.map +1 -0
- package/dist/ConvexConfig.mjs +198 -0
- package/dist/ConvexConfig.mjs.map +1 -0
- package/dist/ConvexDirectory.mjs +54 -0
- package/dist/ConvexDirectory.mjs.map +1 -0
- package/dist/Declaration.mjs +258 -0
- package/dist/Declaration.mjs.map +1 -0
- package/dist/DirectoryOptions.mjs +42 -0
- package/dist/DirectoryOptions.mjs.map +1 -0
- package/dist/DocName.mjs +25 -0
- package/dist/DocName.mjs.map +1 -0
- package/dist/EntryPoint.mjs +111 -0
- package/dist/EntryPoint.mjs.map +1 -0
- package/dist/Evaluation.mjs +117 -0
- package/dist/Evaluation.mjs.map +1 -0
- package/dist/EvaluationWorker.mjs +46 -0
- package/dist/EvaluationWorker.mjs.map +1 -0
- package/dist/FunctionModule.mjs +137 -0
- package/dist/FunctionModule.mjs.map +1 -0
- package/dist/FunctionPath.mjs +18 -0
- package/dist/FunctionPath.mjs.map +1 -0
- package/dist/FunctionPaths.mjs +45 -0
- package/dist/FunctionPaths.mjs.map +1 -0
- package/dist/GenerationSnapshot.mjs +183 -0
- package/dist/GenerationSnapshot.mjs.map +1 -0
- package/dist/GroupPath.mjs +51 -0
- package/dist/GroupPath.mjs.map +1 -0
- package/dist/GroupPaths.mjs +8 -0
- package/dist/GroupPaths.mjs.map +1 -0
- package/dist/ImplModulePath.mjs +8 -0
- package/dist/ImplModulePath.mjs.map +1 -0
- package/dist/LeafModule.mjs +285 -0
- package/dist/LeafModule.mjs.map +1 -0
- package/dist/ProjectRoot.mjs +38 -0
- package/dist/ProjectRoot.mjs.map +1 -0
- package/dist/RelativeModulePath.mjs +13 -0
- package/dist/RelativeModulePath.mjs.map +1 -0
- package/dist/Remove.mjs +24 -0
- package/dist/Remove.mjs.map +1 -0
- package/dist/RestoreWatcher.mjs +31 -0
- package/dist/RestoreWatcher.mjs.map +1 -0
- package/dist/Rollback.mjs +50 -0
- package/dist/Rollback.mjs.map +1 -0
- package/dist/SnapshotError.mjs +21 -0
- package/dist/SnapshotError.mjs.map +1 -0
- package/dist/SpecAssemblyNode.mjs +91 -0
- package/dist/SpecAssemblyNode.mjs.map +1 -0
- package/dist/SpecModulePath.mjs +10 -0
- package/dist/SpecModulePath.mjs.map +1 -0
- package/dist/SyncState.mjs +122 -0
- package/dist/SyncState.mjs.map +1 -0
- package/dist/TableModule.mjs +97 -0
- package/dist/TableModule.mjs.map +1 -0
- package/dist/TableModulePath.mjs +8 -0
- package/dist/TableModulePath.mjs.map +1 -0
- package/dist/WatchBuild.mjs +190 -0
- package/dist/WatchBuild.mjs.map +1 -0
- package/dist/WatchGraph.mjs +35 -0
- package/dist/WatchGraph.mjs.map +1 -0
- package/dist/WatchTopology.mjs +55 -0
- package/dist/WatchTopology.mjs.map +1 -0
- package/dist/Watcher.mjs +377 -0
- package/dist/Watcher.mjs.map +1 -0
- package/dist/cliApp.mjs +9 -0
- package/dist/cliApp.mjs.map +1 -0
- package/dist/confect/codegen.mjs +570 -0
- package/dist/confect/codegen.mjs.map +1 -0
- package/dist/confect/declaration.mjs +219 -0
- package/dist/confect/declaration.mjs.map +1 -0
- package/dist/confect/dev.mjs +182 -0
- package/dist/confect/dev.mjs.map +1 -0
- package/dist/confect.mjs +9 -0
- package/dist/confect.mjs.map +1 -0
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -0
- package/dist/log.mjs +107 -0
- package/dist/log.mjs.map +1 -0
- package/dist/package.mjs +6 -0
- package/dist/package.mjs.map +1 -0
- package/dist/templates.mjs +448 -0
- package/dist/templates.mjs.map +1 -0
- package/dist/utils.mjs +105 -0
- package/dist/utils.mjs.map +1 -0
- package/package.json +51 -3
package/dist/utils.mjs
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { logFileAdded, logFileModified } from "./log.mjs";
|
|
2
|
+
import { ConvexDirectory } from "./ConvexDirectory.mjs";
|
|
3
|
+
import { ConfectDirectory } from "./ConfectDirectory.mjs";
|
|
4
|
+
import { authConfig, crons, http } from "./templates.mjs";
|
|
5
|
+
import * as Effect from "effect/Effect";
|
|
6
|
+
import * as FileSystem from "effect/FileSystem";
|
|
7
|
+
import * as Path from "effect/Path";
|
|
8
|
+
import * as Array from "effect/Array";
|
|
9
|
+
import { pipe } from "effect/Function";
|
|
10
|
+
import * as Option from "effect/Option";
|
|
11
|
+
import * as String from "effect/String";
|
|
12
|
+
import * as DateTime from "effect/DateTime";
|
|
13
|
+
//#region src/utils.ts
|
|
14
|
+
const removePathExtension = Effect.fnUntraced(function* (pathStr) {
|
|
15
|
+
const path = yield* Path.Path;
|
|
16
|
+
return String.slice(0, -path.extname(pathStr).length)(pathStr);
|
|
17
|
+
});
|
|
18
|
+
const toPosixPath = (path, pathStr) => pipe(String.split(pathStr, path.sep), Array.join("/"));
|
|
19
|
+
/**
|
|
20
|
+
* Ensures a relative path is a valid ESM/TS module specifier (e.g. `spec` →
|
|
21
|
+
* `./spec`).
|
|
22
|
+
*/
|
|
23
|
+
const toModuleImportPath = Effect.fnUntraced(function* (relativePath) {
|
|
24
|
+
const path = yield* Path.Path;
|
|
25
|
+
const withoutExt = toPosixPath(path, yield* removePathExtension(relativePath));
|
|
26
|
+
return String.startsWith(".")(withoutExt) ? `${withoutExt}.js` : `./${withoutExt}.js`;
|
|
27
|
+
});
|
|
28
|
+
const writeFileStringAndLog = Effect.fnUntraced(function* (filePath, contents) {
|
|
29
|
+
const fs = yield* FileSystem.FileSystem;
|
|
30
|
+
if (!(yield* fs.exists(filePath))) {
|
|
31
|
+
yield* fs.writeFileString(filePath, contents);
|
|
32
|
+
yield* logFileAdded(filePath);
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
if ((yield* fs.readFileString(filePath)) !== contents) {
|
|
36
|
+
yield* fs.writeFileString(filePath, contents);
|
|
37
|
+
yield* logFileModified(filePath);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Effect.gen(function* () {
|
|
41
|
+
const fs = yield* FileSystem.FileSystem;
|
|
42
|
+
const path = yield* Path.Path;
|
|
43
|
+
const startDir = path.resolve(".");
|
|
44
|
+
const root = path.parse(startDir).root;
|
|
45
|
+
const directories = Array.unfold(startDir, (dir) => dir === root ? Option.none() : Option.some([dir, path.dirname(dir)]));
|
|
46
|
+
const projectRoot = yield* Effect.findFirst(directories, (dir) => fs.exists(path.join(dir, "package.json")));
|
|
47
|
+
return Option.getOrElse(projectRoot, () => startDir);
|
|
48
|
+
});
|
|
49
|
+
const writeFileString = Effect.fnUntraced(function* (filePath, contents) {
|
|
50
|
+
const fs = yield* FileSystem.FileSystem;
|
|
51
|
+
if (!(yield* fs.exists(filePath))) {
|
|
52
|
+
yield* fs.writeFileString(filePath, contents);
|
|
53
|
+
return "Added";
|
|
54
|
+
}
|
|
55
|
+
if ((yield* fs.readFileString(filePath)) !== contents) {
|
|
56
|
+
yield* fs.writeFileString(filePath, contents);
|
|
57
|
+
return "Modified";
|
|
58
|
+
}
|
|
59
|
+
return "Unchanged";
|
|
60
|
+
});
|
|
61
|
+
const removePathIfExists = Effect.fnUntraced(function* (filePath) {
|
|
62
|
+
const fs = yield* FileSystem.FileSystem;
|
|
63
|
+
if (!(yield* fs.exists(filePath))) return;
|
|
64
|
+
yield* fs.remove(filePath).pipe(Effect.catchTag("PlatformError", (error) => error.reason._tag === "NotFound" ? Effect.void : Effect.fail(error)));
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* Bump the mtime of `convex/schema.ts` so the Convex CLI's chokidar watcher
|
|
68
|
+
* emits a `change` event after explicit codegen, bootstrap, or recovery.
|
|
69
|
+
* Recovery can leave generated contents unchanged, so it needs an explicit
|
|
70
|
+
* notification to release Convex from a previous error. Ordinary successful
|
|
71
|
+
* watch updates rely on their source/output changes instead of invalidating a
|
|
72
|
+
* Convex push that may already be processing those changes.
|
|
73
|
+
*/
|
|
74
|
+
const touchConvexSchema = Effect.gen(function* () {
|
|
75
|
+
const fs = yield* FileSystem.FileSystem;
|
|
76
|
+
const path = yield* Path.Path;
|
|
77
|
+
const convexDirectory = yield* ConvexDirectory.get;
|
|
78
|
+
const schemaPath = path.join(convexDirectory, "schema.ts");
|
|
79
|
+
if (!(yield* fs.exists(schemaPath))) return;
|
|
80
|
+
const now = yield* DateTime.nowAsDate;
|
|
81
|
+
yield* fs.utimes(schemaPath, now, now);
|
|
82
|
+
});
|
|
83
|
+
const generateOptionalFile = Effect.fnUntraced(function* (confectFile, convexFile, generateContents) {
|
|
84
|
+
const fs = yield* FileSystem.FileSystem;
|
|
85
|
+
const path = yield* Path.Path;
|
|
86
|
+
const confectDirectory = yield* ConfectDirectory.get;
|
|
87
|
+
const convexDirectory = yield* ConvexDirectory.get;
|
|
88
|
+
const confectFilePath = path.join(confectDirectory, confectFile);
|
|
89
|
+
if (!(yield* fs.exists(confectFilePath))) return Option.none();
|
|
90
|
+
const convexFilePath = path.join(convexDirectory, convexFile);
|
|
91
|
+
const relativeImportPath = path.relative(path.dirname(convexFilePath), confectFilePath);
|
|
92
|
+
const contents = yield* generateContents(yield* toModuleImportPath(relativeImportPath));
|
|
93
|
+
const change = yield* writeFileString(convexFilePath, contents);
|
|
94
|
+
return Option.some({
|
|
95
|
+
change,
|
|
96
|
+
convexFilePath
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
const generateHttp = generateOptionalFile("http.ts", "http.ts", (importPath) => http({ httpImportPath: importPath }));
|
|
100
|
+
const generateCrons = generateOptionalFile("crons.ts", "crons.ts", (importPath) => crons({ cronsImportPath: importPath }));
|
|
101
|
+
const generateAuthConfig = generateOptionalFile("auth.ts", "auth.config.ts", (importPath) => authConfig({ authImportPath: importPath }));
|
|
102
|
+
//#endregion
|
|
103
|
+
export { generateAuthConfig, generateCrons, generateHttp, removePathExtension, removePathIfExists, toModuleImportPath, toPosixPath, touchConvexSchema, writeFileString, writeFileStringAndLog };
|
|
104
|
+
|
|
105
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":["templates.http","templates.crons","templates.authConfig"],"sources":["../src/utils.ts"],"sourcesContent":["import * as FileSystem from \"effect/FileSystem\";\nimport * as Path from \"effect/Path\";\nimport type { PlatformError } from \"effect/PlatformError\";\nimport { pipe } from \"effect/Function\";\nimport * as Array from \"effect/Array\";\nimport * as Effect from \"effect/Effect\";\nimport * as DateTime from \"effect/DateTime\";\nimport * as Option from \"effect/Option\";\nimport * as String from \"effect/String\";\nimport { logFileAdded, logFileModified } from \"./log.js\";\nimport { ConfectDirectory } from \"./ConfectDirectory.js\";\nimport { ConvexDirectory } from \"./ConvexDirectory.js\";\nimport * as templates from \"./templates.js\";\n\nexport const removePathExtension = Effect.fnUntraced(function* (\n pathStr: string,\n) {\n const path = yield* Path.Path;\n\n return String.slice(0, -path.extname(pathStr).length)(pathStr);\n});\n\nexport const toPosixPath = (path: Path.Path, pathStr: string): string =>\n pipe(String.split(pathStr, path.sep), Array.join(\"/\"));\n\n/**\n * Ensures a relative path is a valid ESM/TS module specifier (e.g. `spec` →\n * `./spec`).\n */\nexport const toModuleImportPath = Effect.fnUntraced(function* (\n relativePath: string,\n) {\n const path = yield* Path.Path;\n const withoutExt = toPosixPath(\n path,\n yield* removePathExtension(relativePath),\n );\n return String.startsWith(\".\")(withoutExt)\n ? `${withoutExt}.js`\n : `./${withoutExt}.js`;\n});\n\nexport const writeFileStringAndLog = Effect.fnUntraced(function* (\n filePath: string,\n contents: string,\n) {\n const fs = yield* FileSystem.FileSystem;\n if (!(yield* fs.exists(filePath))) {\n yield* fs.writeFileString(filePath, contents);\n yield* logFileAdded(filePath);\n return;\n }\n const existing = yield* fs.readFileString(filePath);\n if (existing !== contents) {\n yield* fs.writeFileString(filePath, contents);\n yield* logFileModified(filePath);\n }\n});\n\nexport const findProjectRoot = Effect.gen(function* () {\n const fs = yield* FileSystem.FileSystem;\n const path = yield* Path.Path;\n\n const startDir = path.resolve(\".\");\n const root = path.parse(startDir).root;\n\n const directories = Array.unfold(startDir, (dir) =>\n dir === root\n ? Option.none()\n : Option.some([dir, path.dirname(dir)] as const),\n );\n\n const projectRoot = yield* Effect.findFirst(directories, (dir) =>\n fs.exists(path.join(dir, \"package.json\")),\n );\n\n return Option.getOrElse(projectRoot, () => startDir);\n});\n\nexport type WriteChange = \"Added\" | \"Modified\" | \"Unchanged\";\n\nexport const writeFileString = Effect.fnUntraced(function* (\n filePath: string,\n contents: string,\n): Effect.fn.Return<WriteChange, PlatformError, FileSystem.FileSystem> {\n const fs = yield* FileSystem.FileSystem;\n\n if (!(yield* fs.exists(filePath))) {\n yield* fs.writeFileString(filePath, contents);\n return \"Added\";\n }\n const existing = yield* fs.readFileString(filePath);\n if (existing !== contents) {\n yield* fs.writeFileString(filePath, contents);\n return \"Modified\";\n }\n return \"Unchanged\";\n});\n\nexport const removePathIfExists = Effect.fnUntraced(function* (\n filePath: string,\n): Effect.fn.Return<void, PlatformError, FileSystem.FileSystem> {\n const fs = yield* FileSystem.FileSystem;\n\n if (!(yield* fs.exists(filePath))) {\n return;\n }\n\n yield* fs\n .remove(filePath)\n .pipe(\n Effect.catchTag(\"PlatformError\", (error) =>\n error.reason._tag === \"NotFound\" ? Effect.void : Effect.fail(error),\n ),\n );\n});\n\n/**\n * Bump the mtime of `convex/schema.ts` so the Convex CLI's chokidar watcher\n * emits a `change` event after explicit codegen, bootstrap, or recovery.\n * Recovery can leave generated contents unchanged, so it needs an explicit\n * notification to release Convex from a previous error. Ordinary successful\n * watch updates rely on their source/output changes instead of invalidating a\n * Convex push that may already be processing those changes.\n */\nexport const touchConvexSchema = Effect.gen(function* () {\n const fs = yield* FileSystem.FileSystem;\n const path = yield* Path.Path;\n const convexDirectory = yield* ConvexDirectory.get;\n const schemaPath = path.join(convexDirectory, \"schema.ts\");\n\n if (!(yield* fs.exists(schemaPath))) {\n return;\n }\n\n const now = yield* DateTime.nowAsDate;\n yield* fs.utimes(schemaPath, now, now);\n});\n\nconst generateOptionalFile = Effect.fnUntraced(function* (\n confectFile: string,\n convexFile: string,\n generateContents: (importPath: string) => Effect.Effect<string>,\n) {\n const fs = yield* FileSystem.FileSystem;\n const path = yield* Path.Path;\n const confectDirectory = yield* ConfectDirectory.get;\n const convexDirectory = yield* ConvexDirectory.get;\n\n const confectFilePath = path.join(confectDirectory, confectFile);\n\n if (!(yield* fs.exists(confectFilePath))) {\n return Option.none();\n }\n\n const convexFilePath = path.join(convexDirectory, convexFile);\n const relativeImportPath = path.relative(\n path.dirname(convexFilePath),\n confectFilePath,\n );\n const contents = yield* generateContents(\n yield* toModuleImportPath(relativeImportPath),\n );\n const change = yield* writeFileString(convexFilePath, contents);\n return Option.some({ change, convexFilePath });\n});\n\nexport const generateHttp = generateOptionalFile(\n \"http.ts\",\n \"http.ts\",\n (importPath) => templates.http({ httpImportPath: importPath }),\n);\n\nexport const generateCrons = generateOptionalFile(\n \"crons.ts\",\n \"crons.ts\",\n (importPath) => templates.crons({ cronsImportPath: importPath }),\n);\n\nexport const generateAuthConfig = generateOptionalFile(\n \"auth.ts\",\n \"auth.config.ts\",\n (importPath) => templates.authConfig({ authImportPath: importPath }),\n);\n"],"mappings":";;;;;;;;;;;;;AAcA,MAAa,sBAAsB,OAAO,WAAW,WACnD,SACA;CACA,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AAO,KAAK;CAGrB,MAAM,iBAAiB,KAAK,KAAK,iBAAiB,UAAU;CAC5D,MAAM,qBAAqB,KAAK,SAC9B,KAAK,QAAQ,cAAc,GAC3B,eACF;CACA,MAAM,WAAW,OAAO,iBACtB,OAAO,mBAAmB,kBAAkB,CAC9C;CACA,MAAM,SAAS,OAAO,gBAAgB,gBAAgB,QAAQ;CAC9D,OAAO,OAAO,KAAK;EAAE;EAAQ;CAAe,CAAC;AAC/C,CAAC;AAED,MAAa,eAAe,qBAC1B,WACA,YACC,eAAeA,KAAe,EAAE,gBAAgB,WAAW,CAAC,CAC/D;AAEA,MAAa,gBAAgB,qBAC3B,YACA,aACC,eAAeC,MAAgB,EAAE,iBAAiB,WAAW,CAAC,CACjE;AAEA,MAAa,qBAAqB,qBAChC,WACA,mBACC,eAAeC,WAAqB,EAAE,gBAAgB,WAAW,CAAC,CACrE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaganref/confect-cli",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "10.3.1-fork.10",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@effect/platform-node": "^4.0.4",
|
|
6
|
+
"bundle-require": "^5.1.0",
|
|
7
|
+
"code-block-writer": "^13.0.3",
|
|
8
|
+
"esbuild": "0.27.0 - 0.27.3 || ^0.27.5 || ^0.28.0",
|
|
9
|
+
"exsolve": "^1.1.3"
|
|
10
|
+
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"@confect/core": "npm:@gaganref/confect-core@10.3.1-fork.10",
|
|
13
|
+
"@confect/server": "npm:@gaganref/confect-server@10.3.1-fork.10",
|
|
14
|
+
"effect": "^4.0.4"
|
|
15
|
+
},
|
|
16
|
+
"description": "Developer tooling for codegen and sync",
|
|
17
|
+
"author": "RJ Dellecese",
|
|
18
|
+
"bin": {
|
|
19
|
+
"confect": "./bin/confect.mjs"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/gaganref/confect"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=24"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"CHANGELOG.md",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"README.md",
|
|
34
|
+
"bin",
|
|
35
|
+
"dist",
|
|
36
|
+
"package.json"
|
|
37
|
+
],
|
|
38
|
+
"homepage": "https://confect.dev",
|
|
39
|
+
"keywords": [
|
|
40
|
+
"cli",
|
|
41
|
+
"convex",
|
|
42
|
+
"effect"
|
|
43
|
+
],
|
|
44
|
+
"license": "ISC",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/gaganref/confect.git"
|
|
48
|
+
},
|
|
49
|
+
"type": "module",
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"registry": "https://registry.npmjs.org",
|
|
52
|
+
"access": "public"
|
|
53
|
+
}
|
|
6
54
|
}
|