@warp-drive-mirror/build-config 5.6.0-alpha.1 → 5.6.0-alpha.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/declarations/-private/utils/deprecations.d.ts +10 -0
- package/declarations/-private/utils/features.d.ts +7 -0
- package/declarations/-private/utils/get-env.d.ts +9 -0
- package/declarations/-private/utils/logging.d.ts +12 -0
- package/declarations/babel-macros.d.ts +14 -0
- package/declarations/babel-macros.d.ts.map +1 -0
- package/declarations/canary-features.d.ts +137 -0
- package/declarations/canary-features.d.ts.map +1 -0
- package/declarations/cjs-set-config.d.ts +2 -0
- package/declarations/debugging.d.ts +173 -0
- package/declarations/debugging.d.ts.map +1 -0
- package/declarations/deprecation-versions.d.ts +14 -0
- package/declarations/deprecation-versions.d.ts.map +1 -0
- package/declarations/deprecations.d.ts +517 -0
- package/declarations/deprecations.d.ts.map +1 -0
- package/declarations/env.d.ts +130 -0
- package/declarations/env.d.ts.map +1 -0
- package/declarations/index.d.ts +98 -0
- package/declarations/index.d.ts.map +1 -0
- package/declarations/macros.d.ts +19 -0
- package/declarations/macros.d.ts.map +1 -0
- package/declarations/validate-exports.type-test.d.ts +2 -0
- package/dist/babel-macros.js +45 -12
- package/dist/babel-macros.js.map +1 -1
- package/dist/babel-plugin-transform-asserts.cjs +2 -2
- package/dist/babel-plugin-transform-asserts.cjs.map +1 -1
- package/dist/babel-plugin-transform-deprecations.cjs +2 -2
- package/dist/babel-plugin-transform-deprecations.cjs.map +1 -1
- package/dist/babel-plugin-transform-features.cjs +2 -2
- package/dist/babel-plugin-transform-features.cjs.map +1 -1
- package/dist/babel-plugin-transform-logging.cjs +2 -2
- package/dist/babel-plugin-transform-logging.cjs.map +1 -1
- package/dist/canary-features-CuKgaVtX.js +147 -0
- package/dist/canary-features-CuKgaVtX.js.map +1 -0
- package/dist/canary-features.js +1 -1
- package/dist/cjs-set-config.cjs +152 -603
- package/dist/cjs-set-config.cjs.map +1 -1
- package/dist/{debugging-BtpYr1v0.js → debugging-VdsvkNjX.js} +80 -62
- package/dist/debugging-VdsvkNjX.js.map +1 -0
- package/dist/debugging.js +1 -1
- package/dist/deprecations-BNNGFAiG.js +549 -0
- package/dist/deprecations-BNNGFAiG.js.map +1 -0
- package/dist/deprecations.js +1 -1
- package/dist/env.js +124 -0
- package/dist/env.js.map +1 -1
- package/dist/index.js +12 -515
- package/dist/index.js.map +1 -1
- package/dist/macros.js +18 -0
- package/dist/macros.js.map +1 -1
- package/package.json +6 -18
- package/dist/canary-features-D1wplYmb.js +0 -113
- package/dist/canary-features-D1wplYmb.js.map +0 -1
- package/dist/debugging-BtpYr1v0.js.map +0 -1
- package/dist/deprecations-D_dBAPC9.js +0 -34
- package/dist/deprecations-D_dBAPC9.js.map +0 -1
- package/unstable-preview-types/-private/utils/deprecations.d.ts +0 -12
- package/unstable-preview-types/-private/utils/features.d.ts +0 -9
- package/unstable-preview-types/-private/utils/get-env.d.ts +0 -11
- package/unstable-preview-types/-private/utils/logging.d.ts +0 -14
- package/unstable-preview-types/babel-macros.d.ts +0 -6
- package/unstable-preview-types/babel-macros.d.ts.map +0 -1
- package/unstable-preview-types/canary-features.d.ts +0 -105
- package/unstable-preview-types/canary-features.d.ts.map +0 -1
- package/unstable-preview-types/cjs-set-config.d.ts +0 -4
- package/unstable-preview-types/debugging.d.ts +0 -164
- package/unstable-preview-types/debugging.d.ts.map +0 -1
- package/unstable-preview-types/deprecation-versions.d.ts +0 -485
- package/unstable-preview-types/deprecation-versions.d.ts.map +0 -1
- package/unstable-preview-types/deprecations.d.ts +0 -16
- package/unstable-preview-types/deprecations.d.ts.map +0 -1
- package/unstable-preview-types/env.d.ts +0 -9
- package/unstable-preview-types/env.d.ts.map +0 -1
- package/unstable-preview-types/index.d.ts +0 -49
- package/unstable-preview-types/index.d.ts.map +0 -1
- package/unstable-preview-types/macros.d.ts +0 -5
- package/unstable-preview-types/macros.d.ts.map +0 -1
- package/unstable-preview-types/validate-exports.type-test.d.ts +0 -4
- /package/{unstable-preview-types → declarations}/-private/utils/deprecations.d.ts.map +0 -0
- /package/{unstable-preview-types → declarations}/-private/utils/features.d.ts.map +0 -0
- /package/{unstable-preview-types → declarations}/-private/utils/get-env.d.ts.map +0 -0
- /package/{unstable-preview-types → declarations}/-private/utils/logging.d.ts.map +0 -0
- /package/{unstable-preview-types → declarations}/cjs-set-config.d.ts.map +0 -0
- /package/{unstable-preview-types → declarations}/validate-exports.type-test.d.ts.map +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference path="./deprecations.d.ts" />
|
|
2
|
-
/// <reference path="./babel-macros.d.ts" />
|
|
3
|
-
/// <reference path="./canary-features.d.ts" />
|
|
4
|
-
/// <reference path="./env.d.ts" />
|
|
5
|
-
/// <reference path="./cjs-set-config.d.ts" />
|
|
6
|
-
/// <reference path="./deprecation-versions.d.ts" />
|
|
7
|
-
/// <reference path="./validate-exports.type-test.d.ts" />
|
|
8
|
-
/// <reference path="./debugging.d.ts" />
|
|
9
|
-
/// <reference path="./macros.d.ts" />
|
|
10
|
-
/// <reference path="./-private/utils/deprecations.d.ts" />
|
|
11
|
-
/// <reference path="./-private/utils/get-env.d.ts" />
|
|
12
|
-
/// <reference path="./-private/utils/features.d.ts" />
|
|
13
|
-
/// <reference path="./-private/utils/logging.d.ts" />
|
|
14
|
-
declare module '@warp-drive-mirror/build-config' {
|
|
15
|
-
import { getDeprecations } from '@warp-drive-mirror/build-config/-private/utils/deprecations.ts';
|
|
16
|
-
import { getFeatures } from '@warp-drive-mirror/build-config/-private/utils/features.ts';
|
|
17
|
-
import * as LOGGING from '@warp-drive-mirror/build-config/debugging.ts';
|
|
18
|
-
type LOG_CONFIG_KEY = keyof typeof LOGGING;
|
|
19
|
-
export type WarpDriveConfig = {
|
|
20
|
-
debug?: Partial<InternalWarpDriveConfig['debug']>;
|
|
21
|
-
polyfillUUID?: boolean;
|
|
22
|
-
includeDataAdapterInProduction?: boolean;
|
|
23
|
-
compatWith?: `${number}.${number}`;
|
|
24
|
-
deprecations?: Partial<InternalWarpDriveConfig['deprecations']>;
|
|
25
|
-
features?: Partial<InternalWarpDriveConfig['features']>;
|
|
26
|
-
};
|
|
27
|
-
type InternalWarpDriveConfig = {
|
|
28
|
-
debug: {
|
|
29
|
-
[key in LOG_CONFIG_KEY]: boolean;
|
|
30
|
-
};
|
|
31
|
-
polyfillUUID: boolean;
|
|
32
|
-
includeDataAdapter: boolean;
|
|
33
|
-
compatWith: `${number}.${number}` | null;
|
|
34
|
-
deprecations: ReturnType<typeof getDeprecations>;
|
|
35
|
-
features: ReturnType<typeof getFeatures>;
|
|
36
|
-
activeLogging: {
|
|
37
|
-
[key in LOG_CONFIG_KEY]: boolean;
|
|
38
|
-
};
|
|
39
|
-
env: {
|
|
40
|
-
TESTING: boolean;
|
|
41
|
-
PRODUCTION: boolean;
|
|
42
|
-
DEBUG: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export function setConfig(macros: object, config: WarpDriveConfig): void;
|
|
46
|
-
export function setConfig(context: object, appRoot: string, config: WarpDriveConfig): void;
|
|
47
|
-
export {};
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA+DA,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;IAC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changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|