@warp-drive/build-config 0.0.0-beta.0 → 0.0.0-beta.10

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +21 -2
  3. package/dist/babel-macros.js +5 -2
  4. package/dist/babel-macros.js.map +1 -1
  5. package/dist/babel-plugin-transform-asserts.cjs.map +1 -1
  6. package/dist/babel-plugin-transform-deprecations.cjs +20 -6
  7. package/dist/babel-plugin-transform-deprecations.cjs.map +1 -1
  8. package/dist/babel-plugin-transform-features.cjs +4 -4
  9. package/dist/babel-plugin-transform-features.cjs.map +1 -1
  10. package/dist/babel-plugin-transform-logging.cjs +3 -3
  11. package/dist/babel-plugin-transform-logging.cjs.map +1 -1
  12. package/dist/cjs-set-config.cjs +895 -0
  13. package/dist/cjs-set-config.cjs.map +1 -0
  14. package/dist/{deprecations-BXAnWRDO.js → deprecations-ChFQtx-4.js} +6 -2
  15. package/dist/deprecations-ChFQtx-4.js.map +1 -0
  16. package/dist/deprecations.js +1 -1
  17. package/dist/env.js +4 -1
  18. package/dist/env.js.map +1 -1
  19. package/dist/index.js +133 -36
  20. package/dist/index.js.map +1 -1
  21. package/package.json +24 -14
  22. package/unstable-preview-types/-private/utils/deprecations.d.ts +3 -1
  23. package/unstable-preview-types/-private/utils/deprecations.d.ts.map +1 -1
  24. package/unstable-preview-types/-private/utils/features.d.ts.map +1 -1
  25. package/unstable-preview-types/-private/utils/get-env.d.ts +3 -0
  26. package/unstable-preview-types/-private/utils/get-env.d.ts.map +1 -1
  27. package/unstable-preview-types/babel-macros.d.ts +3 -0
  28. package/unstable-preview-types/babel-macros.d.ts.map +1 -1
  29. package/unstable-preview-types/cjs-set-config.d.ts +4 -0
  30. package/unstable-preview-types/cjs-set-config.d.ts.map +1 -0
  31. package/unstable-preview-types/deprecation-versions.d.ts +71 -19
  32. package/unstable-preview-types/deprecation-versions.d.ts.map +1 -1
  33. package/unstable-preview-types/deprecations.d.ts +2 -0
  34. package/unstable-preview-types/deprecations.d.ts.map +1 -1
  35. package/unstable-preview-types/env.d.ts +3 -0
  36. package/unstable-preview-types/env.d.ts.map +1 -1
  37. package/unstable-preview-types/index.d.ts +6 -5
  38. package/unstable-preview-types/index.d.ts.map +1 -1
  39. package/dist/deprecations-BXAnWRDO.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warp-drive/build-config",
3
- "version": "0.0.0-beta.0",
3
+ "version": "0.0.0-beta.10",
4
4
  "description": "Provides Build Configuration for projects using WarpDrive or EmberData",
5
5
  "keywords": [
6
6
  "ember-data",
@@ -13,9 +13,6 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
16
- "scripts": {
17
- "build:infra": "vite build; vite build -c ./vite.config-cjs.mjs;"
18
- },
19
16
  "type": "module",
20
17
  "files": [
21
18
  "dist",
@@ -35,32 +32,45 @@
35
32
  },
36
33
  "./*": {
37
34
  "default": "./dist/*.js"
35
+ },
36
+ "./unstable-preview-types": {
37
+ "types": "./unstable-preview-types/index.d.ts"
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@embroider/macros": "^1.16.1",
42
- "@embroider/addon-shim": "^1.8.8",
41
+ "@embroider/macros": "^1.16.10",
42
+ "@embroider/addon-shim": "^1.9.0",
43
43
  "babel-import-util": "^2.1.1",
44
44
  "broccoli-funnel": "^3.0.8",
45
- "semver": "^7.6.2"
45
+ "semver": "^7.6.3"
46
46
  },
47
47
  "devDependencies": {
48
- "@warp-drive/internal-config": "5.4.0-beta.5",
48
+ "@warp-drive/internal-config": "5.4.0-beta.15",
49
49
  "@types/babel__core": "^7.20.5",
50
- "@types/node": "^20.12.12",
50
+ "@types/node": "^20.14.2",
51
51
  "@babel/plugin-transform-typescript": "^7.24.5",
52
52
  "@babel/preset-typescript": "^7.24.1",
53
53
  "@babel/core": "^7.24.5",
54
54
  "pnpm-sync-dependencies-meta-injected": "0.0.14",
55
- "typescript": "^5.4.5",
56
- "bun-types": "^1.1.8",
55
+ "typescript": "^5.7.2",
56
+ "bun-types": "^1.1.30",
57
57
  "vite": "^5.2.11"
58
58
  },
59
59
  "engines": {
60
- "node": ">= 22.1.0"
60
+ "node": ">= 18.20.4"
61
61
  },
62
62
  "volta": {
63
63
  "extends": "../../package.json"
64
64
  },
65
- "packageManager": "pnpm@8.15.8"
66
- }
65
+ "packageManager": "pnpm@8.15.9",
66
+ "typesVersions": {
67
+ "*": {
68
+ "unstable-preview-types": [
69
+ "./unstable-preview-types"
70
+ ]
71
+ }
72
+ },
73
+ "scripts": {
74
+ "build:infra": "vite build; vite build -c ./vite.config-cjs.mjs;"
75
+ }
76
+ }
@@ -2,7 +2,9 @@ declare module '@warp-drive/build-config/-private/utils/deprecations' {
2
2
  import * as CURRENT_DEPRECATIONS from '@warp-drive/build-config/deprecation-versions.ts';
3
3
  type MajorMinor = `${number}.${number}`;
4
4
  type DeprecationFlag = keyof typeof CURRENT_DEPRECATIONS;
5
- export function getDeprecations(compatVersion: MajorMinor | null | undefined): {
5
+ export function getDeprecations(compatVersion: MajorMinor | null | undefined, deprecations?: {
6
+ [key in DeprecationFlag]?: boolean;
7
+ }): {
6
8
  [key in DeprecationFlag]: boolean;
7
9
  };
8
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/deprecations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,+BAA+B,CAAC;AACtE,KAAK,UAAU,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AACxC,KAAK,eAAe,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAMzD,wBAAgB,eAAe,CAAC,aAAa,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG;KAAG,GAAG,IAAI,eAAe,GAAG,OAAO;CAAE,CA4BnH"}
1
+ {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/deprecations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,+BAA+B,CAAC;AACtE,KAAK,UAAU,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AACxC,KAAK,eAAe,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAYzD,wBAAgB,eAAe,CAC7B,aAAa,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,EAC5C,YAAY,CAAC,EAAE;KAAG,GAAG,IAAI,eAAe,CAAC,CAAC,EAAE,OAAO;CAAE,GACpD;KAAG,GAAG,IAAI,eAAe,GAAG,OAAO;CAAE,CAmCvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/features.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAC7D,KAAK,OAAO,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAQ7C,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG;KAAG,GAAG,IAAI,OAAO,GAAG,OAAO;CAAE,CA0D1E"}
1
+ {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/features.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAC7D,KAAK,OAAO,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAQ7C,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG;KAAG,GAAG,IAAI,OAAO,GAAG,OAAO;CAAE,CA0D1E"}
@@ -3,6 +3,9 @@ declare module '@warp-drive/build-config/-private/utils/get-env' {
3
3
  TESTING: boolean;
4
4
  PRODUCTION: boolean;
5
5
  DEBUG: boolean;
6
+ IS_RECORDING: boolean;
7
+ IS_CI: boolean;
8
+ SHOULD_RECORD: boolean;
6
9
  };
7
10
  }
8
11
  //# sourceMappingURL=get-env.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-env.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/get-env.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM;;;;EAWrB"}
1
+ {"version":3,"file":"get-env.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/get-env.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM;;;;;;;EAerB"}
@@ -18,6 +18,9 @@ declare module '@warp-drive/build-config/babel-macros' {
18
18
  TESTING: boolean;
19
19
  PRODUCTION: boolean;
20
20
  DEBUG: boolean;
21
+ IS_RECORDING: boolean;
22
+ IS_CI: boolean;
23
+ SHOULD_RECORD: boolean;
21
24
  };
22
25
  })[])[];
23
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"babel-macros.d.ts","sourceRoot":"","sources":["../src/babel-macros.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAkB1D,wBAAgB,MAAM;;;;;;;;;;;;;;;;;;QAiDrB"}
1
+ {"version":3,"file":"babel-macros.d.ts","sourceRoot":"","sources":["../src/babel-macros.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAkB1D,wBAAgB,MAAM;;;;;;;;;;;;;;;;;;;;;QAoDrB"}
@@ -0,0 +1,4 @@
1
+ declare module '@warp-drive/build-config/cjs-set-config' {
2
+ export { setConfig } from '@warp-drive/build-config/index.ts';
3
+ }
4
+ //# sourceMappingURL=cjs-set-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cjs-set-config.d.ts","sourceRoot":"","sources":["../src/cjs-set-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC"}
@@ -24,11 +24,11 @@ declare module '@warp-drive/build-config/deprecation-versions' {
24
24
  * are compatible with on the `emberData` config in your `ember-cli-build.js` file.
25
25
  *
26
26
  * ```js
27
- * let app = new EmberApp(defaults, {
28
- * emberData: {
29
- * compatWith: '3.12',
30
- * },
31
- * });
27
+ * const { setConfig } = await import('@warp-drive/build-config');
28
+ *
29
+ * let app = new EmberApp(defaults, {});
30
+ *
31
+ * setConfig(app, __dirname, { compatWith: '3.12' });
32
32
  * ```
33
33
  *
34
34
  * Alternatively, individual deprecations can be resolved (and thus have its support stripped)
@@ -42,14 +42,16 @@ declare module '@warp-drive/build-config/deprecation-versions' {
42
42
  * when removing code for only some deprecations associated to a version number.
43
43
  *
44
44
  * ```js
45
- * let app = new EmberApp(defaults, {
46
- * emberData: {
47
- * deprecations: {
48
- * DEPRECATE_FOO_BEHAVIOR: false // set to false to strip this code
49
- * DEPRECATE_BAR_BEHAVIOR: true // force to true to not strip this code
50
- * }
45
+ * const { setConfig } = await import('@warp-drive/build-config');
46
+ *
47
+ * let app = new EmberApp(defaults, {});
48
+ *
49
+ * setConfig(app, __dirname, {
50
+ * deprecations: {
51
+ * DEPRECATE_FOO_BEHAVIOR: false // set to false to strip this code
52
+ * DEPRECATE_BAR_BEHAVIOR: true // force to true to not strip this code
51
53
  * }
52
- * })
54
+ * });
53
55
  * ```
54
56
  *
55
57
  * The complete list of which versions specific deprecations will be removed in
@@ -257,14 +259,16 @@ declare module '@warp-drive/build-config/deprecation-versions' {
257
259
  * to `false` in ember-cli-build.js
258
260
  *
259
261
  * ```js
260
- * let app = new EmberApp(defaults, {
261
- * emberData: {
262
- * deprecations: {
263
- * // set to false to strip the deprecated code (thereby opting into the new behavior)
264
- * DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: false
265
- * }
262
+ * const { setConfig } = await import('@warp-drive/build-config');
263
+ *
264
+ * let app = new EmberApp(defaults, {});
265
+ *
266
+ * setConfig(app, __dirname, {
267
+ * deprecations: {
268
+ * // set to false to strip the deprecated code (thereby opting into the new behavior)
269
+ * DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: false
266
270
  * }
267
- * })
271
+ * });
268
272
  * ```
269
273
  *
270
274
  * To resolve this deprecation on an individual relationship, adjust the `options` passed to
@@ -396,5 +400,53 @@ declare module '@warp-drive/build-config/deprecation-versions' {
396
400
  * @public
397
401
  */
398
402
  export const ENABLE_LEGACY_SCHEMA_SERVICE = "5.4";
403
+ /**
404
+ * **id: warp-drive.ember-inflector**
405
+ *
406
+ * Deprecates the use of ember-inflector for pluralization and singularization in favor
407
+ * of the `@ember-data/request-utils` package.
408
+ *
409
+ * Rule configuration methods (singular, plural, uncountable, irregular) and
410
+ * usage methods (singularize, pluralize) are are available as imports from
411
+ * `@ember-data/request-utils/string`
412
+ *
413
+ * Notable differences with ember-inflector:
414
+ * - there cannot be multiple inflector instances with separate rules
415
+ * - pluralization does not support a count argument
416
+ * - string caches now default to 10k entries instead of 1k, and this
417
+ * size is now configurable. Additionally, the cache is now a LRU cache
418
+ * instead of a first-N cache.
419
+ *
420
+ * This deprecation can be resolved by removing usage of ember-inflector or by using
421
+ * both ember-inflector and @ember-data/request-utils in parallel and updating your
422
+ * EmberData/WarpDrive build config to mark the deprecation as resolved
423
+ * in ember-cli-build
424
+ *
425
+ * ```js
426
+ * setConfig(app, __dirname, { deprecations: { DEPRECATE_EMBER_INFLECTOR: false }});
427
+ * ```
428
+ *
429
+ * @property DEPRECATE_EMBER_INFLECTOR
430
+ * @since 5.3
431
+ * @until 6.0
432
+ * @public
433
+ */
434
+ export const DEPRECATE_EMBER_INFLECTOR = "5.3";
435
+ /**
436
+ * This is a special flag that can be used to opt-in early to receiving deprecations introduced in 6.x
437
+ * which have had their infra backported to 5.x versions of EmberData.
438
+ *
439
+ * When this flag is not present or set to `true`, the deprecations from the 6.x branch
440
+ * will not print their messages and the deprecation cannot be resolved.
441
+ *
442
+ * When this flag is present and set to `false`, the deprecations from the 6.x branch will
443
+ * print and can be resolved.
444
+ *
445
+ * @property DISABLE_7X_DEPRECATIONS
446
+ * @since 5.3
447
+ * @until 7.0
448
+ * @public
449
+ */
450
+ export const DISABLE_7X_DEPRECATIONS = "7.0";
399
451
  }
400
452
  //# sourceMappingURL=deprecation-versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8IG;AACH,eAAO,MAAM,yDAAyD,QAAQ,CAAC;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oCAAoC,QAAQ,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,4BAA4B,QAAQ,CAAC"}
1
+ {"version":3,"file":"deprec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deprecations' {
9
9
  export const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean;
10
10
  export const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: boolean;
11
11
  export const ENABLE_LEGACY_SCHEMA_SERVICE: boolean;
12
+ export const DEPRECATE_EMBER_INFLECTOR: boolean;
13
+ export const DISABLE_7X_DEPRECATIONS: boolean;
12
14
  }
13
15
  //# sourceMappingURL=deprecations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../src/deprecations.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,EAAE,OAAc,CAAC;AACjD,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,0BAA0B,EAAE,OAAc,CAAC;AACxD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,EAAE,OAAc,CAAC;AACtD,eAAO,MAAM,6BAA6B,EAAE,OAAc,CAAC;AAC3D,eAAO,MAAM,yDAAyD,EAAE,OAAc,CAAC;AACvF,eAAO,MAAM,+BAA+B,EAAE,OAAc,CAAC;AAC7D,eAAO,MAAM,oCAAoC,EAAE,OAAc,CAAC;AAClE,eAAO,MAAM,4BAA4B,EAAE,OAAc,CAAC"}
1
+ {"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../src/deprecations.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,EAAE,OAAc,CAAC;AACjD,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,0BAA0B,EAAE,OAAc,CAAC;AACxD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,EAAE,OAAc,CAAC;AACtD,eAAO,MAAM,6BAA6B,EAAE,OAAc,CAAC;AAC3D,eAAO,MAAM,yDAAyD,EAAE,OAAc,CAAC;AACvF,eAAO,MAAM,+BAA+B,EAAE,OAAc,CAAC;AAC7D,eAAO,MAAM,oCAAoC,EAAE,OAAc,CAAC;AAClE,eAAO,MAAM,4BAA4B,EAAE,OAAc,CAAC;AAC1D,eAAO,MAAM,yBAAyB,EAAE,OAAc,CAAC;AACvD,eAAO,MAAM,uBAAuB,EAAE,OAAc,CAAC"}
@@ -2,5 +2,8 @@ declare module '@warp-drive/build-config/env' {
2
2
  export const DEBUG: boolean;
3
3
  export const PRODUCTION: boolean;
4
4
  export const TESTING: boolean;
5
+ export const IS_RECORDING: boolean;
6
+ export const IS_CI: boolean;
7
+ export const SHOULD_RECORD: boolean;
5
8
  }
6
9
  //# sourceMappingURL=env.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,EAAE,OAAc,CAAC;AACnC,eAAO,MAAM,UAAU,EAAE,OAAc,CAAC;AACxC,eAAO,MAAM,OAAO,EAAE,OAAc,CAAC"}
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,EAAE,OAAc,CAAC;AACnC,eAAO,MAAM,UAAU,EAAE,OAAc,CAAC;AACxC,eAAO,MAAM,OAAO,EAAE,OAAc,CAAC;AACrC,eAAO,MAAM,YAAY,EAAE,OAAc,CAAC;AAC1C,eAAO,MAAM,KAAK,EAAE,OAAc,CAAC;AACnC,eAAO,MAAM,aAAa,EAAE,OAAc,CAAC"}
@@ -1,14 +1,15 @@
1
- /// <reference path="./macros.d.ts" />
2
- /// <reference path="./validate-exports.type-test.d.ts" />
3
1
  /// <reference path="./deprecation-versions.d.ts" />
4
- /// <reference path="./canary-features.d.ts" />
5
2
  /// <reference path="./deprecations.d.ts" />
6
- /// <reference path="./env.d.ts" />
3
+ /// <reference path="./macros.d.ts" />
4
+ /// <reference path="./canary-features.d.ts" />
5
+ /// <reference path="./cjs-set-config.d.ts" />
7
6
  /// <reference path="./babel-macros.d.ts" />
7
+ /// <reference path="./env.d.ts" />
8
8
  /// <reference path="./debugging.d.ts" />
9
+ /// <reference path="./validate-exports.type-test.d.ts" />
10
+ /// <reference path="./-private/utils/deprecations.d.ts" />
9
11
  /// <reference path="./-private/utils/get-env.d.ts" />
10
12
  /// <reference path="./-private/utils/features.d.ts" />
11
- /// <reference path="./-private/utils/deprecations.d.ts" />
12
13
  declare module '@warp-drive/build-config' {
13
14
  import { getDeprecations } from '@warp-drive/build-config/-private/utils/deprecations.ts';
14
15
  import { getFeatures } from '@warp-drive/build-config/-private/utils/features.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,KAAK,cAAc,GAAG,MAAM,OAAO,OAAO,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,UAAU,CAAC,EAAE,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC,CAAC;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;CACzD,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE;SAAG,GAAG,IAAI,cAAc,GAAG,OAAO;KAAE,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,UAAU,EAAE,GAAG,MAAM,IAAI,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,MAAM,EAAE,GAAG,IAAI,CAAC;IACzC,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IACjD,QAAQ,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IACzC,GAAG,EAAE;QACH,OAAO,EAAE,OAAO,CAAC;QACjB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,CAAC;KAChB,CAAC;CACH,CAAC;AAWF,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,QAqDlF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deprecations-BXAnWRDO.js","sources":["../src/deprecations.ts"],"sourcesContent":["// deprecations\nexport const DEPRECATE_CATCH_ALL: boolean = true;\nexport const DEPRECATE_COMPUTED_CHAINS: boolean = true;\nexport const DEPRECATE_NON_STRICT_TYPES: boolean = true;\nexport const DEPRECATE_NON_STRICT_ID: boolean = true;\nexport const DEPRECATE_LEGACY_IMPORTS: boolean = true;\nexport const DEPRECATE_NON_UNIQUE_PAYLOADS: boolean = true;\nexport const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: boolean = true;\nexport const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean = true;\nexport const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: boolean = true;\nexport const ENABLE_LEGACY_SCHEMA_SERVICE: boolean = true;\n"],"names":["DEPRECATE_CATCH_ALL","DEPRECATE_COMPUTED_CHAINS","DEPRECATE_NON_STRICT_TYPES","DEPRECATE_NON_STRICT_ID","DEPRECATE_LEGACY_IMPORTS","DEPRECATE_NON_UNIQUE_PAYLOADS","DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE","DEPRECATE_MANY_ARRAY_DUPLICATES","DEPRECATE_STORE_EXTENDS_EMBER_OBJECT","ENABLE_LEGACY_SCHEMA_SERVICE"],"mappings":"AAAA;AACO,MAAMA,mBAA4B,GAAG,KAAI;AACzC,MAAMC,yBAAkC,GAAG,KAAI;AAC/C,MAAMC,0BAAmC,GAAG,KAAI;AAChD,MAAMC,uBAAgC,GAAG,KAAI;AAC7C,MAAMC,wBAAiC,GAAG,KAAI;AAC9C,MAAMC,6BAAsC,GAAG,KAAI;AACnD,MAAMC,yDAAkE,GAAG,KAAI;AAC/E,MAAMC,+BAAwC,GAAG,KAAI;AACrD,MAAMC,oCAA6C,GAAG,KAAI;AAC1D,MAAMC,4BAAqC,GAAG;;;;;;;;;;;;;;;;;;"}