Skip to content

Commit 6390ae3

Browse files
authored
Release/v4.2.0 (less#3814)
1 parent 012d549 commit 6390ae3

File tree

26 files changed

+11462
-10140
lines changed

26 files changed

+11462
-10140
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# Output useful info for debugging.
3232
run: node --version && npm --version
3333
- name: Run unit test
34-
run: cd packages/less && npm test
34+
run: npm run test
3535

3636
fast_node_test:
3737
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
@@ -50,4 +50,4 @@ jobs:
5050
- name: Print put node & npm version
5151
run: node --version && npm --version
5252
- name: Run unit test
53-
run: cd packages/less && npm test
53+
run: npm run test

CONTRIBUTING.md

+15
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,18 @@ _Pull requests are encouraged!_
4848
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.
4949

5050
Learn more about [developing Less.js](http://lesscss.org/usage/#developing-less).
51+
52+
## Releases
53+
54+
Releases are managed using Lerna. First, we determine if the release is a major (breaking), minor (new features), or patch (bug fix) change.
55+
56+
Then, you can run Lerna with a command like:
57+
```
58+
npx lerna version minor
59+
```
60+
61+
To publish, run the Lerna command for publishing without incrementing the version, as in:
62+
```
63+
npx lerna publish from-package --no-private
64+
```
65+

dist/less.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Less - Leaner CSS v4.1.3
2+
* Less - Leaner CSS v4.2.0
33
* http://lesscss.org
44
*
55
* Copyright (c) 2009-2023, Alexis Sellier <[email protected]>
@@ -10751,7 +10751,7 @@
1075110751
return render;
1075210752
}
1075310753

10754-
var version = "4.1.3";
10754+
var version = "4.2.0";
1075510755

1075610756
function parseNodeVersion(version) {
1075710757
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

dist/less.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lerna.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5+
"useNx": false,
56
"npmClient": "npm",
6-
"version": "4.1.1"
7+
"version": "4.2.0"
78
}

0 commit comments

Comments
 (0)