Monorepo for open source libraries used by nrkno-sanity

Overview

NRK.no Sanity libraries

NRK.no Sanity libraries contains an assortment of plugins and libraries used by NRK.no to extend Sanity Studio and apps using Sanity as a datasource.

Principles of nrkno-sanity outlines a bit about how NRK.no has configured Sanity Studio to optimize for a multi-team environment, all shipping content to distributed frontend.

Many of the libraries are based around the idea of option driven design, and everything relies on typesafe-schemas.

Please note that NRK is not looking for contributions for this particular repo.

This monorepo uses Lerna for versioning & publishing to npm. Publishing is triggered manually by the nrk.no team using CI infrastructure.

It is recommended to skim through the Lerna documentation.

Getting started

Run npm install && npm run init.

This will:

  • install all dependencies needed for Lerna.
  • install and hoist all package dependencies, then build everything.
  • prepare husky commit hooks required for development.

Rerun npm run init after package dependencies have change, to hoist & link everything correctly.

Tests

npm run test

To test a package in another project, use npm link/yarn link.

Commits & Versioning

All commits on master should follow convential commit format:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

We use commitlint to enforce this with a git-hook.

Examples

fix: allow provided config object to extend other configs
feat: allow provided config object to extend other configs

BREAKING CHANGE: `extends` key in config file is now used for extending other config files

Determine release version for current branch

npm run version:dry-run

Approximate result:

Changes:

  • @nrk/nrkno-lib-1: 0.4.0 => 0.4.1
  • @nrk/sanity-plugin-nrkno-lib-2 1.4.0 => 1.5.0

? Are you sure you want to create these versions? No

Note: A yes answer will modify package.json files & update CHANGELOG.md, but nothing will be commited or pushed.

Publishing

Publishing is triggered by nrk.no team using CI infrastructure (nrkno-sanity-libs-releaser).

Create a new package

See packages documentation.

Note: Packages are private on npm by default. Add

  "publishConfig": {
    "access": "public"
  }

to package.json to make it public on npm.

Comments
  • chore(deps): upgrade sanity to version 2.29.5

    chore(deps): upgrade sanity to version 2.29.5

    Scope

    Upgrade sanity to version 2.29.5

    Reviewers

    Checklist

    I have:

    • [x] used conventional commit messages
    • [x] committed with git-hooks active (ran npm install at least once locally before committing)
    • [x] considered if this is a breaking change
    • [x] tested the changes using npm link / yarn link
    • [x] triggered nrkno-sanity-libs-releaser for this branch and checked the status

    The branch-build must be manually triggered by the nrk.no team using nrkno-sanity-libs-releaser.

    After merging, new version(s) should be published to npm by by triggering nrkno-sanity-libs-releaser for the master branch.

    These manual steps are a safeguard to prevent accidental releases and version changes.

    opened by artzag 4
  • chore(deps): bump sanity to v2.29.3 and adjust code after the upgrade

    chore(deps): bump sanity to v2.29.3 and adjust code after the upgrade

    Scope

    bump sanity to v2.29.3 and adjust code after the upgrade.

    Reviewers

    Checklist

    I have:

    • [x] used conventional commit messages
    • [x] committed with git-hooks active (ran npm install at least once locally before committing)
    • [x] considered if this is a breaking change
    • [x] tested the changes using npm link / yarn link
    • [x] triggered nrkno-sanity-libs-releaser for this branch and checked the status

    The branch-build must be manually triggered by the nrk.no team using nrkno-sanity-libs-releaser.

    After merging, new version(s) should be published to npm by by triggering nrkno-sanity-libs-releaser for the master branch.

    These manual steps are a safeguard to prevent accidental releases and version changes.

    opened by artzag 2
  • chore(deps): bump url-parse from 1.5.4 to 1.5.7

    chore(deps): bump url-parse from 1.5.4 to 1.5.7

    Bumps url-parse from 1.5.4 to 1.5.7.

    Commits
    • 8b3f5f2 1.5.7
    • ef45a13 [fix] Readd the empty userinfo to url.href (#226)
    • 88df234 [doc] Add soft deprecation notice
    • 78e9f2f [security] Fix nits
    • e6fa434 [security] Add credits for incorrect handling of userinfo vulnerability
    • 4c9fa23 1.5.6
    • 7b0b8a6 Merge pull request #223 from unshiftio/fix/at-sign-handling-in-userinfo
    • e4a5807 1.5.5
    • 193b44b [minor] Simplify whitespace regex
    • 319851b [fix] Remove CR, HT, and LF
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies 
    opened by dependabot[bot] 2
  • chore(deps): bump follow-redirects from 1.14.7 to 1.14.8

    chore(deps): bump follow-redirects from 1.14.7 to 1.14.8

    Bumps follow-redirects from 1.14.7 to 1.14.8.

    Commits
    • 3d81dc3 Release version 1.14.8 of the npm package.
    • 62e546a Drop confidential headers across schemes.
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies 
    opened by dependabot[bot] 2
  • feat: debug config available

    feat: debug config available

    NRKNO-4478

    Scope

    La til ny config-param som gjør at man får en chatty log som forhåpentligvis gjør det enklere å debugge. Fjernet sjekk på at event har _id til fordel for _rev (som jo faktisk blir validert).

    @ajaco har du mulighet til å legge inn dette libbet i nettvideo soonish?

    @mollerse tror du denne checklisten i readme og/eller debug logging hadde hjulpet i Åpen gate :crossed_fingers: ? image

    Reviewers

    Les gjennom oppdatet review, og jsdocs. Se eventuelt på koden.

    Checklist

    I have:

    • [x] used conventional commit messages
    • [x] committed with git-hooks active (ran npm install at least once locally before committing)
    • [x] considered if this is a breaking change
    • [x] tested the changes using npm link / yarn link
    • [x] triggered nrkno-sanity-libs-releaser for this branch and checked the status

    Branch: NRKNO-4478-debug-iframe-api

    • @nrk/nrkno-iframe-preview-api: 1.1.2 => 1.2.0
    opened by snorrees 2
  • chore: Initial commit for iframe libs

    chore: Initial commit for iframe libs

    Scope: NRKNO-4374

    Flytter IFramePreview fra nrkno-sanity til nrkno-sanity-libs.

    • La til mer docs
    • Sekvensdiagram
    • Tester

    Flytter et par hooks fra nrkno-sanity til nrkno-sanity-libs (nrkno-sanity-react-utils).

    • La til docs
    • Tester

    Nytt lib for å integrere render-apps med IFramePreview. Før var dette bare copypasta fra docs, nå er det et lib.

    • Implentasjon
    • Docs
    • Tester

    La inn voltaconfig på alt, så da blir alle ting minor-bumped:

    Branch: NRKNO-4374-iframe-preview

    • @nrk/nrkno-iframe-preview-api: 1.0.0 => 1.0.1
    • @nrk/nrkno-sanity-react-utils: 1.0.0 => 1.0.1
    • @nrk/nrkno-sanity-typesafe-schemas: 1.0.3 => 1.0.4
    • @nrk/sanity-plugin-nrkno-iframe-preview: 1.0.0 => 1.0.1
    • @nrk/sanity-plugin-nrkno-odd-utils: 1.0.3 => 1.0.4

    Reviewers

    Les gjennom README.md filene:

    Gir det mening?

    Checklist

    I have:

    • [x] used conventional commit messages
    • [x] committed with git-hooks active (ran npm install at least once locally before committing)
    • [x] considered if this is a breaking change
    • [x] tested the changes using npm link / yarn link
    • [x] triggered nrkno-sanity-libs-releaser for this branch and checked the status

    The branch-build must be manually triggered by the nrk.no team using nrkno-sanity-libs-releaser.

    After merging, new version(s) should be published to npm by by triggering nrkno-sanity-libs-releaser for the master branch.

    These manual steps are a safeguard to prevent accidental releases and version changes.

    opened by snorrees 2
  • feat: initial commit for sanity-plugin-nrkno-odd-utils

    feat: initial commit for sanity-plugin-nrkno-odd-utils

    All koden i denne pakken er kopi fra nrkno-sanity med følgende endringer:

    • Mer jsdocs
    • Tester
    • I option-driven-design.md har jeg lagt til en haug med eksempler + screenshots

    Testet med nrkno-sanity-lib-releaser for featurebranch: image (ser det mangler en newline i output her)

    Hva skal reviewers gjøre

    • Les gjennom README.md.
    • Les gjennom eksemplene i bunn av option-driven-design.md.
    • Les gjennom jsdocs i koden.

    Gi meg beskjed om du helst ikke vil legges på sanity-lib PR's.

    opened by snorrees 2
  • chore(deps): bump @sanity/util from 2.35.0 to 3.0.6

    chore(deps): bump @sanity/util from 2.35.0 to 3.0.6

    Bumps @sanity/util from 2.35.0 to 3.0.6.

    Release notes

    Sourced from @​sanity/util's releases.

    v3.0.2

    Sanity Studio v3

    This is the release of the stable, production-ready version the new major version (v3) of Sanity Studio. It deprecates Studio v2 and earlier versions. Studio v3 brings new features for content creators and developers, as well as a completely rewritten studio customization framework.

    High-level improvements

    • The Parts system is deprecated and replaced with a new studio customization framework
    • Custom webpack tooling is replaced with Vite
    • Sanity Studio now ships as a single npm dependency ([sanity](https://www.npmjs.com/package/sanity)) with JavaScript-based configuration (sanity.config.js|ts / sanity.cli.js|ts)
    • The Studio module also has full ECMAScript Modules (ESM) support and CommonJS fallback and can be run in all modern browsers without bundling and embedded in any web project
    • Full TypeScript coverage with annotated APIs (@internal, @beta, @public), new helper functions (defineType,defineField), and emerging inline documentation with TS Doc
    • Better abstractions for wrapping and composing Studio and Form Components with renderDefault(props) and other convenience functions.
    • New Plugins API with plugin development tooling (plugin-kit) that makes it easier to build, maintain, and publish plugins on npm
    • New Studio v3 templates that let you get up and running with best practices

    Learn more about Studio v3

    v3.0.0-rc.3

    Installation and upgrading

    To globally install/upgrade the v3 Sanity CLI:

    npm install --global sanity@dev-preview
    

    To validate you're on @3.0.0-rc.3:

    $ sanity --version
    > sanity version 3.0.0-rc.3
    

    The new CLI should work with existing v2 studios, but you won't be able to initialize new v2 studios with it.

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@dev-preview
    

    To upgrade a v3 Studio:

    npm install [email protected]
    

    Make sure your package.json are up to date with these dependencies:

    {
      "dependencies": {
        // if you’re depending on `@sanity/ui`
        "@sanity/ui": "^1.0.0",
    </tr></table> 
    

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump @sanity/types from 2.35.0 to 3.0.6

    chore(deps): bump @sanity/types from 2.35.0 to 3.0.6

    Bumps @sanity/types from 2.35.0 to 3.0.6.

    Release notes

    Sourced from @​sanity/types's releases.

    v3.0.2

    Sanity Studio v3

    This is the release of the stable, production-ready version the new major version (v3) of Sanity Studio. It deprecates Studio v2 and earlier versions. Studio v3 brings new features for content creators and developers, as well as a completely rewritten studio customization framework.

    High-level improvements

    • The Parts system is deprecated and replaced with a new studio customization framework
    • Custom webpack tooling is replaced with Vite
    • Sanity Studio now ships as a single npm dependency ([sanity](https://www.npmjs.com/package/sanity)) with JavaScript-based configuration (sanity.config.js|ts / sanity.cli.js|ts)
    • The Studio module also has full ECMAScript Modules (ESM) support and CommonJS fallback and can be run in all modern browsers without bundling and embedded in any web project
    • Full TypeScript coverage with annotated APIs (@internal, @beta, @public), new helper functions (defineType,defineField), and emerging inline documentation with TS Doc
    • Better abstractions for wrapping and composing Studio and Form Components with renderDefault(props) and other convenience functions.
    • New Plugins API with plugin development tooling (plugin-kit) that makes it easier to build, maintain, and publish plugins on npm
    • New Studio v3 templates that let you get up and running with best practices

    Learn more about Studio v3

    v3.0.0-rc.3

    Installation and upgrading

    To globally install/upgrade the v3 Sanity CLI:

    npm install --global sanity@dev-preview
    

    To validate you're on @3.0.0-rc.3:

    $ sanity --version
    > sanity version 3.0.0-rc.3
    

    The new CLI should work with existing v2 studios, but you won't be able to initialize new v2 studios with it.

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@dev-preview
    

    To upgrade a v3 Studio:

    npm install [email protected]
    

    Make sure your package.json are up to date with these dependencies:

    {
      "dependencies": {
        // if you’re depending on `@sanity/ui`
        "@sanity/ui": "^1.0.0",
    </tr></table> 
    

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump @sanity/types from 2.35.0 to 3.0.6 in /packages/sanity-plugin-nrkno-spellcheck

    chore(deps): bump @sanity/types from 2.35.0 to 3.0.6 in /packages/sanity-plugin-nrkno-spellcheck

    Bumps @sanity/types from 2.35.0 to 3.0.6.

    Release notes

    Sourced from @​sanity/types's releases.

    v3.0.2

    Sanity Studio v3

    This is the release of the stable, production-ready version the new major version (v3) of Sanity Studio. It deprecates Studio v2 and earlier versions. Studio v3 brings new features for content creators and developers, as well as a completely rewritten studio customization framework.

    High-level improvements

    • The Parts system is deprecated and replaced with a new studio customization framework
    • Custom webpack tooling is replaced with Vite
    • Sanity Studio now ships as a single npm dependency ([sanity](https://www.npmjs.com/package/sanity)) with JavaScript-based configuration (sanity.config.js|ts / sanity.cli.js|ts)
    • The Studio module also has full ECMAScript Modules (ESM) support and CommonJS fallback and can be run in all modern browsers without bundling and embedded in any web project
    • Full TypeScript coverage with annotated APIs (@internal, @beta, @public), new helper functions (defineType,defineField), and emerging inline documentation with TS Doc
    • Better abstractions for wrapping and composing Studio and Form Components with renderDefault(props) and other convenience functions.
    • New Plugins API with plugin development tooling (plugin-kit) that makes it easier to build, maintain, and publish plugins on npm
    • New Studio v3 templates that let you get up and running with best practices

    Learn more about Studio v3

    v3.0.0-rc.3

    Installation and upgrading

    To globally install/upgrade the v3 Sanity CLI:

    npm install --global sanity@dev-preview
    

    To validate you're on @3.0.0-rc.3:

    $ sanity --version
    > sanity version 3.0.0-rc.3
    

    The new CLI should work with existing v2 studios, but you won't be able to initialize new v2 studios with it.

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@dev-preview
    

    To upgrade a v3 Studio:

    npm install [email protected]
    

    Make sure your package.json are up to date with these dependencies:

    {
      "dependencies": {
        // if you’re depending on `@sanity/ui`
        "@sanity/ui": "^1.0.0",
    </tr></table> 
    

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump @sanity/util from 2.35.0 to 3.0.6 in /packages/sanity-plugin-nrkno-spellcheck

    chore(deps): bump @sanity/util from 2.35.0 to 3.0.6 in /packages/sanity-plugin-nrkno-spellcheck

    Bumps @sanity/util from 2.35.0 to 3.0.6.

    Release notes

    Sourced from @​sanity/util's releases.

    v3.0.2

    Sanity Studio v3

    This is the release of the stable, production-ready version the new major version (v3) of Sanity Studio. It deprecates Studio v2 and earlier versions. Studio v3 brings new features for content creators and developers, as well as a completely rewritten studio customization framework.

    High-level improvements

    • The Parts system is deprecated and replaced with a new studio customization framework
    • Custom webpack tooling is replaced with Vite
    • Sanity Studio now ships as a single npm dependency ([sanity](https://www.npmjs.com/package/sanity)) with JavaScript-based configuration (sanity.config.js|ts / sanity.cli.js|ts)
    • The Studio module also has full ECMAScript Modules (ESM) support and CommonJS fallback and can be run in all modern browsers without bundling and embedded in any web project
    • Full TypeScript coverage with annotated APIs (@internal, @beta, @public), new helper functions (defineType,defineField), and emerging inline documentation with TS Doc
    • Better abstractions for wrapping and composing Studio and Form Components with renderDefault(props) and other convenience functions.
    • New Plugins API with plugin development tooling (plugin-kit) that makes it easier to build, maintain, and publish plugins on npm
    • New Studio v3 templates that let you get up and running with best practices

    Learn more about Studio v3

    v3.0.0-rc.3

    Installation and upgrading

    To globally install/upgrade the v3 Sanity CLI:

    npm install --global sanity@dev-preview
    

    To validate you're on @3.0.0-rc.3:

    $ sanity --version
    > sanity version 3.0.0-rc.3
    

    The new CLI should work with existing v2 studios, but you won't be able to initialize new v2 studios with it.

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@dev-preview
    

    To upgrade a v3 Studio:

    npm install [email protected]
    

    Make sure your package.json are up to date with these dependencies:

    {
      "dependencies": {
        // if you’re depending on `@sanity/ui`
        "@sanity/ui": "^1.0.0",
    </tr></table> 
    

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • chore(deps): bump @sanity/util from 2.35.0 to 3.1.2

    chore(deps): bump @sanity/util from 2.35.0 to 3.1.2

    Bumps @sanity/util from 2.35.0 to 3.1.2.

    Release notes

    Sourced from @​sanity/util's releases.

    v3.1.2

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixed a regression with release 3.1.0 where a custom style in the portable text input would not fallback to be rendered as the normal style when a rendering-component for that style was not defined.

    📓 Full changelog

    Author Message Commit
    Per-Kristian Nordnes fix(core/form): fix forgotten optional extension 24805ae66
    Per-Kristian Nordnes fix(form/inputs): fix component fallback behaviour e892c62bc
    Per-Kristian Nordnes fix(schema): fix validator text typo 5e4c56243

    v3.1.1

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixes an issue where createAuthStore would incorrectly require a client factory to be passed
    • Fixes an issue where lodash was not optimized in all released Sanity packages
    • Fixes an issue where disabling direct uploads when using multiple asset sources would not work

    📓 Full changelog

    Author Message Commit
    Cody Olsen fix: ensure lodash is optimized in every monorepo package 8494ac0d19
    Cody Olsen fix: apply config.form.image.directUploads cf52ee7a45
    Marius Lundgård fix: clientFactory should be optional d894d56469
    Espen Hovlandsdal chore: temporarily skip flakey tests b8534b1876
    Espen Hovlandsdal chore: update release notes script with new instructions afcc2f5c62
    Espen Hovlandsdal fix(groq): provide tsdoc for groq template literal function f9520b2e97

    v3.1.0

    Installation and upgrading

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump @sanity/types from 2.35.0 to 3.1.2

    chore(deps): bump @sanity/types from 2.35.0 to 3.1.2

    Bumps @sanity/types from 2.35.0 to 3.1.2.

    Release notes

    Sourced from @​sanity/types's releases.

    v3.1.2

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixed a regression with release 3.1.0 where a custom style in the portable text input would not fallback to be rendered as the normal style when a rendering-component for that style was not defined.

    📓 Full changelog

    Author Message Commit
    Per-Kristian Nordnes fix(core/form): fix forgotten optional extension 24805ae66
    Per-Kristian Nordnes fix(form/inputs): fix component fallback behaviour e892c62bc
    Per-Kristian Nordnes fix(schema): fix validator text typo 5e4c56243

    v3.1.1

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixes an issue where createAuthStore would incorrectly require a client factory to be passed
    • Fixes an issue where lodash was not optimized in all released Sanity packages
    • Fixes an issue where disabling direct uploads when using multiple asset sources would not work

    📓 Full changelog

    Author Message Commit
    Cody Olsen fix: ensure lodash is optimized in every monorepo package 8494ac0d19
    Cody Olsen fix: apply config.form.image.directUploads cf52ee7a45
    Marius Lundgård fix: clientFactory should be optional d894d56469
    Espen Hovlandsdal chore: temporarily skip flakey tests b8534b1876
    Espen Hovlandsdal chore: update release notes script with new instructions afcc2f5c62
    Espen Hovlandsdal fix(groq): provide tsdoc for groq template literal function f9520b2e97

    v3.1.0

    Installation and upgrading

    ... (truncated)

    Commits
    • 9eae0b0 v3.1.2
    • e229901 v3.1.1
    • 8494ac0 fix: ensure lodash is optimized in every monorepo package
    • 2ac9ccf v3.1.0
    • cb867b8 refactor(types): limit supported types in block types .of to objects and refs
    • c21a8f1 refactor(types/schema): support seperate inlineBlock render callback
    • 7aa1404 refactor(types): remove deprecated block validator Rules from v2
    • 48c03a9 refactor(types): refactor portable text types used internally in the studio
    • dfd33ce refactor(types): refactor Block schemas for new component extension api
    • 7265a6b v3.0.6
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump @sanity/util from 2.35.0 to 3.1.2 in /packages/sanity-plugin-nrkno-spellcheck

    chore(deps): bump @sanity/util from 2.35.0 to 3.1.2 in /packages/sanity-plugin-nrkno-spellcheck

    Bumps @sanity/util from 2.35.0 to 3.1.2.

    Release notes

    Sourced from @​sanity/util's releases.

    v3.1.2

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixed a regression with release 3.1.0 where a custom style in the portable text input would not fallback to be rendered as the normal style when a rendering-component for that style was not defined.

    📓 Full changelog

    Author Message Commit
    Per-Kristian Nordnes fix(core/form): fix forgotten optional extension 24805ae66
    Per-Kristian Nordnes fix(form/inputs): fix component fallback behaviour e892c62bc
    Per-Kristian Nordnes fix(schema): fix validator text typo 5e4c56243

    v3.1.1

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixes an issue where createAuthStore would incorrectly require a client factory to be passed
    • Fixes an issue where lodash was not optimized in all released Sanity packages
    • Fixes an issue where disabling direct uploads when using multiple asset sources would not work

    📓 Full changelog

    Author Message Commit
    Cody Olsen fix: ensure lodash is optimized in every monorepo package 8494ac0d19
    Cody Olsen fix: apply config.form.image.directUploads cf52ee7a45
    Marius Lundgård fix: clientFactory should be optional d894d56469
    Espen Hovlandsdal chore: temporarily skip flakey tests b8534b1876
    Espen Hovlandsdal chore: update release notes script with new instructions afcc2f5c62
    Espen Hovlandsdal fix(groq): provide tsdoc for groq template literal function f9520b2e97

    v3.1.0

    Installation and upgrading

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump @sanity/types from 2.35.0 to 3.1.2 in /packages/sanity-plugin-nrkno-spellcheck

    chore(deps): bump @sanity/types from 2.35.0 to 3.1.2 in /packages/sanity-plugin-nrkno-spellcheck

    Bumps @sanity/types from 2.35.0 to 3.1.2.

    Release notes

    Sourced from @​sanity/types's releases.

    v3.1.2

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixed a regression with release 3.1.0 where a custom style in the portable text input would not fallback to be rendered as the normal style when a rendering-component for that style was not defined.

    📓 Full changelog

    Author Message Commit
    Per-Kristian Nordnes fix(core/form): fix forgotten optional extension 24805ae66
    Per-Kristian Nordnes fix(form/inputs): fix component fallback behaviour e892c62bc
    Per-Kristian Nordnes fix(schema): fix validator text typo 5e4c56243

    v3.1.1

    Installation and upgrading

    To initiate a new Studio without installing the CLI globally:

    npx create-sanity@latest
    

    To upgrade a v3 Studio:

    npm install sanity@latest
    

    🐛 Notable bugfixes

    • Fixes an issue where createAuthStore would incorrectly require a client factory to be passed
    • Fixes an issue where lodash was not optimized in all released Sanity packages
    • Fixes an issue where disabling direct uploads when using multiple asset sources would not work

    📓 Full changelog

    Author Message Commit
    Cody Olsen fix: ensure lodash is optimized in every monorepo package 8494ac0d19
    Cody Olsen fix: apply config.form.image.directUploads cf52ee7a45
    Marius Lundgård fix: clientFactory should be optional d894d56469
    Espen Hovlandsdal chore: temporarily skip flakey tests b8534b1876
    Espen Hovlandsdal chore: update release notes script with new instructions afcc2f5c62
    Espen Hovlandsdal fix(groq): provide tsdoc for groq template literal function f9520b2e97

    v3.1.0

    Installation and upgrading

    ... (truncated)

    Commits
    • 9eae0b0 v3.1.2
    • e229901 v3.1.1
    • 8494ac0 fix: ensure lodash is optimized in every monorepo package
    • 2ac9ccf v3.1.0
    • cb867b8 refactor(types): limit supported types in block types .of to objects and refs
    • c21a8f1 refactor(types/schema): support seperate inlineBlock render callback
    • 7aa1404 refactor(types): remove deprecated block validator Rules from v2
    • 48c03a9 refactor(types): refactor portable text types used internally in the studio
    • dfd33ce refactor(types): refactor Block schemas for new component extension api
    • 7265a6b v3.0.6
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • chore(deps): bump @sanity/icons from 1.3.6 to 1.3.10

    chore(deps): bump @sanity/icons from 1.3.6 to 1.3.10

    Bumps @sanity/icons from 1.3.6 to 1.3.10.

    Release notes

    Sourced from @​sanity/icons's releases.

    v1.3.10

    1.3.10 (2022-11-24)

    Bug Fixes


    This release is also available on:

    Changelog

    Sourced from @​sanity/icons's changelog.

    1.3.10 (2022-11-24)

    Bug Fixes

    Commits
    Maintainer changes

    This version was pushed to npm by stipsan, a new releaser for @​sanity/icons since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
Owner
Norsk rikskringkasting (NRK)
NRK is the Norwegian government-owned radio and television public broadcasting company, and the largest media organisation in Norway.
Norsk rikskringkasting (NRK)
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform.

twitter-text This repository is a collection of libraries and conformance tests to standardize parsing of Tweet text. It synchronizes development, tes

Twitter 2.9k Jan 8, 2023
⚙️ Monorepo for shared configurations used in Alphaworks

@alpha-dao/shared-config Usage Shared Config Wondering which configuration to use when starting a new project? Then you're probably looking for this m

Alphaworks 8 Nov 17, 2022
Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications.

Cornerstone is a set of JavaScript libraries that can be used to build web-based medical imaging applications. It provides a framework to build radiology applications such as the OHIF Viewer.

cornerstone.js 141 Dec 22, 2022
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
The backend for our Airbnb App, built using Sanity.io.

AirBnb Sanity.io Backend This repository is to support my tutorial on how to build an AirBnb Clone with strucutred content using Sanity.io and Next.js

Ania Kubow 73 Dec 28, 2022
Airbnb-sanity - 🧳 Chrome extension to hide Airbnb listings you don't like

Airbnb Sanity ?? Coming soon to the Chrome Webstore! Chrome extension to hide Airbnb listings you don't like. Tired of looking through the same Airbnb

Johannes Rieke 4 Apr 4, 2022
Rede social baseada no ShareMe para compartilhamento e download de fotos em React,Sanity.io e TailWindCSS

Photophan ?? Descrição phothopan é uma rede social para o compartilhamento e download de imagens,foi desenvolvida utilizando React(Frontend),Sanity(Ba

Bruno Ariel 2 Jan 8, 2022
This is the repo for the Medium2 project with Next.js, Sanity CMS, React and Tailwind CSS

Next.js + Tailwind CSS Example This example shows how to use Tailwind CSS (v3.0) with Next.js. It follows the steps outlined in the official Tailwind

null 1 Jan 22, 2022
Javascript client for Sanity. Works in node.js and modern browsers (older browsers needs a Promise polyfill).

@sanity/client Javascript client for Sanity. Works in node.js and modern browsers (older browsers needs a Promise polyfill). Requirements Sanity Clien

Sanity 23 Nov 29, 2022
Medium-Clone with Next.JS, Typescript, Tailwindcss, and Sanity!!

Medium Clone ?? Overview /pages ✔️ pages/index.tsx = Homepage and list all Blogs ✔️ pages/post/[slug].tsx = Details Blog /pages/api ✔️ pages/api/creat

argikurnia 23 Nov 16, 2022
A multi-tag input for sanity studio.

sanity-plugin-tags A multi-tag input for sanity studio. Fully featured with autocomplete capabilities, live updates, predefined tag options, style and

P Christopher Bowers 7 Jul 22, 2022
Stablo is a minimal blog website template built with Next.js, TailwindCSS & Sanity CMS

Stablo Blog Template - Next.js & Sanity CMS Stablo is a JAMStack Starter template built with Next.js, Tailwind CSS & Sanity CMS by Web3Templates. Clic

Web3Templates 159 Dec 30, 2022
Sanity plugin for viewing resources which reference a particular resource.

@indent-oss/sanityio-referenced-by Plugin to see which documents reference a particular document referenced-by-sanityio.mov Video Alt Text: Demonstrat

Indent 16 Nov 2, 2022
Enhanced Sanity.io plugin development experience.

@sanity/plugin-kit NOTE This is a developer preview package meant for Sanity Studio v3 plugin development. For a v2 alternative, consider using Sanipa

Sanity 40 Dec 27, 2022