@caweb/html-webpack-plugin 1.3.0 → 1.3.2
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/build/delta-rtl.css +0 -2096
- package/build/delta.asset.php +1 -1
- package/build/delta.css +0 -2096
- package/build/delta.css.map +1 -1
- package/build/eureka-rtl.css +0 -2096
- package/build/eureka.asset.php +1 -1
- package/build/eureka.css +0 -2096
- package/build/eureka.css.map +1 -1
- package/build/font-only-rtl.css +2311 -0
- package/build/font-only.asset.php +1 -0
- package/build/font-only.css +2313 -0
- package/build/font-only.css.map +1 -0
- package/build/font-only.js +28 -0
- package/build/font-only.js.map +1 -0
- package/build/fonts/CaGov.eot +0 -0
- package/build/fonts/CaGov.json +7582 -0
- package/build/fonts/CaGov.svg +784 -0
- package/build/fonts/CaGov.ttf +0 -0
- package/build/fonts/CaGov.woff +0 -0
- package/build/mono-rtl.css +0 -2096
- package/build/mono.asset.php +1 -1
- package/build/mono.css +0 -2096
- package/build/mono.css.map +1 -1
- package/build/oceanside-rtl.css +0 -2096
- package/build/oceanside.asset.php +1 -1
- package/build/oceanside.css +0 -2096
- package/build/oceanside.css.map +1 -1
- package/build/orangecounty-rtl.css +0 -2096
- package/build/orangecounty.asset.php +1 -1
- package/build/orangecounty.css +0 -2096
- package/build/orangecounty.css.map +1 -1
- package/build/pasorobles-rtl.css +0 -2096
- package/build/pasorobles.asset.php +1 -1
- package/build/pasorobles.css +0 -2096
- package/build/pasorobles.css.map +1 -1
- package/build/sacramento-rtl.css +0 -2096
- package/build/sacramento.asset.php +1 -1
- package/build/sacramento.css +0 -2096
- package/build/sacramento.css.map +1 -1
- package/build/santabarbara-rtl.css +0 -2096
- package/build/santabarbara.asset.php +1 -1
- package/build/santabarbara.css +0 -2096
- package/build/santabarbara.css.map +1 -1
- package/build/santacruz-rtl.css +0 -2096
- package/build/santacruz.asset.php +1 -1
- package/build/santacruz.css +0 -2096
- package/build/santacruz.css.map +1 -1
- package/build/shasta-rtl.css +0 -2096
- package/build/shasta.asset.php +1 -1
- package/build/shasta.css +0 -2096
- package/build/shasta.css.map +1 -1
- package/build/sierra-rtl.css +0 -2096
- package/build/sierra.asset.php +1 -1
- package/build/sierra.css +0 -2096
- package/build/sierra.css.map +1 -1
- package/build/trinity-rtl.css +0 -2096
- package/build/trinity.asset.php +1 -1
- package/build/trinity.css +0 -2096
- package/build/trinity.css.map +1 -1
- package/entry/delta.js +1 -0
- package/entry/eureka.js +1 -0
- package/entry/mono.js +1 -0
- package/entry/oceanside.js +1 -0
- package/entry/orangecounty.js +1 -0
- package/entry/pasorobles.js +1 -0
- package/entry/sacramento.js +1 -0
- package/entry/santabarbara.js +1 -0
- package/entry/santacruz.js +1 -0
- package/entry/shasta.js +1 -0
- package/entry/sierra.js +1 -0
- package/entry/trinity.js +1 -0
- package/package.json +8 -4
- package/sample/default.html +4 -0
- package/sample/structural/footer.html +1 -1
- package/build/fonts/CaGov.woff2 +0 -0
package/entry/delta.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
delta: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/delta.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/eureka.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
eureka: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/eureka.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/mono.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
mono: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/mono.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/oceanside.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
oceanside: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/oceanside.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/orangecounty.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
orangecounty: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/orangecounty.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/pasorobles.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
pasorobles: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/pasorobles.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/sacramento.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
sacramento: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/sacramento.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/santabarbara.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
santabarbara: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/santabarbara.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/santacruz.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
santacruz: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/santacruz.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/shasta.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
shasta: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/shasta.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/sierra.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
sierra: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/sierra.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/entry/trinity.js
CHANGED
|
@@ -9,6 +9,7 @@ const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '
|
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
11
|
entry: {
|
|
12
|
+
'font-only': path.join(currentPath, 'src', 'styles', 'font-only.css'),
|
|
12
13
|
trinity: [
|
|
13
14
|
path.join(currentPath, '/src/styles/colorschemes/trinity.scss'),
|
|
14
15
|
path.join(currentPath, '/src/styles/index.scss'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/html-webpack-plugin",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "CAWebPublishing Sample Page and Configurations",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,8 +14,11 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"webpack": "webpack",
|
|
17
|
+
"icons": "node ./scripts/icon.js",
|
|
17
18
|
"build": "webpack build --config ./webpack.config.js ./scripts/create-entrypoints.js --merge",
|
|
18
|
-
"postbuild": "
|
|
19
|
+
"postbuild": "npm run create-entrypoint && npm run generate-json",
|
|
20
|
+
"create-entrypoint": "node ./scripts/create-entrypoints.js",
|
|
21
|
+
"generate-json": "node ./scripts/icon.js",
|
|
19
22
|
"serve": "webpack serve --config ./webpack.config.js ./entry/oceanside.js ./scripts/webpack.test.js --merge",
|
|
20
23
|
"test": "echo \"Error: run tests from root\" && exit 0"
|
|
21
24
|
},
|
|
@@ -40,15 +43,16 @@
|
|
|
40
43
|
"homepage": "https://github.com/CAWebPublishing/webpack/plugins/html#readme",
|
|
41
44
|
"devDependencies": {
|
|
42
45
|
"@caweb/a11y-webpack-plugin": "^1.0.6",
|
|
43
|
-
"@caweb/css-audit-webpack-plugin": "^1.0.
|
|
46
|
+
"@caweb/css-audit-webpack-plugin": "^1.0.9",
|
|
44
47
|
"@caweb/jshint-webpack-plugin": "^1.0.7",
|
|
45
48
|
"bootstrap": "^5.3.3",
|
|
49
|
+
"fast-xml-parser": "^4.4.1",
|
|
46
50
|
"html-webpack-skip-assets-plugin": "^1.0.4",
|
|
47
51
|
"webpack": "^5.93.0",
|
|
48
52
|
"webpack-cli": "^5.1.4"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
|
-
"@wordpress/scripts": "^28.
|
|
55
|
+
"@wordpress/scripts": "^28.5.0",
|
|
52
56
|
"handlebars-loader": "^1.7.3",
|
|
53
57
|
"html-webpack-plugin": "^5.6.0"
|
|
54
58
|
}
|
package/sample/default.html
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
<head>
|
|
3
3
|
<title>{{ title }}</title>
|
|
4
4
|
{{#if scheme }}
|
|
5
|
+
<!-- Icon Font Library -->
|
|
6
|
+
<link rel="stylesheet" href="node_modules/@caweb/html-webpack-plugin/build/font-only.css" />
|
|
7
|
+
|
|
8
|
+
<!-- Template Scheme CSS -->
|
|
5
9
|
<link rel="stylesheet" href="node_modules/@caweb/html-webpack-plugin/build/{{ scheme }}.css" />
|
|
6
10
|
{{/if}}
|
|
7
11
|
</head>
|
package/build/fonts/CaGov.woff2
DELETED
|
Binary file
|