8 Commits

Author SHA1 Message Date
Matthew Dean
6cafcc0466 fix: webpack browser build - use UMD dist/less.js, add CJS bundle (#4424)
* fix: webpack browser build - use UMD dist/less.js, add CJS bundle (#4423)

- Browser exports point to dist/less.js (UMD) instead of less-node
- Add CJS bundle (dist/less-node.cjs) for Node require() with module shim
- Remove dead index.js; index.cjs re-exports CJS bundle
- Add export tests: import-patterns, webpack-browser, test-cjs-suite
- CI and publish workflows run test:node (build + CJS + ESM tests)

* Beta publish script

* chore: clarify test:node runs ESM + CJS in workflow labels

* fix: normalize path separators in rollup plugin for Windows CI

The inlinePackageVersion plugin used forward-slash path check that
failed on Windows where rollup passes backslash-separated IDs,
leaving the require('../../package.json') unresolved at runtime.

* chore: bump version to 4.6.3 for release
2026-03-11 11:11:04 -07:00
Matthew Dean
30c3a97c21 chore: release v4.6.0 (#4415)
* chore: prepare v4.6.0 release

- Bump version to 4.6.0 in all package.json files
- Add CHANGELOG entry for v4.6.0
- Update publish workflow: replace deprecated actions/create-release with
  gh release create, attach dist files (less.js, less.min.js) as release
  assets, bump contents permission to write
- Remove .github/** from paths-ignore (was preventing workflow updates)
- Update CONTRIBUTING.md with detailed release documentation

version: 4.6.0

* fix: publish workflow and provenance errors

- Add repository field to test-data package.json (fixes npm OIDC
  provenance verification failure)
- Skip publish workflow on forks (only run on less/less.js)
- Remove duplicate require('fs') in bump-and-publish.js
- Add language specifier to markdown code block in CONTRIBUTING.md

* fix: handle existing releases for idempotent workflow re-runs
2026-03-10 12:11:58 -07:00
Matthew Dean
5cd329c9d0 Set up auto-publishing and alpha branch (#4390)
* Set up alpha branch and auto-publishing

* Restore 4.5.0 version number

* Set up post-merge hook to stablize version and fix tests

* Restore .gitattributes

* Fix to publish.yml

* Revert PNPM version to version 8 for Node 16 compatibility

* Another attempt to resolve PNPM version

* Another attempt to resolve PNPM version
2025-12-14 11:37:47 -08:00
Matthew Dean
d1abdabcc2 feat: deprecation warnings for Less + monorepo chores (#4319)
* Added deprecation warnings

* Remove warning about combinator

* Switch to PNPM

* Update local dependencies

* Remove inner dist folder

* Create symbolic link to dist folder

* Flip dist folders

* Create symbolic link in root

* Add contributors

* 👥 Add @matthew-dean as a contributor

* 👥 Add @cloudhead as a contributor

* 👥 Add @lukeapage as a contributor

* 👥 Add @seven-phases-max as a contributor

* 👥 Add @iChenLei as a contributor

* 👥 Add @puckowski as a contributor

* Add more contributors

* Finish deprecation warnings

* Resolve deletions and such

* Fix symbolic link

* Update ci.yml to use PNPM

* Update ci.yml to use PNPM

* Refine CI versions

* Fix node printed version

* Better fix for #4258 and #4292

* Re-enable other tests
2025-03-01 11:23:48 -08:00
Matthew Dean
dc3a310530 v4.0.0 (#3573)
* Remove math=strict-legacy, set default=parens-division
* Support for comma-less color functions
* Require parens after mixin call
* Output invalid JS functions in CSS
* Escape parens and revert pass-through function errors
* Remove ieCompat option
* Remove non-performant class pattern
* Add isdefined() function
2020-12-18 10:03:08 -08:00
Matthew Dean
257efdd688 Fixes #3434 - memory / runtime improvements (#3572)
* Remove class extends pattern for nodes
* Fix node benchmark
* v3.13.0
* Restore tree caching
2020-12-11 18:00:22 -08:00
Matthew Dean
efb76ec825 Restore nuked scripts (?), replace dependencies (#3501) (#3522)
* Lerna refactor / TS compiling w/o bundling

* Add package-lock.json
2020-06-22 07:02:22 -07:00
Matthew Dean
2c5e4dd9b9 Lerna refactor / TS compiling w/o bundling (#3521)
* Lerna refactor / TS compiling w/o bundling
* Adds package-lock.json
2020-06-22 05:41:38 -07:00