@videinfra/static-website-builder 1.6.4 → 1.7.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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [1.7.0] - 2023-05-25
8
+ ### Updated
9
+ - Depedencies
10
+ - Added autoprefixer test
11
+
7
12
  ## [1.6.4] - 2023-03-29
8
13
  ### Updated
9
14
  - Added stylesheet source path to the default include paths
@@ -0,0 +1,3 @@
1
+ main {
2
+ clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videinfra/static-website-builder",
3
- "version": "1.6.4",
3
+ "version": "1.7.0",
4
4
  "description": "Customizable static site project builder",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -25,11 +25,11 @@
25
25
  "test-watch": "gulp --config=init/test/config/config.js"
26
26
  },
27
27
  "dependencies": {
28
- "@babel/core": "^7.17.9",
29
- "@babel/preset-env": "^7.16.11",
28
+ "@babel/core": "^7.21.8",
29
+ "@babel/preset-env": "^7.21.5",
30
30
  "autoprefixer": "^9.8.8",
31
- "babel-loader": "^8.2.4",
32
- "browser-sync": "^2.27.9",
31
+ "babel-loader": "^8.3.0",
32
+ "browser-sync": "^2.29.3",
33
33
  "chalk": "4.0.0",
34
34
  "chokidar": "^3.5.3",
35
35
  "cross-env": "^7.0.3",
@@ -50,10 +50,10 @@
50
50
  "gulp-svgmin": "^4.1.0",
51
51
  "gulp-svgstore": "^9.0.0",
52
52
  "gulp-twig": "^1.2.0",
53
- "minimist": "^1.2.6",
53
+ "minimist": "^1.2.8",
54
54
  "nano-memoize": "1.3.0",
55
55
  "node-sass": "^7.0.1",
56
- "sass": "^1.52.3",
56
+ "sass": "^1.62.1",
57
57
  "webpack": "^4.46.0",
58
58
  "webpack-stream": "^5.2.1"
59
59
  },
@@ -33,6 +33,12 @@ test('SASS sub-folder import test', () => {
33
33
  });
34
34
  });
35
35
 
36
+ test('SASS autoprefixer test', () => {
37
+ return fsPromises.readFile(path.resolve(publicPath, 'assets/stylesheets/autoprefixer-test.css'), {'encoding': 'utf8'}).then((css) => {
38
+ expect(css).toBe('main{-webkit-clip-path:polygon(0 0,100% 0,100% 100%,0 100%);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}');
39
+ });
40
+ });
41
+
36
42
  test('Font file woff copied', () => {
37
43
  expect.assertions(1);
38
44
  return expect(fsPromises.access(path.resolve(publicPath, 'assets/fonts/font.woff'))).resolves.toBe(undefined);