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

chore: update deps #7

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,39 @@
"dependencies": {
"@beeman/preset-anchor": "^2.0.0",
"@coral-xyz/anchor": "^0.29.0",
"@mantine/core": "^7.4.1",
"@mantine/dates": "^7.4.1",
"@mantine/dropzone": "^7.4.1",
"@mantine/form": "^7.4.1",
"@mantine/hooks": "^7.4.1",
"@mantine/modals": "^7.4.1",
"@mantine/notifications": "^7.4.1",
"@mantine/spotlight": "^7.4.1",
"@mantine/core": "^7.12.0",
"@mantine/dates": "^7.12.0",
"@mantine/dropzone": "^7.12.0",
"@mantine/form": "^7.12.0",
"@mantine/hooks": "^7.12.0",
"@mantine/modals": "^7.12.0",
"@mantine/notifications": "^7.12.0",
"@mantine/spotlight": "^7.12.0",
"@nx/devkit": "19.5.6",
"@pubkeyapp/wallet-adapter-mantine-ui": "^2.3.0",
"@solana/spl-token": "^0.3.11",
"@solana/spl-token": "^0.4.8",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.34",
"@solana/wallet-adapter-react-ui": "^0.9.35",
"@solana/wallet-adapter-solflare": "^0.6.28",
"@solana/web3.js": "^1.88.0",
"@solana/web3.js": "^1.95.2",
"@swc/helpers": "0.5.12",
"@tabler/icons-react": "^2.45.0",
"@tanstack/react-query": "^5.17.9",
"clsx": "^2.1.0",
"core-js": "3.36.1",
"create-nx-workspace": "17.2.8",
"dayjs": "^1.11.10",
"jotai": "^2.6.1",
"@tabler/icons-react": "^3.11.0",
"@tanstack/react-query": "^5.51.21",
"clsx": "^2.1.1",
"core-js": "3.38.0",
"create-nx-workspace": "19.5.6",
"dayjs": "^1.11.12",
"jotai": "^2.9.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "^6.21.1",
"react-router-dom": "^6.26.0",
"timeago-react": "^3.0.6",
"tslib": "^2.6.2"
"tslib": "^2.6.3"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-react": "^7.23.3",
"@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@nx/eslint": "19.5.6",
"@nx/eslint-plugin": "19.5.6",
"@nx/jest": "19.5.6",
Expand All @@ -57,17 +57,17 @@
"@nx/rollup": "19.5.6",
"@nx/webpack": "19.5.6",
"@nx/workspace": "19.5.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@rollup/plugin-url": "8.0.2",
"@svgr/rollup": "8.1.0",
"@svgr/webpack": "^8.1.0",
"@swc-node/register": "1.9.2",
"@swc/cli": "0.3.14",
"@swc/core": "1.5.7",
"@testing-library/react": "15.0.6",
"@types/jest": "^29.5.11",
"@types/node": "18.19.9",
"@types/react": "18.3.1",
"@swc-node/register": "1.10.9",
"@swc/cli": "0.4.0",
"@swc/core": "1.7.6",
"@testing-library/react": "16.0.0",
"@types/jest": "^29.5.12",
"@types/node": "22.1.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
Expand All @@ -79,22 +79,22 @@
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "^8.0.3",
"husky": "^9.1.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json-schema-to-typescript": "^13.1.1",
"lint-staged": "^15.2.0",
"json-schema-to-typescript": "^15.0.0",
"lint-staged": "^15.2.8",
"nx": "19.5.6",
"postcss": "8.4.38",
"postcss-preset-mantine": "^1.12.3",
"postcss": "8.4.41",
"postcss-preset-mantine": "^1.17.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "^2.6.2",
"react-refresh": "^0.14.0",
"ts-jest": "^29.1.1",
"react-refresh": "^0.14.2",
"ts-jest": "^29.2.4",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"url-loader": "^4.1.1",
"verdaccio": "^5.29.0"
"verdaccio": "^5.32.1"
},
"lint-staged": {
"*.{js,json,css,scss,md,ts,tsx,html,graphql}": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useUiTheme } from '../ui-theme'
import classes from './ui-dashboard-grid.module.css'

export interface UiDashboardItem {
icon: ComponentType<{ color?: string; size: number | string }>
icon: ComponentType<{ color?: string; size: number | string | undefined }>
label: string
to: string
color?: string
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/lib/ui-form/ui-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function cleanupValues<T>({ fields, values }: { fields: UiFormField<T>[]; values
}, {} as Partial<T>)
}

export function UiForm<T>({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function UiForm<T extends Record<string, any>>({
children,
model,
fields,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-pubkey-ui-app/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function main() {
// TODO: update below to customize the workspace
const { directory } = await createWorkspace(preset, {
name,
nxCloud: false,
nxCloud: 'skip',
packageManager: pm,
webName: 'web',
commit: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ exports[`component generator should create files for dashboard-grid 1`] = `
"import { useUiTheme } from '../ui-theme';",
"import classes from './ui-dashboard-grid.module.css';",
"export interface UiDashboardItem {",
"icon: ComponentType<{ color?: string; size: number | string }>;",
"icon: ComponentType<{ color?: string; size: number | string | undefined }>;",
"label: string;",
"to: string;",
"color?: string;",
Expand Down Expand Up @@ -1237,7 +1237,8 @@ exports[`component generator should create files for form 1`] = `
"return acc;",
"}, {} as Partial<T>);",
"}",
"export function UiForm<T>({",
"// eslint-disable-next-line @typescript-eslint/no-explicit-any",
"export function UiForm<T extends Record<string, any>>({",
"children,",
"model,",
"fields,",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { use<%= prefix.className %>Theme } from '../<%= prefix.fileName %>-theme
import classes from './<%= prefix.fileName %>-dashboard-grid.module.css'

export interface <%= prefix.className %>DashboardItem {
icon: ComponentType<{ color?: string; size: number | string }>
icon: ComponentType<{ color?: string; size: number | string | undefined }>
label: string
to: string
color?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function cleanupValues<T>({ fields, values }: { fields: <%= prefix.className %>F
}, {} as Partial<T>)
}

export function <%= prefix.className %>Form<T>({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function <%= prefix.className %>Form<T extends Record<string, any>>({
children,
model,
fields,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ exports[`components generator should run successfully 1`] = `
"import { useUiTheme } from '../ui-theme';",
"import classes from './ui-dashboard-grid.module.css';",
"export interface UiDashboardItem {",
"icon: ComponentType<{ color?: string; size: number | string }>;",
"icon: ComponentType<{ color?: string; size: number | string | undefined }>;",
"label: string;",
"to: string;",
"color?: string;",
Expand Down Expand Up @@ -879,7 +879,8 @@ exports[`components generator should run successfully 1`] = `
"return acc;",
"}, {} as Partial<T>);",
"}",
"export function UiForm<T>({",
"// eslint-disable-next-line @typescript-eslint/no-explicit-any",
"export function UiForm<T extends Record<string, any>>({",
"children,",
"model,",
"fields,",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ exports[`theme generator should run successfully 1`] = `
"import { useUiTheme } from '../ui-theme';",
"import classes from './ui-dashboard-grid.module.css';",
"export interface UiDashboardItem {",
"icon: ComponentType<{ color?: string; size: number | string }>;",
"icon: ComponentType<{ color?: string; size: number | string | undefined }>;",
"label: string;",
"to: string;",
"color?: string;",
Expand Down Expand Up @@ -1048,7 +1048,8 @@ exports[`theme generator should run successfully 1`] = `
"return acc;",
"}, {} as Partial<T>);",
"}",
"export function UiForm<T>({",
"// eslint-disable-next-line @typescript-eslint/no-explicit-any",
"export function UiForm<T extends Record<string, any>>({",
"children,",
"model,",
"fields,",
Expand Down
Loading