chore(deps): update dependency @sanity/pkg-utils to v10.9.2#20
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency @sanity/pkg-utils to v10.9.2#20renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
71a69e6 to
e5dab92
Compare
09a4883 to
5a6ff40
Compare
5a6ff40 to
5a1bc16
Compare
5a1bc16 to
eedb401
Compare
eedb401 to
d1ab827
Compare
d1ab827 to
1df53f3
Compare
1df53f3 to
6bca28f
Compare
6bca28f to
e9ba232
Compare
e9ba232 to
5a021e5
Compare
5a021e5 to
a3be58a
Compare
5177207 to
a2fd39a
Compare
a2fd39a to
c055adf
Compare
fe32a0f to
f537abb
Compare
77e02da to
44b9a45
Compare
44b9a45 to
f4ff654
Compare
f4ff654 to
485ff03
Compare
485ff03 to
8363e52
Compare
8363e52 to
69899fe
Compare
67954da to
f6efd16
Compare
f6efd16 to
0ae198b
Compare
0ae198b to
854e7a1
Compare
2555e7d to
d9babf6
Compare
0d97cf4 to
f1e51c8
Compare
f1e51c8 to
ac67040
Compare
ac67040 to
06138b2
Compare
06138b2 to
50a89d2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.1.0→10.9.2Release Notes
sanity-io/pkg-utils (@sanity/pkg-utils)
v10.9.2Compare Source
Patch Changes
#2973
a8147d7Thanks @squiggler-app! - fix(deps): update dependency rolldown to v1.1.4#2979
cc771d2Thanks @squiggler-app! - fix(deps): update dependency vitest to ^4.1.10#2990
f067d9aThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.28.5#2991
14d99f2Thanks @squiggler-app! - fix(deps): update dependency globby to ^16.2.1#2993
c2b9b4aThanks @squiggler-app! - fix(deps): update dependency rolldown-plugin-dts to v0.27.1#2994
5665861Thanks @squiggler-app! - fix(deps): update dependency tsx to ^4.23.0Updated dependencies [
cc771d2]:v10.9.1Compare Source
Patch Changes
a94dab0Thanks @squiggler-app! - fix(deps): update lintersv10.9.0Compare Source
Minor Changes
#2955
935f6f6Thanks @stipsan! - EnabletranspileTemplateLiteralsby default in thebabel.styledComponentstransform, so unused styled components can be tree-shaken.The
pure: truedefault has been emitting/*#__PURE__*/annotations in front of tagged template expressions, a position no bundler supports (see rollup#4035), so the annotations were dropped and unused styled components were never tree-shaken - not by pkg-utils itself, and not by the bundlers of apps consuming the published package. Transpilingstyled.button`...`tostyled.button(["..."])turns the styled component initializer into a plain call expression, which pure annotations are defined for:With this shape, unused styled components are now removed from the build output, and the annotation survives into the published output so app bundlers (rollup, webpack, esbuild, etc) can drop exported styled components that the app never imports.
To restore the previous output, set
babel: {styledComponents: {transpileTemplateLiterals: false}}inpackage.config.ts.Patch Changes
46495fbThanks @squiggler-app! - fix(deps): update dependency browserslist to ^4.28.4v10.8.2Compare Source
Patch Changes
#2934
d6cfe32Thanks @stipsan! - fix: preserve side-effect-only imports of external packagesTree-shaking no longer sets the equivalent of
moduleSideEffects: 'no-external'and instead relies on the bundler's default (moduleSideEffects: true). Previously, binding-less side-effect imports of external package subpaths — e.g.import 'react-time-ago/locale/en'— were stripped from the output, breaking consumers that depended on those side effects.package.jsonsideEffectsfields are still honored for bundled modules, so dead-code elimination is unaffected.v10.8.1Compare Source
Patch Changes
#2933
9f4550eThanks @filmaj! - fix: order of paths passed intofindCommonDirPathno longer matters.#2928
c6dde4fThanks @squiggler-app! - fix(deps): update dependency rolldown to v1.1.3v10.8.0Compare Source
Minor Changes
#2888
59fdc02Thanks @stipsan! - feat: add strict dependency placement checks for well-known packagesWhen running with
--strict,package.jsonis now validated to ensure these packages are declared in the correct dependency fields:react-isand@sanity/uishould not be inpeerDependencies(usedependenciesordevDependencies).sanity,styled-components,react, andreact-domshould not be independencies(usedevDependenciesand/orpeerDependencies).@types/react,@types/react-dom, and@types/nodeshould not be independencies(usedevDependenciesand/orpeerDependencies), and when listed inpeerDependenciesthe version range should be*.rxjsand@sanity/clientshould not be inpeerDependencies(usedependenciesordevDependencies).Each check is enabled by default at the
errorlevel and can be downgraded towarnor disabled viastrictOptionsinpackage.config.ts, e.g.:Patch Changes
#2903
296482aThanks @stipsan! - feat: disallow@sanity/iconsinpeerDependenciesWhen running with
--strict,package.jsonis now validated to ensure@sanity/iconsis not declared inpeerDependencies(usedependenciesordevDependenciesinstead). The check defaults toerrorand can be configured vianoSanityIconsPeerDependencyinstrictOptions.v10.7.2Compare Source
Patch Changes
#2897
de87bc9Thanks @stipsan! - fix: mirror the auto-addedbundle.cssexport intopublishConfig.exportsIn vanilla-extract compat mode, pkg-utils auto-writes the conditional
"./bundle.css"export topackage.json. It only updated the top-levelexports, so packages that also declarepublishConfig.exportsended up out of sync, and the next strict--checkfailed withpublishConfig.exports: missing export path "./bundle.css" that exists in exports.The conditional CSS export is now mirrored into
publishConfig.exportsas well (when that field exists), keeping the two in sync. The entry is identical in both places since the CSS export has nosource/development/monorepoconditions to strip.publishConfig.exportsis never created when it is absent.#2899
97cbc33Thanks @stipsan! - Emit a<css>.d.tsdeclaration alongside the vanilla-extract compat-mode CSS shim, so dts export checkers that resolve a.d.tsfor every export target don't crash on a missing declaration file.v10.7.1Compare Source
Patch Changes
ba964f1Thanks @stipsan! - Revert the upgrade of@babel/coreand@babel/preset-typescriptto v8, pinning them back to v7v10.7.0Compare Source
Minor Changes
#2890
c219497Thanks @stipsan! - feat: auto-wire the conditionalbundle.cssexport for vanilla-extractWhen
rollup.vanillaExtractis enabled, pkg-utils now (by default) bakes in the conditional CSS export pattern so userland no longer needs a manualrollup.output.intro+ shim plugin +package.jsonexport. This new "compat mode" (rollup.vanillaExtract.extract.compatMode, defaults totrue):import "<pkg-name>/<name>"into each entry chunk,<name>.jsshim for runtimes that cannot import.cssfiles, and"./<name>"export topackage.json(browser/style→ the real CSS,node/default→ the shim).The emitted CSS file name is configurable via
rollup.vanillaExtract.extract.name(default"bundle.css"), and thevanillaExtractoption is now fully typed (PkgVanillaExtractOptions) with its real defaults documented. Setextract.compatMode: falseto opt out and wire these up yourself.Patch Changes
c219497]:v10.6.0Compare Source
Minor Changes
#2887
a6adaa1Thanks @stipsan! - feat: support conditionalexportsfor CSS filesCSS subpath exports may now be declared as a conditional object (a flat map of condition name to path) instead of only a plain string. This enables re-adding a
import "<pkg>/bundle.css"statement that resolves to the real CSS file in bundler/browser environments, while resolving to a no-op JS shim in runtimes (like Node) that cannot import.cssfiles directly:{ "exports": { "./bundle.css": { "browser": "./dist/bundle.css", "style": "./dist/bundle.css", "node": "./dist/bundle.css.js", "default": "./dist/bundle.css.js" } } }Patch Changes
#2878
10e1150Thanks @renovate! - fix(deps): Update babel monorepo to v8#2883
c8c192fThanks @renovate! - fix(deps): update rollup packagesUpdated dependencies [
a6adaa1]:v10.5.8Compare Source
Patch Changes
#2875
8c1f3f3Thanks @renovate! - fix(deps): Update dependency rolldown to v1.1.2#2876
3948fd3Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.26.0v10.5.7Compare Source
Patch Changes
94505ecThanks @renovate! - fix(deps): Update rollup packages to ^4.62.0v10.5.6Compare Source
Patch Changes
#2859
b7a6402Thanks @renovate! - fix(deps): Update dependency esbuild to ^0.28.1#2861
f3ca6b0Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.9v10.5.5Compare Source
Patch Changes
9d06a16Thanks @renovate! - fix(deps): Update dependency rolldown to v1.1.1v10.5.4Compare Source
Patch Changes
#2837
cc5b92aThanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.8#2844
c27e975Thanks @jasonevines! - fix: preserve subpath imports of external packages in rolldown dts outputBare specifiers are now matched against their package name when deciding externals in the rolldown dts pipeline, so subpath imports of external dependencies (e.g.
@sanity/client/stega) keep their original specifier instead of resolving to an absolute filesystem path in the emitted declarations.v10.5.3Compare Source
Patch Changes
#2821
f506c56Thanks @renovate! - fix(deps): Update dependency tsx to ^4.22.4#2826
384f9daThanks @renovate! - fix(deps): Update rollup packages to ^4.61.0#2832
47f9eceThanks @renovate! - fix(deps): Update rollup packages to ^4.61.1#2833
d9677b5Thanks @renovate! - fix(deps): Update dependency rolldown to v1.1.0Updated dependencies [
66b1028]:v10.5.2Compare Source
Patch Changes
#2808
33ecccfThanks @renovate! - fix(deps): Update babel monorepo to ^7.29.7#2811
496fb46Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.3#2814
913dbc4Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.25.2#2817
09a3e6cThanks @renovate! - fix(deps): Update rollup packages and enable Rollup Babel worker-thread parallelizationUpdated dependencies [
370f616]:v10.5.1Compare Source
Patch Changes
#2769
60f10adThanks @renovate! - fix(deps): Update dependency zod to ^4.4.3#2775
ab35f5cThanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.25.1#2783
5e0ae6dThanks @renovate! - fix(deps): Update dependency empathic to ^2.0.1#2784
0b3b078Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.2#2785
72555a3Thanks @renovate! - fix(deps): Update dependency rollup to ^4.60.4#2795
9a83fe7Thanks @renovate! - fix(deps): Update dependency tsx to ^4.22.3Updated dependencies [
60f10ad]:v10.5.0Compare Source
Minor Changes
#2781
a8f395fThanks @rexxars! - feat: schedule JS build tasks fornodeexport sub-conditionsExports with a
nodesub-condition (exports['.'].node.import/.require) now generate JS build tasks underruntime: 'node'usingtarget.node, symmetric to howbrowsersub-conditions are already handled. Previously these outputs only got.d.tsfiles emitted while the JS was never built, leaving the declared output paths dangling. Isomorphic packages can now ship a node-specific entry without relaxing the package-wide browserslist.Patch Changes
b86cb83Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.18v10.4.18Compare Source
Patch Changes
#2761
1827954Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.7#2762
6c3647fThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.17#2763
835385aThanks @renovate! - fix(deps): Update dependency rollup to ^4.60.2Updated dependencies [
a2246f5]:v10.4.17Compare Source
Patch Changes
8b3445bThanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.5v10.4.16Compare Source
Patch Changes
#2743
c102ab2Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.16Updated dependencies []:
v10.4.15Compare Source
Patch Changes
#2725
086d1c7Thanks @renovate! - fix(deps): Update dependency esbuild to ^0.28.0#2726
8f4793aThanks @renovate! - fix(deps): Update dependency globby to ^16.2.0#2731
0bcccb3Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.2#2732
7c102f7Thanks @renovate! - fix(deps): Update dependency browserslist to ^4.28.2#2733
c05d10dThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.15#2734
b5fedbeThanks @renovate! - fix(deps): Update dependency rollup to ^4.60.1v10.4.14Compare Source
Patch Changes
#2699
a484858Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.12#2700
d6636bfThanks @renovate! - fix(deps): Update dependency rollup to ^4.60.0#2706
1d8d023Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.23.2#2716
08fdfa4Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.1v10.4.13Compare Source
Patch Changes
61a09bdThanks @renovate! - fix(deps): Update dependency rollup to ^4.59.1v10.4.12Compare Source
Patch Changes
#2685
87a253bThanks @renovate! - fix(deps): Update dependency @vanilla-extract/rollup-plugin to ^1.5.3#2686
c0280eeThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.10v10.4.11Compare Source
Patch Changes
2d3edc9Thanks @renovate! - fix(deps): Update dependency @vanilla-extract/rollup-plugin to ^1.5.2v10.4.10Compare Source
Patch Changes
#2649
33d26ceThanks @renovate! - fix(deps): Update dependency @rollup/plugin-commonjs to ^29.0.2#2650
3821a82Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.22.5#2659
cc56003Thanks @renovate! - fix(deps): Update dependency lightningcss to ^1.32.0#2665
94f1a49Thanks @renovate! - fix(deps): Update dependency esbuild to ^0.27.4#2666
e795861Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.9v10.4.9Compare Source
Patch Changes
d1790a3Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.57.7v10.4.8Compare Source
Patch Changes
#2640
67f5063Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.7#2642
d759132Thanks @renovate! - fix(deps): Update dependency @rollup/plugin-babel to v7#2643
85e8c02Thanks @renovate! - fix(deps): Update dependency @rollup/plugin-terser to v1v10.4.7Compare Source
Patch Changes
#2626
95d12ddThanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.22.3#2630
8165026Thanks @copilot-swe-agent! - fix(deps): Update dependency cac to ^7.0.0v10.4.6Compare Source
Patch Changes
2cac539Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.6v10.4.5Compare Source
Patch Changes
#2578
5ee8931Thanks @renovate! - fix(deps): Update dependency esbuild to ^0.27.3#2581
62980f8Thanks @renovate! - fix(deps): Update dependency globby to ^16.1.1#2592
7a48c18Thanks @renovate! - fix(deps): Update dependency @microsoft/tsdoc-config to ^0.18.1#2593
cde1debThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.5#2600
118274bThanks @renovate! - fix(deps): Update dependency rollup to ^4.59.0#2611
919af3eThanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.57.6#2615
9766f55Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.22.2#2609
9f06503Thanks @copilot-swe-agent! - fix(deps): Upgrade get-latest-version to v6 (ESM-only, named exports)v10.4.4Compare Source
Patch Changes
c39a359Thanks @renovate! - fix(deps): Update dependency @babel/core to ^7.29.0v10.4.3Compare Source
Patch Changes
6ee4fc6Thanks @stipsan! - fix(deps): Update dependency rollup to ^4.57.1v10.4.2Compare Source
Patch Changes
#2546
2b3c6f8Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.2#2547
033a811Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.21.8#2549
574c6b0Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.56.0v10.4.1Compare Source
Patch Changes
#2761
1827954Thanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.58.7#2762
6c3647fThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.17#2763
835385aThanks @renovate! - fix(deps): Update dependency rollup to ^4.60.2Updated dependencies [
a2246f5]:v10.4.0Compare Source
Minor Changes
a7bd216Thanks @copilot-swe-agent! - Auto-enable styled-components compiler when detected as peer dependency. Ifstyled-componentsis in peerDependencies andbabel-plugin-styled-componentsis in devDependencies, the babel plugin is automatically enabled without requiring explicit configuration. Users can disable this behavior by settingbabel: { styledComponents: false }in package.config.ts.Patch Changes
#2543
02423baThanks @renovate! - fix(deps): Update dependency @microsoft/api-extractor to ^7.55.5#2544
1c06f32Thanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.21.7v10.3.5Compare Source
Patch Changes
518d45aThanks @stipsan! - Remove dependency onrecastv10.3.4Compare Source
Patch Changes
#2510
6981ea0Thanks @renovate! - fix(deps): Update dependency rollup to ^4.56.0#2511
847ae7dThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-rc.1#2521
3277895Thanks @renovate! - fix(deps): Update dependency zod to ^4.3.6#2522
26fa84fThanks @renovate! - fix(deps): Update dependency lightningcss to ^1.31.1#2523
b083a6aThanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.21.6Updated dependencies [
8652e7e,3277895]:v10.3.3Compare Source
Patch Changes
#2488
b6905ceThanks @renovate! - fix(deps): Update babel monorepo to ^7.28.6#2489
31ce38dThanks @renovate! - fix(deps): Update dependency rolldown-plugin-dts to v0.21.2#2492
6f91a08Thanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-beta.60Updated dependencies [
d722c3c]:v10.3.2Compare Source
Patch Changes
b5b113f]:v10.3.1Compare Source
Patch Changes
90e412eThanks @renovate! - fix(deps): Update dependency rolldown to v1.0.0-beta.59v10.3.0Compare Source
Minor Changes
d05d1b9Thanks @copilot-swe-agent! - Add support formonorepoexport condition alongsidedevelopmentandsourceconditionsPatch Changes
9c8fad8Thanks @renovate! - fix(deps): Update dependency zod to ^Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.