@cedarjs/cli 2.6.1-next.0 → 2.7.0-rc.107
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/commands/build/buildHandler.js +67 -0
- package/dist/commands/build/buildPackagesTask.js +20 -19
- package/dist/commands/consoleHandler.js +8 -7
- package/dist/commands/deploy/render.js +1 -1
- package/dist/commands/execHandler.js +22 -19
- package/dist/commands/experimental.js +2 -2
- package/dist/commands/generate/dataMigration/dataMigration.js +11 -3
- package/dist/commands/generate/dataMigration/templates/dataMigration.js.template +1 -1
- package/dist/commands/generate/dataMigration/templates/dataMigration.ts.template +1 -1
- package/dist/commands/generate/script/scriptHandler.js +8 -4
- package/dist/commands/generate/service/serviceHandler.js +10 -1
- package/dist/commands/generate/service/templates/scenarios.ts.template +4 -2
- package/dist/commands/generate/service/templates/test.ts.template +1 -1
- package/dist/commands/info.js +1 -1
- package/dist/commands/lint.js +15 -5
- package/dist/commands/record/init.js +1 -1
- package/dist/commands/record.js +4 -3
- package/dist/commands/serve.js +18 -8
- package/dist/commands/serveApiHandler.js +3 -2
- package/dist/commands/serveBothHandler.js +8 -2
- package/dist/commands/serveWebHandler.js +1 -0
- package/dist/commands/setup/live-queries/liveQueries.js +31 -0
- package/dist/commands/setup/live-queries/liveQueriesHandler.js +282 -0
- package/dist/commands/setup/live-queries/templates/liveQueriesListener.ts.template +137 -0
- package/dist/commands/setup/live-queries/templates/migration.sql.template +98 -0
- package/dist/commands/setup/monitoring/sentry/sentryHandler.js +1 -1
- package/dist/commands/setup/realtime/realtimeHandler.js +2 -2
- package/dist/commands/setup/realtime/templates/realtime.ts.template +1 -1
- package/dist/commands/setup.js +3 -2
- package/dist/commands/studioHandler.js +2 -2
- package/dist/commands/test.js +2 -1
- package/dist/commands/testEsm.js +2 -1
- package/dist/commands/type-check.js +2 -1
- package/dist/lib/generatePrismaClient.js +3 -6
- package/dist/lib/test.js +1 -0
- package/dist/lib/updateCheck.js +6 -7
- package/dist/middleware/{detectProjectRxVersion.js → detectProjectCedarVersion.js} +2 -2
- package/package.json +13 -13
package/dist/lib/updateCheck.js
CHANGED
|
@@ -180,19 +180,18 @@ function updateCheckMiddleware(argv) {
|
|
|
180
180
|
if (EXCLUDED_COMMANDS.includes(argv._[0])) {
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
if (shouldShow()) {
|
|
184
|
-
setLock(SHOW_LOCK_IDENTIFIER);
|
|
185
|
-
process.on("exit", () => {
|
|
186
|
-
showUpdateMessage();
|
|
187
|
-
unsetLock(SHOW_LOCK_IDENTIFIER);
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
183
|
if (shouldCheck()) {
|
|
191
184
|
setLock(CHECK_LOCK_IDENTIFIER);
|
|
192
185
|
spawnBackgroundProcess("updateCheck", "yarn", [
|
|
193
186
|
"node",
|
|
194
187
|
path.join(import.meta.dirname, "updateCheckExecute.js")
|
|
195
188
|
]);
|
|
189
|
+
} else if (shouldShow()) {
|
|
190
|
+
setLock(SHOW_LOCK_IDENTIFIER);
|
|
191
|
+
process.on("exit", () => {
|
|
192
|
+
showUpdateMessage();
|
|
193
|
+
unsetLock(SHOW_LOCK_IDENTIFIER);
|
|
194
|
+
});
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
197
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getInstalledCedarVersion } from "../lib/index.js";
|
|
2
|
-
async function
|
|
2
|
+
async function detectCedarVersion(argv) {
|
|
3
3
|
if (!argv.rwVersion) {
|
|
4
4
|
return {
|
|
5
5
|
rwVersion: await getInstalledCedarVersion()
|
|
@@ -8,5 +8,5 @@ async function detectRxVersion(argv) {
|
|
|
8
8
|
return {};
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
detectCedarVersion
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0-rc.107",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"@babel/parser": "7.29.0",
|
|
35
35
|
"@babel/preset-typescript": "7.28.5",
|
|
36
36
|
"@babel/runtime-corejs3": "7.29.0",
|
|
37
|
-
"@cedarjs/api-server": "2.
|
|
38
|
-
"@cedarjs/cli-helpers": "2.
|
|
39
|
-
"@cedarjs/fastify-web": "2.
|
|
40
|
-
"@cedarjs/internal": "2.
|
|
41
|
-
"@cedarjs/prerender": "2.
|
|
42
|
-
"@cedarjs/project-config": "2.
|
|
43
|
-
"@cedarjs/structure": "2.
|
|
44
|
-
"@cedarjs/telemetry": "2.
|
|
45
|
-
"@cedarjs/web-server": "2.
|
|
37
|
+
"@cedarjs/api-server": "2.7.0-rc.107",
|
|
38
|
+
"@cedarjs/cli-helpers": "2.7.0-rc.107",
|
|
39
|
+
"@cedarjs/fastify-web": "2.7.0-rc.107",
|
|
40
|
+
"@cedarjs/internal": "2.7.0-rc.107",
|
|
41
|
+
"@cedarjs/prerender": "2.7.0-rc.107",
|
|
42
|
+
"@cedarjs/project-config": "2.7.0-rc.107",
|
|
43
|
+
"@cedarjs/structure": "2.7.0-rc.107",
|
|
44
|
+
"@cedarjs/telemetry": "2.7.0-rc.107",
|
|
45
|
+
"@cedarjs/web-server": "2.7.0-rc.107",
|
|
46
46
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
47
47
|
"@opentelemetry/api": "1.9.0",
|
|
48
48
|
"@opentelemetry/core": "1.30.1",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"prisma": "6.19.2",
|
|
81
81
|
"prompts": "2.4.2",
|
|
82
82
|
"recast": "0.23.11",
|
|
83
|
-
"rimraf": "6.1.
|
|
83
|
+
"rimraf": "6.1.3",
|
|
84
84
|
"semver": "7.7.4",
|
|
85
85
|
"smol-toml": "1.6.0",
|
|
86
86
|
"string-env-interpolation": "1.0.1",
|
|
87
|
-
"systeminformation": "5.
|
|
87
|
+
"systeminformation": "5.31.1",
|
|
88
88
|
"termi-link": "1.1.0",
|
|
89
89
|
"title-case": "3.0.3",
|
|
90
90
|
"unionfs": "4.6.0",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"publishConfig": {
|
|
107
107
|
"access": "public"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "e4c28ed97a1f4859162b32aaede569ab4412e06b"
|
|
110
110
|
}
|