@caweb/webpack 1.3.44 → 1.4.0-beta.1
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/package.json +17 -9
- package/{plugins/html/webpack.config.js → webpack.config.js} +77 -49
- package/.github/workflows/config-publish.yml +0 -23
- package/.github/workflows/plugins-publish.yml +0 -31
- package/.github/workflows/test +0 -29
- package/.gitmodules +0 -3
- package/CHANGELOG.md +0 -273
- package/plugins/a11y/README.md +0 -19
- package/plugins/a11y/aceconfig.js +0 -44
- package/plugins/a11y/changelog.txt +0 -31
- package/plugins/a11y/index.js +0 -271
- package/plugins/a11y/package-lock.json +0 -3303
- package/plugins/a11y/package.json +0 -42
- package/plugins/css-audit/README.md +0 -20
- package/plugins/css-audit/changelog.txt +0 -41
- package/plugins/css-audit/css-audit.config.cjs +0 -5
- package/plugins/css-audit/default.config.js +0 -19
- package/plugins/css-audit/index.js +0 -326
- package/plugins/css-audit/package-lock.json +0 -1522
- package/plugins/css-audit/package.json +0 -53
- package/plugins/css-audit/sample/no-files.html +0 -9
- package/plugins/html/CHANGELOG.md +0 -300
- package/plugins/html/README.md +0 -62
- package/plugins/html/entry/delta.js +0 -19
- package/plugins/html/entry/eureka.js +0 -19
- package/plugins/html/entry/mono.js +0 -19
- package/plugins/html/entry/oceanside.js +0 -19
- package/plugins/html/entry/orangecounty.js +0 -19
- package/plugins/html/entry/pasorobles.js +0 -19
- package/plugins/html/entry/sacramento.js +0 -19
- package/plugins/html/entry/santabarbara.js +0 -19
- package/plugins/html/entry/santacruz.js +0 -19
- package/plugins/html/entry/shasta.js +0 -19
- package/plugins/html/entry/sierra.js +0 -19
- package/plugins/html/entry/trinity.js +0 -19
- package/plugins/html/index.js +0 -105
- package/plugins/html/package-lock.json +0 -22895
- package/plugins/html/package.json +0 -135
- package/plugins/html/sample/blank.html +0 -13
- package/plugins/html/sample/components/alerts.html +0 -32
- package/plugins/html/sample/components/animations.html +0 -7
- package/plugins/html/sample/components/buttons.html +0 -5
- package/plugins/html/sample/components/cards.html +0 -88
- package/plugins/html/sample/components/lists.html +0 -75
- package/plugins/html/sample/components/locations.html +0 -49
- package/plugins/html/sample/components/profile-banners.html +0 -48
- package/plugins/html/sample/components/sections.html +0 -16
- package/plugins/html/sample/components/service-tiles.html +0 -73
- package/plugins/html/sample/components/typography.html +0 -42
- package/plugins/html/sample/default.html +0 -53
- package/plugins/html/sample/favicon.ico +0 -0
- package/plugins/html/sample/images/black_puppy.jpg +0 -0
- package/plugins/html/sample/images/dolphin_marine_mammals_water.jpg +0 -0
- package/plugins/html/sample/images/grayscale_mountain.jpg +0 -0
- package/plugins/html/sample/images/silhouette.png +0 -0
- package/plugins/html/sample/images/squirrel_tail_bushy_tail.jpg +0 -0
- package/plugins/html/sample/index.html +0 -47
- package/plugins/html/sample/missing/content.html +0 -4
- package/plugins/html/sample/search.html +0 -55
- package/plugins/html/sample/structural/branding.html +0 -21
- package/plugins/html/sample/structural/footer.html +0 -47
- package/plugins/html/sample/structural/header.html +0 -16
- package/plugins/html/sample/structural/mobile-controls.html +0 -5
- package/plugins/html/sample/structural/navigation.html +0 -30
- package/plugins/html/sample/structural/search.html +0 -13
- package/plugins/html/sample/structural/utility-header.html +0 -23
- package/plugins/html/scripts/create-entrypoints.js +0 -60
- package/plugins/html/scripts/schemes.js +0 -123
- package/plugins/html/scripts/update-scripts.js +0 -47
- package/plugins/html/scripts/webpack.test.js +0 -41
- package/plugins/jshint/.customrc +0 -29
- package/plugins/jshint/.jshintrc +0 -31
- package/plugins/jshint/README.md +0 -24
- package/plugins/jshint/changelog.txt +0 -36
- package/plugins/jshint/index.js +0 -291
- package/plugins/jshint/package-lock.json +0 -24453
- package/plugins/jshint/package.json +0 -50
- package/plugins/jshint/reporter.cjs +0 -301
- package/plugins/jshint/sample/no-files.html +0 -9
- package/plugins/jshint/scripts/webpack.test.js +0 -18
- package/sample/index.html +0 -364
- package/scripts/update-deps.js +0 -38
- /package/{plugins/html/helpers → helpers}/logic/endsWith.js +0 -0
- /package/{plugins/html/helpers → helpers}/logic/ifCond.js +0 -0
- /package/{plugins/html/helpers → helpers}/object/jsonParse.js +0 -0
- /package/{plugins/html/helpers → helpers}/object/jsonStringify.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/replace.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toLower.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toTitleCase.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toUpper.js +0 -0
- /package/{plugins/html/tsconfig.json → tsconfig.json} +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@caweb/css-audit-webpack-plugin",
|
|
3
|
-
"version": "1.0.12",
|
|
4
|
-
"description": "CAWebPublishing Webpack Plugin to run WordPress CSS Audit",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"auditor": "bin/auditor/index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"bin",
|
|
12
|
-
"sample",
|
|
13
|
-
"css-audit.config.cjs",
|
|
14
|
-
"default.config.js",
|
|
15
|
-
"index.js",
|
|
16
|
-
"README.md"
|
|
17
|
-
],
|
|
18
|
-
"author": "CAWebPublishing",
|
|
19
|
-
"license": "ISC",
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://github.com/CAWebPublishing/webpack/issues"
|
|
22
|
-
},
|
|
23
|
-
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
-
},
|
|
26
|
-
"homepage": "https://github.com/CAWebPublishing/webpack#readme",
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "https://github.com/CAWebPublishing/webpack",
|
|
30
|
-
"directory": "plugins/css-audit"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"caweb",
|
|
34
|
-
"cagov",
|
|
35
|
-
"webpack"
|
|
36
|
-
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"webpack": "webpack",
|
|
39
|
-
"postinstall": "cd bin/auditor && npm ci",
|
|
40
|
-
"test": "echo \"Error: run tests from root\" && exit 0"
|
|
41
|
-
},
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"chalk": "^5.3.0",
|
|
44
|
-
"cross-spawn": "^7.0.3",
|
|
45
|
-
"deepmerge": "^4.3.1",
|
|
46
|
-
"get-all-files": "^5.0.0",
|
|
47
|
-
"resolve-bin": "^1.0.1"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"webpack": "^5.96.1",
|
|
51
|
-
"webpack-cli": "^5.1.4"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
v1.7.13
|
|
2
|
-
- Added card-none styles
|
|
3
|
-
|
|
4
|
-
v1.7.12
|
|
5
|
-
- Added Link Description to sub navigation items
|
|
6
|
-
- Fixed link description color
|
|
7
|
-
- Added centered and right classes to card/panel headers
|
|
8
|
-
|
|
9
|
-
v1.7.11
|
|
10
|
-
- Removed hot update files
|
|
11
|
-
|
|
12
|
-
v1.7.10
|
|
13
|
-
- Padding to interactive elements changed from 1rem back to .5rem 0
|
|
14
|
-
- Padding for link grid and side navigation was made !important
|
|
15
|
-
|
|
16
|
-
v1.7.9
|
|
17
|
-
- Added the WordPress DependencyExtractionPlugin plugin definition back
|
|
18
|
-
- Added tsconfig.json to list of distributed files
|
|
19
|
-
|
|
20
|
-
v1.7.8
|
|
21
|
-
- Padding to interactive elements not applied to .et_pb_button and .btn classes
|
|
22
|
-
|
|
23
|
-
v1.7.7
|
|
24
|
-
- Padding to interactive elements changed from .5rem to 1rem
|
|
25
|
-
|
|
26
|
-
v1.7.6
|
|
27
|
-
- Added .tsx rule and ts-loader
|
|
28
|
-
- Added default tsconfig.json config file
|
|
29
|
-
- Removed the WordPress DependencyExtractionPlugin plugin definition
|
|
30
|
-
- Padding to interactive elements changed from .5rem 0 to .5rem
|
|
31
|
-
- Updated npm packages
|
|
32
|
-
|
|
33
|
-
v1.7.5
|
|
34
|
-
- Added sr-only to social share links in the footer template
|
|
35
|
-
- Added text-decoration to a:hover:not(.btn) and a:focus:not(.btn)
|
|
36
|
-
- Removed anchor line-height fix and added padding to anchors to correct interactive element not meeting minimum size or spacing
|
|
37
|
-
- Updated npm packages
|
|
38
|
-
|
|
39
|
-
v1.7.4
|
|
40
|
-
- Increased anchor line-height from 1.5 to 1.75 to correct interactive element not meeting minimum size or spacing
|
|
41
|
-
- Updated npm packages
|
|
42
|
-
|
|
43
|
-
v1.7.3
|
|
44
|
-
- Search button focus outline has been lightened to correct color contrast a11y issue
|
|
45
|
-
|
|
46
|
-
v1.7.2
|
|
47
|
-
- Updated npm packages
|
|
48
|
-
- Added @caweb/icon-library when testing
|
|
49
|
-
- Updated entrypoints
|
|
50
|
-
|
|
51
|
-
v1.7.1
|
|
52
|
-
- Updated webpack.config.js
|
|
53
|
-
|
|
54
|
-
v1.7.0
|
|
55
|
-
- All references related to icons have been removed from template source code and move to new @caweb/icon-library package
|
|
56
|
-
|
|
57
|
-
v1.6.2
|
|
58
|
-
- Changed serp class to searchpage both in css and body class name to better align with CAWeb theme
|
|
59
|
-
|
|
60
|
-
v1.6.1
|
|
61
|
-
- Fixed issue with scrolling removing styles when adding scroll-margin-top
|
|
62
|
-
|
|
63
|
-
v1.6.0
|
|
64
|
-
- Added new Search Engine Results Page (SERP) template
|
|
65
|
-
- Search Bar now only appears in header when not on SERP page
|
|
66
|
-
|
|
67
|
-
v1.5.29
|
|
68
|
-
- Added sanity check before scrolling
|
|
69
|
-
|
|
70
|
-
v1.5.28
|
|
71
|
-
- Updated npm packages
|
|
72
|
-
|
|
73
|
-
v1.5.27
|
|
74
|
-
- Fixed issues with anchor links being hidden behind header still
|
|
75
|
-
- Updated npm packages
|
|
76
|
-
|
|
77
|
-
v1.5.26
|
|
78
|
-
- Fixed issue with console log errors being thrown when no location hash is present in url
|
|
79
|
-
|
|
80
|
-
v1.5.25
|
|
81
|
-
- Fixed issues with anchor links being hidden behind header
|
|
82
|
-
|
|
83
|
-
v1.5.24
|
|
84
|
-
- Removed statewide alerts link
|
|
85
|
-
- Focus outline color updated from 2ea3f2 to 0D81CE
|
|
86
|
-
|
|
87
|
-
v1.5.23
|
|
88
|
-
- Fixed issue with header height being affected by non div elements before the header
|
|
89
|
-
- Updated npm packages
|
|
90
|
-
|
|
91
|
-
v1.5.22
|
|
92
|
-
- Fixed issue with alerts/utility header scroll height not being calculated correctly
|
|
93
|
-
|
|
94
|
-
v1.5.21
|
|
95
|
-
- Updated endsWith logic helper
|
|
96
|
-
- Fixed issue with header top position/page-container margin-top not updating when scrolling when elements exist above the header
|
|
97
|
-
|
|
98
|
-
v1.5.20
|
|
99
|
-
- Recompiled src files
|
|
100
|
-
|
|
101
|
-
v1.5.19
|
|
102
|
-
- Added new assets parameters to head/footer sections for external files to be loaded
|
|
103
|
-
|
|
104
|
-
v1.5.18
|
|
105
|
-
- Added missing package rtlcss-webpack-plugin
|
|
106
|
-
|
|
107
|
-
v1.5.17
|
|
108
|
-
- Added missing package rtlcss-webpack-plugin
|
|
109
|
-
|
|
110
|
-
v1.5.16
|
|
111
|
-
- Fixed issue with breadcrumbs being numbered
|
|
112
|
-
- Resolved issue with anchor links being hidden behind fixed header
|
|
113
|
-
- Utility header and header alerts now hide when scrolled passed the header
|
|
114
|
-
|
|
115
|
-
v1.5.15
|
|
116
|
-
- Added default styles to nested ul/ol
|
|
117
|
-
- Silencing Dart Sass 3.0.0 deprecation warnings for 'global-builtin', 'import', 'color-functions', 'mixed-decls' until they are removed.
|
|
118
|
-
- Added scheme script to allow for schemes to be easily created/removed.
|
|
119
|
-
|
|
120
|
-
v1.5.14
|
|
121
|
-
- Added changes to dropdown menu popper config
|
|
122
|
-
|
|
123
|
-
v1.5.13
|
|
124
|
-
- Fixed issue with dropdown menu not scrolling in desktop mode
|
|
125
|
-
|
|
126
|
-
v1.5.12
|
|
127
|
-
- Restructured mobile controls to allow for menu to be scrollable
|
|
128
|
-
|
|
129
|
-
v1.5.11
|
|
130
|
-
- Added aria-labels to mobile open/close buttons
|
|
131
|
-
- Fixed issue with Footer nav links being centered when in mobile mode
|
|
132
|
-
|
|
133
|
-
v1.5.10
|
|
134
|
-
- Fixed font size for dropdown menu item
|
|
135
|
-
|
|
136
|
-
v1.5.9
|
|
137
|
-
- Fixed issue with navigation alignment when using Dropdown
|
|
138
|
-
|
|
139
|
-
v1.5.8
|
|
140
|
-
- Updated favicon file
|
|
141
|
-
|
|
142
|
-
v1.5.7
|
|
143
|
-
- Added new endsWith handlebar loader helper function
|
|
144
|
-
- Fixed issue with side navigatoin not word breaking
|
|
145
|
-
- Fixed issue with cagov logo repeating
|
|
146
|
-
|
|
147
|
-
v1.5.6
|
|
148
|
-
- Added new ifCond handlebar loader helper function
|
|
149
|
-
|
|
150
|
-
v1.5.5
|
|
151
|
-
- Refined toLower, toUpper, toTitleCase, replace helper functions
|
|
152
|
-
|
|
153
|
-
v1.5.4
|
|
154
|
-
- Updated npm scripts
|
|
155
|
-
- Fixed issue with initial scheme selection for plugin
|
|
156
|
-
- Added toLower, toUpper, toTitleCase, replace, jsonStringify, jsonParse handlebar loader helper functions
|
|
157
|
-
|
|
158
|
-
v1.5.3
|
|
159
|
-
- Updated anchor typography and nav-link variables colors to match schemes
|
|
160
|
-
- Added update scripts script
|
|
161
|
-
|
|
162
|
-
v1.5.2
|
|
163
|
-
- Fixed issue with webpack plugins still being added even when flags are passed
|
|
164
|
-
- Reverted multiple configuration export change back to single config export
|
|
165
|
-
- Reduced font size for footer social icons
|
|
166
|
-
|
|
167
|
-
v1.5.1
|
|
168
|
-
- updated npm packages
|
|
169
|
-
- Changed mobile control structure, navigation and search are now in the mobile overlay
|
|
170
|
-
- Added logic for header/footer nav, social share links, utility links, Google Search ID, template parameters passable via caweb.json
|
|
171
|
-
- Webpack configuration from @caweb/webpack package moved into this configuration
|
|
172
|
-
- Webpack config handles --mode flag appropriately
|
|
173
|
-
- Webpack config now exports multiple configurations
|
|
174
|
-
- Webpack configuration now outputs minified files
|
|
175
|
-
|
|
176
|
-
v1.5.0
|
|
177
|
-
- Template parameters alerts, logo, passable via caweb.json
|
|
178
|
-
- Added logic for alerts, logo
|
|
179
|
-
|
|
180
|
-
v1.4.17
|
|
181
|
-
- Fixed issue with alerts rendering in mobile
|
|
182
|
-
|
|
183
|
-
v1.4.16
|
|
184
|
-
- Fixed issue with Card Standout triangle not centering properly
|
|
185
|
-
|
|
186
|
-
v1.4.15
|
|
187
|
-
- Removed selector false from test script
|
|
188
|
-
- Fixed issue with search and navigation flickering when loaded on mobile
|
|
189
|
-
|
|
190
|
-
v1.4.14
|
|
191
|
-
- Font weight variables removed
|
|
192
|
-
- Side navigation List and Step Lists styles added back to lists
|
|
193
|
-
- Fixed issue with mobile controls
|
|
194
|
-
|
|
195
|
-
v1.4.13
|
|
196
|
-
- Dark mode script turned off
|
|
197
|
-
|
|
198
|
-
v1.4.12
|
|
199
|
-
- Updated ca-gov-logo-svg
|
|
200
|
-
- Added link grid styles back
|
|
201
|
-
- Added breadcrumbs styles back
|
|
202
|
-
- Added side-navigation styles back
|
|
203
|
-
|
|
204
|
-
v1.4.11
|
|
205
|
-
- Added cursor- utility classes
|
|
206
|
-
|
|
207
|
-
v1.4.10
|
|
208
|
-
- Unnested search styles
|
|
209
|
-
|
|
210
|
-
v1.4.9
|
|
211
|
-
- Fixed issue with page-title,page-date not styling like containers
|
|
212
|
-
- Fixed issue with executive profiles dark text
|
|
213
|
-
- Fixed issue with understated card header color
|
|
214
|
-
|
|
215
|
-
v1.4.8
|
|
216
|
-
- Increased font size for Service Tile more button
|
|
217
|
-
|
|
218
|
-
v1.4.7
|
|
219
|
-
- Fixed issue with Service Tile more button
|
|
220
|
-
|
|
221
|
-
v1.4.6
|
|
222
|
-
- Removed margin-bottom from headings
|
|
223
|
-
- Fixed issue with social-share-colors
|
|
224
|
-
- Added new dark theme support for High Contrast Mode
|
|
225
|
-
|
|
226
|
-
v1.4.5
|
|
227
|
-
- Fixed issue with project sample favicon not picking up
|
|
228
|
-
|
|
229
|
-
v1.4.4
|
|
230
|
-
- External link now apply to all links with target = _blank
|
|
231
|
-
|
|
232
|
-
v1.4.3
|
|
233
|
-
- Dropdown nav menu width set to auto
|
|
234
|
-
- Removed background color from location banner more details button
|
|
235
|
-
|
|
236
|
-
v1.4.2
|
|
237
|
-
- Added sample images
|
|
238
|
-
- Test template was removed
|
|
239
|
-
- Updated test scripts
|
|
240
|
-
- Updated template files
|
|
241
|
-
|
|
242
|
-
v1.4.1
|
|
243
|
-
- Added gray-50 to bootstrap gray mapping
|
|
244
|
-
- Added background color to footer
|
|
245
|
-
|
|
246
|
-
v1.4.0
|
|
247
|
-
- Added new test template and sample files
|
|
248
|
-
- Template source files have been completely redone
|
|
249
|
-
- Added Animate.css https://animate.style/
|
|
250
|
-
- Added Bootstrap Forced Colors CSS https://www.npmjs.com/package/bootstrap-forced-colors-css
|
|
251
|
-
- Updated npm packages
|
|
252
|
-
- Added html-webpack-link-type-plugin
|
|
253
|
-
|
|
254
|
-
v1.3.3
|
|
255
|
-
- Updated Readme
|
|
256
|
-
|
|
257
|
-
v1.3.2
|
|
258
|
-
- Removed extra year from footer sample
|
|
259
|
-
- Added new font json script file
|
|
260
|
-
- Updated npm packages
|
|
261
|
-
|
|
262
|
-
v1.3.1
|
|
263
|
-
- Updated icon font library
|
|
264
|
-
- Moved icon font out of components directory
|
|
265
|
-
- Updated entrypoints to generate font-only sheet
|
|
266
|
-
|
|
267
|
-
v1.3.0
|
|
268
|
-
- Remediated State Template 6.3.2 source files
|
|
269
|
-
|
|
270
|
-
v1.2.2
|
|
271
|
-
- Added favicon to default
|
|
272
|
-
|
|
273
|
-
v1.2.1
|
|
274
|
-
- Removed console messages
|
|
275
|
-
|
|
276
|
-
v1.2.0
|
|
277
|
-
- Added new CAWebHTMLPlugin class which extends HtmlWebpackPlugin
|
|
278
|
-
- Moved @wordpress/scripts defaults to base configurations
|
|
279
|
-
|
|
280
|
-
v1.1.2
|
|
281
|
-
- Renamed index.html to blank.html to match args
|
|
282
|
-
|
|
283
|
-
v1.1.1
|
|
284
|
-
- Rolled changes back to index.html
|
|
285
|
-
- Added default.html for templating
|
|
286
|
-
|
|
287
|
-
v1.1.0
|
|
288
|
-
- Added State Template 6.3.2 source files
|
|
289
|
-
- Added script to generate multiple entrypoints for use when serving
|
|
290
|
-
- Added webconfig for multiple entrypoints based on colorschemes
|
|
291
|
-
- Added header/footer initial structural markup
|
|
292
|
-
|
|
293
|
-
v1.0.2
|
|
294
|
-
- Added content to template parameters
|
|
295
|
-
|
|
296
|
-
v1.0.1
|
|
297
|
-
- Added Page Template to HTML Plugin
|
|
298
|
-
|
|
299
|
-
v1.0.0
|
|
300
|
-
- Initial CAWeb HTML Webpack Plugin added
|
package/plugins/html/README.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
This plugin utilizes the HTML Webpack Plugin to launch static generated pages using the CAWeb Template (formerly the California State Template)
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
## Plugins Used
|
|
6
|
-
- [html-webpack-plugin](https://www.npmjs.com/package/html-webpack-plugin)
|
|
7
|
-
|
|
8
|
-
## Installation
|
|
9
|
-
<pre>npm install --save-dev @caweb/html-webpack-plugin</pre>
|
|
10
|
-
|
|
11
|
-
## Get Started
|
|
12
|
-
In your Webpack configuration simply add the plugin to your existing plugin array.
|
|
13
|
-
|
|
14
|
-
<pre>
|
|
15
|
-
import CAWebHTMLPlugin from '@caweb/html-webpack-plugin';
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
plugins: [
|
|
19
|
-
new CAWebHTMLPlugin()
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
</pre>
|
|
23
|
-
|
|
24
|
-
## Options
|
|
25
|
-
All html-webpack-plugin [options](https://github.com/jantimon/html-webpack-plugin?tab=readme-ov-file#options) are available along with the following:
|
|
26
|
-
<code>template</code> - blank or default, Default will launch a site with a templated header/footer area, blank will not.
|
|
27
|
-
<code>scheme</code> - Colorscheme to utilitze.
|
|
28
|
-
**Available schemes:**
|
|
29
|
-
* delta
|
|
30
|
-
* eureka
|
|
31
|
-
* mono
|
|
32
|
-
* oceanside
|
|
33
|
-
* orangecounty
|
|
34
|
-
* pasorobles
|
|
35
|
-
* sacramento
|
|
36
|
-
* santabarbara
|
|
37
|
-
* santacruz
|
|
38
|
-
* shasta
|
|
39
|
-
* sierra
|
|
40
|
-
* trinity
|
|
41
|
-
|
|
42
|
-
## How to use this repository
|
|
43
|
-
There are various different scripts that can be ran
|
|
44
|
-
|
|
45
|
-
### Build
|
|
46
|
-
<code>npm run build</code> - will build all colorschemes minified and unminified.
|
|
47
|
-
<code>npm run build:prod</code> - will build all colorschemes minified only.
|
|
48
|
-
<code>npm run build:dev</code> - will build all colorschemes unminified only.
|
|
49
|
-
|
|
50
|
-
<code>npm run build:<colorscheme></code> - will build that specific colorscheme minified and unminified.
|
|
51
|
-
<code>npm run build:<colorscheme>:prod</code> - will build that specific colorscheme minified only.
|
|
52
|
-
<code>npm run build:<colorscheme>:dev</code> - will build that specific colorscheme unminified only.
|
|
53
|
-
|
|
54
|
-
### Serve
|
|
55
|
-
<code>npm run serve:<colorscheme></code> - will serve that specific colorscheme and also run a11y checks, css audits, jshints.
|
|
56
|
-
<code>npm run serve:<colorscheme>:quick</code> - will serve that specific colorscheme without running a11y checks, css audits, jshints.
|
|
57
|
-
|
|
58
|
-
### Update scripts
|
|
59
|
-
<code>npm run update-scripts</code> - This will regenerate the build/serve commands.
|
|
60
|
-
|
|
61
|
-
### Creating Entrypoints
|
|
62
|
-
<code>npm run create-entrypoint</code> - This will generate a webpack entrypoint for each of the colorschemes in the ./src/styles/colorschemes directory.
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
delta: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/delta.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
eureka: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/eureka.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
mono: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/mono.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
oceanside: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/oceanside.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
orangecounty: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/orangecounty.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
pasorobles: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/pasorobles.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
sacramento: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/sacramento.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
santabarbara: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/santabarbara.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
santacruz: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/santacruz.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
shasta: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/shasta.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
sierra: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/sierra.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autogenerated Entrypoint
|
|
3
|
-
* DO NOT MODIFY
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
const currentPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
entry: {
|
|
12
|
-
trinity: [
|
|
13
|
-
path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
|
|
14
|
-
path.join(currentPath, '/src/styles/colorschemes/trinity.scss'),
|
|
15
|
-
path.join(currentPath, '/src/scripts/index.js')
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|