diff --git a/.changeset/loader-node-format.md b/.changeset/loader-node-format.md deleted file mode 100644 index 622df2b..0000000 --- a/.changeset/loader-node-format.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@hebilicious/cssforge": patch ---- - -Read project TypeScript in the config graph as ESM whenever Node would read it as CommonJS. The loader -asks Node for the format it chose instead of repeating the package.json lookup and guessing from the -source text. - -A CommonJS-authored `.ts` module inside a CommonJS package now loads as ESM, which matches the documented -`export default` config shape. diff --git a/packages/cssforge/CHANGELOG.md b/packages/cssforge/CHANGELOG.md index 86f2b3b..2ae97b5 100644 --- a/packages/cssforge/CHANGELOG.md +++ b/packages/cssforge/CHANGELOG.md @@ -1,5 +1,16 @@ # @hebilicious/cssforge +## 0.8.2 + +### Patch Changes + +- 1ef8e09: Read project TypeScript in the config graph as ESM whenever Node would read it as CommonJS. The loader + asks Node for the format it chose instead of repeating the package.json lookup and guessing from the + source text. + + A CommonJS-authored `.ts` module inside a CommonJS package now loads as ESM, which matches the documented + `export default` config shape. + ## 0.8.1 ### Patch Changes diff --git a/packages/cssforge/jsr.json b/packages/cssforge/jsr.json index 6ec6de3..72f55ab 100644 --- a/packages/cssforge/jsr.json +++ b/packages/cssforge/jsr.json @@ -1,7 +1,7 @@ { "$schema": "https://jsr.io/schema/config-file.v1.json", "name": "@hebilicious/cssforge", - "version": "0.8.1", + "version": "0.8.2", "license": "MIT", "exports": { ".": "./src/mod.ts", diff --git a/packages/cssforge/package.json b/packages/cssforge/package.json index e329de7..57eb5d4 100644 --- a/packages/cssforge/package.json +++ b/packages/cssforge/package.json @@ -1,6 +1,6 @@ { "name": "@hebilicious/cssforge", - "version": "0.8.1", + "version": "0.8.2", "description": "0 runtime design tokens generator for modern style systems.", "license": "MIT", "type": "module", diff --git a/packages/cssforge/src/version.ts b/packages/cssforge/src/version.ts index c7797ae..40a357c 100644 --- a/packages/cssforge/src/version.ts +++ b/packages/cssforge/src/version.ts @@ -3,4 +3,4 @@ * * Generated by `scripts/version.ts` from `package.json`. Do not edit by hand. */ -export const version = "0.8.1"; +export const version = "0.8.2";