@itwin/workspace-editor 4.8.0-dev.6 → 4.8.0-dev.8
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 +1 -1
- package/package.json +5 -5
package/lib/WorkspaceEditor.js
CHANGED
|
@@ -322,7 +322,7 @@ async function initializeWorkspace(args) {
|
|
|
322
322
|
async function purgeWorkspace(args) {
|
|
323
323
|
const container = getCloudContainer(args);
|
|
324
324
|
const nGarbage = container.garbageBlocks;
|
|
325
|
-
await core_backend_1.CloudSqlite.withWriteLock({ ...args, container }, async () =>
|
|
325
|
+
await core_backend_1.CloudSqlite.withWriteLock({ ...args, container }, async () => core_backend_1.CloudSqlite.cleanDeletedBlocks(container, {}));
|
|
326
326
|
container.checkForChanges(); // re-read manifest to get current garbage count
|
|
327
327
|
showMessage(`purged ${sayContainer(args)}. ${nGarbage - container.garbageBlocks} garbage blocks cleaned`);
|
|
328
328
|
}
|
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": "4.8.0-dev.
|
|
5
|
+
"version": "4.8.0-dev.8",
|
|
6
6
|
"bin": {
|
|
7
7
|
"WorkspaceEditor": "./lib/WorkspaceEditor.js"
|
|
8
8
|
},
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"glob": "^10.3.12",
|
|
19
19
|
"yargs": "^17.4.0",
|
|
20
|
-
"@itwin/core-bentley": "4.8.0-dev.
|
|
21
|
-
"@itwin/core-common": "4.8.0-dev.
|
|
22
|
-
"@itwin/core-backend": "4.8.0-dev.
|
|
20
|
+
"@itwin/core-bentley": "4.8.0-dev.8",
|
|
21
|
+
"@itwin/core-common": "4.8.0-dev.8",
|
|
22
|
+
"@itwin/core-backend": "4.8.0-dev.8"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@itwin/eslint-plugin": "^4.0.2",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"mocha": "^10.2.0",
|
|
32
32
|
"rimraf": "^3.0.2",
|
|
33
33
|
"typescript": "~5.3.3",
|
|
34
|
-
"@itwin/build-tools": "4.8.0-dev.
|
|
34
|
+
"@itwin/build-tools": "4.8.0-dev.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsc 1>&2",
|