Skip to content
Draft

UI v4 #179

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
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {
'react/prop-types': 'off',
'react-hooks/exhaustive-deps': 'error', // Checks effect dependencies
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
'react-hooks/react-compiler': 'error',
// 'react-hooks/react-compiler': 'error',
'react/no-unescaped-entities': 'off',
'simple-import-sort/exports': 'warn',
'simple-import-sort/imports': 'warn',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An environment for designing, reviewing, and quality-testing React components.
npm install @sanity/ui-workshop -D

# Install peer dependencies
npm install @sanity/icons @sanity/ui react react-dom styled-components
npm install @sanity/icons @sanity/ui react react-dom
```

[![npm version](https://img.shields.io/npm/v/@sanity/ui-workshop.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/ui-workshop)
Expand Down
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/ui-workshop",
"version": "2.1.3",
"version": "3.0.0-local.2",
"keywords": [
"sanity",
"ui",
Expand Down Expand Up @@ -79,7 +79,7 @@
"format": "prettier --write --cache --ignore-unknown .",
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx",
"prepare": "husky install",
"prepublishOnly": "pnpm run build",
"prepack": "pnpm build",
"release": "semantic-release",
"test": "vitest",
"watch": "pkg watch --strict",
Expand Down Expand Up @@ -140,7 +140,7 @@
"@sanity/pkg-utils": "^6.13.4",
"@sanity/prettier-config": "^1.0.3",
"@sanity/semantic-release-preset": "^4.1.8",
"@sanity/ui": "^2.15.14",
"@sanity/ui": "^3.0.0",
"@types/cpx": "^1.5.5",
"@types/express": "^5.0.1",
"@types/lodash": "^4.17.16",
Expand Down Expand Up @@ -176,16 +176,20 @@
"vitest": "^2.1.9"
},
"peerDependencies": {
"@sanity/icons": "^2 || ^3",
"@sanity/ui": "^1 || ^2",
"react": "^18 || ^19",
"react-dom": "^18 || ^19",
"styled-components": "^5.2 || ^6"
"@sanity/icons": "^3",
"@sanity/ui": "^3",
"react": "^19",
"react-dom": "^19"
},
"packageManager": "pnpm@9.15.9",
"publishConfig": {
"access": "public"
},
"pnpm": {
"overrides": {
"@sanity/ui": "file:registry/sanity-ui-3.0.0-local.17.tgz"
}
},
"esm.sh": {
"bundle": false
}
Expand Down
Loading
Loading