@utoo/pack-shared 1.6.6 → 1.6.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/cjs/config.d.ts CHANGED
@@ -222,6 +222,13 @@ export interface ConfigComplete {
222
222
  mode?: "production" | "development";
223
223
  module?: ModuleOptions;
224
224
  resolve?: ResolveOptions;
225
+ /** Named filesystem roots that symlinked dependencies can resolve into. */
226
+ additionalRoots?: Record<string, {
227
+ /** Directory to make available. Relative paths resolve from the project path. */
228
+ path: string;
229
+ /** Skip this root if the directory does not exist. Defaults to false. */
230
+ ignoreIfMissing?: boolean;
231
+ }>;
225
232
  /**
226
233
  * External dependencies for client and Node-target builds. Server entries and
227
234
  * Server Functions also use this map unless `server.externals` is provided.
@@ -366,9 +373,9 @@ export interface ConfigComplete {
366
373
  */
367
374
  turbopackMemoryEviction?: boolean | "auto" | "full";
368
375
  /**
369
- * Runs the turbo-tasks reference-counting garbage collector so tasks that
370
- * become unreachable are dropped from memory during long dev sessions.
371
- * Defaults to the `TURBO_ENGINE_GC` environment variable (off).
376
+ * Collects unreachable TurboTasks work during persistent cache snapshots.
377
+ * Defaults to `true`. Set to `false` to disable it. GC during background
378
+ * snapshots requires memory eviction.
372
379
  */
373
380
  turbopackGc?: boolean;
374
381
  nodePolyfill?: boolean;
package/esm/config.d.ts CHANGED
@@ -222,6 +222,13 @@ export interface ConfigComplete {
222
222
  mode?: "production" | "development";
223
223
  module?: ModuleOptions;
224
224
  resolve?: ResolveOptions;
225
+ /** Named filesystem roots that symlinked dependencies can resolve into. */
226
+ additionalRoots?: Record<string, {
227
+ /** Directory to make available. Relative paths resolve from the project path. */
228
+ path: string;
229
+ /** Skip this root if the directory does not exist. Defaults to false. */
230
+ ignoreIfMissing?: boolean;
231
+ }>;
225
232
  /**
226
233
  * External dependencies for client and Node-target builds. Server entries and
227
234
  * Server Functions also use this map unless `server.externals` is provided.
@@ -366,9 +373,9 @@ export interface ConfigComplete {
366
373
  */
367
374
  turbopackMemoryEviction?: boolean | "auto" | "full";
368
375
  /**
369
- * Runs the turbo-tasks reference-counting garbage collector so tasks that
370
- * become unreachable are dropped from memory during long dev sessions.
371
- * Defaults to the `TURBO_ENGINE_GC` environment variable (off).
376
+ * Collects unreachable TurboTasks work during persistent cache snapshots.
377
+ * Defaults to `true`. Set to `false` to disable it. GC during background
378
+ * snapshots requires memory eviction.
372
379
  */
373
380
  turbopackGc?: boolean;
374
381
  nodePolyfill?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",