@warp-drive/build-config 5.9.0-alpha.13 → 5.9.0-alpha.15

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.
@@ -1,55 +1,8 @@
1
1
  /**
2
- * # Log Instrumentation <Badge type="tip" text="debug only" />
2
+ * While build-config is its own package, it should always be
3
+ * used via `@warp-drive/core`.
3
4
  *
4
- * Many portions of the internals are helpfully instrumented with logging.
5
- * This instrumentation is always removed from production builds.
6
- *
7
- * Log instrumentation is "regionalized" to specific concepts and concerns
8
- * to enable you to enable/disable just the areas you are interested in.
9
- *
10
- * To activate a particular group of logs set the appropriate flag to `true`
11
- * either in your build config or via the runtime helper.
12
- *
13
- *
14
- * ## Runtime Activation
15
- *
16
- * ::: tip 💡 Just Works in browser Dev Tools!
17
- * No import is needed, and the logging config is preserved when the page is refreshed
18
- * :::
19
- *
20
- * ```ts
21
- * setWarpDriveLogging({
22
- * LOG_CACHE: true,
23
- * LOG_REQUESTS: true,
24
- * })
25
- * ```
26
- *
27
- * A runtime helper is attached to `globalThis` to enable activation of the logs
28
- * from anywhere in your application including from the devtools panel.
29
- *
30
- * The runtime helper overrides any build config settings for the given flag
31
- * for the current browser tab. It stores the configuration you give it in
32
- * `sessionStorage` so that it persists across page reloads of the current tab,
33
- * but not across browser tabs or windows.
34
- *
35
- * If you need to deactivate the logging, you can call the helper again with the
36
- * same flag set to `false` or just open a new tab/window.
37
- *
38
- * ## Buildtime Activation
39
- *
40
- * ```ts
41
- * setConfig(__dirname, app, {
42
- * debug: {
43
- * LOG_CACHE: true,
44
- * LOG_REQUESTS: false,
45
- * LOG_NOTIFICATIONS: true,
46
- * }
47
- * });
48
- * ```
49
- *
50
- * The build config settings are used to set the default values for the
51
- * logging flags. Any logging flag that is not set in the build config
52
- * will default to `false`.
5
+ * Visit {@link @warp-drive/core!build-config/debugging | @warp-drive/core debugging} for documentation of the debugging features.
53
6
  *
54
7
  * @module
55
8
  */
@@ -1,4 +1,4 @@
1
- import { L as LOGGING } from './debugging-DgRWKeE4.js';
1
+ import { L as LOGGING } from './debugging-4cD97Im5.js';
2
2
  import { C as CURRENT_FEATURES } from './canary-features-BUBNGiZ-.js';
3
3
  import { C as CURRENT_DEPRECATIONS } from './deprecations-vEj59ee0.js';
4
4
 
@@ -342,57 +342,10 @@ function getFeatures(isProd) {
342
342
  }
343
343
 
344
344
  /**
345
- * # Log Instrumentation <Badge type="tip" text="debug only" />
345
+ * While build-config is its own package, it should always be
346
+ * used via `@warp-drive/core`.
346
347
  *
347
- * Many portions of the internals are helpfully instrumented with logging.
348
- * This instrumentation is always removed from production builds.
349
- *
350
- * Log instrumentation is "regionalized" to specific concepts and concerns
351
- * to enable you to enable/disable just the areas you are interested in.
352
- *
353
- * To activate a particular group of logs set the appropriate flag to `true`
354
- * either in your build config or via the runtime helper.
355
- *
356
- *
357
- * ## Runtime Activation
358
- *
359
- * ::: tip 💡 Just Works in browser Dev Tools!
360
- * No import is needed, and the logging config is preserved when the page is refreshed
361
- * :::
362
- *
363
- * ```ts
364
- * setWarpDriveLogging({
365
- * LOG_CACHE: true,
366
- * LOG_REQUESTS: true,
367
- * })
368
- * ```
369
- *
370
- * A runtime helper is attached to `globalThis` to enable activation of the logs
371
- * from anywhere in your application including from the devtools panel.
372
- *
373
- * The runtime helper overrides any build config settings for the given flag
374
- * for the current browser tab. It stores the configuration you give it in
375
- * `sessionStorage` so that it persists across page reloads of the current tab,
376
- * but not across browser tabs or windows.
377
- *
378
- * If you need to deactivate the logging, you can call the helper again with the
379
- * same flag set to `false` or just open a new tab/window.
380
- *
381
- * ## Buildtime Activation
382
- *
383
- * ```ts
384
- * setConfig(__dirname, app, {
385
- * debug: {
386
- * LOG_CACHE: true,
387
- * LOG_REQUESTS: false,
388
- * LOG_NOTIFICATIONS: true,
389
- * }
390
- * });
391
- * ```
392
- *
393
- * The build config settings are used to set the default values for the
394
- * logging flags. Any logging flag that is not set in the build config
395
- * will default to `false`.
348
+ * Visit {@link @warp-drive/core!build-config/debugging | @warp-drive/core debugging} for documentation of the debugging features.
396
349
  *
397
350
  * @module
398
351
  */
@@ -1,55 +1,8 @@
1
1
  /**
2
- * # Log Instrumentation <Badge type="tip" text="debug only" />
2
+ * While build-config is its own package, it should always be
3
+ * used via `@warp-drive/core`.
3
4
  *
4
- * Many portions of the internals are helpfully instrumented with logging.
5
- * This instrumentation is always removed from production builds.
6
- *
7
- * Log instrumentation is "regionalized" to specific concepts and concerns
8
- * to enable you to enable/disable just the areas you are interested in.
9
- *
10
- * To activate a particular group of logs set the appropriate flag to `true`
11
- * either in your build config or via the runtime helper.
12
- *
13
- *
14
- * ## Runtime Activation
15
- *
16
- * ::: tip 💡 Just Works in browser Dev Tools!
17
- * No import is needed, and the logging config is preserved when the page is refreshed
18
- * :::
19
- *
20
- * ```ts
21
- * setWarpDriveLogging({
22
- * LOG_CACHE: true,
23
- * LOG_REQUESTS: true,
24
- * })
25
- * ```
26
- *
27
- * A runtime helper is attached to `globalThis` to enable activation of the logs
28
- * from anywhere in your application including from the devtools panel.
29
- *
30
- * The runtime helper overrides any build config settings for the given flag
31
- * for the current browser tab. It stores the configuration you give it in
32
- * `sessionStorage` so that it persists across page reloads of the current tab,
33
- * but not across browser tabs or windows.
34
- *
35
- * If you need to deactivate the logging, you can call the helper again with the
36
- * same flag set to `false` or just open a new tab/window.
37
- *
38
- * ## Buildtime Activation
39
- *
40
- * ```ts
41
- * setConfig(__dirname, app, {
42
- * debug: {
43
- * LOG_CACHE: true,
44
- * LOG_REQUESTS: false,
45
- * LOG_NOTIFICATIONS: true,
46
- * }
47
- * });
48
- * ```
49
- *
50
- * The build config settings are used to set the default values for the
51
- * logging flags. Any logging flag that is not set in the build config
52
- * will default to `false`.
5
+ * Visit {@link @warp-drive/core!build-config/debugging | @warp-drive/core debugging} for documentation of the debugging features.
53
6
  *
54
7
  * @module
55
8
  */
package/dist/debugging.js CHANGED
@@ -1 +1 @@
1
- export { D as DEBUG_RELATIONSHIP_NOTIFICATIONS, a as LOG_CACHE, e as LOG_CACHE_POLICY, j as LOG_GRAPH, i as LOG_IDENTIFIERS, k as LOG_INSTANCE_CACHE, l as LOG_METRIC_COUNTS, d as LOG_MUTATIONS, f as LOG_NOTIFICATIONS, c as LOG_OPERATIONS, b as LOG_PAYLOADS, m as LOG_REACT_SIGNAL_INTEGRATION, g as LOG_REQUESTS, h as LOG_REQUEST_STATUS, _ as __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS } from './debugging-DgRWKeE4.js';
1
+ export { D as DEBUG_RELATIONSHIP_NOTIFICATIONS, a as LOG_CACHE, e as LOG_CACHE_POLICY, j as LOG_GRAPH, i as LOG_IDENTIFIERS, k as LOG_INSTANCE_CACHE, l as LOG_METRIC_COUNTS, d as LOG_MUTATIONS, f as LOG_NOTIFICATIONS, c as LOG_OPERATIONS, b as LOG_PAYLOADS, m as LOG_REACT_SIGNAL_INTEGRATION, g as LOG_REQUESTS, h as LOG_REQUEST_STATUS, _ as __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS } from './debugging-4cD97Im5.js';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import fs from 'fs';
4
4
  import path from 'path';
5
5
  import { fileURLToPath } from 'url';
6
6
  import { C as CURRENT_FEATURES } from './canary-features-BUBNGiZ-.js';
7
- import { L as LOGGING } from './debugging-DgRWKeE4.js';
7
+ import { L as LOGGING } from './debugging-4cD97Im5.js';
8
8
  import { buildMacros } from '@embroider/macros/src/babel.js';
9
9
 
10
10
  function getEnv(forceMode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warp-drive/build-config",
3
- "version": "5.9.0-alpha.13",
3
+ "version": "5.9.0-alpha.15",
4
4
  "description": "(Legacy) Build Configuration for projects using WarpDrive",
5
5
  "keywords": [
6
6
  "ember-data",
@@ -43,7 +43,7 @@
43
43
  "semver": "^7.7.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@warp-drive/internal-config": "5.9.0-alpha.13",
46
+ "@warp-drive/internal-config": "5.9.0-alpha.15",
47
47
  "@types/babel__core": "^7.20.5",
48
48
  "@types/node": "^20.19.11",
49
49
  "@types/semver": "^7.7.1",