Closed runeb closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
gatsby-source-sanity | ❌ Failed (Inspect) | Aug 30, 2023 9:55pm |
Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Packages | Version | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|---|
typescript | 5.1.6...5.2.2 | None | +0/-0 |
40.6 MB | typescript-bot |
eslint-config-prettier | 8.8.0...8.10.0 | None | +6/-9 |
352 kB | lydell |
@types/jest | 29.5.3...29.5.4 | None | +6/-14 |
258 kB | types |
@types/lodash | 4.14.195...4.14.197 | None | +0/-0 |
863 kB | types |
tailwindcss | 3.3.1...3.3.3 | None | +12/-12 |
9.06 MB | adamwathan |
autoprefixer | 10.4.14...10.4.15 | None | +3/-7 |
2.33 MB | ai |
@sanity/semantic-release-preset | 4.1.2...4.1.4 | None | +1/-161 |
47.3 kB | sanity-io |
🚮 Removed packages: @types/node@18.17.0, @types/semver@7.5.0, @types/url-parse@1.4.8, eslint@8.45.0, gatsby@5.11.0, gatsby@5.8.1, gatsby-core-utils@4.11.0, gatsby-plugin-image@3.11.0, gatsby-plugin-image@3.8.0, gatsby-plugin-postcss@6.8.0, gatsby-plugin-sharp@5.8.1, gatsby-plugin-utils@4.11.0, gatsby-source-sanity@7.6.2, jest@29.6.1, postcss@8.4.21
Moved the package code into "packages/gatsby-source-sanity" and declared that folder and anything in packages or examples folders as workspaces.
This to better separate the example(s) and the package code, and for easier testing of the package under development. Normally you could have just relative-imported the package in a bundled example project, but Gatsby relies on module resolution to imports the configured plugins, so its much easier to just leverage workspaces and depend on * for the latest local version.
This way it is easy to run watch in the plugin and have a feedback loop of testing in the example app, and I will be adding more example apps to test further functionality. I have proxies npm scripts from root into the package so existing CI/CD should keep working the same