@caweb/webpack 1.3.5 → 1.3.7

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.7
2
+ - Updated npm packages
3
+
4
+ v1.3.6
5
+ - Updated npm packages
6
+
1
7
  v1.3.5
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.5",
3
+ "version": "1.3.7",
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.6",
40
+ "@caweb/html-webpack-plugin": "^1.5.8",
41
41
  "@caweb/jshint-webpack-plugin": "^1.0.9"
42
42
  }
43
43
  }
@@ -1,3 +1,11 @@
1
+ v1.5.8
2
+ - Updated favicon file
3
+
4
+ v1.5.7
5
+ - Added new endsWith handlebar loader helper function
6
+ - Fixed issue with side navigatoin not word breaking
7
+ - Fixed issue with cagov logo repeating
8
+
1
9
  v1.5.6
2
10
  - Added new ifCond handlebar loader helper function
3
11
 
@@ -0,0 +1,3 @@
1
+ export default function endsWith(word, search, options){
2
+ return word.endsWith(search) ? options.fn(this) : options.inverse(this);
3
+ }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@caweb/html-webpack-plugin",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caweb/html-webpack-plugin",
9
- "version": "1.5.6",
9
+ "version": "1.5.8",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@caweb/a11y-webpack-plugin": "^1.0.9",
13
13
  "@caweb/css-audit-webpack-plugin": "^1.0.12",
14
14
  "@caweb/jshint-webpack-plugin": "^1.0.9",
15
- "@wordpress/scripts": "^30.4.0",
15
+ "@wordpress/scripts": "^30.5.1",
16
16
  "css-minimizer-webpack-plugin": "^7.0.0",
17
17
  "handlebars-loader": "^1.7.3",
18
18
  "html-webpack-link-type-plugin": "^1.1.1",
@@ -5084,9 +5084,9 @@
5084
5084
  }
5085
5085
  },
5086
5086
  "node_modules/@wordpress/scripts": {
5087
- "version": "30.4.0",
5088
- "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-30.4.0.tgz",
5089
- "integrity": "sha512-hAX8XB8hWlxAyktT4KkBpGttRwSynmtkpLvbVKeKnj+BjABFs4TGb/HCF9hFpUK3huCAg8Ft/sjjczW+5tqspQ==",
5087
+ "version": "30.5.1",
5088
+ "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-30.5.1.tgz",
5089
+ "integrity": "sha512-VM5NViNfdQR69MWxLnptB8svvnrEV+oUVgWL8icsLdCt2CENgPwUIk/Gs0wzeAVK05cGjrCESapJnEgIXp5lzA==",
5090
5090
  "license": "GPL-2.0-or-later",
5091
5091
  "dependencies": {
5092
5092
  "@babel/core": "7.25.7",
@@ -5131,7 +5131,6 @@
5131
5131
  "npm-package-json-lint": "^6.4.0",
5132
5132
  "npm-packlist": "^3.0.0",
5133
5133
  "postcss": "^8.4.5",
5134
- "postcss-import": "^16.1.0",
5135
5134
  "postcss-loader": "^6.2.1",
5136
5135
  "prettier": "npm:wp-prettier@3.0.3",
5137
5136
  "puppeteer-core": "^23.1.0",
@@ -16787,23 +16786,6 @@
16787
16786
  "postcss": "^8.4.31"
16788
16787
  }
16789
16788
  },
16790
- "node_modules/postcss-import": {
16791
- "version": "16.1.0",
16792
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-16.1.0.tgz",
16793
- "integrity": "sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==",
16794
- "license": "MIT",
16795
- "dependencies": {
16796
- "postcss-value-parser": "^4.0.0",
16797
- "read-cache": "^1.0.0",
16798
- "resolve": "^1.1.7"
16799
- },
16800
- "engines": {
16801
- "node": ">=18.0.0"
16802
- },
16803
- "peerDependencies": {
16804
- "postcss": "^8.0.0"
16805
- }
16806
- },
16807
16789
  "node_modules/postcss-loader": {
16808
16790
  "version": "6.2.1",
16809
16791
  "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz",
@@ -17832,24 +17814,6 @@
17832
17814
  "node": ">=0.10.0"
17833
17815
  }
17834
17816
  },
17835
- "node_modules/read-cache": {
17836
- "version": "1.0.0",
17837
- "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
17838
- "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
17839
- "license": "MIT",
17840
- "dependencies": {
17841
- "pify": "^2.3.0"
17842
- }
17843
- },
17844
- "node_modules/read-cache/node_modules/pify": {
17845
- "version": "2.3.0",
17846
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
17847
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
17848
- "license": "MIT",
17849
- "engines": {
17850
- "node": ">=0.10.0"
17851
- }
17852
- },
17853
17817
  "node_modules/read-pkg": {
17854
17818
  "version": "5.2.0",
17855
17819
  "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/html-webpack-plugin",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "CAWebPublishing Sample Page and Configurations",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -115,7 +115,7 @@
115
115
  "@caweb/a11y-webpack-plugin": "^1.0.9",
116
116
  "@caweb/css-audit-webpack-plugin": "^1.0.12",
117
117
  "@caweb/jshint-webpack-plugin": "^1.0.9",
118
- "@wordpress/scripts": "^30.4.0",
118
+ "@wordpress/scripts": "^30.5.1",
119
119
  "css-minimizer-webpack-plugin": "^7.0.0",
120
120
  "handlebars-loader": "^1.7.3",
121
121
  "html-webpack-link-type-plugin": "^1.1.1",
Binary file
@@ -129,8 +129,9 @@ let webpackConfig = {
129
129
  options:{
130
130
  rootRelative: process.cwd(),
131
131
  helperDirs: [
132
- path.resolve(currentPath, 'helpers', 'string'),
133
- path.resolve(currentPath, 'helpers', 'object')
132
+ path.resolve(currentPath, 'helpers', 'logic'),
133
+ path.resolve(currentPath, 'helpers', 'object'),
134
+ path.resolve(currentPath, 'helpers', 'string')
134
135
  ],
135
136
  partialResolver: function(partial, callback){
136
137
  /**