@caweb/webpack 1.3.18 → 1.3.20

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.txt CHANGED
@@ -1,3 +1,9 @@
1
+ v1.3.20
2
+ - Updated npm packages
3
+
4
+ v1.3.19
5
+ - Updated npm packages
6
+
1
7
  v1.3.18
2
8
  - Updated npm packages
3
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/webpack",
3
- "version": "1.3.18",
3
+ "version": "1.3.20",
4
4
  "description": "CAWebPublishing Webpack Configuration",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@caweb/a11y-webpack-plugin": "^1.0.9",
39
39
  "@caweb/css-audit-webpack-plugin": "^1.0.12",
40
- "@caweb/html-webpack-plugin": "^1.5.19",
41
- "@caweb/jshint-webpack-plugin": "^2.0.0"
40
+ "@caweb/html-webpack-plugin": "^1.5.21",
41
+ "@caweb/jshint-webpack-plugin": "^2.0.1"
42
42
  }
43
43
  }
@@ -1,6 +1,6 @@
1
1
  This plugin utilizes the HTML Webpack Plugin to launch static generated pages using the CAWeb Template (formerly the California State Template)
2
2
 
3
- <i>This package is inspired by [wp-scripts](https://www.npmjs.com/package/@wordpress/scripts)</i>
3
+ <i>This package is inspired by [wp-scripts](https://www.npmjs.com/package/@wordpress/scripts) and [html-webpack-plugin](https://www.npmjs.com/package/html-webpack-plugin)</i>
4
4
 
5
5
  ## Plugins Used
6
6
  - [html-webpack-plugin](https://www.npmjs.com/package/html-webpack-plugin)
@@ -1,3 +1,10 @@
1
+ v1.5.21
2
+ - Updated endsWith logic helper
3
+ - Fixed issue with header top position/page-container margin-top not updating when scrolling when elements exist above the header
4
+
5
+ v1.5.20
6
+ - Recompiled src files
7
+
1
8
  v1.5.19
2
9
  - Added new assets parameters to head/footer sections for external files to be loaded
3
10
 
@@ -1,3 +1,3 @@
1
1
  export default function endsWith(word, search, options){
2
- return word.endsWith(search) ? options.fn(this) : options.inverse(this);
2
+ return word.endsWith(search) ? true : false;
3
3
  }
@@ -68,10 +68,12 @@ class CAWebHTMLPlugin extends HtmlWebpackPlugin{
68
68
  if( fs.existsSync( path.join(appPath, 'caweb.json') ) ){
69
69
 
70
70
  let dataFile = JSON.parse( fs.readFileSync( path.join(appPath, 'caweb.json') ) );
71
-
71
+
72
+ // if there is a dataFile.site we merge the defaultOptions.templateParameters, user options.templateParameters, and the dataFile.site
72
73
  if( dataFile.site ){
73
- defaultOptions.templateParameters = {
74
+ opts.templateParameters = {
74
75
  ...defaultOptions.templateParameters,
76
+ ...opts.templateParameters,
75
77
  ...dataFile.site
76
78
  }
77
79
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@caweb/html-webpack-plugin",
3
- "version": "1.5.17",
3
+ "version": "1.5.21",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caweb/html-webpack-plugin",
9
- "version": "1.5.17",
9
+ "version": "1.5.21",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@caweb/a11y-webpack-plugin": "^1.0.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/html-webpack-plugin",
3
- "version": "1.5.19",
3
+ "version": "1.5.21",
4
4
  "description": "CAWebPublishing Sample Page and Configurations",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -25,11 +25,6 @@
25
25
  "build": "npm run build:prod && npm run build:dev",
26
26
  "build:prod": "webpack build --config ./webpack.config.js ./scripts/create-entrypoints.js --merge --mode production",
27
27
  "build:dev": "webpack build --config ./webpack.config.js ./scripts/create-entrypoints.js --merge --mode development",
28
- "build:danny": "npm run build:danny:prod && npm run build:danny:dev",
29
- "build:danny:prod": "webpack build --config ./webpack.config.js ./entry/danny.js --merge --mode production",
30
- "build:danny:dev": "webpack build --config ./webpack.config.js ./entry/danny.js --merge --mode development",
31
- "serve:danny": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./webpack.config.js ./entry/danny.js ./scripts/webpack.test.js --merge",
32
- "serve:danny:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./webpack.config.js ./entry/danny.js ./scripts/webpack.test.js --merge",
33
28
  "build:delta": "npm run build:delta:prod && npm run build:delta:dev",
34
29
  "build:delta:prod": "webpack build --config ./webpack.config.js ./entry/delta.js --merge --mode production",
35
30
  "build:delta:dev": "webpack build --config ./webpack.config.js ./entry/delta.js --merge --mode development",
@@ -134,4 +129,4 @@
134
129
  "webpack": "^5.97.1",
135
130
  "webpack-cli": "^6.0.1"
136
131
  }
137
- }
132
+ }
@@ -1,3 +1,6 @@
1
+ v2.0.1
2
+ - Updated peerDeps
3
+
1
4
  v2.0.0
2
5
  - reporter now uses @caweb/html-webpack-plugin when creating report
3
6
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@caweb/jshint-webpack-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caweb/jshint-webpack-plugin",
9
- "version": "2.0.0",
9
+ "version": "2.0.1",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "get-all-files": "^5.0.0",
@@ -17,7 +17,7 @@
17
17
  "webpack-cli": "^6.0.1"
18
18
  },
19
19
  "peerDependencies": {
20
- "@caweb/html-webpack-plugin": "^1.5.19"
20
+ "@caweb/html-webpack-plugin": "^1.5.20"
21
21
  }
22
22
  },
23
23
  "node_modules/@ampproject/remapping": {
@@ -1977,9 +1977,9 @@
1977
1977
  }
1978
1978
  },
1979
1979
  "node_modules/@caweb/html-webpack-plugin": {
1980
- "version": "1.5.19",
1981
- "resolved": "https://registry.npmjs.org/@caweb/html-webpack-plugin/-/html-webpack-plugin-1.5.19.tgz",
1982
- "integrity": "sha512-hxUhFeHQjlyYCDYOwvo0j1IzBzRgC61v2Kaq8oOxoMkaKM5leSnzNRcOUP+UFGVPNrjYyXP76KrxkB0Bdo+7bA==",
1980
+ "version": "1.5.20",
1981
+ "resolved": "https://registry.npmjs.org/@caweb/html-webpack-plugin/-/html-webpack-plugin-1.5.20.tgz",
1982
+ "integrity": "sha512-pLeVFVptlqXs1LQ+/bl1kULmuYE8aBx63AHTru2rexslmbBqX5xI2R1cECzg/dHDbE1HOYXJYbQ3zlXaXM/lwA==",
1983
1983
  "license": "ISC",
1984
1984
  "peer": true,
1985
1985
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/jshint-webpack-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "CAWebPublishing Webpack Plugin to run JSHint",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -45,6 +45,6 @@
45
45
  "webpack-cli": "^6.0.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@caweb/html-webpack-plugin": "^1.5.19"
48
+ "@caweb/html-webpack-plugin": "^1.5.20"
49
49
  }
50
50
  }