@warp-drive-mirror/build-config 5.7.0-alpha.9 → 5.7.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.
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  ## Installation
20
20
 
21
- ```cli
21
+ ```sh
22
22
  pnpm install @warp-drive-mirror/build-config
23
23
  ```
24
24
 
@@ -119,7 +119,7 @@
119
119
  /**
120
120
  * We use this for some tests etc.
121
121
  *
122
- * @internal
122
+ * @private
123
123
  */
124
124
  export declare const SAMPLE_FEATURE_FLAG: boolean | null;
125
125
  /**
@@ -167,6 +167,10 @@ export declare const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
167
167
  *
168
168
  * LOG_METRIC_COUNTS must also be enabled.
169
169
  *
170
- * @internal
170
+ * @private
171
171
  */
172
172
  export declare const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean;
173
+ /**
174
+ * Helps when debugging React specific reactivity issues.
175
+ */
176
+ export declare const LOG_REACT_SIGNAL_INTEGRATION: boolean;
@@ -1,20 +1,3 @@
1
- // ========================
2
- // FOR CONTRIBUTING AUTHORS
3
- //
4
- // Deprecations here should also have guides PR'd to the emberjs deprecation app
5
- //
6
- // github: https://github.com/ember-learn/deprecation-app
7
- // website: https://deprecations.emberjs.com
8
- //
9
- // Each deprecation should also be given an associated URL pointing to the
10
- // relevant guide.
11
- //
12
- // URLs should be of the form: https://deprecations.emberjs.com/v<major>.x#toc_<fileName>
13
- // where <major> is the major version of the deprecation and <fileName> is the
14
- // name of the markdown file in the guides repo.
15
- //
16
- // ========================
17
- //
18
1
  export declare const DEPRECATE_CATCH_ALL = "99.0";
19
2
  export declare const DEPRECATE_NON_STRICT_TYPES = "5.3";
20
3
  export declare const DEPRECATE_NON_STRICT_ID = "5.3";
@@ -101,7 +101,7 @@
101
101
  *
102
102
  * @module
103
103
  */
104
- /** @internal */
104
+ /** @private */
105
105
  export declare const DEPRECATE_CATCH_ALL: boolean;
106
106
  /**
107
107
  * <Badge type="danger" text="no-id-assigned" />
@@ -32,7 +32,7 @@
32
32
  * }
33
33
  * ```
34
34
  *
35
- * @internal
35
+ * @private
36
36
  */
37
37
  export declare const DEBUG: boolean;
38
38
  /**
@@ -63,7 +63,7 @@ export declare const DEBUG: boolean;
63
63
  * }
64
64
  * ```
65
65
  *
66
- * @internal
66
+ * @private
67
67
  */
68
68
  export declare const PRODUCTION: boolean;
69
69
  /**
@@ -101,13 +101,13 @@ export declare const PRODUCTION: boolean;
101
101
  * }
102
102
  * ```
103
103
  *
104
- * @internal
104
+ * @private
105
105
  */
106
106
  export declare const TESTING: boolean;
107
107
  /**
108
108
  * Indicates whether Holodeck is in a forced global recording mode.
109
109
  *
110
- * @internal
110
+ * @private
111
111
  */
112
112
  export declare const IS_RECORDING: boolean;
113
113
  /**
@@ -115,7 +115,7 @@ export declare const IS_RECORDING: boolean;
115
115
  *
116
116
  * This is determined by the presence of the `CI` environment variable.
117
117
  *
118
- * @internal
118
+ * @private
119
119
  */
120
120
  export declare const IS_CI: boolean;
121
121
  /**
@@ -124,6 +124,6 @@ export declare const IS_CI: boolean;
124
124
  * This is always true in a non-CI environment, and is true if
125
125
  * `IS_RECORDING` is true.
126
126
  *
127
- * @internal
127
+ * @private
128
128
  */
129
129
  export declare const SHOULD_RECORD: boolean;
@@ -12,7 +12,7 @@
12
12
  * Asserts are removed from production builds, making this a "zero cost abstraction"
13
13
  * so liberal usage of this function to ensure runtime correctness is encouraged.
14
14
  *
15
- * @internal
15
+ * @private
16
16
  */
17
17
  export declare function assert(message: string, condition: unknown): asserts condition;
18
18
  export declare function assert(message: string): never;
@@ -1,6 +1,6 @@
1
- import { L as LOGGING } from './debugging-VdsvkNjX.js';
2
- import { C as CURRENT_FEATURES } from './canary-features-9eYOaqB0.js';
3
- import { C as CURRENT_DEPRECATIONS } from './deprecations-Dub3LfHZ.js';
1
+ import { L as LOGGING } from './debugging-DgRWKeE4.js';
2
+ import { C as CURRENT_FEATURES } from './canary-features-BM0to_ys.js';
3
+ import { C as CURRENT_DEPRECATIONS } from './deprecations-DitCVLCo.js';
4
4
 
5
5
  /**
6
6
  * Babel plugins that convert constants and expressions into [macroConditions](https://www.npmjs.com/package/@embroider/macros#the-macros)
@@ -120,7 +120,7 @@
120
120
  /**
121
121
  * We use this for some tests etc.
122
122
  *
123
- * @internal
123
+ * @private
124
124
  */
125
125
  const SAMPLE_FEATURE_FLAG = null;
126
126
 
@@ -1 +1 @@
1
- export { E as ENFORCE_STRICT_RESOURCE_FINALIZATION, J as JSON_API_CACHE_VALIDATION_ERRORS, S as SAMPLE_FEATURE_FLAG } from './canary-features-9eYOaqB0.js';
1
+ export { E as ENFORCE_STRICT_RESOURCE_FINALIZATION, J as JSON_API_CACHE_VALIDATION_ERRORS, S as SAMPLE_FEATURE_FLAG } from './canary-features-BM0to_ys.js';
@@ -249,7 +249,7 @@ function getDeprecations(compatVersion, deprecations) {
249
249
  /**
250
250
  * We use this for some tests etc.
251
251
  *
252
- * @internal
252
+ * @private
253
253
  */
254
254
  const SAMPLE_FEATURE_FLAG = null;
255
255
 
@@ -515,10 +515,15 @@ const DEBUG_RELATIONSHIP_NOTIFICATIONS = false;
515
515
  *
516
516
  * LOG_METRIC_COUNTS must also be enabled.
517
517
  *
518
- * @internal
518
+ * @private
519
519
  */
520
520
  const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS = false;
521
521
 
522
+ /**
523
+ * Helps when debugging React specific reactivity issues.
524
+ */
525
+ const LOG_REACT_SIGNAL_INTEGRATION = false;
526
+
522
527
  const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
523
528
  __proto__: null,
524
529
  DEBUG_RELATIONSHIP_NOTIFICATIONS,
@@ -532,6 +537,7 @@ const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
532
537
  LOG_NOTIFICATIONS,
533
538
  LOG_OPERATIONS,
534
539
  LOG_PAYLOADS,
540
+ LOG_REACT_SIGNAL_INTEGRATION,
535
541
  LOG_REQUESTS,
536
542
  LOG_REQUEST_STATUS,
537
543
  __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS
@@ -570,8 +576,10 @@ function createLoggingConfig(env, debug) {
570
576
  * // settings here
571
577
  * });
572
578
  *
573
- * const { Webpack } = require('@embroider/webpack');
574
- * return require('@embroider/compat').compatBuild(app, Webpack, {});
579
+ * const { buildOnce } = await import('@embroider/vite');
580
+ * const { compatBuild } = await import('@embroider/compat');
581
+ *
582
+ * return compatBuild(app, buildOnce);
575
583
  * };
576
584
  *
577
585
  * ```
@@ -173,10 +173,15 @@ const DEBUG_RELATIONSHIP_NOTIFICATIONS = false;
173
173
  *
174
174
  * LOG_METRIC_COUNTS must also be enabled.
175
175
  *
176
- * @internal
176
+ * @private
177
177
  */
178
178
  const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS = false;
179
179
 
180
+ /**
181
+ * Helps when debugging React specific reactivity issues.
182
+ */
183
+ const LOG_REACT_SIGNAL_INTEGRATION = false;
184
+
180
185
  const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
181
186
  __proto__: null,
182
187
  DEBUG_RELATIONSHIP_NOTIFICATIONS,
@@ -190,9 +195,10 @@ const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
190
195
  LOG_NOTIFICATIONS,
191
196
  LOG_OPERATIONS,
192
197
  LOG_PAYLOADS,
198
+ LOG_REACT_SIGNAL_INTEGRATION,
193
199
  LOG_REQUESTS,
194
200
  LOG_REQUEST_STATUS,
195
201
  __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS
196
202
  }, Symbol.toStringTag, { value: 'Module' }));
197
203
 
198
- export { DEBUG_RELATIONSHIP_NOTIFICATIONS as D, LOGGING as L, __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS as _, LOG_CACHE as a, LOG_PAYLOADS as b, LOG_OPERATIONS as c, LOG_MUTATIONS as d, LOG_CACHE_POLICY as e, LOG_NOTIFICATIONS as f, LOG_REQUESTS as g, LOG_REQUEST_STATUS as h, LOG_IDENTIFIERS as i, LOG_GRAPH as j, LOG_INSTANCE_CACHE as k, LOG_METRIC_COUNTS as l };
204
+ export { DEBUG_RELATIONSHIP_NOTIFICATIONS as D, LOGGING as L, __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS as _, LOG_CACHE as a, LOG_PAYLOADS as b, LOG_OPERATIONS as c, LOG_MUTATIONS as d, LOG_CACHE_POLICY as e, LOG_NOTIFICATIONS as f, LOG_REQUESTS as g, LOG_REQUEST_STATUS as h, LOG_IDENTIFIERS as i, LOG_GRAPH as j, LOG_INSTANCE_CACHE as k, LOG_METRIC_COUNTS as l, LOG_REACT_SIGNAL_INTEGRATION as m };
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, g as LOG_REQUESTS, h as LOG_REQUEST_STATUS, _ as __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS } from './debugging-VdsvkNjX.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-DgRWKeE4.js';
@@ -102,7 +102,7 @@
102
102
  * @module
103
103
  */
104
104
 
105
- /** @internal */
105
+ /** @private */
106
106
  const DEPRECATE_CATCH_ALL = true;
107
107
 
108
108
  /**
@@ -1 +1 @@
1
- export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, j as DEPRECATE_TRACKING_PACKAGE, l as DISABLE_7X_DEPRECATIONS, k as ENABLE_LEGACY_REQUEST_METHODS, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-Dub3LfHZ.js';
1
+ export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, j as DEPRECATE_TRACKING_PACKAGE, l as DISABLE_7X_DEPRECATIONS, k as ENABLE_LEGACY_REQUEST_METHODS, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-DitCVLCo.js';
package/dist/env.js CHANGED
@@ -33,7 +33,7 @@
33
33
  * }
34
34
  * ```
35
35
  *
36
- * @internal
36
+ * @private
37
37
  */
38
38
  const DEBUG = true;
39
39
  /**
@@ -64,7 +64,7 @@ const DEBUG = true;
64
64
  * }
65
65
  * ```
66
66
  *
67
- * @internal
67
+ * @private
68
68
  */
69
69
  const PRODUCTION = true;
70
70
  /**
@@ -102,13 +102,13 @@ const PRODUCTION = true;
102
102
  * }
103
103
  * ```
104
104
  *
105
- * @internal
105
+ * @private
106
106
  */
107
107
  const TESTING = true;
108
108
  /**
109
109
  * Indicates whether Holodeck is in a forced global recording mode.
110
110
  *
111
- * @internal
111
+ * @private
112
112
  */
113
113
  const IS_RECORDING = true;
114
114
  /**
@@ -116,7 +116,7 @@ const IS_RECORDING = true;
116
116
  *
117
117
  * This is determined by the presence of the `CI` environment variable.
118
118
  *
119
- * @internal
119
+ * @private
120
120
  */
121
121
  const IS_CI = true;
122
122
  /**
@@ -125,7 +125,7 @@ const IS_CI = true;
125
125
  * This is always true in a non-CI environment, and is true if
126
126
  * `IS_RECORDING` is true.
127
127
  *
128
- * @internal
128
+ * @private
129
129
  */
130
130
  const SHOULD_RECORD = true;
131
131
 
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@ import semver from 'semver';
3
3
  import fs from 'fs';
4
4
  import path from 'path';
5
5
  import { fileURLToPath } from 'url';
6
- import { C as CURRENT_FEATURES } from './canary-features-9eYOaqB0.js';
7
- import { L as LOGGING } from './debugging-VdsvkNjX.js';
6
+ import { C as CURRENT_FEATURES } from './canary-features-BM0to_ys.js';
7
+ import { L as LOGGING } from './debugging-DgRWKeE4.js';
8
8
 
9
9
  function getEnv(forceMode) {
10
10
  const FORCE_TESTING = forceMode === 'testing' || forceMode === 'development' || forceMode === 'debug';
@@ -212,8 +212,10 @@ function createLoggingConfig(env, debug) {
212
212
  * // settings here
213
213
  * });
214
214
  *
215
- * const { Webpack } = require('@embroider/webpack');
216
- * return require('@embroider/compat').compatBuild(app, Webpack, {});
215
+ * const { buildOnce } = await import('@embroider/vite');
216
+ * const { compatBuild } = await import('@embroider/compat');
217
+ *
218
+ * return compatBuild(app, buildOnce);
217
219
  * };
218
220
  *
219
221
  * ```
package/dist/macros.js CHANGED
@@ -13,7 +13,7 @@
13
13
  * Asserts are removed from production builds, making this a "zero cost abstraction"
14
14
  * so liberal usage of this function to ensure runtime correctness is encouraged.
15
15
  *
16
- * @internal
16
+ * @private
17
17
  */
18
18
 
19
19
  function assert(message, condition) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warp-drive-mirror/build-config",
3
- "version": "5.7.0-alpha.9",
3
+ "version": "5.7.0",
4
4
  "description": "Provides Build Configuration for projects using WarpDrive or EmberData",
5
5
  "keywords": [
6
6
  "ember-data-mirror",
@@ -36,20 +36,20 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@embroider/macros": "^1.16.12",
40
- "@embroider/addon-shim": "^1.9.0",
39
+ "@embroider/macros": "^1.18.1",
40
+ "@embroider/addon-shim": "^1.10.0",
41
41
  "babel-import-util": "^2.1.1",
42
- "semver": "^7.7.1"
42
+ "semver": "^7.7.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@warp-drive/internal-config": "5.7.0-alpha.9",
45
+ "@warp-drive/internal-config": "5.7.0",
46
46
  "@types/babel__core": "^7.20.5",
47
- "@types/node": "^20.17.32",
48
- "@babel/plugin-transform-typescript": "^7.27.0",
49
- "@babel/preset-typescript": "^7.27.0",
50
- "@babel/core": "^7.26.10",
51
- "typescript": "^5.8.3",
52
- "vite": "^7.0.0"
47
+ "@types/node": "^20.19.11",
48
+ "@babel/plugin-transform-typescript": "^7.28.0",
49
+ "@babel/preset-typescript": "^7.27.1",
50
+ "@babel/core": "^7.28.3",
51
+ "typescript": "^5.9.2",
52
+ "vite": "^7.1.3"
53
53
  },
54
54
  "volta": {
55
55
  "extends": "../../../../../../package.json"