@warp-drive/build-config 0.0.0-beta.1 → 0.0.0-beta.11
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/CHANGELOG.md +24 -0
- package/LICENSE.md +19 -5
- package/README.md +23 -4
- package/dist/addon-shim.cjs.map +1 -1
- package/dist/babel-macros.js +7 -3
- package/dist/babel-macros.js.map +1 -1
- package/dist/babel-plugin-transform-asserts.cjs.map +1 -1
- package/dist/babel-plugin-transform-deprecations.cjs +20 -6
- package/dist/babel-plugin-transform-deprecations.cjs.map +1 -1
- package/dist/babel-plugin-transform-features.cjs +4 -4
- package/dist/babel-plugin-transform-features.cjs.map +1 -1
- package/dist/babel-plugin-transform-logging.cjs +49 -6
- package/dist/babel-plugin-transform-logging.cjs.map +1 -1
- package/dist/canary-features-BzGSGY5j.js.map +1 -1
- package/dist/cjs-set-config.cjs +940 -0
- package/dist/cjs-set-config.cjs.map +1 -0
- package/dist/{debugging-BzogyWJo.js → debugging-PCb4hczb.js} +34 -3
- package/dist/{debugging-BzogyWJo.js.map → debugging-PCb4hczb.js.map} +1 -1
- package/dist/debugging.js +1 -1
- package/dist/{deprecations-BXAnWRDO.js → deprecations-ChFQtx-4.js} +6 -2
- package/dist/deprecations-ChFQtx-4.js.map +1 -0
- package/dist/deprecations.js +1 -1
- package/dist/env.js +4 -1
- package/dist/env.js.map +1 -1
- package/dist/index.js +148 -37
- package/dist/index.js.map +1 -1
- package/dist/macros.js.map +1 -1
- package/dist/runtime.js +21 -0
- package/dist/runtime.js.map +1 -0
- package/logos/NCC-1701-a-gold.svg +4 -0
- package/logos/NCC-1701-a-gold_100.svg +1 -0
- package/logos/NCC-1701-a-gold_base-64.txt +1 -0
- package/logos/README.md +4 -0
- package/logos/docs-badge.svg +2 -0
- package/logos/ember-data-logo-dark.svg +12 -0
- package/logos/ember-data-logo-light.svg +12 -0
- package/logos/github-header.svg +444 -0
- package/logos/social1.png +0 -0
- package/logos/social2.png +0 -0
- package/logos/warp-drive-logo-dark.svg +4 -0
- package/logos/warp-drive-logo-gold.svg +4 -0
- package/package.json +31 -21
- package/unstable-preview-types/-private/utils/deprecations.d.ts +3 -1
- package/unstable-preview-types/-private/utils/deprecations.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/features.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/get-env.d.ts +3 -0
- package/unstable-preview-types/-private/utils/get-env.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/logging.d.ts +14 -0
- package/unstable-preview-types/-private/utils/logging.d.ts.map +1 -0
- package/unstable-preview-types/babel-macros.d.ts +3 -21
- package/unstable-preview-types/babel-macros.d.ts.map +1 -1
- package/unstable-preview-types/cjs-set-config.d.ts +4 -0
- package/unstable-preview-types/cjs-set-config.d.ts.map +1 -0
- package/unstable-preview-types/debugging.d.ts +27 -0
- package/unstable-preview-types/debugging.d.ts.map +1 -1
- package/unstable-preview-types/deprecation-versions.d.ts +71 -19
- package/unstable-preview-types/deprecation-versions.d.ts.map +1 -1
- package/unstable-preview-types/deprecations.d.ts +2 -0
- package/unstable-preview-types/deprecations.d.ts.map +1 -1
- package/unstable-preview-types/env.d.ts +3 -0
- package/unstable-preview-types/env.d.ts.map +1 -1
- package/unstable-preview-types/index.d.ts +12 -6
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/unstable-preview-types/runtime.d.ts +18 -0
- package/unstable-preview-types/runtime.d.ts.map +1 -0
- package/dist/deprecations-BXAnWRDO.js.map +0 -1
- /package/{NCC-1701-a-blue.svg → logos/NCC-1701-a-blue.svg} +0 -0
- /package/{NCC-1701-a.svg → logos/NCC-1701-a.svg} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 324 32">
|
|
2
|
+
<path fill="#110819"
|
|
3
|
+
d="M321.58 29.54a41.7 41.7 0 0 1-7.26 1.72c-2.4.36-4.87.53-7.4.53-3.21 0-6.09-.34-8.6-1.03a18.5 18.5 0 0 1-6.34-3.03 13.07 13.07 0 0 1-3.94-4.83c-.9-1.9-1.35-4.06-1.35-6.47a14.32 14.32 0 0 1 5.22-11.19 18.14 18.14 0 0 1 6.06-3.3c2.36-.81 5-1.21 7.9-1.21 2.68 0 5.13.36 7.35 1.1 2.24.71 4.15 1.78 5.74 3.2a14.28 14.28 0 0 1 3.72 5.24 18.12 18.12 0 0 1 1.33 7.17v1.98h-29.1a7.5 7.5 0 0 0 1.28 2.56c.6.77 1.4 1.43 2.42 1.97 1.02.55 2.27.97 3.74 1.27 1.5.3 3.27.45 5.33.45a35.35 35.35 0 0 0 8.23-.96c1.22-.3 2.31-.64 3.29-1 .99-.35 1.78-.7 2.38-1.07v6.9Zm-5.5-15.96a6.73 6.73 0 0 0-.66-2.26 5.82 5.82 0 0 0-1.72-2.13 9.46 9.46 0 0 0-3.1-1.54 15.6 15.6 0 0 0-4.77-.63c-1.79 0-3.33.23-4.64.67-1.3.44-2.4 1-3.29 1.65a8.37 8.37 0 0 0-2.04 2.13c-.48.76-.8 1.46-.94 2.1h21.16ZM271.84 31h-9.28L247.63 1.48h8.9l10.74 22.22 10.72-22.22h8.9L271.83 31ZM234.8 31V1.48h7.97V31h-7.97ZM229.73 8.16l-.94-.28c-.4-.13-.88-.25-1.42-.36a17.88 17.88 0 0 0-3.8-.45c-1.44 0-2.78.18-4.02.53-1.23.35-2.39.81-3.46 1.4a19.48 19.48 0 0 0-3 1.98c-.92.73-1.77 1.48-2.54 2.25V31h-7.97V1.48h7.97v4.8c.96-.72 1.94-1.41 2.94-2.07a25.36 25.36 0 0 1 3.16-1.78 18.9 18.9 0 0 1 3.48-1.23 15.39 15.39 0 0 1 5.44-.39 25 25 0 0 1 4.16.67v6.68ZM197.05 16.22c0 1.89-.2 3.57-.62 5.05a12.7 12.7 0 0 1-1.76 3.82 11.07 11.07 0 0 1-2.7 2.77 13.77 13.77 0 0 1-3.51 1.83c-1.29.46-2.68.8-4.17 1-1.49.21-3.04.31-4.66.31H160.9V1.48h18.69c1.62 0 3.17.1 4.66.32 1.49.2 2.88.53 4.17 1 1.3.45 2.48 1.06 3.54 1.82 1.06.74 1.96 1.67 2.7 2.77a12.7 12.7 0 0 1 1.77 3.82c.42 1.46.62 3.13.62 5Zm-8.03 0c0-1.42-.19-2.65-.56-3.7a5.64 5.64 0 0 0-1.76-2.57 7.66 7.66 0 0 0-3.16-1.53c-1.3-.34-2.9-.52-4.77-.52h-9.9v16.68h9.9c1.88 0 3.47-.17 4.77-.5a7.86 7.86 0 0 0 3.16-1.54c.81-.7 1.4-1.58 1.76-2.63.37-1.04.56-2.27.56-3.7ZM153.98 10.55c0 1.47-.25 2.78-.73 3.9a6.82 6.82 0 0 1-2.26 2.86 10.95 10.95 0 0 1-4 1.77 25.6 25.6 0 0 1-5.86.58h-13.26V31h-2.68V1.48h15.94c2.3 0 4.25.2 5.87.6 1.63.39 2.96.96 4 1.72a6.67 6.67 0 0 1 2.25 2.84c.48 1.13.73 2.43.73 3.9Zm-2.77 0c0-1.4-.24-2.54-.71-3.4a4.53 4.53 0 0 0-2.15-1.97c-.96-.48-2.19-.8-3.68-.95a50.43 50.43 0 0 0-5.26-.24h-11.54v13.15h11.54l2.51.02c.9 0 1.8-.04 2.67-.12.87-.1 1.7-.27 2.5-.5.8-.24 1.5-.6 2.1-1.1a5.05 5.05 0 0 0 1.46-1.9 7 7 0 0 0 .56-3ZM119.76 3.76c-.41-.13-1-.27-1.74-.41-.73-.16-1.67-.24-2.83-.24-1.6 0-3.12.2-4.54.6a17.94 17.94 0 0 0-7.28 3.96 23.73 23.73 0 0 0-2.8 2.83V31H97.9V1.48h2.69V7.5c.96-1 2-1.9 3.11-2.73a21.54 21.54 0 0 1 7.48-3.53 17.47 17.47 0 0 1 5.6-.47c.4.02.77.04 1.1.09a16.6 16.6 0 0 1 1.9.26v2.64ZM85.52 31v-3.27c-1.03.56-2.2 1.08-3.53 1.55a40.4 40.4 0 0 1-13.13 2.3c-1.91 0-3.64-.17-5.17-.52a12.2 12.2 0 0 1-3.87-1.52A7.38 7.38 0 0 1 57.37 27a7.06 7.06 0 0 1-.86-3.52c0-1.32.33-2.48 1-3.48a8.81 8.81 0 0 1 2.85-2.64c1.23-.76 2.71-1.4 4.45-1.91 1.74-.53 3.7-.98 5.84-1.34 2.15-.37 4.47-.67 6.96-.9 2.5-.24 5.14-.44 7.9-.6v-2.26c0-.91-.16-1.72-.5-2.42a5.54 5.54 0 0 0-1.45-1.83 7.97 7.97 0 0 0-2.17-1.31c-.83-.36-1.73-.65-2.7-.86a33.97 33.97 0 0 0-13.54.21c-1.03.25-2.02.53-2.96.86-.95.33-1.9.68-2.86 1.06V2.92c1.99-.53 4.1-.99 6.36-1.38 2.26-.4 4.66-.6 7.2-.6 2.14 0 4.15.19 6.01.56 1.86.36 3.48.94 4.86 1.74A9.16 9.16 0 0 1 87 6.36a8.55 8.55 0 0 1 1.18 4.62V31h-2.66Zm0-16c-4.69.25-8.69.62-12.01 1.09-3.31.47-6.02 1.05-8.12 1.74-2.1.69-3.66 1.49-4.64 2.4a4.18 4.18 0 0 0-1.46 3.12c0 .95.23 1.78.7 2.52a5.86 5.86 0 0 0 2.09 1.84c.9.49 2 .86 3.29 1.12 1.28.24 2.73.37 4.34.37a29.36 29.36 0 0 0 5.95-.6 36.6 36.6 0 0 0 5.71-1.57c.86-.32 1.64-.66 2.34-1.01a11.3 11.3 0 0 0 1.8-1.1v-9.93ZM28.65 1.48l10.53 27.37L50.09 1.48h2.99L41.2 31h-4L26.84 4.34 16.51 31h-4L.63 1.48h2.99l10.91 27.37 10.5-27.37h3.62Z" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 324 32">
|
|
2
|
+
<path fill="#FFC474"
|
|
3
|
+
d="M321.58 29.54a41.7 41.7 0 0 1-7.26 1.72c-2.4.36-4.87.53-7.4.53-3.21 0-6.09-.34-8.6-1.03a18.5 18.5 0 0 1-6.34-3.03 13.07 13.07 0 0 1-3.94-4.83c-.9-1.9-1.35-4.06-1.35-6.47a14.32 14.32 0 0 1 5.22-11.19 18.14 18.14 0 0 1 6.06-3.3c2.36-.81 5-1.21 7.9-1.21 2.68 0 5.13.36 7.35 1.1 2.24.71 4.15 1.78 5.74 3.2a14.28 14.28 0 0 1 3.72 5.24 18.12 18.12 0 0 1 1.33 7.17v1.98h-29.1a7.5 7.5 0 0 0 1.28 2.56c.6.77 1.4 1.43 2.42 1.97 1.02.55 2.27.97 3.74 1.27 1.5.3 3.27.45 5.33.45a35.35 35.35 0 0 0 8.23-.96c1.22-.3 2.31-.64 3.29-1 .99-.35 1.78-.7 2.38-1.07v6.9Zm-5.5-15.96a6.73 6.73 0 0 0-.66-2.26 5.82 5.82 0 0 0-1.72-2.13 9.46 9.46 0 0 0-3.1-1.54 15.6 15.6 0 0 0-4.77-.63c-1.79 0-3.33.23-4.64.67-1.3.44-2.4 1-3.29 1.65a8.37 8.37 0 0 0-2.04 2.13c-.48.76-.8 1.46-.94 2.1h21.16ZM271.84 31h-9.28L247.63 1.48h8.9l10.74 22.22 10.72-22.22h8.9L271.83 31ZM234.8 31V1.48h7.97V31h-7.97ZM229.73 8.16l-.94-.28c-.4-.13-.88-.25-1.42-.36a17.88 17.88 0 0 0-3.8-.45c-1.44 0-2.78.18-4.02.53-1.23.35-2.39.81-3.46 1.4a19.48 19.48 0 0 0-3 1.98c-.92.73-1.77 1.48-2.54 2.25V31h-7.97V1.48h7.97v4.8c.96-.72 1.94-1.41 2.94-2.07a25.36 25.36 0 0 1 3.16-1.78 18.9 18.9 0 0 1 3.48-1.23 15.39 15.39 0 0 1 5.44-.39 25 25 0 0 1 4.16.67v6.68ZM197.05 16.22c0 1.89-.2 3.57-.62 5.05a12.7 12.7 0 0 1-1.76 3.82 11.07 11.07 0 0 1-2.7 2.77 13.77 13.77 0 0 1-3.51 1.83c-1.29.46-2.68.8-4.17 1-1.49.21-3.04.31-4.66.31H160.9V1.48h18.69c1.62 0 3.17.1 4.66.32 1.49.2 2.88.53 4.17 1 1.3.45 2.48 1.06 3.54 1.82 1.06.74 1.96 1.67 2.7 2.77a12.7 12.7 0 0 1 1.77 3.82c.42 1.46.62 3.13.62 5Zm-8.03 0c0-1.42-.19-2.65-.56-3.7a5.64 5.64 0 0 0-1.76-2.57 7.66 7.66 0 0 0-3.16-1.53c-1.3-.34-2.9-.52-4.77-.52h-9.9v16.68h9.9c1.88 0 3.47-.17 4.77-.5a7.86 7.86 0 0 0 3.16-1.54c.81-.7 1.4-1.58 1.76-2.63.37-1.04.56-2.27.56-3.7ZM153.98 10.55c0 1.47-.25 2.78-.73 3.9a6.82 6.82 0 0 1-2.26 2.86 10.95 10.95 0 0 1-4 1.77 25.6 25.6 0 0 1-5.86.58h-13.26V31h-2.68V1.48h15.94c2.3 0 4.25.2 5.87.6 1.63.39 2.96.96 4 1.72a6.67 6.67 0 0 1 2.25 2.84c.48 1.13.73 2.43.73 3.9Zm-2.77 0c0-1.4-.24-2.54-.71-3.4a4.53 4.53 0 0 0-2.15-1.97c-.96-.48-2.19-.8-3.68-.95a50.43 50.43 0 0 0-5.26-.24h-11.54v13.15h11.54l2.51.02c.9 0 1.8-.04 2.67-.12.87-.1 1.7-.27 2.5-.5.8-.24 1.5-.6 2.1-1.1a5.05 5.05 0 0 0 1.46-1.9 7 7 0 0 0 .56-3ZM119.76 3.76c-.41-.13-1-.27-1.74-.41-.73-.16-1.67-.24-2.83-.24-1.6 0-3.12.2-4.54.6a17.94 17.94 0 0 0-7.28 3.96 23.73 23.73 0 0 0-2.8 2.83V31H97.9V1.48h2.69V7.5c.96-1 2-1.9 3.11-2.73a21.54 21.54 0 0 1 7.48-3.53 17.47 17.47 0 0 1 5.6-.47c.4.02.77.04 1.1.09a16.6 16.6 0 0 1 1.9.26v2.64ZM85.52 31v-3.27c-1.03.56-2.2 1.08-3.53 1.55a40.4 40.4 0 0 1-13.13 2.3c-1.91 0-3.64-.17-5.17-.52a12.2 12.2 0 0 1-3.87-1.52A7.38 7.38 0 0 1 57.37 27a7.06 7.06 0 0 1-.86-3.52c0-1.32.33-2.48 1-3.48a8.81 8.81 0 0 1 2.85-2.64c1.23-.76 2.71-1.4 4.45-1.91 1.74-.53 3.7-.98 5.84-1.34 2.15-.37 4.47-.67 6.96-.9 2.5-.24 5.14-.44 7.9-.6v-2.26c0-.91-.16-1.72-.5-2.42a5.54 5.54 0 0 0-1.45-1.83 7.97 7.97 0 0 0-2.17-1.31c-.83-.36-1.73-.65-2.7-.86a33.97 33.97 0 0 0-13.54.21c-1.03.25-2.02.53-2.96.86-.95.33-1.9.68-2.86 1.06V2.92c1.99-.53 4.1-.99 6.36-1.38 2.26-.4 4.66-.6 7.2-.6 2.14 0 4.15.19 6.01.56 1.86.36 3.48.94 4.86 1.74A9.16 9.16 0 0 1 87 6.36a8.55 8.55 0 0 1 1.18 4.62V31h-2.66Zm0-16c-4.69.25-8.69.62-12.01 1.09-3.31.47-6.02 1.05-8.12 1.74-2.1.69-3.66 1.49-4.64 2.4a4.18 4.18 0 0 0-1.46 3.12c0 .95.23 1.78.7 2.52a5.86 5.86 0 0 0 2.09 1.84c.9.49 2 .86 3.29 1.12 1.28.24 2.73.37 4.34.37a29.36 29.36 0 0 0 5.95-.6 36.6 36.6 0 0 0 5.71-1.57c.86-.32 1.64-.66 2.34-1.01a11.3 11.3 0 0 0 1.8-1.1v-9.93ZM28.65 1.48l10.53 27.37L50.09 1.48h2.99L41.2 31h-4L26.84 4.34 16.51 31h-4L.63 1.48h2.99l10.91 27.37 10.5-27.37h3.62Z" />
|
|
4
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/build-config",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.11",
|
|
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",
|
|
@@ -23,8 +20,7 @@
|
|
|
23
20
|
"CHANGELOG.md",
|
|
24
21
|
"README.md",
|
|
25
22
|
"LICENSE.md",
|
|
26
|
-
"
|
|
27
|
-
"NCC-1701-a-blue.svg"
|
|
23
|
+
"logos"
|
|
28
24
|
],
|
|
29
25
|
"exports": {
|
|
30
26
|
".": {
|
|
@@ -35,32 +31,46 @@
|
|
|
35
31
|
},
|
|
36
32
|
"./*": {
|
|
37
33
|
"default": "./dist/*.js"
|
|
34
|
+
},
|
|
35
|
+
"./unstable-preview-types": {
|
|
36
|
+
"types": "./unstable-preview-types/index.d.ts"
|
|
38
37
|
}
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"@embroider/macros": "^1.16.
|
|
42
|
-
"@embroider/addon-shim": "^1.
|
|
40
|
+
"@embroider/macros": "^1.16.11",
|
|
41
|
+
"@embroider/addon-shim": "^1.9.0",
|
|
43
42
|
"babel-import-util": "^2.1.1",
|
|
44
43
|
"broccoli-funnel": "^3.0.8",
|
|
45
|
-
"semver": "^7.
|
|
44
|
+
"semver": "^7.7.1"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"@warp-drive/internal-config": "5.4.0-beta.
|
|
47
|
+
"@warp-drive/internal-config": "5.4.0-beta.16",
|
|
49
48
|
"@types/babel__core": "^7.20.5",
|
|
50
|
-
"@types/node": "^20.
|
|
51
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
52
|
-
"@babel/preset-typescript": "^7.
|
|
53
|
-
"@babel/core": "^7.
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"vite": "^5.2.11"
|
|
49
|
+
"@types/node": "^20.17.22",
|
|
50
|
+
"@babel/plugin-transform-typescript": "^7.26.8",
|
|
51
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
52
|
+
"@babel/core": "^7.26.9",
|
|
53
|
+
"typescript": "^5.8.2",
|
|
54
|
+
"bun-types": "^1.2.4",
|
|
55
|
+
"vite": "^5.4.14"
|
|
58
56
|
},
|
|
59
57
|
"engines": {
|
|
60
|
-
"node": ">= 18.20.
|
|
58
|
+
"node": ">= 18.20.7"
|
|
61
59
|
},
|
|
62
60
|
"volta": {
|
|
63
61
|
"extends": "../../package.json"
|
|
64
62
|
},
|
|
65
|
-
"
|
|
66
|
-
|
|
63
|
+
"typesVersions": {
|
|
64
|
+
"*": {
|
|
65
|
+
"unstable-preview-types": [
|
|
66
|
+
"./unstable-preview-types"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build:pkg": "vite build; vite build -c ./vite.config-cjs.mjs;",
|
|
72
|
+
"sync": "echo \"syncing\"",
|
|
73
|
+
"_temporarily_deactivated_lint": "eslint . --quiet --cache --cache-strategy=content",
|
|
74
|
+
"start": "vite"
|
|
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;
|
|
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":"
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-env.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/get-env.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM
|
|
1
|
+
{"version":3,"file":"get-env.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/get-env.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,IAAI;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;CACxB,CAeA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare module '@warp-drive/build-config/-private/utils/logging' {
|
|
2
|
+
import * as LOGGING from '@warp-drive/build-config/debugging.ts';
|
|
3
|
+
type LOG_CONFIG_KEY = keyof typeof LOGGING;
|
|
4
|
+
export type LOG_CONFIG = {
|
|
5
|
+
[key in LOG_CONFIG_KEY]: boolean;
|
|
6
|
+
};
|
|
7
|
+
export function createLoggingConfig(env: {
|
|
8
|
+
DEBUG: boolean;
|
|
9
|
+
TESTING: boolean;
|
|
10
|
+
PRODUCTION: boolean;
|
|
11
|
+
}, debug: LOG_CONFIG): LOG_CONFIG;
|
|
12
|
+
export {};
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/logging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAE9C,KAAK,cAAc,GAAG,MAAM,OAAO,OAAO,CAAC;AAC3C,MAAM,MAAM,UAAU,GAAG;KAAG,GAAG,IAAI,cAAc,GAAG,OAAO;CAAE,CAAC;AAE9D,wBAAgB,mBAAmB,CACjC,GAAG,EAAE;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,EAC9D,KAAK,EAAE,UAAU,GAChB,UAAU,CAaZ"}
|
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
declare module '@warp-drive/build-config/babel-macros' {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
source: string;
|
|
6
|
-
flags: Record<"SAMPLE_FEATURE_FLAG", boolean>;
|
|
7
|
-
})[] | (string | {
|
|
8
|
-
source: string;
|
|
9
|
-
flags: typeof CURRENT_DEPRECATIONS;
|
|
10
|
-
})[] | (string | {
|
|
11
|
-
source: string;
|
|
12
|
-
configKey: string;
|
|
13
|
-
flags: typeof LOGGING;
|
|
14
|
-
})[] | (string | {
|
|
15
|
-
source: string;
|
|
16
|
-
configKey: string;
|
|
17
|
-
flags: {
|
|
18
|
-
TESTING: boolean;
|
|
19
|
-
PRODUCTION: boolean;
|
|
20
|
-
DEBUG: boolean;
|
|
21
|
-
};
|
|
22
|
-
})[])[];
|
|
2
|
+
type BabelPlugin = [string, Record<string, unknown>, string];
|
|
3
|
+
export function macros(): BabelPlugin[];
|
|
4
|
+
export {};
|
|
23
5
|
}
|
|
24
6
|
//# sourceMappingURL=babel-macros.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babel-macros.d.ts","sourceRoot":"","sources":["../src/babel-macros.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"babel-macros.d.ts","sourceRoot":"","sources":["../src/babel-macros.ts"],"names":[],"mappings":"AAoBA,KAAK,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AAE7D,wBAAgB,MAAM,IAAI,WAAW,EAAE,CAqDtC"}
|
|
@@ -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"}
|
|
@@ -104,5 +104,32 @@ declare module '@warp-drive/build-config/debugging' {
|
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
export const LOG_INSTANCE_CACHE: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Log key count metrics, useful for performance
|
|
109
|
+
* debugging.
|
|
110
|
+
*
|
|
111
|
+
* @property {boolean} LOG_METRIC_COUNTS
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export const LOG_METRIC_COUNTS: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Helps when debugging causes of a change notification
|
|
117
|
+
* when processing an update to a hasMany relationship.
|
|
118
|
+
*
|
|
119
|
+
* @property {boolean} DEBUG_RELATIONSHIP_NOTIFICATIONS
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* A private flag to enable logging of the native Map/Set
|
|
125
|
+
* constructor and method calls.
|
|
126
|
+
*
|
|
127
|
+
* EXTREMELY MALPERFORMANT
|
|
128
|
+
*
|
|
129
|
+
* LOG_METRIC_COUNTS must also be enabled.
|
|
130
|
+
*
|
|
131
|
+
* @typedoc
|
|
132
|
+
*/
|
|
133
|
+
export const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean;
|
|
107
134
|
}
|
|
108
135
|
//# sourceMappingURL=debugging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,OAAe,CAAC;AAC7C;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,OAAe,CAAC;AAC5C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,OAAe,CAAC;AAC9C;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AACxC;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,OAAe,CAAC;AAC7C;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,OAAe,CAAC;AAC5C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,OAAe,CAAC;AAC3C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,OAAe,CAAC;AAC9C;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AACxC;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAAe,CAAC;AACjD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAe,CAAC;AAChD;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAe,CAAC;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,oCAAoC,EAAE,OAAe,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
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
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
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
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
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
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
|
|
1
|
+
{"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgJG;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;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,QAAQ,CAAC"}
|
|
@@ -9,5 +9,7 @@ declare module '@warp-drive/build-config/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,17 @@
|
|
|
1
|
-
/// <reference path="./
|
|
2
|
-
/// <reference path="./
|
|
1
|
+
/// <reference path="./deprecations.d.ts" />
|
|
2
|
+
/// <reference path="./debugging.d.ts" />
|
|
3
|
+
/// <reference path="./cjs-set-config.d.ts" />
|
|
3
4
|
/// <reference path="./deprecation-versions.d.ts" />
|
|
5
|
+
/// <reference path="./babel-macros.d.ts" />
|
|
6
|
+
/// <reference path="./validate-exports.type-test.d.ts" />
|
|
7
|
+
/// <reference path="./macros.d.ts" />
|
|
8
|
+
/// <reference path="./runtime.d.ts" />
|
|
4
9
|
/// <reference path="./canary-features.d.ts" />
|
|
5
|
-
/// <reference path="./deprecations.d.ts" />
|
|
6
10
|
/// <reference path="./env.d.ts" />
|
|
7
|
-
/// <reference path="
|
|
8
|
-
/// <reference path="./debugging.d.ts" />
|
|
11
|
+
/// <reference path="./-private/utils/deprecations.d.ts" />
|
|
9
12
|
/// <reference path="./-private/utils/get-env.d.ts" />
|
|
13
|
+
/// <reference path="./-private/utils/logging.d.ts" />
|
|
10
14
|
/// <reference path="./-private/utils/features.d.ts" />
|
|
11
|
-
/// <reference path="./-private/utils/deprecations.d.ts" />
|
|
12
15
|
declare module '@warp-drive/build-config' {
|
|
13
16
|
import { getDeprecations } from '@warp-drive/build-config/-private/utils/deprecations.ts';
|
|
14
17
|
import { getFeatures } from '@warp-drive/build-config/-private/utils/features.ts';
|
|
@@ -31,6 +34,9 @@ declare module '@warp-drive/build-config' {
|
|
|
31
34
|
compatWith: `${number}.${number}` | null;
|
|
32
35
|
deprecations: ReturnType<typeof getDeprecations>;
|
|
33
36
|
features: ReturnType<typeof getFeatures>;
|
|
37
|
+
activeLogging: {
|
|
38
|
+
[key in LOG_CONFIG_KEY]: boolean;
|
|
39
|
+
};
|
|
34
40
|
env: {
|
|
35
41
|
TESTING: boolean;
|
|
36
42
|
PRODUCTION: boolean;
|
|
@@ -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;
|
|
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;AAM1C,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,MAAM,EAAE,GAAG,IAAI,CAAC;IACzC,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;IACjD,QAAQ,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IACzC,aAAa,EAAE;SAAG,GAAG,IAAI,cAAc,GAAG,OAAO;KAAE,CAAC;IACpD,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,GAAG,IAAI,CAsDzF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare module '@warp-drive/build-config/runtime' {
|
|
2
|
+
import { LOG_CONFIG } from '@warp-drive/build-config/-private/utils/logging';
|
|
3
|
+
const RuntimeConfig: {
|
|
4
|
+
debug: {};
|
|
5
|
+
};
|
|
6
|
+
export function getRuntimeConfig(): typeof RuntimeConfig;
|
|
7
|
+
/**
|
|
8
|
+
* Upserts the specified logging configuration into the runtime
|
|
9
|
+
* config.
|
|
10
|
+
*
|
|
11
|
+
* globalThis.setWarpDriveLogging({ LOG_PAYLOADS: true } });
|
|
12
|
+
*
|
|
13
|
+
* @typedoc
|
|
14
|
+
*/
|
|
15
|
+
export function setLogging(config: Partial<LOG_CONFIG>): void;
|
|
16
|
+
export {};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,aAAa;;CAElB,CAAC;AAEF,wBAAgB,gBAAgB,IAAI,OAAO,aAAa,CAEvD;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,IAAI,CAE5D"}
|
|
@@ -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;;;;;;;;;;;;;;;;;;"}
|
|
File without changes
|
|
File without changes
|