Skip to content
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

Yarn2 + New Lerna #618

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
17daedf
build: upgrade lerna to latest
danielhep Jun 18, 2023
80a3780
build: turn on build caching with nx
danielhep Jun 18, 2023
21718f7
build: enable more parallelization
danielhep Jun 18, 2023
0675b58
build: enable nx-cloud
danielhep Jun 18, 2023
38ce243
fix CI issue with typescript
danielhep Jun 27, 2023
0256c97
Merge branch 'opentripplanner:master' into upgrade-lerna
danielhep Jun 27, 2023
3454ab0
Revert "build: enable nx-cloud"
danielhep Jun 27, 2023
8d51aca
Merge branch 'master' into upgrade-lerna
daniel-heppner-ibigroup Jul 13, 2023
6a6b73a
upgrade yarn
daniel-heppner-ibigroup Jul 13, 2023
0620be8
build: complete migration to yarn2
daniel-heppner-ibigroup Jul 13, 2023
9b06ab6
build: first steps getting everything to build
daniel-heppner-ibigroup Jul 13, 2023
0be8bbb
Merge branch 'upgrade-lerna' into yarn2
daniel-heppner-ibigroup Jul 13, 2023
7da3380
build: fix some version issues
daniel-heppner-ibigroup Jul 14, 2023
09048db
build: add hashbang to searches
daniel-heppner-ibigroup Jul 14, 2023
1fa47a7
ci: upgrade to new action
daniel-heppner-ibigroup Jul 14, 2023
71dccb1
ci: try removal of dep path
daniel-heppner-ibigroup Jul 14, 2023
d3008c5
ci: remove cache
daniel-heppner-ibigroup Jul 14, 2023
f67a37e
ci: add install step
daniel-heppner-ibigroup Jul 14, 2023
0298b95
Merge branch 'master' into yarn2
daniel-heppner-ibigroup Jul 17, 2023
b4ad6c0
test: update to the new icons in story
daniel-heppner-ibigroup Jul 18, 2023
1d8f279
ci: add prepublish step (and test caching)
daniel-heppner-ibigroup Jul 18, 2023
8f8e56d
remove unneeded caching
daniel-heppner-ibigroup Jul 18, 2023
49a984f
ci: use old npm-install action
daniel-heppner-ibigroup Jul 18, 2023
ba420fb
remove run babel
daniel-heppner-ibigroup Jul 18, 2023
875ae60
build: add copy to output for babel
daniel-heppner-ibigroup Jul 18, 2023
7b9ef06
build: remove unneeded flags
daniel-heppner-ibigroup Jul 18, 2023
ccf5972
deps: revert jest version
daniel-heppner-ibigroup Jul 18, 2023
1e4ac6c
ci: explicitly run build
daniel-heppner-ibigroup Jul 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- name: Install npm packages using cache
uses: bahmutov/npm-install@v1
- name: Build project
run: yarn build
- name: Lint code
run: yarn lint:js
- name: Lint styles
run: yarn lint:styles
- name: i18n check (en-US, fr only)
run: yarn check:i18n-en-fr
- name: Type check
run: yarn typescript
run: yarn tsc
- name: Run tests
run: yarn unit
- name: Run a11y tests
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ node_modules
.idea
storybook-static/
*.tsbuildinfo
.vscode/
.vscode
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.1.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.6.1.cjs
14 changes: 7 additions & 7 deletions __snapshots__/storybook.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -237939,7 +237939,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 0c134.4 0 224 35.2 224 80v48c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v160c0 17.7-14.3 32-32 32v32c0 17.7-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32v-32H160v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32v-32c-17.7 0-32-14.3-32-32V256c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32V80c0-44.8 89.6-80 224-80zM96 160v96c0 17.7 14.3 32 32 32h112V128H128c-17.7 0-32 14.3-32 32zm176 128h112c17.7 0 32-14.3 32-32v-96c0-17.7-14.3-32-32-32H272v160zM112 400c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zM352 80c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16z"
d="M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM112 400c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm16-112c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h256c17.67 0 32 14.33 32 32v128c0 17.67-14.33 32-32 32H128zm272 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -237976,7 +237976,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301 191.9 288 191.9L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -238020,7 +238020,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 48c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zM126.5 199.3c-1 .4-1.9.8-2.9 1.2l-8 3.5c-16.4 7.3-29 21.2-34.7 38.2l-2.6 7.8c-5.6 16.8-23.7 25.8-40.5 20.2S12 246.5 17.6 229.7l2.6-7.8c11.4-34.1 36.6-61.9 69.4-76.5l8-3.5c20.8-9.2 43.3-14 66.1-14 44.6 0 84.8 26.8 101.9 67.9l15.4 36.9 21.4 10.7c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3L247 287.3c-10.3-5.2-18.4-13.8-22.8-24.5l-9.6-23-19.3 65.5 49.5 54c5.4 5.9 9.2 13 11.2 20.8l23 92.1c4.3 17.1-6.1 34.5-23.3 38.8s-34.5-6.1-38.8-23.3l-22-88.1-70.7-77.1c-14.8-16.1-20.3-38.6-14.7-59.7l16.9-63.5zM68.7 398l25-62.4c2.1 3 4.5 5.8 7 8.6l40.7 44.4-14.5 36.2c-2.4 6-6 11.5-10.6 16.1l-61.7 61.7c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L68.7 398z"
d="M208 96c26.5 0 48-21.5 48-48S234.5 0 208 0s-48 21.5-48 48 21.5 48 48 48zm94.5 149.1-23.3-11.8-9.7-29.4c-14.7-44.6-55.7-75.8-102.2-75.9-36-.1-55.9 10.1-93.3 25.2-21.6 8.7-39.3 25.2-49.7 46.2L17.6 213c-7.8 15.8-1.5 35 14.2 42.9 15.6 7.9 34.6 1.5 42.5-14.3L81 228c3.5-7 9.3-12.5 16.5-15.4l26.8-10.8-15.2 60.7c-5.2 20.8.4 42.9 14.9 58.8l59.9 65.4c7.2 7.9 12.3 17.4 14.9 27.7l18.3 73.3c4.3 17.1 21.7 27.6 38.8 23.3 17.1-4.3 27.6-21.7 23.3-38.8l-22.2-89c-2.6-10.3-7.7-19.9-14.9-27.7l-45.5-49.7 17.2-68.7 5.5 16.5c5.3 16.1 16.7 29.4 31.7 37l23.3 11.8c15.6 7.9 34.6 1.5 42.5-14.3 7.7-15.7 1.4-35.1-14.3-43zM73.6 385.8c-3.2 8.1-8 15.4-14.2 21.5l-50 50.1c-12.5 12.5-12.5 32.8 0 45.3s32.7 12.5 45.2 0l59.4-59.4c6.1-6.1 10.9-13.4 14.2-21.5l13.5-33.8c-55.3-60.3-38.7-41.8-47.4-53.7l-20.7 51.5z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -238057,7 +238057,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301 191.9 288 191.9L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -238136,7 +238136,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301 191.9 288 191.9L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -238180,7 +238180,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M135.2 117.4 109.1 192h293.8l-26.1-74.6c-4.5-12.8-16.6-21.4-30.2-21.4H165.4c-13.6 0-25.7 8.6-30.2 21.4zm-95.6 79.4L74.8 96.3C88.3 57.8 124.6 32 165.4 32h181.2c40.8 0 77.1 25.8 90.6 64.3l35.2 100.5c23.2 9.6 39.6 32.5 39.6 59.2v192c0 17.7-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32v-48H96v48c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V256c0-26.7 16.4-49.6 39.6-59.2zM128 288c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"
d="M499.99 176h-59.87l-16.64-41.6C406.38 91.63 365.57 64 319.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4L71.87 176H12.01C4.2 176-1.53 183.34.37 190.91l6 24C7.7 220.25 12.5 224 18.01 224h20.07C24.65 235.73 16 252.78 16 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-19.22-8.65-36.27-22.07-48H494c5.51 0 10.31-3.75 11.64-9.09l6-24c1.89-7.57-3.84-14.91-11.65-14.91zm-352.06-17.83c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L384 208H128l19.93-49.83zM96 319.8c-19.2 0-32-12.76-32-31.9S76.8 256 96 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S396.8 256 416 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"
fill="currentColor"
/>
</svg>
Expand Down Expand Up @@ -238217,7 +238217,7 @@ exports[`Storyshots Trip Form Components/Metro Mode Selector Metro Mode Selector
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301 191.9 288 191.9L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
fill="currentColor"
/>
</svg>
Expand Down
31 changes: 31 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"test",
"tsc",
"build:cjs",
"build:esm",
"collect-i18n",
"validate-i18n"
]
}
}
},
"targetDefaults": {
"tsc": {
"outputs": ["{projectRoot}/lib"]
},
"test": {
"outputs": ["{projectRoot}/src/__tests__/__snapshots__"]
},
"build:cjs": {
"outputs": ["{projectRoot}/lib"]
},
"build:esm": {
"outputs": ["{projectRoot}/esm"]
}
}
}
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@
"jest-styled-components": "^7.0.5",
"js-yaml": "^4.1.0",
"json-loader": "^0.5.7",
"lerna": "^3.18.4",
"lerna": "^7.0.2",
"lint-staged": "^8.2.0",
"msw": "^0.34.0",
"nock": "^11.7.0",
"nx-cloud": "^16.0.5",
"prettier": "^1.19.1",
"puppeteer": "^10.2.0",
"react": "^17.0.2",
Expand All @@ -97,26 +98,26 @@
},
"scripts": {
"a11y-test": "yarn build-storybook && jest --testPathIgnorePatterns packages storybook",
"bootstrap": "lerna bootstrap --use-workspaces",
"build:cjs": "lerna exec --parallel -- babel --extensions '.js,.ts,.tsx' --ignore **/*.story.js,**/*.story.ts,**/*.story.d.ts,**/*.story.tsx,**/*.spec.js,**/*.spec.ts,**/*.test.js,**/*.test.ts,**/__tests__/**,**/__unpublished__/** --root-mode upward --source-maps true src -d lib",
"build:esm": "lerna exec --parallel -- cross-env BABEL_ENV=esm babel --extensions '.js,.ts,.tsx' --ignore **/*.story.js,**/*.story.ts,**/*.story.d.ts,**/*.story.tsx,**/*.spec.js,**/*.spec.ts,**/*.test.js,**/*.test.ts,**/__tests__/**,**/__unpublished__/** --root-mode upward --source-maps true src -d esm",
"build:cjs": "lerna run build:ejs",
"build:esm": "lerna run build:esm",
"check:i18n-all": "node packages/scripts/lib/run-validate-i18n.js packages/**/src packages/**/i18n",
"check:i18n-en-fr": "node packages/scripts/lib/run-validate-i18n.js packages/**/src packages/**/i18n/en-US.yml packages/**/i18n/fr.yml",
"prepublish": "yarn typescript && yarn build:cjs && yarn build:esm",
"prepack": "lerna run tsc,build:cjs,build:esm",
"check-eslint-config": "eslint --print-config jestconfig.js | eslint-config-prettier-check",
"coverage": "jest --coverage",
"deploy-storybook": "storybook-to-ghpages",
"dev": "start-storybook -s ./public -p 5555",
"predev": "yarn",
"build": "lerna run tsc,build:cjs,build:esm",
"lint:js": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern esm --ignore-pattern lib --ignore-pattern node_modules --ignore-pattern storybook-static --quiet",
"lint:graphql": "eslint . --ext .graphql --ignore-pattern esm --ignore-pattern lib --ignore-pattern node_modules --ignore-pattern storybook-static",
"lint:fixjs": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern esm --ignore-pattern lib --ignore-pattern node_modules --ignore-pattern storybook-static --fix",
"lint:styles": "stylelint \"packages/**/!(*.d).{j,t}s{,x}\"",
"lint": "yarn lint:js && yarn lint:styles && yarn lint:graphql",
"prettier": "prettier --write \"**/*.{json,md,yml}\"",
"semantic-release": "lerna exec --concurrency 1 -- semantic-release -e semantic-release-monorepo",
"test": "yarn lint:js && yarn lint:styles && yarn check:i18n-en-fr && yarn typescript && yarn unit && yarn a11y-test",
"typescript": "lerna run tsc",
"test": "yarn lint:js && yarn lint:styles && yarn check:i18n-en-fr && yarn tsc && yarn unit && yarn a11y-test",
"tsc": "lerna run tsc",
"unit": "jest --testPathIgnorePatterns a11y .d.ts",
"update-internal-dependencies": "node scripts/update-internal-dependencies.js"
},
Expand Down Expand Up @@ -271,5 +272,6 @@
},
"msw": {
"workerDirectory": "public"
}
},
"packageManager": "[email protected]"
}
5 changes: 3 additions & 2 deletions packages/base-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"private": false,
"dependencies": {
"mapbox-gl": "npm:[email protected]",
"maplibre-gl": "^2.1.9",
Expand All @@ -24,7 +23,9 @@
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"bugs": {
"url": "https://github.com/opentripplanner/otp-ui/issues"
Expand Down
5 changes: 3 additions & 2 deletions packages/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"repository": "https://github.com/opentripplanner/otp-ui.git",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@conveyal/lonlat": "^1.4.1",
"@mapbox/polyline": "^1.1.0",
Expand All @@ -28,7 +27,9 @@
},
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"devDependencies": {
"@opentripplanner/types": "^6.0.0-alpha.9",
Expand Down
10 changes: 6 additions & 4 deletions packages/endpoints-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"homepage": "https://github.com/opentripplanner/otp-ui#readme",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"repository": {
"type": "git",
Expand All @@ -20,10 +22,10 @@
},
"dependencies": {
"@opentripplanner/base-map": "^3.0.13",
"@opentripplanner/location-icon": "^1.4.1",
"@opentripplanner/core-utils": "^9.0.0",
"flat": "^5.0.2",
"@styled-icons/fa-solid": "^10.34.0"
"@opentripplanner/location-icon": "^1.4.1",
"@styled-icons/fa-solid": "^10.34.0",
"flat": "^5.0.2"
},
"devDependencies": {
"@types/flat": "^5.0.2"
Expand Down
5 changes: 3 additions & 2 deletions packages/from-to-location-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"private": false,
"dependencies": {
"@opentripplanner/location-icon": "^1.4.1",
"flat": "^5.0.2"
Expand All @@ -25,7 +24,9 @@
"url": "git+https://github.com/opentripplanner/otp-ui.git"
},
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"bugs": {
"url": "https://github.com/opentripplanner/otp-ui/issues"
Expand Down
6 changes: 4 additions & 2 deletions packages/geocoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
"repository": "https://github.com/opentripplanner/otp-ui.git",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@conveyal/geocoder-arcgis-geojson": "^0.0.3",
"@conveyal/lonlat": "^1.4.1",
"@types/geojson": "^7946.0.10",
"isomorphic-mapzen-search": "^1.6.1",
"lodash.memoize": "^4.1.2"
},
"gitHead": "644c72e0d08f8daf93b44eaf0deec88a1e16f414",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
}
}
5 changes: 3 additions & 2 deletions packages/humanize-distance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
"repository": "https://github.com/opentripplanner/otp-ui.git",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"gitHead": "644c72e0d08f8daf93b44eaf0deec88a1e16f414",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"peerDependencies": {
"react-intl": "^5.24.6"
Expand Down
7 changes: 5 additions & 2 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"homepage": "https://github.com/opentripplanner/otp-ui#readme",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^9.0.0",
"prop-types": "^15.7.2"
Expand All @@ -19,5 +18,9 @@
"bugs": {
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d"
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d",
"scripts": {
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
}
}
5 changes: 3 additions & 2 deletions packages/itinerary-body/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"homepage": "https://github.com/opentripplanner/otp-ui#readme",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^9.0.0",
"@opentripplanner/humanize-distance": "^1.2.0",
Expand All @@ -35,7 +34,9 @@
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
},
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d"
}
6 changes: 4 additions & 2 deletions packages/location-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"repository": "https://github.com/opentripplanner/otp-ui.git",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@conveyal/geocoder-arcgis-geojson": "^0.0.3",
"@opentripplanner/core-utils": "^9.0.0",
Expand All @@ -18,6 +17,7 @@
"throttle-debounce": "^2.1.0"
},
"devDependencies": {
"@opentripplanner/types": "workspace:^",
"@types/throttle-debounce": "^2.1.0"
},
"peerDependencies": {
Expand All @@ -27,6 +27,8 @@
},
"gitHead": "0af1b7cda60bd4252b219dcf893e01c2acb2ed5d",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
}
}
5 changes: 3 additions & 2 deletions packages/location-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"repository": "https://github.com/opentripplanner/otp-ui.git",
"author": "Evan Siroky",
"license": "MIT",
"private": false,
"dependencies": {
"@styled-icons/fa-regular": "^10.34.0",
"@styled-icons/fa-solid": "^10.34.0"
Expand All @@ -19,6 +18,8 @@
},
"gitHead": "644c72e0d08f8daf93b44eaf0deec88a1e16f414",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"build:cjs": "../../scripts/build-cjs.sh",
"build:esm": "../../scripts/build-esm.sh"
}
}
Loading