Skip to content

Commit

Permalink
Duplicate dist files in root for older links (#3529)
Browse files Browse the repository at this point in the history
* Move dist files to root of repo
* Ignore dist in less package
* Duplicate dist files
  • Loading branch information
matthew-dean authored Jul 7, 2020
1 parent 0925cf1 commit f7bdce7
Show file tree
Hide file tree
Showing 9 changed files with 11,525 additions and 438 deletions.
11,305 changes: 11,305 additions & 0 deletions dist/less.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions dist/less.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/less.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@less/root",
"private": true,
"version": "1000.0.0",
"version": "3.12.0",
"description": "Less monorepo",
"homepage": "http://lesscss.org",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion packages/less/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ module.exports = function(grunt) {
}
},
build: {
command: scriptRuntime + " build/rollup.js --dist"
command: [
scriptRuntime + " build/rollup.js --dist",
"npm run copy:root"
].join(" && ")
},
testbuild: {
command: [
Expand Down
632 changes: 199 additions & 433 deletions packages/less/dist/less.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/less/dist/less.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/less/dist/less.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"build": "npm-run-all clean compile",
"clean": "shx rm -rf ./lib tsconfig.tsbuildinfo",
"compile": "tsc -p tsconfig.json",
"copy:root": "shx cp -rf ./dist ../../",
"dev": "tsc -p tsconfig.json -w"
},
"optionalDependencies": {
Expand Down

0 comments on commit f7bdce7

Please sign in to comment.