refactor(workflows): generate workflow manager via HtmlWebpackPlugin
Change-Id: I50a6aba661bee2fabd634b6bf13d4a60459acc14
diff --git a/package.json b/package.json
index dde0bc0..84cec8e 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"copy-webpack-plugin": "12.0.2",
"css-loader": "7.1.2",
"eslint": "9.11.1",
+ "html-webpack-plugin": "^5.6.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"json5": "2.2.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1f2a9a3..9b97443 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -87,6 +87,9 @@
eslint:
specifier: 9.11.1
version: 9.11.1
+ html-webpack-plugin:
+ specifier: ^5.6.0
+ version: 5.6.0(webpack@5.95.0(webpack-cli@5.1.4))
jest:
specifier: 29.7.0
version: 29.7.0(@types/node@20.16.10)(node-notifier@10.0.1)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2))
@@ -885,6 +888,9 @@
'@types/har-format@1.2.15':
resolution: {integrity: sha512-RpQH4rXLuvTXKR0zqHq3go0RVXYv/YVqv4TnPH95VbwUxZdQlK1EtcMvQvMpDngHbt13Csh9Z4qT9AbkiQH5BA==}
+ '@types/html-minifier-terser@6.1.0':
+ resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==}
+
'@types/istanbul-lib-coverage@2.0.4':
resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==}
@@ -1328,6 +1334,9 @@
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
+ camel-case@4.1.2:
+ resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==}
+
camelcase@5.3.1:
resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
engines: {node: '>=6'}
@@ -1386,6 +1395,10 @@
cjs-module-lexer@1.2.3:
resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==}
+ clean-css@5.3.3:
+ resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==}
+ engines: {node: '>= 10.0'}
+
cli-boxes@3.0.0:
resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==}
engines: {node: '>=10'}
@@ -1444,6 +1457,10 @@
resolution: {integrity: sha512-bmkUukX8wAOjHdN26xj5c4ctEV22TQ7dQYhSmuckKhToXrkUn0iIaolHdIxYYqD55nhpSPA9zPQ1yP57GdXP2A==}
engines: {node: '>= 0.6.x'}
+ commander@8.3.0:
+ resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
+ engines: {node: '>= 12'}
+
commander@9.5.0:
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
engines: {node: ^12.20.0 || >=14}
@@ -1505,6 +1522,9 @@
webpack:
optional: true
+ css-select@4.3.0:
+ resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==}
+
css-select@5.1.0:
resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==}
@@ -1612,6 +1632,12 @@
resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
engines: {node: '>=6.0.0'}
+ dom-converter@0.2.0:
+ resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==}
+
+ dom-serializer@1.4.1:
+ resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}
+
dom-serializer@2.0.0:
resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
@@ -1623,6 +1649,10 @@
engines: {node: '>=12'}
deprecated: Use your platform's native DOMException instead
+ domhandler@4.3.1:
+ resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==}
+ engines: {node: '>= 4'}
+
domhandler@5.0.3:
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
engines: {node: '>= 4'}
@@ -1630,9 +1660,15 @@
dompurify@3.1.7:
resolution: {integrity: sha512-VaTstWtsneJY8xzy7DekmYWEOZcmzIe3Qb3zPd4STve1OBTa+e+WmS1ITQec1fZYXI3HCsOZZiSMpG6oxoWMWQ==}
+ domutils@2.8.0:
+ resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
+
domutils@3.1.0:
resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==}
+ dot-case@3.0.4:
+ resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
+
dot-prop@9.0.0:
resolution: {integrity: sha512-1gxPBJpI/pcjQhKgIU91II6Wkay+dLcN3M6rf2uwP8hRur3HtQXjVrdAK3sjC0piaEuxzMwjXChcETiJl47lAQ==}
engines: {node: '>=18'}
@@ -1670,6 +1706,9 @@
resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==}
engines: {node: '>=10.13.0'}
+ entities@2.2.0:
+ resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
+
entities@4.4.0:
resolution: {integrity: sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==}
engines: {node: '>=0.12'}
@@ -2011,6 +2050,10 @@
resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}
engines: {node: '>= 0.4.0'}
+ he@1.2.0:
+ resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
+ hasBin: true
+
html-encoding-sniffer@3.0.0:
resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==}
engines: {node: '>=12'}
@@ -2018,6 +2061,26 @@
html-escaper@2.0.2:
resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
+ html-minifier-terser@6.1.0:
+ resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==}
+ engines: {node: '>=12'}
+ hasBin: true
+
+ html-webpack-plugin@5.6.0:
+ resolution: {integrity: sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw==}
+ engines: {node: '>=10.13.0'}
+ peerDependencies:
+ '@rspack/core': 0.x || 1.x
+ webpack: ^5.20.0
+ peerDependenciesMeta:
+ '@rspack/core':
+ optional: true
+ webpack:
+ optional: true
+
+ htmlparser2@6.1.0:
+ resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==}
+
htmlparser2@8.0.2:
resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}
@@ -2550,6 +2613,12 @@
lodash.merge@4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+ lodash@4.17.21:
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+
+ lower-case@2.0.2:
+ resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
+
lru-cache@5.1.1:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
@@ -2642,6 +2711,9 @@
neo-async@2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
+ no-case@3.0.4:
+ resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
+
node-forge@1.3.1:
resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==}
engines: {node: '>= 6.13.0'}
@@ -2743,6 +2815,9 @@
pako@1.0.11:
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
+ param-case@3.0.4:
+ resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==}
+
parent-module@1.0.1:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
@@ -2761,6 +2836,9 @@
parse5@7.1.2:
resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==}
+ pascal-case@3.1.2:
+ resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==}
+
path-exists@4.0.0:
resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
engines: {node: '>=8'}
@@ -2868,6 +2946,9 @@
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
+ pretty-error@4.0.0:
+ resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==}
+
pretty-format@29.7.0:
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -2971,11 +3052,18 @@
resolution: {integrity: sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q==}
engines: {node: '>=12'}
+ relateurl@0.2.7:
+ resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==}
+ engines: {node: '>= 0.10'}
+
relaxed-json@1.0.3:
resolution: {integrity: sha512-b7wGPo7o2KE/g7SqkJDDbav6zmrEeP4TK2VpITU72J/M949TLe/23y/ZHJo+pskcGM52xIfFoT9hydwmgr1AEg==}
engines: {node: '>= 0.10.0'}
hasBin: true
+ renderkid@3.0.0:
+ resolution: {integrity: sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==}
+
require-directory@2.1.1:
resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
engines: {node: '>=0.10.0'}
@@ -3474,6 +3562,9 @@
util@0.10.4:
resolution: {integrity: sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==}
+ utila@0.4.0:
+ resolution: {integrity: sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA==}
+
uuid@8.3.2:
resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
hasBin: true
@@ -4322,7 +4413,7 @@
'@material/animation@14.0.0-canary.53b3cad2f.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/banner@14.0.0':
dependencies:
@@ -4345,7 +4436,7 @@
'@material/base@14.0.0-canary.53b3cad2f.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/button@14.0.0':
dependencies:
@@ -4377,7 +4468,7 @@
'@material/tokens': 14.0.0-canary.53b3cad2f.0
'@material/touch-target': 14.0.0-canary.53b3cad2f.0
'@material/typography': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/circular-progress@14.0.0-canary.53b3cad2f.0':
dependencies:
@@ -4391,11 +4482,11 @@
'@material/density@14.0.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/density@14.0.0-canary.53b3cad2f.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/dialog@14.0.0-canary.53b3cad2f.0':
dependencies:
@@ -4441,7 +4532,7 @@
'@material/feature-targeting': 14.0.0-canary.53b3cad2f.0
'@material/rtl': 14.0.0-canary.53b3cad2f.0
'@material/theme': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/feature-targeting@14.0.0':
dependencies:
@@ -4449,7 +4540,7 @@
'@material/feature-targeting@14.0.0-canary.53b3cad2f.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/focus-ring@14.0.0':
dependencies:
@@ -4475,7 +4566,7 @@
'@material/rtl': 14.0.0-canary.53b3cad2f.0
'@material/theme': 14.0.0-canary.53b3cad2f.0
'@material/touch-target': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/mwc-base@0.27.0':
dependencies:
@@ -4513,7 +4604,7 @@
'@material/mwc-icon@0.27.0':
dependencies:
lit: 2.8.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/mwc-ripple@0.27.0':
dependencies:
@@ -4521,11 +4612,11 @@
'@material/mwc-base': 0.27.0
'@material/ripple': 14.0.0-canary.53b3cad2f.0
lit: 2.8.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/progress-indicator@14.0.0-canary.53b3cad2f.0':
dependencies:
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/ripple@14.0.0':
dependencies:
@@ -4545,7 +4636,7 @@
'@material/feature-targeting': 14.0.0-canary.53b3cad2f.0
'@material/rtl': 14.0.0-canary.53b3cad2f.0
'@material/theme': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/rtl@14.0.0':
dependencies:
@@ -4555,7 +4646,7 @@
'@material/rtl@14.0.0-canary.53b3cad2f.0':
dependencies:
'@material/theme': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/shape@14.0.0':
dependencies:
@@ -4569,7 +4660,7 @@
'@material/feature-targeting': 14.0.0-canary.53b3cad2f.0
'@material/rtl': 14.0.0-canary.53b3cad2f.0
'@material/theme': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/theme@14.0.0':
dependencies:
@@ -4607,14 +4698,14 @@
'@material/base': 14.0.0
'@material/feature-targeting': 14.0.0
'@material/rtl': 14.0.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/touch-target@14.0.0-canary.53b3cad2f.0':
dependencies:
'@material/base': 14.0.0-canary.53b3cad2f.0
'@material/feature-targeting': 14.0.0-canary.53b3cad2f.0
'@material/rtl': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/typography@14.0.0':
dependencies:
@@ -4626,7 +4717,7 @@
dependencies:
'@material/feature-targeting': 14.0.0-canary.53b3cad2f.0
'@material/theme': 14.0.0-canary.53b3cad2f.0
- tslib: 2.4.0
+ tslib: 2.7.0
'@material/web@2.2.0':
dependencies:
@@ -4784,6 +4875,8 @@
'@types/har-format@1.2.15': {}
+ '@types/html-minifier-terser@6.1.0': {}
+
'@types/istanbul-lib-coverage@2.0.4': {}
'@types/istanbul-lib-report@3.0.0':
@@ -5306,6 +5399,11 @@
callsites@3.1.0: {}
+ camel-case@4.1.2:
+ dependencies:
+ pascal-case: 3.1.2
+ tslib: 2.7.0
+
camelcase@5.3.1: {}
camelcase@6.3.0: {}
@@ -5367,6 +5465,10 @@
cjs-module-lexer@1.2.3: {}
+ clean-css@5.3.3:
+ dependencies:
+ source-map: 0.6.1
+
cli-boxes@3.0.0: {}
cliui@8.0.1:
@@ -5418,6 +5520,8 @@
dependencies:
graceful-readlink: 1.0.1
+ commander@8.3.0: {}
+
commander@9.5.0: {}
common-tags@1.8.2: {}
@@ -5495,6 +5599,14 @@
optionalDependencies:
webpack: 5.95.0(webpack-cli@5.1.4)
+ css-select@4.3.0:
+ dependencies:
+ boolbase: 1.0.0
+ css-what: 6.1.0
+ domhandler: 4.3.1
+ domutils: 2.8.0
+ nth-check: 2.1.1
+
css-select@5.1.0:
dependencies:
boolbase: 1.0.0
@@ -5573,6 +5685,16 @@
dependencies:
esutils: 2.0.3
+ dom-converter@0.2.0:
+ dependencies:
+ utila: 0.4.0
+
+ dom-serializer@1.4.1:
+ dependencies:
+ domelementtype: 2.3.0
+ domhandler: 4.3.1
+ entities: 2.2.0
+
dom-serializer@2.0.0:
dependencies:
domelementtype: 2.3.0
@@ -5585,18 +5707,33 @@
dependencies:
webidl-conversions: 7.0.0
+ domhandler@4.3.1:
+ dependencies:
+ domelementtype: 2.3.0
+
domhandler@5.0.3:
dependencies:
domelementtype: 2.3.0
dompurify@3.1.7: {}
+ domutils@2.8.0:
+ dependencies:
+ dom-serializer: 1.4.1
+ domelementtype: 2.3.0
+ domhandler: 4.3.1
+
domutils@3.1.0:
dependencies:
dom-serializer: 2.0.0
domelementtype: 2.3.0
domhandler: 5.0.3
+ dot-case@3.0.4:
+ dependencies:
+ no-case: 3.0.4
+ tslib: 2.7.0
+
dot-prop@9.0.0:
dependencies:
type-fest: 4.26.1
@@ -5629,6 +5766,8 @@
graceful-fs: 4.2.11
tapable: 2.2.1
+ entities@2.2.0: {}
+
entities@4.4.0: {}
envinfo@7.8.1: {}
@@ -6039,12 +6178,41 @@
dependencies:
function-bind: 1.1.1
+ he@1.2.0: {}
+
html-encoding-sniffer@3.0.0:
dependencies:
whatwg-encoding: 2.0.0
html-escaper@2.0.2: {}
+ html-minifier-terser@6.1.0:
+ dependencies:
+ camel-case: 4.1.2
+ clean-css: 5.3.3
+ commander: 8.3.0
+ he: 1.2.0
+ param-case: 3.0.4
+ relateurl: 0.2.7
+ terser: 5.27.0
+
+ html-webpack-plugin@5.6.0(webpack@5.95.0(webpack-cli@5.1.4)):
+ dependencies:
+ '@types/html-minifier-terser': 6.1.0
+ html-minifier-terser: 6.1.0
+ lodash: 4.17.21
+ pretty-error: 4.0.0
+ tapable: 2.2.1
+ optionalDependencies:
+ webpack: 5.95.0(webpack-cli@5.1.4)
+
+ htmlparser2@6.1.0:
+ dependencies:
+ domelementtype: 2.3.0
+ domhandler: 4.3.1
+ domutils: 2.8.0
+ entities: 2.2.0
+
htmlparser2@8.0.2:
dependencies:
domelementtype: 2.3.0
@@ -6764,6 +6932,12 @@
lodash.merge@4.6.2: {}
+ lodash@4.17.21: {}
+
+ lower-case@2.0.2:
+ dependencies:
+ tslib: 2.7.0
+
lru-cache@5.1.1:
dependencies:
yallist: 3.1.1
@@ -6846,6 +7020,11 @@
neo-async@2.6.2: {}
+ no-case@3.0.4:
+ dependencies:
+ lower-case: 2.0.2
+ tslib: 2.7.0
+
node-forge@1.3.1: {}
node-int64@0.4.0: {}
@@ -6955,6 +7134,11 @@
pako@1.0.11: {}
+ param-case@3.0.4:
+ dependencies:
+ dot-case: 3.0.4
+ tslib: 2.7.0
+
parent-module@1.0.1:
dependencies:
callsites: 3.1.0
@@ -6983,6 +7167,11 @@
dependencies:
entities: 4.4.0
+ pascal-case@3.1.2:
+ dependencies:
+ no-case: 3.0.4
+ tslib: 2.7.0
+
path-exists@4.0.0: {}
path-is-absolute@1.0.1: {}
@@ -7089,6 +7278,11 @@
prelude-ls@1.2.1: {}
+ pretty-error@4.0.0:
+ dependencies:
+ lodash: 4.17.21
+ renderkid: 3.0.0
+
pretty-format@29.7.0:
dependencies:
'@jest/schemas': 29.6.3
@@ -7194,11 +7388,21 @@
dependencies:
rc: 1.2.8
+ relateurl@0.2.7: {}
+
relaxed-json@1.0.3:
dependencies:
chalk: 2.4.2
commander: 2.20.3
+ renderkid@3.0.0:
+ dependencies:
+ css-select: 4.3.0
+ dom-converter: 0.2.0
+ htmlparser2: 6.1.0
+ lodash: 4.17.21
+ strip-ansi: 6.0.1
+
require-directory@2.1.1: {}
require-from-string@2.0.2: {}
@@ -7620,6 +7824,8 @@
dependencies:
inherits: 2.0.3
+ utila@0.4.0: {}
+
uuid@8.3.2: {}
v8-compile-cache-lib@3.0.1: {}
diff --git a/src/bg.js b/src/bg.js
index fce2328..789be62 100644
--- a/src/bg.js
+++ b/src/bg.js
@@ -109,7 +109,7 @@
case 'openWorkflowsManager':
chrome.tabs.create({
- url: chrome.runtime.getURL('options/workflows.html'),
+ url: chrome.runtime.getURL('workflows.html'),
});
break;
diff --git a/src/static/options/workflows.html b/src/features/workflows/templates/workflows.html.ejs
similarity index 86%
rename from src/static/options/workflows.html
rename to src/features/workflows/templates/workflows.html.ejs
index 72cfe41..8f24c67 100644
--- a/src/static/options/workflows.html
+++ b/src/features/workflows/templates/workflows.html.ejs
@@ -14,6 +14,5 @@
</head>
<body>
<wf-app></wf-app>
- <script src="/workflowManager.bundle.js" async defer="defer"></script>
</body>
</html>
diff --git a/src/options/optionsCommon.js b/src/options/optionsCommon.js
index 6d41a39..246616a 100644
--- a/src/options/optionsCommon.js
+++ b/src/options/optionsCommon.js
@@ -172,7 +172,7 @@
manageWorkflowsBtn.addEventListener('click', e => {
e.preventDefault();
chrome.tabs.create({
- url: chrome.runtime.getURL('options/workflows.html'),
+ url: chrome.runtime.getURL('workflows.html'),
})
});
diff --git a/webpack.config.js b/webpack.config.js
index 31bbfae..5b7b49f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -2,6 +2,7 @@
const path = require('path');
const json5 = require('json5');
const CopyWebpackPlugin = require('copy-webpack-plugin');
+const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const WebpackShellPluginNext = require('webpack-shell-plugin-next');
@@ -40,8 +41,10 @@
// web_accessible_resources in //templates/manifest.gjson.
let entry = {
// Content scripts
- communityConsoleMain: './src/platforms/communityConsole/entryPoints/main.ts',
- communityConsoleStart: './src/platforms/communityConsole/entryPoints/start.ts',
+ communityConsoleMain:
+ './src/platforms/communityConsole/entryPoints/main.ts',
+ communityConsoleStart:
+ './src/platforms/communityConsole/entryPoints/start.ts',
publicForum: './src/contentScripts/publicForum.js',
publicThread: './src/contentScripts/publicThread.js',
publicThreadStart: './src/contentScripts/publicThreadStart.js',
@@ -139,6 +142,11 @@
},
]
}),
+ new HtmlWebpackPlugin({
+ filename: 'workflows.html',
+ template: 'src/features/workflows/templates/workflows.html.ejs',
+ chunks: ['workflowManager'],
+ }),
new webpack.DefinePlugin({
'PRODUCTION': args.mode == 'production',
}),