Skip to content

Commit 38ef32f

Browse files
Merge pull request #552 from ibi-group/metro-mode-selector-coreutils
Metro mode selector: coreutils
2 parents 729c5a4 + d0aa4f1 commit 38ef32f

File tree

13 files changed

+1314
-120
lines changed

13 files changed

+1314
-120
lines changed

Diff for: .storybook/main.js

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ module.exports = {
3636
loader: ["json-loader", "yaml-loader"]
3737
});
3838

39+
config.module.rules.push({
40+
test: /\.graphql$/,
41+
exclude: /node_modules/,
42+
loader: 'graphql-tag/loader',
43+
});
44+
3945
// Return the altered config
4046
return config;
4147
}

Diff for: babel.config.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
1111
"babel-plugin-styled-components",
1212
"@babel/plugin-transform-runtime",
13+
"import-graphql",
1314
"@babel/plugin-proposal-nullish-coalescing-operator"
1415
],
1516
"presets": [

Diff for: package.json

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@babel/preset-react": "^7.10",
2323
"@babel/preset-typescript": "^7.13.0",
2424
"@formatjs/cli": "^4.2.32",
25+
"@graphql-eslint/eslint-plugin": "^3.12.0",
2526
"@semantic-release/git": "^9.0.0",
2627
"@storybook/addon-a11y": "^6.4.19",
2728
"@storybook/addon-actions": "^6.4.19",
@@ -44,6 +45,7 @@
4445
"babel-eslint": "^10.0.3",
4546
"babel-jest": "^24.8.0",
4647
"babel-loader": "^8.0.6",
48+
"babel-plugin-import-graphql": "^2.8.1",
4749
"babel-plugin-styled-components": "^1.10.0",
4850
"core-js": "2",
4951
"cross-env": "^7.0.3",
@@ -56,6 +58,7 @@
5658
"eslint-plugin-prettier": "^3.1.0",
5759
"eslint-plugin-react": "7.14.3",
5860
"flat": "^5.0.2",
61+
"graphql-tag": "^2.12.6",
5962
"husky": "^2.4.1",
6063
"identity-obj-proxy": "^3.0.0",
6164
"jest": "^24.8.0",

Diff for: packages/core-utils/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"license": "MIT",
1313
"private": false,
1414
"dependencies": {
15+
"@conveyal/lonlat": "^1.4.1",
1516
"@mapbox/polyline": "^1.1.0",
1617
"@opentripplanner/geocoder": "^1.4.0",
1718
"@styled-icons/foundation": "^10.34.0",
@@ -30,6 +31,6 @@
3031
},
3132
"devDependencies": {
3233
"@types/chroma-js": "^2.1.4",
33-
"@opentripplanner/types": "^4.0.6"
34+
"@opentripplanner/types": "^5.0.0"
3435
}
3536
}

Diff for: packages/core-utils/src/__tests__/query-params.js

-93
This file was deleted.

0 commit comments

Comments
 (0)