@memberjunction/cli 2.111.1 → 2.112.0
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.
|
@@ -68,9 +68,7 @@ class Watch extends core_1.Command {
|
|
|
68
68
|
// Show success after initialization
|
|
69
69
|
spinner.succeed('Configuration and metadata loaded');
|
|
70
70
|
// Determine watch directory
|
|
71
|
-
const watchDir = flags.dir
|
|
72
|
-
? path.resolve(metadata_sync_1.configManager.getOriginalCwd(), flags.dir)
|
|
73
|
-
: metadata_sync_1.configManager.getOriginalCwd();
|
|
71
|
+
const watchDir = flags.dir ? path.resolve(metadata_sync_1.configManager.getOriginalCwd(), flags.dir) : metadata_sync_1.configManager.getOriginalCwd();
|
|
74
72
|
// Create watch service
|
|
75
73
|
const watchService = new metadata_sync_1.WatchService(syncEngine);
|
|
76
74
|
// Setup graceful shutdown
|
|
@@ -94,7 +92,7 @@ class Watch extends core_1.Command {
|
|
|
94
92
|
this.log(chalk_1.default.gray('Press Ctrl+C to stop watching\n'));
|
|
95
93
|
this.watchController = await watchService.watch({
|
|
96
94
|
dir: flags.dir,
|
|
97
|
-
debounceMs: flags.debounce || 500
|
|
95
|
+
debounceMs: flags.debounce || 500,
|
|
98
96
|
}, {
|
|
99
97
|
onFileAdd: (filePath, entityDir, entityConfig) => {
|
|
100
98
|
const relativePath = path.relative(process.cwd(), filePath);
|
|
@@ -123,7 +121,7 @@ class Watch extends core_1.Command {
|
|
|
123
121
|
if (flags.verbose) {
|
|
124
122
|
this.log(message);
|
|
125
123
|
}
|
|
126
|
-
}
|
|
124
|
+
},
|
|
127
125
|
});
|
|
128
126
|
// Keep process alive
|
|
129
127
|
await new Promise(() => {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.112.0",
|
|
4
4
|
"description": "MemberJunction command line tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oclif"
|
|
@@ -51,11 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@inquirer/prompts": "^5.0.1",
|
|
54
|
-
"@memberjunction/
|
|
55
|
-
"@memberjunction/
|
|
56
|
-
"@memberjunction/
|
|
57
|
-
"@memberjunction/
|
|
58
|
-
"@memberjunction/
|
|
54
|
+
"@memberjunction/global": "2.112.0",
|
|
55
|
+
"@memberjunction/ai-cli": "2.112.0",
|
|
56
|
+
"@memberjunction/codegen-lib": "2.112.0",
|
|
57
|
+
"@memberjunction/db-auto-doc": "2.112.0",
|
|
58
|
+
"@memberjunction/metadata-sync": "2.112.0",
|
|
59
|
+
"@memberjunction/sqlserver-dataprovider": "2.112.0",
|
|
59
60
|
"@oclif/core": "^3",
|
|
60
61
|
"@oclif/plugin-help": "^6",
|
|
61
62
|
"@oclif/plugin-version": "^2.0.17",
|