[zanata/zanata-platform] 5bd626: Add Typescript (and bypass Babel) (#658)

GitHub noreply at github.com
Fri Feb 2 05:31:25 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/zanata/zanata-platform
  Commit: 5bd626dc8ba79e75933a60bd46493c6d2e14579a
      https://github.com/zanata/zanata-platform/commit/5bd626dc8ba79e75933a60bd46493c6d2e14579a
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M server/zanata-frontend/pom.xml
    R server/zanata-frontend/src/.babelrc
    M server/zanata-frontend/src/.eslintignore
    M server/zanata-frontend/src/.eslintrc
    A server/zanata-frontend/src/.gitignore
    M server/zanata-frontend/src/.storybook-editor/storyshots-util.js
    A server/zanata-frontend/src/.vscode/settings.json
    A server/zanata-frontend/src/.vscode/tasks.json
    R server/zanata-frontend/src/.yarn-version
    M server/zanata-frontend/src/app/actions/common-actions.js
    M server/zanata-frontend/src/app/actions/version-actions.js
    R server/zanata-frontend/src/app/components/DraggableVersionPanels/index.js
    A server/zanata-frontend/src/app/components/DraggableVersionPanels/index.tsx
    M server/zanata-frontend/src/app/components/Icon/Icon.story.js
    R server/zanata-frontend/src/app/components/Icon/index.jsx
    A server/zanata-frontend/src/app/components/Icon/index.tsx
    M server/zanata-frontend/src/app/components/Icons/index.jsx.src
    M server/zanata-frontend/src/app/components/Link/index.js
    R server/zanata-frontend/src/app/components/Loader/index.js
    A server/zanata-frontend/src/app/components/Loader/index.tsx
    M server/zanata-frontend/src/app/components/LoaderText/index.js
    R server/zanata-frontend/src/app/components/LockIcon/index.js
    A server/zanata-frontend/src/app/components/LockIcon/index.tsx
    M server/zanata-frontend/src/app/components/Modal/ModalBody.jsx
    R server/zanata-frontend/src/app/components/Modal/ModalFooter.jsx
    A server/zanata-frontend/src/app/components/Modal/ModalFooter.tsx
    M server/zanata-frontend/src/app/components/Modal/ModalHeader.jsx
    M server/zanata-frontend/src/app/components/Modal/ModalTitle.jsx
    M server/zanata-frontend/src/app/components/TMX/TMXExportModal.js
    M server/zanata-frontend/src/app/components/TriCheckbox/TriCheckbox.test.js
    M server/zanata-frontend/src/app/containers/ProjectVersion/TMMergeModal.js
    M server/zanata-frontend/src/app/containers/ProjectVersion/TMMergeProjectSources.js
    M server/zanata-frontend/src/app/containers/UserProfile/CalendarMonthMatrix.jsx
    M server/zanata-frontend/src/app/containers/UserProfile/CalendarPeriodHeading.jsx
    R server/zanata-frontend/src/app/containers/UserProfile/CategoryItemMatrix.jsx
    A server/zanata-frontend/src/app/containers/UserProfile/CategoryItemMatrix.tsx
    M server/zanata-frontend/src/app/containers/UserProfile/CategoryMatrixTable.jsx
    M server/zanata-frontend/src/app/containers/UserProfile/DayMatrix.jsx
    M server/zanata-frontend/src/app/containers/UserProfile/FilterableMatrixTable.jsx
    M server/zanata-frontend/src/app/editor/actions/settings-actions.js
    M server/zanata-frontend/src/app/editor/components/Button/Button.test.js
    M server/zanata-frontend/src/app/editor/components/Dropdown/Dropdown.test.js
    M server/zanata-frontend/src/app/editor/components/Dropdown/index.js
    M server/zanata-frontend/src/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
    M server/zanata-frontend/src/app/editor/components/IconButton/IconButton.test.js
    M server/zanata-frontend/src/app/editor/components/Pager/Pager.test.js
    M server/zanata-frontend/src/app/editor/components/PhraseStatusFilter/PhraseStatusFilter.test.js
    M server/zanata-frontend/src/app/editor/components/TextDiff/index.js
    M server/zanata-frontend/src/app/editor/components/ToggleSwitch/ToggleSwitch.test.js
    R server/zanata-frontend/src/app/editor/components/TransUnitStatus.js
    A server/zanata-frontend/src/app/editor/components/TransUnitStatus.tsx
    M server/zanata-frontend/src/app/editor/components/UiLanguageDropdown/UiLanguageDropdown.test.js
    M server/zanata-frontend/src/app/editor/containers/KeyShortcutDispatcher.js
    M server/zanata-frontend/src/app/editor/middlewares/index.js
    M server/zanata-frontend/src/app/editor/reducers/index.js
    M server/zanata-frontend/src/app/index.js
    M server/zanata-frontend/src/app/jsf/JsfRoot.js
    M server/zanata-frontend/src/app/jsf/index.js
    M server/zanata-frontend/src/app/reducers/admin-reducer.js
    M server/zanata-frontend/src/app/reducers/common-reducer.js
    M server/zanata-frontend/src/app/reducers/explore-reducer.js
    M server/zanata-frontend/src/app/reducers/index.js
    M server/zanata-frontend/src/app/reducers/profile-reducer.js
    R server/zanata-frontend/src/app/utils/DateHelper.js
    A server/zanata-frontend/src/app/utils/DateHelper.ts
    R server/zanata-frontend/src/app/utils/EnumValueUtils.js
    A server/zanata-frontend/src/app/utils/EnumValueUtils.ts
    A server/zanata-frontend/src/app/utils/ObjectUtils.ts
    R server/zanata-frontend/src/app/utils/prop-types-util.js
    A server/zanata-frontend/src/app/utils/prop-types-util.ts
    A server/zanata-frontend/src/app/utils/tuple.ts
    M server/zanata-frontend/src/jest.config.json
    M server/zanata-frontend/src/package.json
    A server/zanata-frontend/src/scripts/check-engines.js
    M server/zanata-frontend/src/scripts/codemods/test.template.js
    A server/zanata-frontend/src/scripts/extract-messages.js
    R server/zanata-frontend/src/scripts/silence-React-15-deprecations.js
    A server/zanata-frontend/src/tsconfig.json
    A server/zanata-frontend/src/tslint.json
    M server/zanata-frontend/src/webpack.config.js
    M server/zanata-frontend/src/yarn.lock

  Log Message:
  -----------
  Add Typescript (and bypass Babel) (#658)

* Add TypeScript config
* Add extract-messages script
* Configure VS Code to use local TypeScript
* Remove Babel; add awesome-typescript-loader
* Allow at-loader to use cache, async error reporting
* Run tests with ts-jest
* Revert React imports (to fix PropTypes warning) and some other imports
* Use eval-source-map for dev in webpack
* Upgrade moment[-range]
* Disable ESLint line limits for JSX
* Disable ESLint for TS/TSX; add TSLint
* Add lots of @types
* Add TypeScript type comments to some JS files
* Convert some JS/JSX to TS/TSX
* Throw *new* Error for consistency
* Add tuple.ts to help unify proptypes enums with union types
* Use _ prefix for unused params
* Upgrade yarn to fix palantir/tslint#3251
* Add timestamp to watch builds




More information about the zanata-commits mailing list