diff --git a/.changeset/config-esm-in-commonjs.md b/.changeset/config-esm-in-commonjs.md deleted file mode 100644 index f167d98..0000000 --- a/.changeset/config-esm-in-commonjs.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@hebilicious/cssforge": patch ---- - -Load `cssforge.config.ts` as ESM even when the project declares `"type": "commonjs"`. Node read the config -as CommonJS there, switched module syntax detection off, and rejected `export default`, so neither the CLI -nor the bundler plugin could load a config in those projects. - -The loader's message now also carries the failure it caught, which bundlers previously hid behind the -config path. diff --git a/packages/cssforge/CHANGELOG.md b/packages/cssforge/CHANGELOG.md index 04b9ba5..86f2b3b 100644 --- a/packages/cssforge/CHANGELOG.md +++ b/packages/cssforge/CHANGELOG.md @@ -1,5 +1,16 @@ # @hebilicious/cssforge +## 0.8.1 + +### Patch Changes + +- 444bfc5: Load `cssforge.config.ts` as ESM even when the project declares `"type": "commonjs"`. Node read the config + as CommonJS there, switched module syntax detection off, and rejected `export default`, so neither the CLI + nor the bundler plugin could load a config in those projects. + + The loader's message now also carries the failure it caught, which bundlers previously hid behind the + config path. + ## 0.8.0 ### Minor Changes diff --git a/packages/cssforge/jsr.json b/packages/cssforge/jsr.json index 8db5ac5..6ec6de3 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.0", + "version": "0.8.1", "license": "MIT", "exports": { ".": "./src/mod.ts", diff --git a/packages/cssforge/package.json b/packages/cssforge/package.json index 5cfed5b..e329de7 100644 --- a/packages/cssforge/package.json +++ b/packages/cssforge/package.json @@ -1,6 +1,6 @@ { "name": "@hebilicious/cssforge", - "version": "0.8.0", + "version": "0.8.1", "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 7ff6066..c7797ae 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.0"; +export const version = "0.8.1";