Skip to content

Release/v4.2.0 #3814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Aug 19, 2023
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# Output useful info for debugging.
run: node --version && npm --version
- name: Run unit test
run: cd packages/less && npm test
run: npm run test

fast_node_test:
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
Expand All @@ -50,4 +50,4 @@ jobs:
- name: Print put node & npm version
run: node --version && npm --version
- name: Run unit test
run: cd packages/less && npm test
run: npm run test
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,18 @@ _Pull requests are encouraged!_
If you want to take an issue just add a small comment saying you are having a go at something, so we don't get duplication.

Learn more about [developing Less.js](http://lesscss.org/usage/#developing-less).

## Releases

Releases are managed using Lerna. First, we determine if the release is a major (breaking), minor (new features), or patch (bug fix) change.

Then, you can run Lerna with a command like:
```
npx lerna version minor
```

To publish, run the Lerna command for publishing without incrementing the version, as in:
```
npx lerna publish from-package --no-private
```

4 changes: 2 additions & 2 deletions dist/less.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Less - Leaner CSS v4.1.3
* Less - Leaner CSS v4.2.0
* http://lesscss.org
*
* Copyright (c) 2009-2023, Alexis Sellier <self@cloudhead.net>
Expand Down Expand Up @@ -10751,7 +10751,7 @@
return render;
}

var version = "4.1.3";
var version = "4.2.0";

function parseNodeVersion(version) {
var match = version.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/); // eslint-disable-line max-len
Expand Down
4 changes: 2 additions & 2 deletions dist/less.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"packages": [
"packages/*"
],
"useNx": false,
"npmClient": "npm",
"version": "4.1.1"
"version": "4.2.0"
}
Loading