Skip to content

Commit db3b758

Browse files
committed
Rename package scope and data files from 407-etr to 407-tolls
1 parent 350badd commit db3b758

43 files changed

Lines changed: 69 additions & 69 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "407-etr",
2+
"name": "407-tolls",
33
"private": true,
44
"packageManager": "pnpm@9.15.4",
55
"scripts": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@407-etr/core",
2+
"name": "@407-tolls/core",
33
"version": "0.1.0",
44
"private": true,
55
"type": "module",

packages/web/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { NextConfig } from "next";
22
import { join } from "node:path";
33

44
const nextConfig: NextConfig = {
5-
transpilePackages: ["@407-etr/core"],
5+
transpilePackages: ["@407-tolls/core"],
66
outputFileTracingRoot: join(import.meta.dirname, "..", ".."),
77
};
88

packages/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@407-etr/web",
2+
"name": "@407-tolls/web",
33
"version": "0.1.0",
44
"private": true,
55
"type": "module",
@@ -12,7 +12,7 @@
1212
"typecheck": "tsc --noEmit"
1313
},
1414
"dependencies": {
15-
"@407-etr/core": "workspace:*",
15+
"@407-tolls/core": "workspace:*",
1616
"@headlessui/react": "^2.2.9",
1717
"@radix-ui/react-tooltip": "^1.2.8",
1818
"@vercel/analytics": "^2.0.1",

packages/web/src/app/api/commute/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NextResponse } from "next/server";
2-
import { computeCommuteEstimate, computeNearbyComparison } from "@407-etr/core";
3-
import type { WeekdaySlot, WeekendSlot, CommuteSchedule } from "@407-etr/core";
2+
import { computeCommuteEstimate, computeNearbyComparison } from "@407-tolls/core";
3+
import type { WeekdaySlot, WeekendSlot, CommuteSchedule } from "@407-tolls/core";
44
import { buildRouteInput } from "@/lib/load-toll-points";
55
import { interchanges } from "@/data";
66
import {

packages/web/src/app/api/compare/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { NextResponse } from "next/server";
2-
import { CompareInputSchema, compareRoutes, inferDirection } from "@407-etr/core";
2+
import { CompareInputSchema, compareRoutes, inferDirection } from "@407-tolls/core";
33
import { z } from "zod/v4";
44
import { getOnRampsForDirection } from "@/lib/load-toll-points";
55
import { getDirections } from "@/lib/directions";

packages/web/src/app/api/og/commute/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ImageResponse } from "next/og";
2-
import { computeCommuteEstimate } from "@407-etr/core";
2+
import { computeCommuteEstimate } from "@407-tolls/core";
33
import { resolveSlugRoute } from "@/lib/slugs";
44
import { buildCommuteInput } from "@/lib/build-commute-input";
55
import { formatDollars, formatCommuteDays, formatTimeSlot } from "@/lib/format";

packages/web/src/app/api/og/trip/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ImageResponse } from "next/og";
2-
import { calculateToll, getVehicleClass } from "@407-etr/core";
2+
import { calculateToll, getVehicleClass } from "@407-tolls/core";
33
import { buildTripInput } from "@/lib/build-trip-input";
44
import { formatDollars, formatTimeSlot } from "@/lib/format";
55
import { OG_SIZE, OG_MAX_NAME_LENGTH, loadFonts, OgDefault, OgCard, OgBadge, truncate, searchParamsToQuery } from "@/lib/og";

packages/web/src/app/api/toll/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NextResponse } from "next/server";
2-
import { calculateToll, computeAllTimeSlotCosts } from "@407-etr/core";
3-
import type { WeekdaySlot, WeekendSlot } from "@407-etr/core";
2+
import { calculateToll, computeAllTimeSlotCosts } from "@407-tolls/core";
3+
import type { WeekdaySlot, WeekendSlot } from "@407-tolls/core";
44
import { buildRouteInput } from "@/lib/load-toll-points";
55
import {
66
VALID_WEEKDAY_SLOTS,

0 commit comments

Comments
 (0)