@tinacms/cli 1.9.0 → 1.9.2
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
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
35
35
|
var import_clipanion8 = require("clipanion");
|
|
36
36
|
|
|
37
37
|
// package.json
|
|
38
|
-
var version = "1.9.
|
|
38
|
+
var version = "1.9.2";
|
|
39
39
|
|
|
40
40
|
// src/next/commands/dev-command/index.ts
|
|
41
41
|
var import_async_lock = __toESM(require("async-lock"));
|
|
@@ -2339,6 +2339,9 @@ var DevCommand = class extends BaseCommand {
|
|
|
2339
2339
|
this.outputSearchIndexPath = import_clipanion2.Option.String("--outputSearchIndexPath", {
|
|
2340
2340
|
description: "Path to write the search index to"
|
|
2341
2341
|
});
|
|
2342
|
+
this.noServer = import_clipanion2.Option.Boolean("--no-server", false, {
|
|
2343
|
+
description: "Do not start the dev server"
|
|
2344
|
+
});
|
|
2342
2345
|
this.indexingLock = new import_async_lock.default();
|
|
2343
2346
|
}
|
|
2344
2347
|
async catch(error) {
|
|
@@ -2488,6 +2491,10 @@ ${dangerText(e.message)}
|
|
|
2488
2491
|
await searchIndexClient.export(this.outputSearchIndexPath);
|
|
2489
2492
|
}
|
|
2490
2493
|
}
|
|
2494
|
+
if (this.noServer) {
|
|
2495
|
+
logger.info("--no-server option specified - Dev server not started");
|
|
2496
|
+
process.exit(0);
|
|
2497
|
+
}
|
|
2491
2498
|
if (!this.noWatch) {
|
|
2492
2499
|
this.watchContentFiles(
|
|
2493
2500
|
configManager,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@types/prompts": "^2.4.9",
|
|
38
38
|
"@types/yup": "^0.32.0",
|
|
39
39
|
"jest": "^29.7.0",
|
|
40
|
-
"@tinacms/scripts": "1.3.
|
|
40
|
+
"@tinacms/scripts": "1.3.3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@graphql-codegen/core": "^2.6.8",
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"vite": "^4.5.9",
|
|
86
86
|
"yup": "^1.6.1",
|
|
87
87
|
"zod": "^3.24.2",
|
|
88
|
-
"@tinacms/app": "2.2.
|
|
88
|
+
"@tinacms/app": "2.2.2",
|
|
89
|
+
"@tinacms/graphql": "1.5.14",
|
|
89
90
|
"@tinacms/metrics": "1.0.9",
|
|
90
|
-
"@tinacms/schema-tools": "1.7.
|
|
91
|
-
"@tinacms/
|
|
92
|
-
"
|
|
93
|
-
"tinacms": "2.7.0"
|
|
91
|
+
"@tinacms/schema-tools": "1.7.2",
|
|
92
|
+
"@tinacms/search": "1.0.41",
|
|
93
|
+
"tinacms": "2.7.2"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"registry": "https://registry.npmjs.org"
|