-
Notifications
You must be signed in to change notification settings - Fork 59
Retire trimet-mod-otp + Migrate from Mastarm to Craco #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
9a77687
Merge pull request #192 from opentripplanner/dev
evansiroky 879b481
Merge commit 'd9ed60dd03ae5ab61fa71706f557a462d89cf79c'
evansiroky 1d5f599
Merge pull request #198 from opentripplanner/dev
landonreed 96c689d
Merge pull request #204 from opentripplanner/dev
evansiroky 72875cb
Merge branch 'dev' into commtrans-accessibility-release
binh-dam-ibigroup f6994a9
Merge pull request #213 from opentripplanner/commtrans-accessibility-…
landonreed a3b6d0f
Merge pull request #215 from opentripplanner/dev
landonreed 6f7aebe
Merge pull request #225 from opentripplanner/dev
binh-dam-ibigroup 704f312
Merge pull request #235 from opentripplanner/dev
landonreed 23ddcc1
Merge pull request #240 from opentripplanner/dev
evansiroky 797dae8
Merge pull request #249 from opentripplanner/dev
evansiroky 4930580
Merge pull request #252 from opentripplanner/dev
landonreed 7fbcb6a
Merge pull request #261 from opentripplanner/dev
landonreed 097f809
Merge pull request #264 from opentripplanner/dev
landonreed 7c3db35
Merge pull request #267 from opentripplanner/dev
binh-dam-ibigroup 7562e69
Merge pull request #273 from opentripplanner/dev
landonreed dec2bb7
Merge pull request #277 from opentripplanner/dev
binh-dam-ibigroup 3bdc600
Merge pull request #299 from opentripplanner/dev
landonreed 0a3887d
Merge pull request #302 from opentripplanner/dev
evansiroky 56e4243
Merge pull request #307 from opentripplanner/dev
landonreed bf20282
Merge pull request #318 from opentripplanner/dev
landonreed f4b3a25
Merge pull request #351 from opentripplanner/dev
evansiroky 3d4386f
Merge pull request #367 from opentripplanner/dev
binh-dam-ibigroup bbfec9f
Merge pull request #402 from opentripplanner/dev
binh-dam-ibigroup c12097b
Merge pull request #405 from opentripplanner/dev
landonreed ce9d5bf
Merge pull request #410 from opentripplanner/dev
evansiroky 3f5a2a5
Merge pull request #416 from opentripplanner/dev
evansiroky 4cf9c0e
Merge pull request #420 from opentripplanner/dev
landonreed 4e8dfae
Merge pull request #432 from opentripplanner/dev
landonreed 36328f5
Merge pull request #437 from opentripplanner/dev
landonreed c37ac4d
Merge pull request #439 from opentripplanner/dev
landonreed 629d885
refactor: move to craco, support build
miles-grant-ibigroup f4f930b
chore: attempt to get tests working
miles-grant-ibigroup 803e77d
chore: attempt to repair a11y tests
miles-grant-ibigroup a622227
test: fix a11y tests
miles-grant-ibigroup c05b6f6
refactor: update husky hook
miles-grant-ibigroup 7a3832d
test: bump node version to 16
miles-grant-ibigroup 35464d9
test: fix tests for craco (improve api.js null checks)
miles-grant-ibigroup 2b73cbb
chore: update temporary transit-vehicle-overlay import
miles-grant-ibigroup 3db4a98
chore: update lockfile
miles-grant-ibigroup b37c86e
refactor: fix pdfkit through webpack
miles-grant-ibigroup 1d881bd
Merge pull request #451 from opentripplanner/dev
landonreed 39c27a0
chore: migrate from temporary otp-ui packages
miles-grant-ibigroup 085363d
chore: only lint staged files
miles-grant-ibigroup de0754a
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup a7b6899
ci: allow lint staged to work by first moving latest commit back to s…
miles-grant-ibigroup c38be2f
chore: fetch git history
miles-grant-ibigroup cbbf70b
ci: increase clone depth
miles-grant-ibigroup 2dd9c19
ci: reduce fetch depth
miles-grant-ibigroup 1e28a59
feat: add typescript support
miles-grant-ibigroup 2439727
refactor: integrate trimet-mod-otp
miles-grant-ibigroup 5ebde60
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 160d310
refactor: adjustments for trimet-mod-otp styling
miles-grant-ibigroup ffcc40e
refactor: fix build by downgrading mini-css-extract-plugin
miles-grant-ibigroup bd8581c
refactor: adjust to trimet-mod-otp changes
miles-grant-ibigroup 61e803e
refactor: replace ts-loader with babel-loader
miles-grant-ibigroup 21a7409
refactor: add example.js features to app.js and main.js
miles-grant-ibigroup 71b0ad5
chore: improve source map quality
miles-grant-ibigroup 5052ddd
chore: enable webpack module reloading
miles-grant-ibigroup 4140b44
chore: support react 17 fast refresh
miles-grant-ibigroup cb78f51
refactor(route-viewer): trimet-mod-otp integration fixes
miles-grant-ibigroup fdedb44
chore: downgrade to react 16.14, fixing enzyme tests
miles-grant-ibigroup 921b5e5
refactor(route-details-viewer): another attempt of tmo-agnostic styling
miles-grant-ibigroup 16fe92d
fix(bounds-updating-overlay): fix map not appearing on desktop
miles-grant-ibigroup 2852a39
refactor(bounds-updating-overlay): format file
miles-grant-ibigroup bdd68ef
Merge branch 'make-location-field-updates-configurable' into migrate-…
miles-grant-ibigroup 4ce8b62
refactor(bounds-updating-overlay): support config with no initZoom
miles-grant-ibigroup 4753fe5
Merge pull request #463 from opentripplanner/dev
binh-dam-ibigroup 198c0d1
feat(example-config): remove period
miles-grant-ibigroup aae17e0
Merge pull request #464 from opentripplanner/force-master-package
binh-dam-ibigroup 19ea126
Merge pull request #466 from opentripplanner/dev
binh-dam-ibigroup c356d92
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 5025772
test: fix a11y tests
miles-grant-ibigroup 672e7d9
chore: remove files required by mastarm
miles-grant-ibigroup ad00144
refactor: add typescript types
miles-grant-ibigroup 1641915
refactor: update readme
miles-grant-ibigroup 254b57d
docs: readme corrections
miles-grant-ibigroup 7a43e90
refactor: cleanup craco config
miles-grant-ibigroup dea0560
refactor(craco.config): only conditionally load hot-loader
miles-grant-ibigroup d940b1f
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 0ad0768
test: update snapshots
miles-grant-ibigroup 152adb0
refactor: fix merged commits to work with typescript
miles-grant-ibigroup 3e9fdab
refactor(actions/api): fix enhanced stop viewer bugs
miles-grant-ibigroup a818bc5
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup e2ddaec
Merge pull request #475 from opentripplanner/dev
miles-grant-ibigroup f22c5a3
refactor: account for latest dev changes
miles-grant-ibigroup 472c4c7
Merge branch 'master' into migrate-to-craco
miles-grant-ibigroup b09e836
refactor: add typescript where linter requires
miles-grant-ibigroup c814707
chore(deps): upgrade location field to use fixed version
miles-grant-ibigroup 08738e8
improvement(app-menu): repair app menu regression
miles-grant-ibigroup ca73711
refactor: address pr feedback
miles-grant-ibigroup 71d0123
ci: experiment with lint-all reporting
miles-grant-ibigroup f1b7199
ci: correctl allow lint-all to fail
miles-grant-ibigroup f73f4ac
ci: improve lint all code message
miles-grant-ibigroup 77b62dc
Merge branch 'support-gtfs-flex' into migrate-to-craco
miles-grant-ibigroup 326c2cb
improvement(craco config): support webfonts in build
miles-grant-ibigroup 65d22e3
Merge branch 'support-gtfs-flex' into migrate-to-craco
miles-grant-ibigroup b81dad0
refactor: typescript files as requested by linter
miles-grant-ibigroup 44d053c
refactor: disable eslint on files which will require large typescript…
miles-grant-ibigroup 1a22028
refactor(craco.config): vastly reduce built bundle size
miles-grant-ibigroup 1582c98
refactor(connected-transit-vehicle-overlay): add missing react import
miles-grant-ibigroup 461936f
refactor(eslintrc): have auto sort keys fix match non-auto one
miles-grant-ibigroup 2af87d5
chore(app): lint file
miles-grant-ibigroup b02144c
refactor(app): apply suggestions from pr review
miles-grant-ibigroup 1d9b8c8
refactor: address pr feedback
miles-grant-ibigroup 93d62e8
chore(deps): more specifically define react version
miles-grant-ibigroup 42af060
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 6c7fb3d
chore: resolve merge conflict
miles-grant-ibigroup 17ea526
refactor(tabbed-itineraries): meet linter demands
miles-grant-ibigroup dc02e88
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 6d82322
fix(default-itinerary): don't shrink flexIndicator
miles-grant-ibigroup 23ad70b
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 02b779a
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup 1b11bd4
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup ca2cebb
Merge branch 'dev' into migrate-to-craco
miles-grant-ibigroup fe0ce41
chore: add react import where missing
miles-grant-ibigroup 537589c
refactor(formatted-mode): remove typescript to work with documentatio…
miles-grant-ibigroup 243d455
refactor: disable eslint on difficult-to-type files
miles-grant-ibigroup a31ea9c
refactor(formatted-realtime-status-label): add typescript
miles-grant-ibigroup File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "plugins": ["babel-plugin-add-module-exports", "babel-plugin-lodash"], | ||
| "presets": [ | ||
| "@babel/preset-env", | ||
| "@babel/preset-typescript", | ||
| "@babel/preset-react" | ||
| ], | ||
| "env": { | ||
| "development": { | ||
| "plugins": ["react-refresh/babel"] | ||
| }, | ||
| "test": { | ||
| "presets": [["@babel/preset-env", { "targets": { "node": "current" } }]] | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| PORT=9966 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| module.exports = { | ||
| extends: [ | ||
| 'standard', | ||
| 'standard-jsx', | ||
| 'react-app', | ||
| 'plugin:@typescript-eslint/recommended', | ||
| 'plugin:typescript-sort-keys/recommended', | ||
| 'plugin:react/recommended', | ||
| 'plugin:jest/recommended', | ||
| 'plugin:jsx-a11y/strict', | ||
| 'plugin:prettier/recommended', | ||
| 'prettier' | ||
| ], | ||
| parser: '@typescript-eslint/parser', | ||
| plugins: [ | ||
| '@typescript-eslint', | ||
| 'sort-keys-fix', | ||
| 'import', | ||
| 'jest', | ||
| 'jsx-a11y', | ||
| 'react', | ||
| 'sort-destructure-keys', | ||
| 'sort-imports-es6-autofix', | ||
| 'typescript-sort-keys' | ||
| ], | ||
| rules: { | ||
miles-grant-ibigroup marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| '@typescript-eslint/member-delimiter-style': [ | ||
| 'off', | ||
| { | ||
| multiline: { | ||
| delimiter: 'none', | ||
| requireLast: false | ||
| }, | ||
| singleline: { | ||
| delimiter: 'comma', | ||
| requireLast: false | ||
| } | ||
| } | ||
| ], | ||
| '@typescript-eslint/no-use-before-define': ['error'], | ||
| '@typescript-eslint/no-var-requires': 0, | ||
| complexity: ['warn', 12], | ||
| 'import/order': [ | ||
| 'warn', | ||
| { | ||
| 'newlines-between': 'always' | ||
| } | ||
| ], | ||
| 'jsx-a11y/label-has-for': [ | ||
| 2, | ||
| { | ||
| allowChildren: false, | ||
| components: ['Label'], | ||
| required: { | ||
| every: ['id'] | ||
| } | ||
| } | ||
| ], | ||
| // from docs: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md#how-to-use | ||
| // it must be disabled to work correctly | ||
| 'no-use-before-define': 'off', | ||
| 'object-curly-spacing': 0, | ||
| 'prefer-const': [ | ||
| 'warn', | ||
| { | ||
| destructuring: 'all', | ||
| ignoreReadBeforeAssign: false | ||
| } | ||
| ], | ||
| 'prettier/prettier': [ | ||
| 'error', | ||
| { | ||
| semi: false, | ||
| singleQuote: true, | ||
| trailingComma: 'none' | ||
| } | ||
| ], | ||
| quotes: [2, 'single', { avoidEscape: true }], | ||
| 'react/jsx-handler-names': 'off', | ||
| 'react/jsx-sort-props': [ | ||
| 'error', | ||
| { | ||
| ignoreCase: true | ||
| } | ||
| ], | ||
| 'sort-destructure-keys/sort-destructure-keys': [ | ||
| 'error', | ||
| { | ||
| caseSensitive: false | ||
| } | ||
| ], | ||
| 'sort-imports-es6-autofix/sort-imports-es6': [ | ||
| 2, | ||
| { | ||
| ignoreCase: true, | ||
| ignoreMemberSort: false | ||
| } | ||
| ], | ||
| 'sort-keys': [ | ||
| 'error', | ||
| 'asc', | ||
| { | ||
| caseSensitive: false | ||
| } | ||
| ], | ||
| 'sort-keys-fix/sort-keys-fix': [ | ||
| 'warn', | ||
| 'asc', | ||
| { | ||
| caseSensitive: false | ||
| } | ||
| ], | ||
| 'sort-vars': [ | ||
| 'error', | ||
| { | ||
| ignoreCase: true | ||
| } | ||
| ] | ||
| }, | ||
| settings: { | ||
| react: { | ||
| version: '999.999.999' | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #!/bin/sh | ||
| . "$(dirname "$0")/_/husky.sh" | ||
|
|
||
| npx lint-staged | ||
| yarn lint-staged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.