Skip to content

Commit

Permalink
[No JIRA] Use consistent casing for standard files
Browse files Browse the repository at this point in the history
  • Loading branch information
k0nserv committed Jul 23, 2018
1 parent 7036389 commit 6345f6d
Show file tree
Hide file tree
Showing 184 changed files with 87 additions and 87 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion contributing.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ If you want to add a new component, we will need the following:
- React component
- Stories
- Tests
- Documentation (Including main `readme.md`)
- Documentation (Including main `README.md`)

### Design

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ if (nativeComponentIntroduced) {
);
}

// If any of the packages have changed, the unreleased log should have been updated.
const unreleasedModified = includes(modifiedFiles, 'unreleased.md');
// If any of the packages have changed, the UNRELEASED log should have been updated.
const unreleasedModified = includes(modifiedFiles, 'UNRELEASED.md');
const packagesModified = fileChanges.some(
filePath =>
(filePath.startsWith('packages/') ||
Expand All @@ -80,7 +80,7 @@ const packagesModified = fileChanges.some(
);
if (packagesModified && !unreleasedModified && !declaredTrivial) {
warn(
"One or more packages have changed, but `unreleased.md` wasn't updated.",
"One or more packages have changed, but `UNRELEASED.md` wasn't updated.",
);
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import React from 'react';
import BpkCheckbox from 'bpk-component-checkbox';
import accordionsReadme from 'bpk-component-accordion/readme.md';
import accordionsReadme from 'bpk-component-accordion/README.md';
import {
BpkAccordion,
BpkAccordionItem,
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/AlertPage/AlertPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-alert/readme.md';
import readme from 'react-native-bpk-component-alert/README.md';
import { BpkCode } from 'bpk-component-code';

import iosScreenshotDefault from 'react-native-bpk-component-alert/screenshots/ios/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import BpkAutosuggest, {
BpkAutosuggestSuggestion,
} from 'bpk-component-autosuggest';

import autosuggestReadme from 'bpk-component-autosuggest/readme.md';
import autosuggestReadme from 'bpk-component-autosuggest/README.md';

import * as ROUTES from '../../constants/routes';
import DocsPageBuilder from '../../components/DocsPageBuilder';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/BarchartsPage/BarchartsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import BpkLink from 'bpk-component-link';
import BpkBarchart from 'bpk-component-barchart';
import { onePixelRem } from 'bpk-tokens/tokens/base.es6';
import { withSelectedState } from 'bpk-component-barchart/hocs';
import barchartReadme from 'bpk-component-barchart/readme.md';
import barchartReadme from 'bpk-component-barchart/README.md';
import { updateOnDirectionChange } from 'bpk-component-rtl-toggle';

import data from 'bpk-component-barchart/data.json';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import React from 'react';
import BpkBlockquote from 'bpk-component-blockquote';

import blockquotesReadme from 'bpk-component-blockquote/readme.md';
import blockquotesReadme from 'bpk-component-blockquote/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import breadcrumbReadme from 'bpk-component-breadcrumb/readme.md';
import breadcrumbReadme from 'bpk-component-breadcrumb/README.md';
import BpkBreadcrumb, { BpkBreadcrumbItem } from 'bpk-component-breadcrumb';

import IntroBlurb from '../../components/IntroBlurb';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import BpkBreakpoint, { BREAKPOINTS } from 'bpk-component-breakpoint';
import { cssModules } from 'bpk-react-utils';
import breakpointReadme from 'bpk-component-breakpoint/readme.md';
import breakpointReadme from 'bpk-component-breakpoint/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/CalendarPage/CalendarPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import BpkCalendar, {
import BpkMobileScrollContainer from 'bpk-component-mobile-scroll-container';
import { cssModules } from 'bpk-react-utils';

import calendarReadme from 'bpk-component-calendar/readme.md';
import calendarReadme from 'bpk-component-calendar/README.md';
import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
import Paragraph from '../../components/Paragraph';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/CarouselPage/CarouselPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/* @flow */

import React from 'react';
import readme from 'react-native-bpk-component-carousel/readme.md';
import readme from 'react-native-bpk-component-carousel/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-carousel/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-carousel/screenshots/android/default.png';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/CodePage/CodePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import React from 'react';
import { BpkCode, BpkCodeBlock } from 'bpk-component-code';

import codeReadme from 'bpk-component-code/readme.md';
import codeReadme from 'bpk-component-code/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React, { Component } from 'react';
import BpkDatepicker from 'bpk-component-datepicker';
import BpkRouterLink from 'bpk-component-router-link';

import datepickerReadme from 'bpk-component-datepicker/readme.md';
import datepickerReadme from 'bpk-component-datepicker/README.md';
import * as ROUTES from '../../constants/routes';
import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
BpkDescriptionDetails,
} from 'bpk-component-description-list';

import descriptionlistsReadme from 'bpk-component-description-list/readme.md';
import descriptionlistsReadme from 'bpk-component-description-list/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/DialogsPage/DialogsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/* @flow */

import React from 'react';
import dialogReadme from 'bpk-component-dialog/readme.md';
import dialogReadme from 'bpk-component-dialog/README.md';

import Paragraph from '../../components/Paragraph';
import IntroBlurb from '../../components/IntroBlurb';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/DrawerPage/DrawerPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import BpkDrawer from 'bpk-component-drawer';
import BpkButton from 'bpk-component-button';
import { BpkButtonLink } from 'bpk-component-link';

import drawerReadme from 'bpk-component-drawer/readme.md';
import drawerReadme from 'bpk-component-drawer/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/FieldsetsPage/FieldsetsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import BpkSelect from 'bpk-component-select';
import BpkCheckbox from 'bpk-component-checkbox';
import BpkFieldset from 'bpk-component-fieldset';
import BpkRouterLink from 'bpk-component-router-link';
import readme from 'bpk-component-fieldset/readme.md';
import readme from 'bpk-component-fieldset/README.md';
import PropTypes from 'prop-types';
import React, { cloneElement, Component } from 'react';
import { cssModules } from 'bpk-react-utils';
Expand Down
14 changes: 7 additions & 7 deletions packages/bpk-docs/src/pages/FormsPage/FormsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ import BpkFormValidation from 'bpk-component-form-validation';
import BpkBannerAlert, { ALERT_TYPES } from 'bpk-component-banner-alert';
import { cssModules } from 'bpk-react-utils';

import inputReadme from 'bpk-component-input/readme.md';
import labelReadme from 'bpk-component-label/readme.md';
import radioReadme from 'bpk-component-radio/readme.md';
import selectReadme from 'bpk-component-select/readme.md';
import textareaReadme from 'bpk-component-textarea/readme.md';
import checkboxReadme from 'bpk-component-checkbox/readme.md';
import validationReadme from 'bpk-component-form-validation/readme.md';
import inputReadme from 'bpk-component-input/README.md';
import labelReadme from 'bpk-component-label/README.md';
import radioReadme from 'bpk-component-radio/README.md';
import selectReadme from 'bpk-component-select/README.md';
import textareaReadme from 'bpk-component-textarea/README.md';
import checkboxReadme from 'bpk-component-checkbox/README.md';
import validationReadme from 'bpk-component-form-validation/README.md';

import STYLES from './forms-page.scss';
import * as ROUTES from '../../constants/routes';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import BpkBlockquote from 'bpk-component-blockquote';
import BpkRouterLink from 'bpk-component-router-link';
import BpkText from 'bpk-component-text';

import gridReadme from 'bpk-component-grid/readme.md';
import gridReadme from 'bpk-component-grid/README.md';

import * as routes from '../../constants/routes';
import DocsPageBuilder from '../../components/DocsPageBuilder';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { BpkSpinner, SPINNER_TYPES } from 'bpk-component-spinner';
import { cssModules } from 'bpk-react-utils';
import { BpkList, BpkListItem } from 'bpk-component-list';

import infiniteScrollReadme from '../../../../bpk-component-infinite-scroll/readme.md';
import infiniteScrollReadme from '../../../../bpk-component-infinite-scroll/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import IntroBlurb from '../../components/IntroBlurb';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/ListsPage/ListsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import React from 'react';
import { BpkList, BpkListItem } from 'bpk-component-list';

import listReadme from 'bpk-component-list/readme.md';
import listReadme from 'bpk-component-list/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import DocsPageWrapper from '../../components/DocsPageWrapper';
Expand Down
4 changes: 2 additions & 2 deletions packages/bpk-docs/src/pages/MapPage/MapPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import { cssModules } from 'bpk-react-utils';

import iosScreenshot from 'react-native-bpk-component-map/screenshots/ios/default.png';
import androidScreenshot from 'react-native-bpk-component-map/screenshots/android/default.png';
import nativeMapReadme from 'react-native-bpk-component-map/readme.md';
import mapReadme from 'bpk-component-map/readme.md';
import nativeMapReadme from 'react-native-bpk-component-map/README.md';
import mapReadme from 'bpk-component-map/README.md';

import STYLES from './MapPage.scss';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/* @flow */

import React from 'react';
import mobileScrollContainerReadme from 'bpk-component-mobile-scroll-container/readme.md';
import mobileScrollContainerReadme from 'bpk-component-mobile-scroll-container/README.md';

import BlockExample from './BlockExample';
import IntroBlurb from '../../components/IntroBlurb';
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-docs/src/pages/ModalsPage/ModalsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import BpkModal from 'bpk-component-modal';
import BpkButton from 'bpk-component-button';
import { BpkButtonLink } from 'bpk-component-link';

import modalReadme from 'bpk-component-modal/readme.md';
import modalReadme from 'bpk-component-modal/README.md';

import LoginFormExample from './LoginFormExample';
import DocsPageBuilder from '../../components/DocsPageBuilder';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-badge/readme.md';
import readme from 'react-native-bpk-component-badge/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-badge/screenshots/ios/default.png';
import iosScreenshotDockedStart from 'react-native-bpk-component-badge/screenshots/ios/docked-start.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-banner-alert/readme.md';
import readme from 'react-native-bpk-component-banner-alert/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-banner-alert/screenshots/ios/default.png';
import iosScreenshotDismissable from 'react-native-bpk-component-banner-alert/screenshots/ios/dismissable.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-button-link/readme.md';
import readme from 'react-native-bpk-component-button-link/README.md';

import iosScreenshot from 'react-native-bpk-component-button-link/screenshots/ios/default.png';
import androidScreenshot from 'react-native-bpk-component-button-link/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-button/readme.md';
import readme from 'react-native-bpk-component-button/README.md';

import iosScreenshotPrimary from 'react-native-bpk-component-button/screenshots/ios/primary.png';
import iosScreenshotSecondary from 'react-native-bpk-component-button/screenshots/ios/secondary.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-card/readme.md';
import readme from 'react-native-bpk-component-card/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-card/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-card/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-chip/readme.md';
import readme from 'react-native-bpk-component-chip/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-chip/screenshots/ios/default.png';
import iosScreenshotDismissible from 'react-native-bpk-component-chip/screenshots/ios/dismissible.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-flat-list/readme.md';
import readme from 'react-native-bpk-component-flat-list/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-flat-list/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-flat-list/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-horizontal-nav/readme.md';
import readme from 'react-native-bpk-component-horizontal-nav/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-horizontal-nav/screenshots/ios/default.png';
import iosScreenshotSmall from 'react-native-bpk-component-horizontal-nav/screenshots/ios/small.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-icon/readme.md';
import readme from 'react-native-bpk-component-icon/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-icon/screenshots/ios/icons.png';
import androidScreenshotDefault from 'react-native-bpk-component-icon/screenshots/android/icons.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-image/readme.md';
import readme from 'react-native-bpk-component-image/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-image/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-image/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/* @flow */

import React from 'react';
import readme from 'react-native-bpk-component-navigation-bar/readme.md';
import readme from 'react-native-bpk-component-navigation-bar/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-navigation-bar/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-navigation-bar/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-nudger/readme.md';
import readme from 'react-native-bpk-component-nudger/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-nudger/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-nudger/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-carousel-indicator/readme.md';
import readme from 'react-native-bpk-component-carousel-indicator/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-carousel-indicator/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-carousel-indicator/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-panel/readme.md';
import readme from 'react-native-bpk-component-panel/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-panel/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-panel/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-phone-input/readme.md';
import readme from 'react-native-bpk-component-phone-input/README.md';
import iosScreenshoDialingCodeList from 'react-native-bpk-component-phone-input/screenshots/ios/dialing-code-list.png';
import iosScreenshotPhoneNumberInput from 'react-native-bpk-component-phone-input/screenshots/ios/phone-number-input.png';
import androidScreenshotDialingCodeList from 'react-native-bpk-component-phone-input/screenshots/android/dialing-code-list.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import React from 'react';
import readme from 'react-native-bpk-component-picker/readme.md';
import readme from 'react-native-bpk-component-picker/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-picker/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-picker/screenshots/android/default.png';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/* @flow */

import React from 'react';
import readme from 'react-native-bpk-component-progress/readme.md';
import readme from 'react-native-bpk-component-progress/README.md';

import iosScreenshotDefault from 'react-native-bpk-component-progress/screenshots/ios/default.png';
import androidScreenshotDefault from 'react-native-bpk-component-progress/screenshots/android/default.png';
Expand Down
Loading

0 comments on commit 6345f6d

Please sign in to comment.