Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Releases: sanity-io/sanity-template

v2.4.3

Choose a tag to compare

@bjoerge bjoerge released this 15 Apr 10:08
  • fix: check for root folder in a platform independent way 4f2c00c
  • Bump lodash from 4.17.15 to 4.17.19 (#13) 02396c7
  • Bump npm from 6.10.2 to 6.14.6 (#12) 05af4f8

v2.4.2...v2.4.3

v2.4.2

Choose a tag to compare

@bjoerge bjoerge released this 15 Apr 07:59
  • fix: use same template substitution implementation as on sanity.io/create 790c667
  • chore: upgrade typescript 5062c73
  • Adds migrate command to README (#14) 30db05d

v2.4.1...v2.4.2

v2.4.1

Choose a tag to compare

@bjoerge bjoerge released this 08 Apr 07:21

v2.4.0...v2.4.1

v2.4.0

Choose a tag to compare

@bjoerge bjoerge released this 07 Apr 08:44
  • chore: improve output from build command 6610f71
  • chore: simplify lockfiles test 540a69a
  • chore: make build command support the .sanity-template convention e9b5b08
  • chore: fix typings 94ac93e
  • chore: rename *.js => *.ts 24c0ec8

v2.3.1...v2.4.0

v2.3.1

Choose a tag to compare

@bjoerge bjoerge released this 12 Nov 16:35
  • Upgrade dev dependencies afa26cb
  • Make 'sanity-template check' look for template manifests in .sanity-template/manifest.json too 8da5267

v2.3.0...v2.3.1

v2.3.0

Choose a tag to compare

@bjoerge bjoerge released this 09 Nov 09:30
  • Support specifying production deploy hook for Vercel d828f2c

v2.2.0...v2.3.0

v2.2.0

Choose a tag to compare

@bjoerge bjoerge released this 05 Nov 19:50
  • Support specifying tokens for Vercel deployments b8264dd
  • Upgrade zod + typescript 8860423

v2.1.1...v2.2.0

v2.1.1

Choose a tag to compare

@bjoerge bjoerge released this 27 Oct 11:10
  • Make the generateLockFiles command handle v2 manifests 60ce9cc

v2.1.0...v2.1.1

v2.1.0

Choose a tag to compare

@bjoerge bjoerge released this 27 Oct 10:15
  • Export parseAsCurrent function that takes any manifest source and migrates to current if needed b2fe4cd

v2.0.0...v2.1.0

v2.0.0

Choose a tag to compare

@bjoerge bjoerge released this 22 Jun 11:00
19b02ca

This changes the template manifest version to cater for Vercel as deployment provider.

This changes the template manifest version to cater for Vercel as deployment provider.

Notable changes:

  • Bumping manifest spec version from v0/v1 to v2. Since we have had no strict validation of version up until now there's already several templates out there with version: 1, so these changes becomes v2 instead. As an added bonus the manifest version now also match the npm package version.
  • Defined the template manifest typings using the excellent zod-package. Which means we can import the manifest type and get type safe templates in applications that reads them.
  • Added a cli command for migrating from v0/v1 to v2 by running npx sanity-template migrate from the template repository root folder.
  • Added typescript to the project itself (although there's still a few js files left)

All commits:

  • Readme/docs edits c51df29
  • Support defining a studio base path 2bcb7fa
  • Regenerate package lock eeffdd8
  • Add sanity-template migrate command af8f8ab
  • Use zod for defining template manifest types f76994b
  • Add .npmignore 2ed52e9
  • Add TypeScript definitions for manifest 8dccfa9
  • Change from v0 to v1 5bfc273
  • Fix: throw error instead of calling (undefined) reject 1623466
  • Move commands into own subdir f2cab51
  • Add prettier as dev dependency 85c020b
  • Add the lockfiles command to readme 5d18602
  • Update spec and improve check 88ae4c7
  • Add success message d37a4a7
  • Remove TODO items e2f92d8
  • Add lockfiles test eb0cafc

v1.0.3...v2.0.0