@warp-drive-mirror/build-config 0.0.1 → 0.0.3
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/LICENSE.md +19 -5
- package/README.md +2 -2
- package/dist/addon-shim.cjs +7 -24
- package/dist/addon-shim.cjs.map +1 -1
- package/dist/babel-macros.js +3 -2
- 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.map +1 -1
- package/dist/babel-plugin-transform-features.cjs +1 -5
- package/dist/babel-plugin-transform-features.cjs.map +1 -1
- package/dist/babel-plugin-transform-logging.cjs +46 -3
- package/dist/babel-plugin-transform-logging.cjs.map +1 -1
- package/dist/{canary-features-BzGSGY5j.js → canary-features-CFdRGi2p.js} +41 -26
- package/dist/canary-features-CFdRGi2p.js.map +1 -0
- package/dist/canary-features.js +1 -1
- package/dist/cjs-set-config.cjs +200 -133
- package/dist/cjs-set-config.cjs.map +1 -1
- package/dist/debugging-Dc--S1MJ.js +128 -0
- package/dist/debugging-Dc--S1MJ.js.map +1 -0
- package/dist/debugging.js +1 -1
- package/dist/deprecations-ChFQtx-4.js.map +1 -1
- package/dist/env.js.map +1 -1
- package/dist/index.js +105 -60
- package/dist/index.js.map +1 -1
- package/dist/macros.js.map +1 -1
- 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 +17 -18
- 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 -24
- package/unstable-preview-types/babel-macros.d.ts.map +1 -1
- package/unstable-preview-types/canary-features.d.ts +36 -24
- package/unstable-preview-types/canary-features.d.ts.map +1 -1
- package/unstable-preview-types/debugging.d.ts +51 -47
- package/unstable-preview-types/debugging.d.ts.map +1 -1
- package/unstable-preview-types/deprecation-versions.d.ts +18 -42
- package/unstable-preview-types/deprecation-versions.d.ts.map +1 -1
- package/unstable-preview-types/index.d.ts +10 -5
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/dist/canary-features-BzGSGY5j.js.map +0 -1
- package/dist/debugging-BzogyWJo.js +0 -121
- package/dist/debugging-BzogyWJo.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-mirror/build-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Provides Build Configuration for projects using WarpDrive or EmberData",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-data-mirror",
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"CHANGELOG.md",
|
|
21
21
|
"README.md",
|
|
22
22
|
"LICENSE.md",
|
|
23
|
-
"
|
|
24
|
-
"NCC-1701-a-blue.svg"
|
|
23
|
+
"logos"
|
|
25
24
|
],
|
|
26
25
|
"exports": {
|
|
27
26
|
".": {
|
|
@@ -38,31 +37,28 @@
|
|
|
38
37
|
}
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"@embroider/macros": "^1.16.
|
|
40
|
+
"@embroider/macros": "^1.16.12",
|
|
42
41
|
"@embroider/addon-shim": "^1.9.0",
|
|
43
42
|
"babel-import-util": "^2.1.1",
|
|
44
|
-
"
|
|
45
|
-
"semver": "^7.6.3"
|
|
43
|
+
"semver": "^7.7.1"
|
|
46
44
|
},
|
|
47
45
|
"devDependencies": {
|
|
48
|
-
"@warp-drive/internal-config": "5.3.
|
|
46
|
+
"@warp-drive/internal-config": "5.3.13",
|
|
49
47
|
"@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"
|
|
48
|
+
"@types/node": "^20.17.30",
|
|
49
|
+
"@babel/plugin-transform-typescript": "^7.27.0",
|
|
50
|
+
"@babel/preset-typescript": "^7.27.0",
|
|
51
|
+
"@babel/core": "^7.26.10",
|
|
52
|
+
"typescript": "^5.8.3",
|
|
53
|
+
"bun-types": "^1.2.8",
|
|
54
|
+
"vite": "^5.4.15"
|
|
58
55
|
},
|
|
59
56
|
"engines": {
|
|
60
|
-
"node": ">= 18.20.
|
|
57
|
+
"node": ">= 18.20.8"
|
|
61
58
|
},
|
|
62
59
|
"volta": {
|
|
63
60
|
"extends": "../../../../../../package.json"
|
|
64
61
|
},
|
|
65
|
-
"packageManager": "pnpm@8.15.9",
|
|
66
62
|
"typesVersions": {
|
|
67
63
|
"*": {
|
|
68
64
|
"unstable-preview-types": [
|
|
@@ -71,6 +67,9 @@
|
|
|
71
67
|
}
|
|
72
68
|
},
|
|
73
69
|
"scripts": {
|
|
74
|
-
"build:
|
|
70
|
+
"build:pkg": "vite build; vite build -c ./vite.config-cjs.mjs;",
|
|
71
|
+
"sync": "echo \"syncing\"",
|
|
72
|
+
"_temporarily_deactivated_lint": "eslint . --quiet --cache --cache-strategy=content",
|
|
73
|
+
"start": "vite"
|
|
75
74
|
}
|
|
76
75
|
}
|
|
@@ -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-mirror/build-config/-private/utils/logging' {
|
|
2
|
+
import * as LOGGING from '@warp-drive-mirror/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,27 +1,6 @@
|
|
|
1
1
|
declare module '@warp-drive-mirror/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
|
-
IS_RECORDING: boolean;
|
|
22
|
-
IS_CI: boolean;
|
|
23
|
-
SHOULD_RECORD: boolean;
|
|
24
|
-
};
|
|
25
|
-
})[])[];
|
|
2
|
+
type BabelPlugin = [string, Record<string, unknown>, string];
|
|
3
|
+
export function macros(): BabelPlugin[];
|
|
4
|
+
export {};
|
|
26
5
|
}
|
|
27
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"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
declare module '@warp-drive-mirror/build-config/canary-features' {
|
|
2
2
|
/**
|
|
3
|
+
*
|
|
4
|
+
* @module @warp-drive-mirror/build-config
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
3
8
|
* ## Canary Features
|
|
4
9
|
*
|
|
5
10
|
* EmberData allows users to test features that are implemented but not yet
|
|
@@ -32,24 +37,22 @@ declare module '@warp-drive-mirror/build-config/canary-features' {
|
|
|
32
37
|
*
|
|
33
38
|
* ```cli
|
|
34
39
|
* # Activate a single flag
|
|
35
|
-
*
|
|
40
|
+
* WARP_DRIVE_FEATURE_OVERRIDE=SOME_FLAG ember build
|
|
36
41
|
*
|
|
37
42
|
* # Activate multiple flags by separating with commas
|
|
38
|
-
*
|
|
43
|
+
* WARP_DRIVE_FEATURE_OVERRIDE=SOME_FLAG,OTHER_FLAG ember build
|
|
39
44
|
*
|
|
40
45
|
* # Activate all flags
|
|
41
|
-
*
|
|
46
|
+
* WARP_DRIVE_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL ember build
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
44
49
|
* or by setting the appropriate flag in your `ember-cli-build` file:
|
|
45
50
|
*
|
|
46
51
|
* ```ts
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* OTHER_FEATURE_FLAG: true // utilize this new feature, strip code for the older behavior
|
|
52
|
-
* }
|
|
52
|
+
* setConfig(app, __dirname, {
|
|
53
|
+
* features: {
|
|
54
|
+
* SAMPLE_FEATURE_FLAG: false // utliize existing behavior, strip code for the new feature
|
|
55
|
+
* OTHER_FEATURE_FLAG: true // utilize this new feature, strip code for the older behavior
|
|
53
56
|
* }
|
|
54
57
|
* })
|
|
55
58
|
* ```
|
|
@@ -71,22 +74,31 @@ declare module '@warp-drive-mirror/build-config/canary-features' {
|
|
|
71
74
|
* }
|
|
72
75
|
* ```
|
|
73
76
|
*
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
- `null` | The feature is **disabled by default**, but can be enabled via configuration.
|
|
86
|
-
|
|
87
|
-
@class CanaryFeatureFlags
|
|
88
|
-
@public
|
|
77
|
+
* The current list of features used at build time for canary releases is defined below.
|
|
78
|
+
* If empty there are no features currently gated by feature flags.
|
|
79
|
+
*
|
|
80
|
+
* The valid values are:
|
|
81
|
+
*
|
|
82
|
+
* - `true` | The feature is **enabled** at all times, and cannot be disabled.
|
|
83
|
+
* - `false` | The feature is **disabled** at all times, and cannot be enabled.
|
|
84
|
+
* - `null` | The feature is **disabled by default**, but can be enabled via configuration.
|
|
85
|
+
*
|
|
86
|
+
* @class CanaryFeatures
|
|
87
|
+
* @public
|
|
89
88
|
*/
|
|
90
89
|
export const SAMPLE_FEATURE_FLAG: boolean | null;
|
|
90
|
+
/**
|
|
91
|
+
* This upcoming feature adds a validation step to payloads received
|
|
92
|
+
* by the JSONAPICache implementation.
|
|
93
|
+
*
|
|
94
|
+
* When a request completes and the result is given to the cache via
|
|
95
|
+
* `cache.put`, the cache will validate the payload against registered
|
|
96
|
+
* schemas as well as the JSON:API spec.
|
|
97
|
+
*
|
|
98
|
+
* @property JSON_API_CACHE_VALIDATION_ERRORS
|
|
99
|
+
* @since 5.4
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null;
|
|
91
103
|
}
|
|
92
104
|
//# sourceMappingURL=canary-features.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canary-features.d.ts","sourceRoot":"","sources":["../src/canary-features.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"canary-features.d.ts","sourceRoot":"","sources":["../src/canary-features.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFE;AACF,eAAO,MAAM,mBAAmB,EAAE,OAAO,GAAG,IAAW,CAAC;AAExD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAO,GAAG,IAAY,CAAC"}
|
|
@@ -1,64 +1,41 @@
|
|
|
1
1
|
declare module '@warp-drive-mirror/build-config/debugging' {
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* Many portions of the internals are helpfully instrumented with logging that can be activated
|
|
6
|
-
* at build time. This instrumentation is always removed from production builds or any builds
|
|
7
|
-
* that has not explicitly activated it. To activate it set the appropriate flag to `true`.
|
|
8
|
-
*
|
|
9
|
-
@module @warp-drive-mirror/build-config/debugging
|
|
10
|
-
@main @warp-drive-mirror/build-config/debugging
|
|
3
|
+
@module @warp-drive-mirror/build-config
|
|
11
4
|
*/
|
|
12
5
|
/**
|
|
6
|
+
* ## Debug Logging
|
|
13
7
|
*
|
|
14
8
|
* Many portions of the internals are helpfully instrumented with logging that can be activated
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
let app = new EmberApp(defaults, {
|
|
20
|
-
emberData: {
|
|
21
|
-
debug: {
|
|
22
|
-
LOG_PAYLOADS: false, // data store received to update cache with
|
|
23
|
-
LOG_OPERATIONS: false, // updates to cache remote state
|
|
24
|
-
LOG_MUTATIONS: false, // updates to cache local state
|
|
25
|
-
LOG_NOTIFICATIONS: false,
|
|
26
|
-
LOG_REQUESTS: false,
|
|
27
|
-
LOG_REQUEST_STATUS: false,
|
|
28
|
-
LOG_IDENTIFIERS: false,
|
|
29
|
-
LOG_GRAPH: false,
|
|
30
|
-
LOG_INSTANCE_CACHE: false,
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
@class DebugLogging
|
|
37
|
-
@public
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* log payloads received by the store
|
|
41
|
-
* via `push` or returned from a delete/update/create
|
|
42
|
-
* operation.
|
|
9
|
+
* at build time. This instrumentation is always removed from production builds or any builds
|
|
10
|
+
* that has not explicitly activated it. To activate it set the appropriate flag to `true`.
|
|
43
11
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* setConfig(__dirname, app, {
|
|
14
|
+
* debug: {
|
|
15
|
+
* LOG_CACHE: false, // data store received to update cache with
|
|
16
|
+
* LOG_NOTIFICATIONS: false,
|
|
17
|
+
* LOG_REQUESTS: false,
|
|
18
|
+
* LOG_REQUEST_STATUS: false,
|
|
19
|
+
* LOG_IDENTIFIERS: false,
|
|
20
|
+
* LOG_GRAPH: false,
|
|
21
|
+
* LOG_INSTANCE_CACHE: false,
|
|
22
|
+
* LOG_METRIC_COUNTS: false,
|
|
23
|
+
* DEBUG_RELATIONSHIP_NOTIFICATIONS: false,
|
|
24
|
+
* }
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
50
27
|
*
|
|
51
|
-
* @
|
|
28
|
+
* @class DebugLogging
|
|
52
29
|
* @public
|
|
53
30
|
*/
|
|
54
|
-
export const LOG_OPERATIONS: boolean;
|
|
55
31
|
/**
|
|
56
|
-
* log
|
|
32
|
+
* log cache updates for both local
|
|
33
|
+
* and remote state.
|
|
57
34
|
*
|
|
58
|
-
* @property {boolean}
|
|
35
|
+
* @property {boolean} LOG_CACHE
|
|
59
36
|
* @public
|
|
60
37
|
*/
|
|
61
|
-
export const
|
|
38
|
+
export const LOG_CACHE: boolean;
|
|
62
39
|
/**
|
|
63
40
|
* log notifications received by the NotificationManager
|
|
64
41
|
*
|
|
@@ -104,5 +81,32 @@ declare module '@warp-drive-mirror/build-config/debugging' {
|
|
|
104
81
|
* @public
|
|
105
82
|
*/
|
|
106
83
|
export const LOG_INSTANCE_CACHE: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Log key count metrics, useful for performance
|
|
86
|
+
* debugging.
|
|
87
|
+
*
|
|
88
|
+
* @property {boolean} LOG_METRIC_COUNTS
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export const LOG_METRIC_COUNTS: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Helps when debugging causes of a change notification
|
|
94
|
+
* when processing an update to a hasMany relationship.
|
|
95
|
+
*
|
|
96
|
+
* @property {boolean} DEBUG_RELATIONSHIP_NOTIFICATIONS
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* A private flag to enable logging of the native Map/Set
|
|
102
|
+
* constructor and method calls.
|
|
103
|
+
*
|
|
104
|
+
* EXTREMELY MALPERFORMANT
|
|
105
|
+
*
|
|
106
|
+
* LOG_METRIC_COUNTS must also be enabled.
|
|
107
|
+
*
|
|
108
|
+
* @typedoc
|
|
109
|
+
*/
|
|
110
|
+
export const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean;
|
|
107
111
|
}
|
|
108
112
|
//# sourceMappingURL=debugging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../src/debugging.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,OAAe,CAAC;AAExC;;;;;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"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare module '@warp-drive-mirror/build-config/deprecation-versions' {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* @module @warp-drive-mirror/build-config
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* ## Deprecation Management
|
|
4
7
|
*
|
|
5
8
|
* EmberData allows users to opt-in and remove code that exists to support deprecated
|
|
6
9
|
* behaviors.
|
|
@@ -18,53 +21,26 @@ declare module '@warp-drive-mirror/build-config/deprecation-versions' {
|
|
|
18
21
|
* with `3.12`. This would remove any deprecations that were present in or before `3.12`
|
|
19
22
|
* but keep support for anything deprecated in or above `3.13`.
|
|
20
23
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* To configure your compatibility version, set the `compatWith` to the version you
|
|
24
|
-
* are compatible with on the `emberData` config in your `ember-cli-build.js` file.
|
|
25
|
-
*
|
|
26
|
-
* ```js
|
|
27
|
-
* const { setConfig } = await import('@warp-drive-mirror/build-config');
|
|
28
|
-
*
|
|
29
|
-
* let app = new EmberApp(defaults, {});
|
|
30
|
-
*
|
|
31
|
-
* setConfig(app, __dirname, { compatWith: '3.12' });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* Alternatively, individual deprecations can be resolved (and thus have its support stripped)
|
|
35
|
-
* via one of the flag names listed below. For instance, given a flag named `DEPRECATE_FOO_BEHAVIOR`.
|
|
36
|
-
*
|
|
37
|
-
* This capability is interopable with `compatWith`. You may set `compatWith` and then selectively resolve
|
|
38
|
-
* additional deprecations, or set compatWith and selectively un-resolve specific deprecations.
|
|
39
|
-
*
|
|
40
|
-
* Note: EmberData does not test against permutations of deprecations being stripped, our tests run against
|
|
41
|
-
* "all deprecated code included" and "all deprecated code removed". Unspecified behavior may sometimes occur
|
|
42
|
-
* when removing code for only some deprecations associated to a version number.
|
|
43
|
-
*
|
|
44
|
-
* ```js
|
|
45
|
-
* const { setConfig } = await import('@warp-drive-mirror/build-config');
|
|
46
|
-
*
|
|
47
|
-
* let app = new EmberApp(defaults, {});
|
|
24
|
+
* You may also specify that specific deprecations are resolved. These approaches
|
|
25
|
+
* may be used together.
|
|
48
26
|
*
|
|
27
|
+
* ```ts
|
|
49
28
|
* setConfig(app, __dirname, {
|
|
29
|
+
* // that all deprecations through "5.0" have been fully resolved
|
|
30
|
+
* compatWith: '5.0',
|
|
31
|
+
*
|
|
32
|
+
* // mark individual deprecations as resolved by setting them to `false`
|
|
50
33
|
* deprecations: {
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* }
|
|
34
|
+
* // resolve individual deprecations here
|
|
35
|
+
* },
|
|
54
36
|
* });
|
|
55
37
|
* ```
|
|
56
38
|
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
/**
|
|
64
|
-
* The following list represents deprecations currently active.
|
|
65
|
-
*
|
|
66
|
-
* Some deprecation flags guard multiple deprecation IDs. All
|
|
67
|
-
* associated IDs are listed.
|
|
39
|
+
* > [!TIP]
|
|
40
|
+
* > EmberData does not test against permutations of deprecations
|
|
41
|
+
* > being stripped, our tests run against "all deprecated code included"
|
|
42
|
+
* > and "all deprecated code removed". Unspecified behavior may sometimes occur
|
|
43
|
+
* > when removing code for only some deprecations associated to a version number.
|
|
68
44
|
*
|
|
69
45
|
* @class CurrentDeprecations
|
|
70
46
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmBH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;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"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
/// <reference path="./deprecation-versions.d.ts" />
|
|
2
1
|
/// <reference path="./deprecations.d.ts" />
|
|
3
|
-
/// <reference path="./
|
|
4
|
-
/// <reference path="./canary-features.d.ts" />
|
|
2
|
+
/// <reference path="./debugging.d.ts" />
|
|
5
3
|
/// <reference path="./cjs-set-config.d.ts" />
|
|
4
|
+
/// <reference path="./deprecation-versions.d.ts" />
|
|
6
5
|
/// <reference path="./babel-macros.d.ts" />
|
|
7
|
-
/// <reference path="./env.d.ts" />
|
|
8
|
-
/// <reference path="./debugging.d.ts" />
|
|
9
6
|
/// <reference path="./validate-exports.type-test.d.ts" />
|
|
7
|
+
/// <reference path="./macros.d.ts" />
|
|
8
|
+
/// <reference path="./canary-features.d.ts" />
|
|
9
|
+
/// <reference path="./env.d.ts" />
|
|
10
10
|
/// <reference path="./-private/utils/deprecations.d.ts" />
|
|
11
11
|
/// <reference path="./-private/utils/get-env.d.ts" />
|
|
12
|
+
/// <reference path="./-private/utils/logging.d.ts" />
|
|
12
13
|
/// <reference path="./-private/utils/features.d.ts" />
|
|
13
14
|
declare module '@warp-drive-mirror/build-config' {
|
|
14
15
|
import { getDeprecations } from '@warp-drive-mirror/build-config/-private/utils/deprecations.ts';
|
|
@@ -32,12 +33,16 @@ declare module '@warp-drive-mirror/build-config' {
|
|
|
32
33
|
compatWith: `${number}.${number}` | null;
|
|
33
34
|
deprecations: ReturnType<typeof getDeprecations>;
|
|
34
35
|
features: ReturnType<typeof getFeatures>;
|
|
36
|
+
activeLogging: {
|
|
37
|
+
[key in LOG_CONFIG_KEY]: boolean;
|
|
38
|
+
};
|
|
35
39
|
env: {
|
|
36
40
|
TESTING: boolean;
|
|
37
41
|
PRODUCTION: boolean;
|
|
38
42
|
DEBUG: boolean;
|
|
39
43
|
};
|
|
40
44
|
};
|
|
45
|
+
export function setConfig(macros: object, config: WarpDriveConfig): void;
|
|
41
46
|
export function setConfig(context: object, appRoot: string, config: WarpDriveConfig): void;
|
|
42
47
|
export {};
|
|
43
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6DA,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,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;AACzE,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canary-features-BzGSGY5j.js","sources":["../src/canary-features.ts"],"sourcesContent":["/**\n * ## Canary Features\n *\n * EmberData allows users to test features that are implemented but not yet\n * available even in canary.\n *\n * Typically these features represent work that might introduce a new concept,\n * new API, change an API, or risk an unintended change in behavior to consuming\n * applications.\n *\n * Such features have their implementations guarded by a \"feature flag\", and the\n * flag is only activated once the core-data team is prepared to ship the work\n * in a canary release.\n *\n * ### Installing Canary\n *\n * To test a feature you MUST be using a canary build. Canary builds are published\n * to `npm` and can be installed using a precise tag (such as `ember-data@3.16.0-alpha.1`)\n * or by installing the latest dist-tag published to the `canary` channel using your javascript\n * package manager of choice. For instance with [pnpm](https://pnpm.io/)\n\n ```cli\n pnpm add ember-data@canary\n ```\n *\n * ### Activating a Canary Feature\n *\n * Once you have installed canary, feature-flags can be activated at build-time\n *\n * by setting an environment variable:\n *\n * ```cli\n * # Activate a single flag\n * EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG ember build\n *\n * # Activate multiple flags by separating with commas\n * EMBER_DATA_FEATURE_OVERRIDE=SOME_FLAG,OTHER_FLAG ember build\n *\n * # Activate all flags\n * EMBER_DATA_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL ember build\n * ```\n *\n * or by setting the appropriate flag in your `ember-cli-build` file:\n *\n * ```ts\n * let app = new EmberApp(defaults, {\n * emberData: {\n * features: {\n * SAMPLE_FEATURE_FLAG: false // utliize existing behavior, strip code for the new feature\n * OTHER_FEATURE_FLAG: true // utilize this new feature, strip code for the older behavior\n * }\n * }\n * })\n * ```\n *\n * **The \"off\" branch of feature-flagged code is always stripped from production builds.**\n *\n * The list of available feature-flags is located [here](https://github.com/emberjs/data/tree/main/packages/build-config/src/virtual/canary-features.ts \"List of EmberData FeatureFlags\")\n *\n *\n * ### Preparing a Project to use a Canary Feature\n *\n * For most projects, simple version detection should be enough.\n * Using the provided version compatibility helpers from [embroider-macros](https://github.com/embroider-build/embroider/tree/main/packages/macros#readme)\n * the following can be done:\n *\n * ```js\n * if (macroCondition(dependencySatisfies('@ember-data-mirror/store', '5.0'))) {\n * // do thing\n * }\n * ```\n *\n @module @warp-drive-mirror/build-config/canary-features\n @main @warp-drive-mirror/build-config/canary-features\n */\n/**\n This is the current list of features used at build time for canary releases.\n If empty there are no features currently gated by feature flags.\n\n The valid values are:\n\n - `true` | The feature is **enabled** at all times, and cannot be disabled.\n - `false` | The feature is **disabled** at all times, and cannot be enabled.\n - `null` | The feature is **disabled by default**, but can be enabled via configuration.\n\n @class CanaryFeatureFlags\n @public\n*/\nexport const SAMPLE_FEATURE_FLAG: boolean | null = null;\n"],"names":["SAMPLE_FEATURE_FLAG"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,mBAAmC,GAAG;;;;;;;;;"}
|