Skip to content

Commit

Permalink
drop the 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Nov 23, 2024
1 parent d18e8a0 commit e895379
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 32 deletions.
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"@vlcn.io/wa-sqlite": "^0.22.0",
"@vlcn.io/xplat-api": "0.11.0",
"@zip.js/zip.js": "^2.7.29",
"ag-grid-community2": "npm:ag-grid-community@^32.2.2",
"ag-grid-enterprise2": "npm:ag-grid-enterprise@^32.2.2",
"ag-grid-community": "^32.2.2",
"ag-grid-enterprise": "^32.2.2",
"ajv": "^8.12.0",
"api-ugc": "workspace:*",
"babel-preset-solid": "^1.8.18",
Expand Down
8 changes: 4 additions & 4 deletions app/src/components/cardsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import {
type IGetRowsParams,
type IToolPanelComp,
type IToolPanelParams,
} from 'ag-grid-community2'
import 'ag-grid-community2/styles/ag-grid.css'
import 'ag-grid-community2/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise2'
} from 'ag-grid-community'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise'
import { Upload, Hamburger } from 'shared-dom/icons'
import { getOk } from 'shared-dom/cardHtml'
import {
Expand Down
8 changes: 4 additions & 4 deletions app/src/components/filtersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {
onMount,
type VoidComponent,
} from 'solid-js'
import { type GridOptions, type GridApi } from 'ag-grid-community2'
import 'ag-grid-community2/styles/ag-grid.css'
import 'ag-grid-community2/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise2'
import { type GridOptions, type GridApi } from 'ag-grid-community'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise'
import '@github/relative-time-element'
import { type TemplateId } from 'shared/brand'
import { agGridTheme, useThemeContext } from 'shared-dom/themeSelector'
Expand Down
8 changes: 4 additions & 4 deletions app/src/components/pluginsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import {
type ICellRendererParams,
type ICellRendererComp,
type GridApi,
} from 'ag-grid-community2'
import 'ag-grid-community2/styles/ag-grid.css'
import 'ag-grid-community2/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise2'
} from 'ag-grid-community'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise'
import '@github/relative-time-element'
import { type Plugin } from 'shared-dom/plugin'
import { C } from '../topLevelAwait'
Expand Down
8 changes: 4 additions & 4 deletions app/src/components/templatesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {
type ICellRendererComp,
type GridApi,
type IGetRowsParams,
} from 'ag-grid-community2'
import 'ag-grid-community2/styles/ag-grid.css'
import 'ag-grid-community2/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise2'
} from 'ag-grid-community'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise'
import { startCase } from 'lodash-es'
import '@github/relative-time-element'
import { Upload } from 'shared-dom/icons'
Expand Down
8 changes: 4 additions & 4 deletions app/src/pages/sync.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import {
type GridApi,
type IHeaderComp,
type IHeaderParams,
} from 'ag-grid-community2'
import 'ag-grid-community2/styles/ag-grid.css'
import 'ag-grid-community2/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise2'
} from 'ag-grid-community'
import 'ag-grid-community/styles/ag-grid.css'
import 'ag-grid-community/styles/ag-theme-alpine.css'
import { LicenseManager } from 'ag-grid-enterprise'
import { DiffModeToggleGroup } from '../components/diffModeContext'
import { uploadNotes, uploadTemplates } from '../domain/sync'
import { type NookId } from 'shared/brand'
Expand Down
5 changes: 1 addition & 4 deletions app/src/uiLogic/aggrid.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
createGrid as createAgGrid,
type GridOptions,
} from 'ag-grid-community2'
import { createGrid as createAgGrid, type GridOptions } from 'ag-grid-community'
import { type Override } from 'shared/utility'
import { getOwner, type JSX, type Owner, runWithOwner } from 'solid-js'
import { render } from 'solid-js/web'
Expand Down
12 changes: 6 additions & 6 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 e895379

Please sign in to comment.