Skip to content

Commit

Permalink
Lerna refactor / TS compiling w/o bundling (#3521)
Browse files Browse the repository at this point in the history
* Lerna refactor / TS compiling w/o bundling
* Adds package-lock.json
  • Loading branch information
matthew-dean authored Jun 22, 2020
1 parent a3641e4 commit 2c5e4dd
Show file tree
Hide file tree
Showing 933 changed files with 28,713 additions and 24,984 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ lessc text eol=lf
*.jpg binary
*.png binary
*.jpeg binary

# From https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
*.lock text -diff
package-lock.json text -diff
14 changes: 1 addition & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,5 @@

# npm
node_modules
package-lock.json
!package-lock.json
npm-debug.log

# project-specific
tmp
test/browser/less.min.js
test/browser/less.min.js.map
test/sourcemaps/**/*.map
test/sourcemaps/*.map
test/sourcemaps/*.css
test/less-bom

# grunt
.grunt
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- "14"
- "12"
- "10"
- "8"
Expand Down
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"type": "node",
"request": "launch",
"name": "Less test",
"program": "${workspaceFolder}/test/index.js",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/packages/less/test/index.js",
"cwd": "${workspaceFolder}/packages/less",
"console": "integratedTerminal"
}
]
Expand Down
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@

<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>

# [Less.js](http://lesscss.org)

> The **dynamic** stylesheet language. [http://lesscss.org](http://lesscss.org).
This is the JavaScript, official, stable version of Less.


## Getting Started

Options for adding Less.js to your project:

* Install with [npm](https://npmjs.org): `npm install less`
* [Download the latest release][download]
* Clone the repo: `git clone https://github.com/less/less.js.git`
This is the Less.js monorepo, managed via [Lerna](https://lerna.js.org/).

## More information

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

[so]: http://stackoverflow.com/questions/tagged/less "StackOverflow.com"
[issues]: https://github.com/less/less.js/issues "GitHub Issues for Less.js"
[download]: https://github.com/less/less.js/zipball/master "Download Less.js"
[download]: https://github.com/less/less.js/zipball/master "Download Less.js"
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "14"

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

# Grunt-specific stuff.
- npm install -g grunt-cli

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version && npm --version
# Run test
- grunt test
- cd packages/less && npm test

# Don't actually build.
build: off
Expand Down
Loading

0 comments on commit 2c5e4dd

Please sign in to comment.