Skip to content

Commit

Permalink
fix: replace @repo/visual-editing-helpers (#2520)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Jan 17, 2025
1 parent ee85bc0 commit 7784f6f
Show file tree
Hide file tree
Showing 156 changed files with 1,064 additions and 2,231 deletions.
4 changes: 2 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
]
},
{
"matchDepNames": ["sanity", "@sanity/util"],
"matchDepNames": ["sanity", "@sanity/util", "@sanity/types"],
"matchFileNames": [
"packages/presentation/package.json",
"packages/presentation-comlink/package.json",
"packages/preview-url-secret/package.json",
"packages/visual-editing-helpers/package.json",
"packages/vercel-protection-bypass/package.json"
],
"matchDepTypes": ["devDependencies", "peerDependencies"],
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"packages/core-loader":"1.7.26","packages/react-loader":"1.10.35","packages/svelte-loader":"1.13.2","packages/presentation":"1.22.0","packages/preview-url-secret":"2.1.0","packages/preview-kit-compat":"1.5.32","packages/visual-editing-helpers":"0.7.14","packages/visual-editing":"2.12.2","packages/insert-menu":"1.0.19","packages/comlink":"3.0.0","packages/next-loader":"1.2.14","packages/vercel-protection-bypass":"1.0.1"}
{"packages/core-loader":"1.7.26","packages/react-loader":"1.10.35","packages/svelte-loader":"1.13.2","packages/presentation":"1.22.0","packages/preview-url-secret":"2.1.0","packages/preview-kit-compat":"1.5.32","packages/visual-editing":"2.12.2","packages/insert-menu":"1.0.19","packages/comlink":"3.0.0","packages/next-loader":"1.2.14","packages/vercel-protection-bypass":"1.0.1"}
3 changes: 0 additions & 3 deletions apps/nuxt/server/tsconfig.json

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "visual-editing-monorepo",
"private": true,
"scripts": {
"build": "turbo run build --filter='!./apps/*'",
"build": "turbo run build --filter='!./apps/*' --filter='!./packages/comlink/playground'",
"build:astro": "turbo run build --filter=./apps/astro",
"dev": "turbo run build --filter='!./apps/*' && turbo watch dev --filter='./packages/*' --filter='./packages/@repo/*' --filter=./apps/* --filter=!next-with-i18n",
"dev:astro": "turbo run build --filter=apps-astro^... --filter=apps-studio^... && turbo watch dev --filter=apps-astro... --filter=apps-studio...",
Expand Down Expand Up @@ -67,6 +67,7 @@
"@sanity/core-loader": "workspace:*",
"@sanity/next-loader": "workspace:*",
"@sanity/presentation": "workspace:*",
"@sanity/presentation-comlink": "workspace:*",
"@sanity/preview-kit-compat": "workspace:*",
"@sanity/preview-url-secret": "workspace:*",
"@sanity/react-loader": "workspace:*",
Expand All @@ -75,6 +76,7 @@
"@sanity/util": "$@sanity/util",
"@sanity/vision": "$@sanity/vision",
"@sanity/visual-editing": "workspace:*",
"@sanity/visual-editing-csm": "workspace:*",
"@types/react": "$@types/react",
"@types/react-dom": "$@types/react-dom",
"groq": "$groq",
Expand Down
3 changes: 1 addition & 2 deletions packages/@repo/package.config/src/package.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ export default defineConfig({
optimizeLodash: true,
},
extract: {
bundledPackages: ['@repo/visual-editing-helpers'],
rules: {
'ae-forgotten-export': 'error',
'ae-incompatible-release-tags': 'warn',
'ae-internal-missing-underscore': 'off',
'ae-missing-release-tag': 'warn',
'ae-missing-release-tag': 'off',
},
},
tsconfig: 'tsconfig.build.json',
Expand Down
2 changes: 2 additions & 0 deletions packages/@repo/sanity-schema/src/page-builder-demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
type PresentationPluginOptions,
} from '@sanity/presentation'
import {defineArrayMember, defineField, definePlugin, defineType} from 'sanity'
import {structureTool} from 'sanity/structure'
import {PageSectionInput} from './PageSectionInput'

const {dataset, workspace, tool} = workspaces['cross-dataset-references']
Expand Down Expand Up @@ -678,5 +679,6 @@ export const pageBuilderDemoPlugin = definePlugin<
},
...config,
}),
structureTool(),
],
}))
1 change: 1 addition & 0 deletions packages/comlink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/package.config": "workspace:*",
"@sanity/pkg-utils": "6.13.4",
"eslint": "^8.57.1",
"typescript": "5.7.3",
"vitest": "^2.1.8"
Expand Down
Loading

0 comments on commit 7784f6f

Please sign in to comment.