Port sanity-plugin-google-translate to monorepo#906
Conversation
add form builder to peerDeps
Respect filterField function and hidden schema option
add theme wrapper, silence schema warning about title, show permissions
These files came from the subtree import but are not needed in the monorepo.
|
@copilot you are moving over some config files that are not necessary in this monorepo setup, please verify and remove all the unnecessary ones |
These files came from the subtree import but are handled at the monorepo root level or are no longer needed: - .editorconfig, .eslintignore, .eslintrc, .prettierignore, .prettierrc (root-level) - .gitignore (root-level) - .npmignore (not needed with @sanity/pkg-utils) - .releaserc.json (using changesets, not semantic-release)
Removed in 25fc5d6. Deleted |
|
@copilot add an example in where we use the plugin see the readme here https://github.com/sanity-io/plugins/pull/906/changes#diff-fd02b2584732a3a696692c7a6aefd6e329b7eaf90d179904476dddd7944e02fbR42-R76 |
Added in 129abd2. The example now includes a |
65d0138 to
e6e4806
Compare
Migrates
sanity-plugin-google-translateinto the plugins monorepo usinggit subtreeto preserve commit history. Also includes the generator fix from #905 (CJS format for Node.js 24 compatibility) since the generator was broken without it.Changes
sanity-io/sanity-plugin-google-translatemain branch with full history#google-translateexample plugin in sanity.config.tsbabel-plugin-styled-componentsin ignoreDependenciestsdown.config.mtsoutputs CJS,config.tsimports.cjsextension.github/,.husky/,.editorconfig,.eslintignore,.eslintrc,.gitignore,.npmignore,.prettierignore,.prettierrc,.releaserc.json)Breaking changes in the new major
styled-components^6.1 peer dependency retainedNotes
@sanity/iconskept at^3.7.4(not in workspace catalog)isolatedDeclarationsdisabled in tsconfig.build.json (can be enabled later)npm trust github sanity-plugin-google-translate --file=release.yml --repository=sanity-io/plugins