Skip to content

Commit 2c5e4dd

Browse files
authored
Lerna refactor / TS compiling w/o bundling (less#3521)
* Lerna refactor / TS compiling w/o bundling * Adds package-lock.json
1 parent a3641e4 commit 2c5e4dd

File tree

933 files changed

+28713
-24984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

933 files changed

+28713
-24984
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ lessc text eol=lf
88
*.jpg binary
99
*.png binary
1010
*.jpeg binary
11+
12+
# From https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
13+
*.lock text -diff
14+
package-lock.json text -diff

.gitignore

+1-13
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,5 @@
99

1010
# npm
1111
node_modules
12-
package-lock.json
12+
!package-lock.json
1313
npm-debug.log
14-
15-
# project-specific
16-
tmp
17-
test/browser/less.min.js
18-
test/browser/less.min.js.map
19-
test/sourcemaps/**/*.map
20-
test/sourcemaps/*.map
21-
test/sourcemaps/*.css
22-
test/less-bom
23-
24-
# grunt
25-
.grunt

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: node_js
22
node_js:
3+
- "14"
34
- "12"
45
- "10"
56
- "8"

.vscode/launch.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"type": "node",
99
"request": "launch",
1010
"name": "Less test",
11-
"program": "${workspaceFolder}/test/index.js",
12-
"cwd": "${workspaceFolder}",
11+
"program": "${workspaceFolder}/packages/less/test/index.js",
12+
"cwd": "${workspaceFolder}/packages/less",
1313
"console": "integratedTerminal"
1414
}
1515
]

README.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,7 @@
44

55
<p align="center"><a href="https://gitter.im/less/less.js?utm_source=badge&amp;utm_medium=badge&amp;utm_campaign=pr-badge&amp;utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" style="max-width:100%;"></a> <br><sup class="rich-diff-level-one">Chat with Less.js users and contributors</sup></p>
66

7-
# [Less.js](http://lesscss.org)
8-
9-
> The **dynamic** stylesheet language. [http://lesscss.org](http://lesscss.org).
10-
11-
This is the JavaScript, official, stable version of Less.
12-
13-
14-
## Getting Started
15-
16-
Options for adding Less.js to your project:
17-
18-
* Install with [npm](https://npmjs.org): `npm install less`
19-
* [Download the latest release][download]
20-
* Clone the repo: `git clone https://github.com/less/less.js.git`
7+
This is the Less.js monorepo, managed via [Lerna](https://lerna.js.org/).
218

229
## More information
2310

@@ -83,4 +70,4 @@ Licensed under the [Apache License](LICENSE).
8370

8471
[so]: http://stackoverflow.com/questions/tagged/less "StackOverflow.com"
8572
[issues]: https://github.com/less/less.js/issues "GitHub Issues for Less.js"
86-
[download]: https://github.com/less/less.js/zipball/master "Download Less.js"
73+
[download]: https://github.com/less/less.js/zipball/master "Download Less.js"

appveyor.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Test against these versions of Node.js.
22
environment:
33
matrix:
4-
- nodejs_version: "6"
54
- nodejs_version: "8"
65
- nodejs_version: "10"
76
- nodejs_version: "12"
7+
- nodejs_version: "14"
88

99
# Install scripts. (runs after repo cloning)
1010
install:
@@ -17,15 +17,12 @@ install:
1717
# change now that we're not using phantomjs?
1818
- appveyor-retry call npm install
1919

20-
# Grunt-specific stuff.
21-
- npm install -g grunt-cli
22-
2320
# Post-install test scripts.
2421
test_script:
2522
# Output useful info for debugging.
2623
- node --version && npm --version
2724
# Run test
28-
- grunt test
25+
- cd packages/less && npm test
2926

3027
# Don't actually build.
3128
build: off

0 commit comments

Comments
 (0)