@atlaspack/feature-flags 2.13.2-dev.3682 → 2.13.2-dev.3689
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/lib/index.js +2 -1
- package/lib/types.d.ts +6 -0
- package/package.json +2 -2
- package/src/index.js +1 -0
- package/src/types.js +5 -0
package/lib/index.js
CHANGED
|
@@ -21,7 +21,8 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
21
21
|
conditionalBundlingApi: false,
|
|
22
22
|
vcsMode: 'OLD',
|
|
23
23
|
loadableSideEffects: false,
|
|
24
|
-
reduceResolverStringCreation: false
|
|
24
|
+
reduceResolverStringCreation: false,
|
|
25
|
+
patchProjectPaths: false
|
|
25
26
|
};
|
|
26
27
|
let featureFlagValues = {
|
|
27
28
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
|
@@ -53,5 +53,11 @@ export type FeatureFlags = {
|
|
|
53
53
|
* conversions
|
|
54
54
|
*/
|
|
55
55
|
reduceResolverStringCreation: boolean;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Enable patch project paths. This will patch the project paths to be relative to the project root.
|
|
59
|
+
* This feature is experimental and should not be used in production. It will used to test downloadble cache artefacts.
|
|
60
|
+
*/
|
|
61
|
+
patchProjectPaths: boolean;
|
|
56
62
|
};
|
|
57
63
|
export type ConsistencyCheckFeatureFlagValue = "NEW" | "OLD" | "NEW_AND_CHECK" | "OLD_AND_CHECK";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/feature-flags",
|
|
3
|
-
"version": "2.13.2-dev.
|
|
3
|
+
"version": "2.13.2-dev.3689+7a2e6e783",
|
|
4
4
|
"description": "Provides internal feature-flags for the atlaspack codebase.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 16.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "7a2e6e7835fa846b27021b374097c6a4f37541ba"
|
|
24
24
|
}
|
package/src/index.js
CHANGED
package/src/types.js
CHANGED
|
@@ -46,6 +46,11 @@ export type FeatureFlags = {|
|
|
|
46
46
|
* conversions
|
|
47
47
|
*/
|
|
48
48
|
reduceResolverStringCreation: boolean,
|
|
49
|
+
/**
|
|
50
|
+
* Enable patch project paths. This will patch the project paths to be relative to the project root.
|
|
51
|
+
* This feature is experimental and should not be used in production. It will used to test downloadble cache artefacts.
|
|
52
|
+
*/
|
|
53
|
+
patchProjectPaths: boolean,
|
|
49
54
|
|};
|
|
50
55
|
|
|
51
56
|
export type ConsistencyCheckFeatureFlagValue =
|