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

fix(deps): Update non-major #27

Merged
merged 5 commits into from
Nov 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
9 changes: 4 additions & 5 deletions examples/web/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,10 @@ function App() {

const handleMutation = useCallback(
(event: MutationEvent) => {
createIfNotExists({_id: documentId, _type: person.shape._type.value}),
handleMutate([
createIfNotExists({_id: documentId, _type: person.shape._type.value}),
...event.mutations,
])
handleMutate([
createIfNotExists({_id: documentId, _type: person.shape._type.value}),
...event.mutations,
])
},
[documentId, handleMutate],
)
Expand Down
4 changes: 2 additions & 2 deletions examples/web/lib/form/FormNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function resolveNode<Schema extends SanityType>(
return []
}

function _FormNode<Schema extends SanityDocument>(
function FormNodeComponent<Schema extends SanityDocument>(
props: FormNodeProps<Schema>,
) {
const {renderInput, path, schema, value, onMutation, form} = props
Expand Down Expand Up @@ -154,6 +154,6 @@ export function FormNode<Schema extends SanityDocument>(
return props.path.length === 0 ? (
<DocumentInput {...props} />
) : (
<_FormNode {...props} />
<FormNodeComponent {...props} />
)
}
1 change: 0 additions & 1 deletion package.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ export default defineConfig({
},
// the path to the tsconfig file for distributed builds
tsconfig: 'tsconfig.dist.json',
legacyExports: true,
})
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
"browserslist": "extends @sanity/browserslist-config",
"dependencies": {
"@sanity/client": "^6.21.1",
"@sanity/client": "^6.22.3",
"@sanity/diff-match-patch": "^3.1.1",
"hotscript": "^1.0.13",
"lodash": "^4.17.21",
Expand All @@ -98,14 +98,14 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
"@sanity/pkg-utils": "^6.10.10",
"@sanity/prettier-config": "^1.0.2",
"@sanity/pkg-utils": "^6.11.9",
"@sanity/prettier-config": "^1.0.3",
"@types/diff-match-patch": "^1.0.36",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.13",
"@typescript-eslint/eslint-plugin": "catalog:",
"@typescript-eslint/parser": "catalog:",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-plugin-import": "catalog:",
Expand All @@ -114,12 +114,12 @@
"eslint-plugin-react-hooks": "catalog:",
"eslint-plugin-simple-import-sort": "catalog:",
"eslint-plugin-unused-imports": "catalog:",
"npm-run-all2": "^5.0.0",
"npm-run-all2": "^5.0.2",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsx": "^4.19.0",
"tsx": "^4.19.2",
"typescript": "catalog:",
"vitest": "^2.0.5"
"vitest": "^2.1.4"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading
Loading