Skip to content

Commit

Permalink
chore: Clean up dependencies [DT-7060] (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanesawyer authored Feb 11, 2025
1 parent 34717f5 commit 678943d
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 117 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
version: 2
updates:
open-pull-requests-limit: 5

# We need to point to each package.json, so this file will be a bit verbose

# Root package.json
Expand Down
1 change: 0 additions & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@types/react": "18.3.0",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react-swc": "3.5.0",
"typescript": "5.3.3",
"vite": "5.3.5"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"buffer": "6.0.0",
"parcel": "2.12.0",
"process": "0.11.10",
"typescript": "5.3.3"
"typescript": "5.3.3",
"vitest": "1.4.0"
},
"volta": {
"node": "22.11.0",
Expand Down
9 changes: 0 additions & 9 deletions packages/dzi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,9 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/AllenInstitute"
},
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@types/lodash": "4.14.202",
"parcel": "2.12.0",
"typescript": "5.3.3",
"vitest": "1.4.0"
},
"dependencies": {
"@alleninstitute/vis-geometry": "workspace:*",
"@alleninstitute/vis-scatterbrain": "workspace:*",
"lodash": "4.17.21",
"regl": "2.1.0"
},
"packageManager": "pnpm@9.14.2"
Expand Down
7 changes: 0 additions & 7 deletions packages/geometry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,5 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/AllenInstitute"
},
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"parcel": "2.12.0",
"typescript": "5.3.3",
"vitest": "1.4.0"
},
"packageManager": "pnpm@9.14.2"
}
8 changes: 0 additions & 8 deletions packages/omezarr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,9 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/AllenInstitute"
},
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@types/lodash": "4.14.202",
"typescript": "5.3.3",
"parcel": "2.12.0"
},
"dependencies": {
"@alleninstitute/vis-geometry": "workspace:*",
"@alleninstitute/vis-scatterbrain": "workspace:*",
"lodash": "4.17.21",
"regl": "2.1.0",
"zarrita": "0.4.0-next.14"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/omezarr/src/zarr-data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Box2D, type Interval, Vec2, type box2D, limit, type vec2 } from '@alleninstitute/vis-geometry';
import { some } from 'lodash';
import * as zarr from 'zarrita';

// documentation for ome-zarr datasets (from which these types are built)
Expand Down Expand Up @@ -240,7 +239,7 @@ export function planeSizeInVoxels(
function buildQuery(r: Readonly<ZarrRequest>, axes: readonly AxisDesc[], shape: number[]) {
const ordered = axes.map((a) => r[a.name as OmeDimension]);
// if any are undefined, throw up
if (some(ordered, (a) => a === undefined)) {
if (ordered.some((a) => a === undefined)) {
throw new Error('request does not match expected dimensions of ome-zarr dataset!');
}

Expand Down
7 changes: 1 addition & 6 deletions packages/scatterbrain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@
"registry": "https://npm.pkg.github.com/AllenInstitute"
},
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@types/lodash": "4.14.202",
"parcel": "2.12.0",
"typescript": "5.3.3",
"vitest": "1.4.0"
"@types/lodash": "4.14.202"
},
"dependencies": {
"@alleninstitute/vis-geometry": "workspace:*",
Expand Down
88 changes: 7 additions & 81 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 678943d

Please sign in to comment.