@localnerve/sass-asset-functions 1.1.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/verify.yml +10 -4
- package/LICENSE +1 -1
- package/README.md +1 -0
- package/jest.config.js +2 -0
- package/package.json +8 -8
|
@@ -12,15 +12,21 @@ jobs:
|
|
|
12
12
|
|
|
13
13
|
strategy:
|
|
14
14
|
matrix:
|
|
15
|
-
node-version: [
|
|
15
|
+
node-version: [14.x, 16.x]
|
|
16
16
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
17
17
|
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v3
|
|
20
20
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
-
uses: actions/setup-node@
|
|
21
|
+
uses: actions/setup-node@v3
|
|
22
22
|
with:
|
|
23
23
|
node-version: ${{ matrix.node-version }}
|
|
24
24
|
- run: npm ci
|
|
25
25
|
- name: Run Lint and Test
|
|
26
|
-
run: npm run lint && npm test
|
|
26
|
+
run: npm run lint && npm test
|
|
27
|
+
- name: Coverage Upload
|
|
28
|
+
if: ${{ success() }}
|
|
29
|
+
uses: coverallsapp/github-action@master
|
|
30
|
+
with:
|
|
31
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
path-to-lcov: ./coverage/lcov.info
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
[](https://badge.fury.io/js/%40localnerve%2Fsass-asset-functions)
|
|
7
|
+
[](https://coveralls.io/github/localnerve/sass-asset-functions?branch=master)
|
|
7
8
|
|
|
8
9
|
This module supplies functions to a Sass compiler which can be called from your Sass code.
|
|
9
10
|
For example, the `image-url` used here in place of `url` adds build-time configuration to resolve the file to the proper location as seen from the web:
|
package/jest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localnerve/sass-asset-functions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "compass-style asset functions for dart-sass or other sass compilers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/localnerve/sass-asset-functions",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"image-size": "^1.0.
|
|
41
|
-
"mime": "^
|
|
42
|
-
"sass": "^1.
|
|
40
|
+
"image-size": "^1.0.2",
|
|
41
|
+
"mime": "^3.0.0",
|
|
42
|
+
"sass": "^1.54.9"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"jest": "^
|
|
46
|
-
"eslint": "^8.
|
|
47
|
-
"node-sass": "^
|
|
45
|
+
"jest": "^29.0.3",
|
|
46
|
+
"eslint": "^8.23.1",
|
|
47
|
+
"node-sass": "^7.0.3"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
|
-
"node": ">=
|
|
50
|
+
"node": ">= 14"
|
|
51
51
|
}
|
|
52
52
|
}
|