Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jaywcjlove/compile-less
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: jaywcjlove/compile-less
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.1
Choose a head ref
  • 6 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 25, 2020

  1. chore: Update scripts.

    jaywcjlove committed Aug 25, 2020
    Copy the full SHA
    899b6e7 View commit details
  2. Copy the full SHA
    28b9839 View commit details
  3. chore: Update scripts.

    jaywcjlove committed Aug 25, 2020
    Copy the full SHA
    dd9a986 View commit details
  4. type: Modify types.

    jaywcjlove committed Aug 25, 2020
    Copy the full SHA
    0bbc387 View commit details
  5. chore: pin dependencies.

    jaywcjlove committed Aug 25, 2020
    Copy the full SHA
    c144dfc View commit details
  6. released v1.5.1

    jaywcjlove committed Aug 25, 2020
    Copy the full SHA
    df0bbc5 View commit details
Showing with 16 additions and 21 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +3 −6 package-lock.json
  3. +11 −11 package.json
  4. +1 −3 src/executeLess.ts
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -13,5 +13,5 @@ jobs:
node-version: '12'

- run: npm install
- run: npm run start
- run: npm run build
- run: npm run test
9 changes: 3 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "compile-less-cli",
"version": "1.5.0",
"version": "1.5.1",
"description": "compile less",
"main": "lib/compile.js",
"bin": {
"compile-less": "lib/cli.js"
},
"scripts": {
"prepack": "npm run start",
"start": "npm run start -- --watch",
"prepack": "npm run build",
"start": "npm run build -- --watch",
"build": "tsc --removeComments",
"test": "node ./lib/cli.js -d test/src -o test/out",
"test:watch": "node ./lib/cli.js -d test/src -o test/out --combine test/out/dist.css --watch",
@@ -36,18 +36,18 @@
"src"
],
"devDependencies": {
"@types/fs-extra": "9.0.1",
"@types/less": "3.0.1",
"@types/node": "14.6.0",
"typescript": "4.0.2"
},
"dependencies": {
"@types/fs-extra": "9.0.1",
"@types/less": "3.0.1",
"@types/node": "14.6.0",
"chokidar": "3.4.2",
"commander": "^6.0.0",
"directory-tree": "^2.2.4",
"fs-extra": "^9.0.1",
"less": "^3.12.2",
"commander": "6.0.0",
"directory-tree": "2.2.4",
"fs-extra": "9.0.1",
"less": "3.12.2",
"less-plugin-autoprefix": "2.0.0",
"tslib": "^2.0.1"
"tslib": "2.0.1"
}
}
4 changes: 1 addition & 3 deletions src/executeLess.ts
Original file line number Diff line number Diff line change
@@ -12,9 +12,7 @@ const autoprefixPlugin = new LessPluginAutoPrefix({
]
});

export interface IOutputFile {
css: string;
imports: string;
export interface IOutputFile extends Less.RenderOutput {
path: string;
less?: string;
}