Skip to content

Commit 170bf35

Browse files
authored
chore: bump vite and eslint and prettier and TS related deps (#2965)
* bump vite and eslint and prettier and ts related deps * SNAPSHOT
1 parent 716fbba commit 170bf35

File tree

8 files changed

+482
-433
lines changed

8 files changed

+482
-433
lines changed

AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
- Gate per-resource actions with capability helpers: `instanceCan.start(instance)`, `diskCan.delete(disk)`, etc. (`app/api/util.ts:91-207`)—these return booleans and have `.states` properties listing valid states. Always use these instead of inline state checks; they centralize business logic and link to Omicron source explaining restrictions.
4545
- Pass `disabledReason` prop (accepts ReactNode) when disabling buttons so the UI explains why the action is unavailable.
4646

47-
4847
# Upgrading pinned omicron version
4948

5049
1. Update commit hash in `OMICRON_VERSION`.

app/api/__tests__/safety.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ it('mock-api is only referenced in test files', () => {
5252
"app/main.tsx",
5353
"app/msw-mock-api.ts",
5454
"docs/mock-api-differences.md",
55-
"mock-api/msw/util.ts",
5655
"package.json",
5756
"test/e2e/utils.ts",
5857
"test/unit/server.ts",

app/forms/floating-ip-edit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import { IpPoolCell } from '~/table/cells/IpPoolCell'
2828
import { CopyableIp } from '~/ui/lib/CopyableIp'
2929
import { PropertiesTable } from '~/ui/lib/PropertiesTable'
3030
import { ALL_ISH } from '~/util/consts'
31+
import { pb } from '~/util/path-builder'
3132
import type * as PP from '~/util/path-params'
32-
import { pb } from 'app/util/path-builder'
3333

3434
const floatingIpView = ({ project, floatingIp }: PP.FloatingIp) =>
3535
apiq('floatingIpView', { path: { floatingIp }, query: { project } })

app/pages/project/instances/NetworkingTab.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ const staticCols = [
174174
header: 'Transit IPs',
175175
cell: (info) => (
176176
<ListPlusCell tooltipTitle="Other transit IPs">
177-
{info.getValue()?.map((ip) => <div key={ip}>{ip}</div>)}
177+
{info.getValue()?.map((ip) => (
178+
<div key={ip}>{ip}</div>
179+
))}
178180
</ListPlusCell>
179181
),
180182
}),

mock-api/msw/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { differenceInSeconds, subHours } from 'date-fns'
99
// Works without the .js for dev server and prod build in MSW mode, but
1010
// playwright wants the .js. No idea why, let's just add the .js.
1111
import { IPv4, IPv6 } from 'ip-num/IPNumber.js'
12-
import { getMockOxqlInstanceData } from 'mock-api/oxql-metrics'
1312

1413
import {
1514
FLEET_ID,
@@ -34,6 +33,7 @@ import { GiB, TiB } from '~/util/units'
3433

3534
import type { DbRoleAssignmentResourceType } from '..'
3635
import { genI64Data } from '../metrics'
36+
import { getMockOxqlInstanceData } from '../oxql-metrics'
3737
import { db } from './db'
3838
import { Rando } from './rando'
3939

0 commit comments

Comments
 (0)