expo-system-ui 1.2.0 → 2.0.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
@@ -10,6 +10,28 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.0.0 — 2022-10-25
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - [plugin] Upgrade minimum runtime requirement to Node 14 (LTS). ([#18204](https://github.com/expo/expo/pull/18204) by [@EvanBacon](https://github.com/EvanBacon))
18
+ - Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. ([#18873](https://github.com/expo/expo/pull/18873) by [@tsapeta](https://github.com/tsapeta))
19
+
20
+ ### 💡 Others
21
+
22
+ - [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. ([#18855](https://github.com/expo/expo/pull/18855) by [@brentvatne](https://github.com/brentvatne))
23
+ - Drop `@expo/config-plugins` dependency in favor of peer dependency on `expo`. ([#18595](https://github.com/expo/expo/pull/18595) by [@EvanBacon](https://github.com/EvanBacon))
24
+
25
+ ## 1.3.0 — 2022-07-07
26
+
27
+ ### 🐛 Bug fixes
28
+
29
+ - Fix color setting on web. ([#17558](https://github.com/expo/expo/pull/17558) by [@EvanBacon](https://github.com/EvanBacon))
30
+
31
+ ### 💡 Others
32
+
33
+ - Migrated Expo modules definitions to the new naming convention. ([#17193](https://github.com/expo/expo/pull/17193) by [@tsapeta](https://github.com/tsapeta))
34
+
13
35
  ## 1.2.0 — 2022-04-18
14
36
 
15
37
  ### 💡 Others
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '1.2.0'
6
+ version = '2.0.0'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -74,7 +74,7 @@ android {
74
74
  minSdkVersion safeExtGet("minSdkVersion", 21)
75
75
  targetSdkVersion safeExtGet("targetSdkVersion", 31)
76
76
  versionCode 1
77
- versionName '1.2.0'
77
+ versionName '2.0.0'
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -1 +1 @@
1
- {"version":3,"file":"SystemUI.d.ts","sourceRoot":"","sources":["../src/SystemUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAIxD;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAG9E;AAED;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAE1E"}
1
+ {"version":3,"file":"SystemUI.d.ts","sourceRoot":"","sources":["../src/SystemUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,cAAc,CAAC;AAIlE;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAG9E;AAED;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAE1E"}
package/build/SystemUI.js CHANGED
@@ -1,4 +1,4 @@
1
- import { processColor } from 'react-native';
1
+ import { Platform, processColor } from 'react-native';
2
2
  import ExpoSystemUI from './ExpoSystemUI';
3
3
  /**
4
4
  * Changes the root view background color.
@@ -10,7 +10,7 @@ import ExpoSystemUI from './ExpoSystemUI';
10
10
  * @param color Any valid [CSS 3 (SVG) color](http://www.w3.org/TR/css3-color/#svg-color).
11
11
  */
12
12
  export async function setBackgroundColorAsync(color) {
13
- const colorNumber = processColor(color);
13
+ const colorNumber = Platform.OS === 'web' ? color : processColor(color);
14
14
  return await ExpoSystemUI.setBackgroundColorAsync(colorNumber);
15
15
  }
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SystemUI.js","sourceRoot":"","sources":["../src/SystemUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,KAAiB;IAC7D,MAAM,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACxC,OAAO,MAAM,YAAY,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;AACjE,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB;IAC3C,OAAO,MAAM,YAAY,CAAC,uBAAuB,EAAE,CAAC;AACtD,CAAC","sourcesContent":["import { ColorValue, processColor } from 'react-native';\n\nimport ExpoSystemUI from './ExpoSystemUI';\n\n/**\n * Changes the root view background color.\n *\n * @example\n * ```ts\n * SystemUI.setBackgroundColorAsync(\"white\");\n * ```\n * @param color Any valid [CSS 3 (SVG) color](http://www.w3.org/TR/css3-color/#svg-color).\n */\nexport async function setBackgroundColorAsync(color: ColorValue): Promise<void> {\n const colorNumber = processColor(color);\n return await ExpoSystemUI.setBackgroundColorAsync(colorNumber);\n}\n\n/**\n * Gets the root view background color.\n *\n * @example\n * ```ts\n * const color = await SystemUI.getBackgroundColorAsync();\n * ```\n * @returns Current root view background color in hex format. Returns `null` if the background color is not set.\n */\nexport async function getBackgroundColorAsync(): Promise<ColorValue | null> {\n return await ExpoSystemUI.getBackgroundColorAsync();\n}\n"]}
1
+ {"version":3,"file":"SystemUI.js","sourceRoot":"","sources":["../src/SystemUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAElE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,KAAiB;IAC7D,MAAM,WAAW,GAAG,QAAQ,CAAC,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACxE,OAAO,MAAM,YAAY,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;AACjE,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB;IAC3C,OAAO,MAAM,YAAY,CAAC,uBAAuB,EAAE,CAAC;AACtD,CAAC","sourcesContent":["import { ColorValue, Platform, processColor } from 'react-native';\n\nimport ExpoSystemUI from './ExpoSystemUI';\n\n/**\n * Changes the root view background color.\n *\n * @example\n * ```ts\n * SystemUI.setBackgroundColorAsync(\"white\");\n * ```\n * @param color Any valid [CSS 3 (SVG) color](http://www.w3.org/TR/css3-color/#svg-color).\n */\nexport async function setBackgroundColorAsync(color: ColorValue): Promise<void> {\n const colorNumber = Platform.OS === 'web' ? color : processColor(color);\n return await ExpoSystemUI.setBackgroundColorAsync(colorNumber);\n}\n\n/**\n * Gets the root view background color.\n *\n * @example\n * ```ts\n * const color = await SystemUI.getBackgroundColorAsync();\n * ```\n * @returns Current root view background color in hex format. Returns `null` if the background color is not set.\n */\nexport async function getBackgroundColorAsync(): Promise<ColorValue | null> {\n return await ExpoSystemUI.getBackgroundColorAsync();\n}\n"]}
@@ -4,20 +4,20 @@ import ExpoModulesCore
4
4
 
5
5
  public class ExpoSystemUIModule: Module {
6
6
  public func definition() -> ModuleDefinition {
7
- name("ExpoSystemUI")
7
+ Name("ExpoSystemUI")
8
8
 
9
- onCreate {
9
+ OnCreate {
10
10
  // TODO: Maybe read from the app manifest instead of from Info.plist.
11
11
  // Set / reset the initial color on reload and app start.
12
12
  let color = Bundle.main.object(forInfoDictionaryKey: "RCTRootViewBackgroundColor") as? Int
13
13
  Self.setBackgroundColorAsync(color: color)
14
14
  }
15
15
 
16
- function("getBackgroundColorAsync") { () -> String? in
16
+ AsyncFunction("getBackgroundColorAsync") { () -> String? in
17
17
  Self.getBackgroundColor()
18
18
  }
19
19
 
20
- function("setBackgroundColorAsync") { (color: Int) in
20
+ AsyncFunction("setBackgroundColorAsync") { (color: Int) in
21
21
  Self.setBackgroundColorAsync(color: color)
22
22
  }
23
23
  }
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
  s.license = package['license']
11
11
  s.author = package['author']
12
12
  s.homepage = package['homepage']
13
- s.platform = :ios, '12.0'
13
+ s.platform = :ios, '13.0'
14
14
  s.swift_version = '5.4'
15
15
  s.source = { git: 'https://github.com/expo/expo.git' }
16
16
  s.static_framework = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-system-ui",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Interact with system UI elements",
5
5
  "main": "build/SystemUI.js",
6
6
  "types": "build/SystemUI.d.ts",
@@ -32,7 +32,6 @@
32
32
  "license": "MIT",
33
33
  "homepage": "https://docs.expo.dev/versions/latest/sdk/system-ui",
34
34
  "dependencies": {
35
- "@expo/config-plugins": "^4.0.14",
36
35
  "@react-native/normalize-color": "^2.0.0",
37
36
  "debug": "^4.3.2"
38
37
  },
@@ -40,10 +39,10 @@
40
39
  "preset": "expo-module-scripts"
41
40
  },
42
41
  "devDependencies": {
43
- "expo-module-scripts": "^2.0.0"
42
+ "expo-module-scripts": "^3.0.0"
44
43
  },
45
44
  "peerDependencies": {
46
45
  "expo": "*"
47
46
  },
48
- "gitHead": "22dce752354bb429c84851bc4389abe47a766b1f"
47
+ "gitHead": "eab2b09c735fb0fc2bf734a3f29a6593adba3838"
49
48
  }
@@ -1,5 +1,5 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
1
+ import { ExpoConfig } from 'expo/config';
2
+ import { ConfigPlugin } from 'expo/config-plugins';
3
3
  export declare const withAndroidRootViewBackgroundColor: ConfigPlugin;
4
4
  export declare const withRootViewBackgroundColorColors: ConfigPlugin;
5
5
  export declare const withRootViewBackgroundColorStyles: ConfigPlugin;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRootViewBackgroundColor = exports.withRootViewBackgroundColorStyles = exports.withRootViewBackgroundColorColors = exports.withAndroidRootViewBackgroundColor = void 0;
4
- const config_plugins_1 = require("@expo/config-plugins");
4
+ const config_plugins_1 = require("expo/config-plugins");
5
5
  const { assignColorValue } = config_plugins_1.AndroidConfig.Colors;
6
6
  const { assignStylesValue, getAppThemeLightNoActionBarGroup } = config_plugins_1.AndroidConfig.Styles;
7
7
  const ANDROID_WINDOW_BACKGROUND = 'android:windowBackground';
@@ -35,7 +35,6 @@ const withRootViewBackgroundColorStyles = (config) => {
35
35
  };
36
36
  exports.withRootViewBackgroundColorStyles = withRootViewBackgroundColorStyles;
37
37
  function getRootViewBackgroundColor(config) {
38
- var _a;
39
- return ((_a = config.android) === null || _a === void 0 ? void 0 : _a.backgroundColor) || config.backgroundColor || null;
38
+ return config.android?.backgroundColor || config.backgroundColor || null;
40
39
  }
41
40
  exports.getRootViewBackgroundColor = getRootViewBackgroundColor;
@@ -1,5 +1,5 @@
1
- import { AndroidConfig, ConfigPlugin } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
1
+ import { ExpoConfig } from 'expo/config';
2
+ import { AndroidConfig, ConfigPlugin } from 'expo/config-plugins';
3
3
  export declare type Props = {
4
4
  userInterfaceStyle?: ExpoConfig['userInterfaceStyle'];
5
5
  };
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.setStrings = exports.resolveProps = exports.withAndroidUserInterfaceStyle = void 0;
7
- const config_plugins_1 = require("@expo/config-plugins");
8
7
  const assert_1 = __importDefault(require("assert"));
8
+ const config_plugins_1 = require("expo/config-plugins");
9
9
  // strings.xml keys, this should not change.
10
10
  const USER_INTERFACE_STYLE_KEY = 'expo_system_ui_user_interface_style';
11
11
  const withAndroidUserInterfaceStyle = (config) => {
@@ -16,8 +16,7 @@ const withAndroidUserInterfaceStyle = (config) => {
16
16
  };
17
17
  exports.withAndroidUserInterfaceStyle = withAndroidUserInterfaceStyle;
18
18
  function resolveProps(config) {
19
- var _a, _b;
20
- const userInterfaceStyle = (_b = (_a = config.android) === null || _a === void 0 ? void 0 : _a.userInterfaceStyle) !== null && _b !== void 0 ? _b : config.userInterfaceStyle;
19
+ const userInterfaceStyle = config.android?.userInterfaceStyle ?? config.userInterfaceStyle;
21
20
  (0, assert_1.default)(!userInterfaceStyle || ['automatic', 'light', 'dark'].includes(userInterfaceStyle), `expo-system-ui: Invalid userInterfaceStyle: "${userInterfaceStyle}"`);
22
21
  return { userInterfaceStyle };
23
22
  }
@@ -1,5 +1,5 @@
1
- import { ConfigPlugin, InfoPlist } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
1
+ import { ExpoConfig } from 'expo/config';
2
+ import { ConfigPlugin, InfoPlist } from 'expo/config-plugins';
3
3
  export declare const withIosRootViewBackgroundColor: ConfigPlugin;
4
4
  export declare function setRootViewBackgroundColor(config: Pick<ExpoConfig, 'backgroundColor' | 'ios'>, infoPlist: InfoPlist): InfoPlist;
5
5
  export declare function getRootViewBackgroundColor(config: Pick<ExpoConfig, 'ios' | 'backgroundColor'>): string | null;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getRootViewBackgroundColor = exports.setRootViewBackgroundColor = exports.withIosRootViewBackgroundColor = void 0;
7
- const config_plugins_1 = require("@expo/config-plugins");
8
7
  // @ts-ignore: uses flow
9
8
  const normalize_color_1 = __importDefault(require("@react-native/normalize-color"));
9
+ const config_plugins_1 = require("expo/config-plugins");
10
10
  // Maps to the template AppDelegate.m
11
11
  const BACKGROUND_COLOR_KEY = 'RCTRootViewBackgroundColor';
12
12
  const debug = require('debug')('expo:system-ui:plugin:ios');
@@ -36,7 +36,6 @@ function setRootViewBackgroundColor(config, infoPlist) {
36
36
  }
37
37
  exports.setRootViewBackgroundColor = setRootViewBackgroundColor;
38
38
  function getRootViewBackgroundColor(config) {
39
- var _a;
40
- return ((_a = config.ios) === null || _a === void 0 ? void 0 : _a.backgroundColor) || config.backgroundColor || null;
39
+ return config.ios?.backgroundColor || config.backgroundColor || null;
41
40
  }
42
41
  exports.getRootViewBackgroundColor = getRootViewBackgroundColor;
@@ -1,5 +1,5 @@
1
- import { InfoPlist, ConfigPlugin } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
1
+ import { ExpoConfig } from 'expo/config';
2
+ import { InfoPlist, ConfigPlugin } from 'expo/config-plugins';
3
3
  export declare const withIosUserInterfaceStyle: ConfigPlugin;
4
4
  export declare function getUserInterfaceStyle(config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>): string;
5
5
  export declare function setUserInterfaceStyle(config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>, { UIUserInterfaceStyle, ...infoPlist }: InfoPlist): InfoPlist;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setUserInterfaceStyle = exports.getUserInterfaceStyle = exports.withIosUserInterfaceStyle = void 0;
4
- const config_plugins_1 = require("@expo/config-plugins");
4
+ const config_plugins_1 = require("expo/config-plugins");
5
5
  const withIosUserInterfaceStyle = (config) => {
6
6
  return (0, config_plugins_1.withInfoPlist)(config, (config) => {
7
7
  config.modResults = setUserInterfaceStyle(config, config.modResults);
@@ -10,8 +10,7 @@ const withIosUserInterfaceStyle = (config) => {
10
10
  };
11
11
  exports.withIosUserInterfaceStyle = withIosUserInterfaceStyle;
12
12
  function getUserInterfaceStyle(config) {
13
- var _a, _b, _c;
14
- return (_c = (_b = (_a = config.ios) === null || _a === void 0 ? void 0 : _a.userInterfaceStyle) !== null && _b !== void 0 ? _b : config.userInterfaceStyle) !== null && _c !== void 0 ? _c : 'light';
13
+ return config.ios?.userInterfaceStyle ?? config.userInterfaceStyle ?? 'light';
15
14
  }
16
15
  exports.getUserInterfaceStyle = getUserInterfaceStyle;
17
16
  function setUserInterfaceStyle(config, { UIUserInterfaceStyle, ...infoPlist }) {
@@ -1,3 +1,3 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
1
+ import { ConfigPlugin } from 'expo/config-plugins';
2
2
  declare const _default: ConfigPlugin<void>;
3
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const config_plugins_1 = require("@expo/config-plugins");
3
+ const config_plugins_1 = require("expo/config-plugins");
4
4
  const withAndroidRootViewBackgroundColor_1 = require("./withAndroidRootViewBackgroundColor");
5
5
  const withAndroidUserInterfaceStyle_1 = require("./withAndroidUserInterfaceStyle");
6
6
  const withIosRootViewBackgroundColor_1 = require("./withIosRootViewBackgroundColor");
@@ -1,10 +1,10 @@
1
+ import { ExpoConfig } from 'expo/config';
1
2
  import {
2
3
  AndroidConfig,
3
4
  ConfigPlugin,
4
5
  withAndroidColors,
5
6
  withAndroidStyles,
6
- } from '@expo/config-plugins';
7
- import { ExpoConfig } from '@expo/config-types';
7
+ } from 'expo/config-plugins';
8
8
 
9
9
  const { assignColorValue } = AndroidConfig.Colors;
10
10
  const { assignStylesValue, getAppThemeLightNoActionBarGroup } = AndroidConfig.Styles;
@@ -1,6 +1,6 @@
1
- import { AndroidConfig, ConfigPlugin, withStringsXml } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
3
1
  import assert from 'assert';
2
+ import { ExpoConfig } from 'expo/config';
3
+ import { AndroidConfig, ConfigPlugin, withStringsXml } from 'expo/config-plugins';
4
4
 
5
5
  export type Props = {
6
6
  userInterfaceStyle?: ExpoConfig['userInterfaceStyle'];
@@ -1,7 +1,7 @@
1
- import { ConfigPlugin, InfoPlist, withInfoPlist } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
3
1
  // @ts-ignore: uses flow
4
2
  import normalizeColor from '@react-native/normalize-color';
3
+ import { ExpoConfig } from 'expo/config';
4
+ import { ConfigPlugin, InfoPlist, withInfoPlist } from 'expo/config-plugins';
5
5
 
6
6
  // Maps to the template AppDelegate.m
7
7
  const BACKGROUND_COLOR_KEY = 'RCTRootViewBackgroundColor';
@@ -1,5 +1,5 @@
1
- import { InfoPlist, ConfigPlugin, withInfoPlist } from '@expo/config-plugins';
2
- import { ExpoConfig } from '@expo/config-types';
1
+ import { ExpoConfig } from 'expo/config';
2
+ import { InfoPlist, ConfigPlugin, withInfoPlist } from 'expo/config-plugins';
3
3
 
4
4
  export const withIosUserInterfaceStyle: ConfigPlugin = (config) => {
5
5
  return withInfoPlist(config, (config) => {
@@ -1,4 +1,4 @@
1
- import { ConfigPlugin, createRunOncePlugin, withPlugins } from '@expo/config-plugins';
1
+ import { ConfigPlugin, createRunOncePlugin, withPlugins } from 'expo/config-plugins';
2
2
 
3
3
  import { withAndroidRootViewBackgroundColor } from './withAndroidRootViewBackgroundColor';
4
4
  import { withAndroidUserInterfaceStyle } from './withAndroidUserInterfaceStyle';
package/src/SystemUI.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ColorValue, processColor } from 'react-native';
1
+ import { ColorValue, Platform, processColor } from 'react-native';
2
2
 
3
3
  import ExpoSystemUI from './ExpoSystemUI';
4
4
 
@@ -12,7 +12,7 @@ import ExpoSystemUI from './ExpoSystemUI';
12
12
  * @param color Any valid [CSS 3 (SVG) color](http://www.w3.org/TR/css3-color/#svg-color).
13
13
  */
14
14
  export async function setBackgroundColorAsync(color: ColorValue): Promise<void> {
15
- const colorNumber = processColor(color);
15
+ const colorNumber = Platform.OS === 'web' ? color : processColor(color);
16
16
  return await ExpoSystemUI.setBackgroundColorAsync(colorNumber);
17
17
  }
18
18
 
package/tsconfig.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "outDir": "./build"
6
6
  },
7
7
  "include": ["./src"],
8
- "exclude": ["**/__mocks__/*", "**/__tests__/*"]
8
+ "exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__stories__/*"]
9
9
  }