@atlaspack/feature-flags 2.14.4 → 2.15.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaspack/feature-flags
2
2
 
3
+ ## 2.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#547](https://github.com/atlassian-labs/atlaspack/pull/547) [`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929) Thanks [@benjervis](https://github.com/benjervis)! - Add a feature flag for resolving the configuration for `@atlaspack/bundler-default` from CWD, rather than exclusively from the project root.
8
+
3
9
  ## 2.14.4
4
10
 
5
11
  ### Patch Changes
package/lib/index.js CHANGED
@@ -28,7 +28,8 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
28
28
  cachePerformanceImprovements: false,
29
29
  inlineStringReplacementPerf: false,
30
30
  conditionalBundlingAsyncRuntime: false,
31
- conditionalBundlingReporterDuplicateFix: false
31
+ conditionalBundlingReporterDuplicateFix: false,
32
+ resolveBundlerConfigFromCwd: false
32
33
  };
33
34
  let featureFlagValues = {
34
35
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -92,5 +92,10 @@ export type FeatureFlags = {
92
92
  * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
93
93
  */
94
94
  conditionalBundlingReporterDuplicateFix: boolean;
95
+
96
+ /**
97
+ * Enable resolution of bundler config starting from the CWD
98
+ */
99
+ resolveBundlerConfigFromCwd: boolean;
95
100
  };
96
101
  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.14.4",
3
+ "version": "2.15.0",
4
4
  "description": "Provides internal feature-flags for the atlaspack codebase.",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
package/src/index.js CHANGED
@@ -24,6 +24,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
24
24
  inlineStringReplacementPerf: false,
25
25
  conditionalBundlingAsyncRuntime: false,
26
26
  conditionalBundlingReporterDuplicateFix: false,
27
+ resolveBundlerConfigFromCwd: false,
27
28
  };
28
29
 
29
30
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -78,6 +78,10 @@ export type FeatureFlags = {|
78
78
  * Fix a bug where the conditional manifest reporter would report and write the same manifest multiple times
79
79
  */
80
80
  conditionalBundlingReporterDuplicateFix: boolean,
81
+ /**
82
+ * Enable resolution of bundler config starting from the CWD
83
+ */
84
+ resolveBundlerConfigFromCwd: boolean,
81
85
  |};
82
86
 
83
87
  export type ConsistencyCheckFeatureFlagValue =