@itwin/workspace-editor 3.4.0-dev.3 → 3.4.0-dev.30
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/lib/WorkspaceEditor.js +2 -1
- package/package.json +6 -6
package/lib/WorkspaceEditor.js
CHANGED
|
@@ -34,7 +34,8 @@ function showMessage(msg) {
|
|
|
34
34
|
/** perform a vacuum on a database, with a message while it's happening */
|
|
35
35
|
function doVacuum(dbName, container) {
|
|
36
36
|
process.stdout.write(`Vacuuming ${dbName} ... `);
|
|
37
|
-
|
|
37
|
+
const db = new core_backend_1.SQLiteDb();
|
|
38
|
+
db.withOpenDb({ dbName, openMode: core_bentley_1.OpenMode.ReadWrite, container }, () => db.vacuum());
|
|
38
39
|
process.stdout.write("done");
|
|
39
40
|
showMessage("");
|
|
40
41
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@itwin/workspace-editor",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "lib/WorkspaceEditor.js",
|
|
5
|
-
"version": "3.4.0-dev.
|
|
5
|
+
"version": "3.4.0-dev.30",
|
|
6
6
|
"bin": {
|
|
7
7
|
"WorkspaceEditor": "./lib/WorkspaceEditor.js"
|
|
8
8
|
},
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"url": "https://github.com/iTwin/itwinjs-core/tree/master/utils/workspace-editor"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@itwin/core-bentley": "3.4.0-dev.
|
|
18
|
-
"@itwin/core-common": "3.4.0-dev.
|
|
19
|
-
"@itwin/core-backend": "3.4.0-dev.
|
|
17
|
+
"@itwin/core-bentley": "3.4.0-dev.30",
|
|
18
|
+
"@itwin/core-common": "3.4.0-dev.30",
|
|
19
|
+
"@itwin/core-backend": "3.4.0-dev.30",
|
|
20
20
|
"glob": "^7.1.2",
|
|
21
21
|
"yargs": "^17.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@itwin/build-tools": "3.4.0-dev.
|
|
25
|
-
"@itwin/eslint-plugin": "3.4.0-dev.
|
|
24
|
+
"@itwin/build-tools": "3.4.0-dev.30",
|
|
25
|
+
"@itwin/eslint-plugin": "3.4.0-dev.30",
|
|
26
26
|
"@types/chai": "4.3.1",
|
|
27
27
|
"@types/mocha": "^8.2.2",
|
|
28
28
|
"@types/yargs": "^17.0.10",
|