Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/condensed-publish-runtime-conditions.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/dependencies-GH-3297.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dependencies-GH-3298.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dependencies-GH-3299.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/skip-synthesized-namespace-release-tags.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/@sanity/parse-package-json/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @sanity/parse-package-json

## 2.3.2

### Patch Changes

- [#3290](https://github.com/sanity-io/pkg-utils/pull/3290) [`32ecd1c`](https://github.com/sanity-io/pkg-utils/commit/32ecd1cefccbb51358b1b2125a6978c0a71f0f20) Thanks [@rexxars](https://github.com/rexxars)! - Accept a runtime condition condensed to a plain string in `publishConfig.exports`
(`"node": "./dist/index.node.js"` resolves identically to
`"node": {"default": "./dist/index.node.js"}`), which is what is left of a `{source, default}`
condition once `source` is stripped for publishing. Validating an export subpath now also picks the
expected shape from the subpath itself, so a malformed entry is reported against the condition that
is wrong instead of as `A conditional CSS export must resolve to at least one ".css" file`, and a
`package.json` validation error that carries its own message is printed as a message rather than as
a raw issue object.

## 2.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/parse-package-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/parse-package-json",
"version": "2.3.1",
"version": "2.3.2",
"description": "Internal library used by other sanity.io packages",
"homepage": "https://github.com/sanity-io/pkg-utils/tree/main/packages/@sanity/parse-package-json#readme",
"bugs": {
Expand Down
23 changes: 23 additions & 0 deletions packages/@sanity/pkg-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @sanity/pkg-utils

## 12.1.3

### Patch Changes

- [#3290](https://github.com/sanity-io/pkg-utils/pull/3290) [`32ecd1c`](https://github.com/sanity-io/pkg-utils/commit/32ecd1cefccbb51358b1b2125a6978c0a71f0f20) Thanks [@rexxars](https://github.com/rexxars)! - Accept a runtime condition condensed to a plain string in `publishConfig.exports`
(`"node": "./dist/index.node.js"` resolves identically to
`"node": {"default": "./dist/index.node.js"}`), which is what is left of a `{source, default}`
condition once `source` is stripped for publishing. Validating an export subpath now also picks the
expected shape from the subpath itself, so a malformed entry is reported against the condition that
is wrong instead of as `A conditional CSS export must resolve to at least one ".css" file`, and a
`package.json` validation error that carries its own message is printed as a message rather than as
a raw issue object.

- [#3298](https://github.com/sanity-io/pkg-utils/pull/3298) [`3aac365`](https://github.com/sanity-io/pkg-utils/commit/3aac36517efe6111c5c157efda0ff5ef284fc926) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency tsx to ^4.23.12

- [#3288](https://github.com/sanity-io/pkg-utils/pull/3288) [`5bfa760`](https://github.com/sanity-io/pkg-utils/commit/5bfa76059aaf49793cc537b5c78b41a9466f858b) Thanks [@stipsan](https://github.com/stipsan)! - Stop flagging the synthesized namespace wrappers of the declaration bundler with `ae-missing-release-tag`.

Namespace re-exports (`export * as ns from './module'`, or `import * as ns` + `export {ns}`) make the declaration bundling pass synthesize a `declare namespace <module>_d_exports {…}` wrapper that drops the doc comment of the re-export statement, so the wrapper could never carry a release tag and there was no userland fix short of downgrading the rule for the whole package. The TSDoc check now recognizes those wrappers (the interop naming, declared as a namespace in the entry or a shared chunk, a body that only re-exports sibling declarations, and re-exported under an alias) and exempts them from `ae-missing-release-tag`, like API Extractor's own rollups never checked the equivalent namespace. Everything else, including user namespaces that merely resemble the interop naming, stays checked: a namespace that declares members of its own is yours to tag, even when the bundler's deconflicting hands it a wrapper-shaped name.

- Updated dependencies [[`32ecd1c`](https://github.com/sanity-io/pkg-utils/commit/32ecd1cefccbb51358b1b2125a6978c0a71f0f20), [`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6), [`5bfa760`](https://github.com/sanity-io/pkg-utils/commit/5bfa76059aaf49793cc537b5c78b41a9466f858b)]:
- @sanity/parse-package-json@2.3.2
- @sanity/tsdown-config@0.24.2

## 12.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/pkg-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/pkg-utils",
"version": "12.1.2",
"version": "12.1.3",
"description": "Simple utilities for modern npm packages.",
"keywords": [
"sanity-io",
Expand Down
13 changes: 13 additions & 0 deletions packages/@sanity/tsdown-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @sanity/tsdown-config

## 0.24.2

### Patch Changes

- [#3297](https://github.com/sanity-io/pkg-utils/pull/3297) [`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency rolldown to ~1.2.4

- [#3288](https://github.com/sanity-io/pkg-utils/pull/3288) [`5bfa760`](https://github.com/sanity-io/pkg-utils/commit/5bfa76059aaf49793cc537b5c78b41a9466f858b) Thanks [@stipsan](https://github.com/stipsan)! - Stop flagging the synthesized namespace wrappers of the declaration bundler with `ae-missing-release-tag`.

Namespace re-exports (`export * as ns from './module'`, or `import * as ns` + `export {ns}`) make the declaration bundling pass synthesize a `declare namespace <module>_d_exports {…}` wrapper that drops the doc comment of the re-export statement, so the wrapper could never carry a release tag and there was no userland fix short of downgrading the rule for the whole package. The TSDoc check now recognizes those wrappers (the interop naming, declared as a namespace in the entry or a shared chunk, a body that only re-exports sibling declarations, and re-exported under an alias) and exempts them from `ae-missing-release-tag`, like API Extractor's own rollups never checked the equivalent namespace. Everything else, including user namespaces that merely resemble the interop naming, stays checked: a namespace that declares members of its own is yours to tag, even when the bundler's deconflicting hands it a wrapper-shaped name.

- Updated dependencies [[`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6)]:
- @sanity/vanilla-extract-tsdown-plugin@0.3.2

## 0.24.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/tsdown-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/tsdown-config",
"version": "0.24.1",
"version": "0.24.2",
"description": "Shared configuration for tsdown",
"keywords": [
"sanity-io",
Expand Down
8 changes: 8 additions & 0 deletions packages/@sanity/vanilla-extract-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @sanity/vanilla-extract-integration

## 0.1.13

### Patch Changes

- [#3297](https://github.com/sanity-io/pkg-utils/pull/3297) [`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency rolldown to ~1.2.4

- [#3299](https://github.com/sanity-io/pkg-utils/pull/3299) [`45aa622`](https://github.com/sanity-io/pkg-utils/commit/45aa6222d5b00ad1885a5bedd217235f27c0e8d2) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency yuku-parser to ^0.8.7

## 0.1.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/vanilla-extract-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/vanilla-extract-integration",
"version": "0.1.12",
"version": "0.1.13",
"description": "Vendored port of @vanilla-extract/integration onto the rolldown toolchain: yuku-parsed debug IDs and a rolldown child compilation instead of babel and esbuild",
"keywords": [
"sanity-io",
Expand Down
9 changes: 9 additions & 0 deletions packages/@sanity/vanilla-extract-rolldown-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sanity/vanilla-extract-rolldown-plugin

## 0.4.2

### Patch Changes

- [#3297](https://github.com/sanity-io/pkg-utils/pull/3297) [`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency rolldown to ~1.2.4

- Updated dependencies [[`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6), [`45aa622`](https://github.com/sanity-io/pkg-utils/commit/45aa6222d5b00ad1885a5bedd217235f27c0e8d2)]:
- @sanity/vanilla-extract-integration@0.1.13

## 0.4.1

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/vanilla-extract-rolldown-plugin",
"version": "0.4.1",
"version": "0.4.2",
"description": "rolldown plugin for vanilla-extract that extracts CSS into a lightningcss-optimized file, modeled after @tsdown/css",
"keywords": [
"sanity-io",
Expand Down
9 changes: 9 additions & 0 deletions packages/@sanity/vanilla-extract-tsdown-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sanity/vanilla-extract-tsdown-plugin

## 0.3.2

### Patch Changes

- [#3297](https://github.com/sanity-io/pkg-utils/pull/3297) [`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6) Thanks [@squiggler-app](https://github.com/apps/squiggler-app)! - fix(deps): update dependency rolldown to ~1.2.4

- Updated dependencies [[`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6)]:
- @sanity/vanilla-extract-rolldown-plugin@0.4.2

## 0.3.1

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/vanilla-extract-tsdown-plugin",
"version": "0.3.1",
"version": "0.3.2",
"description": "tsdown plugin for vanilla-extract that extracts CSS into a lightningcss-optimized file, modeled after @tsdown/css",
"keywords": [
"sanity-io",
Expand Down
7 changes: 7 additions & 0 deletions packages/@sanity/vanilla-extract-vite-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @sanity/vanilla-extract-vite-plugin

## 0.2.13

### Patch Changes

- Updated dependencies [[`5496b49`](https://github.com/sanity-io/pkg-utils/commit/5496b49a8ce776af68a9c4f71715c52270b398b6), [`45aa622`](https://github.com/sanity-io/pkg-utils/commit/45aa6222d5b00ad1885a5bedd217235f27c0e8d2)]:
- @sanity/vanilla-extract-integration@0.1.13

## 0.2.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/vanilla-extract-vite-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/vanilla-extract-vite-plugin",
"version": "0.2.12",
"version": "0.2.13",
"description": "Vite 8 plugin for vanilla-extract with plugin hook filters and a caching compiler on Vite's ModuleRunner",
"keywords": [
"sanity-io",
Expand Down
Loading