@cedarjs/cli 1.0.0-canary.13097 → 1.0.0-canary.13099
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.
|
@@ -9,7 +9,7 @@ const paths = getPaths();
|
|
|
9
9
|
const loadPrismaClient = (replContext) => {
|
|
10
10
|
const createdRequire = createRequire(import.meta.url);
|
|
11
11
|
const { db } = createdRequire(path.join(paths.api.lib, "db"));
|
|
12
|
-
db[
|
|
12
|
+
db[Symbol.for("nodejs.util.inspect.custom")] = "PrismaClient";
|
|
13
13
|
replContext.db = db;
|
|
14
14
|
};
|
|
15
15
|
const consoleHistoryFile = path.join(paths.generated.base, "console_history");
|
package/dist/lib/merge/index.js
CHANGED
|
@@ -79,13 +79,11 @@ function insertAfterLastImport(expression, program) {
|
|
|
79
79
|
}
|
|
80
80
|
function prune(path) {
|
|
81
81
|
switch (path.parentPath.type) {
|
|
82
|
-
// If pruning 'path' would yield an ill-formed parent (e.g, '{foo:}' or 'const x;'), prune it.
|
|
83
82
|
case "ObjectProperty":
|
|
84
83
|
case "VariableDeclarator":
|
|
85
84
|
return path.parentPath.remove();
|
|
86
85
|
default:
|
|
87
86
|
console.log(`Warning: default prune strategy for ${path.parentPath.type}`);
|
|
88
|
-
// eslint-disable-next-line no-fallthrough
|
|
89
87
|
case "Program":
|
|
90
88
|
case "ArrayExpression":
|
|
91
89
|
return path.remove();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.13099+69c6f07b6",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/preset-typescript": "7.28.5",
|
|
34
34
|
"@babel/runtime-corejs3": "7.28.4",
|
|
35
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
43
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
35
|
+
"@cedarjs/api-server": "1.0.0-canary.13099",
|
|
36
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.13099",
|
|
37
|
+
"@cedarjs/fastify-web": "1.0.0-canary.13099",
|
|
38
|
+
"@cedarjs/internal": "1.0.0-canary.13099",
|
|
39
|
+
"@cedarjs/prerender": "1.0.0-canary.13099",
|
|
40
|
+
"@cedarjs/project-config": "1.0.0-canary.13099",
|
|
41
|
+
"@cedarjs/structure": "1.0.0-canary.13099",
|
|
42
|
+
"@cedarjs/telemetry": "1.0.0-canary.13099",
|
|
43
|
+
"@cedarjs/web-server": "1.0.0-canary.13099",
|
|
44
44
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
45
45
|
"@opentelemetry/api": "1.8.0",
|
|
46
46
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "69c6f07b6ec6437e5d7dbe8b525aa88e00e447e0"
|
|
106
106
|
}
|