Skip to content

Commit b5b7195

Browse files
committed
build: update build tools
1 parent 8a96af9 commit b5b7195

File tree

2 files changed

+28
-17
lines changed

2 files changed

+28
-17
lines changed

build/generate-sri.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ const configFile = path.join(__dirname, '../config.yml')
2727
const files = [
2828
{
2929
file: 'dist/css/coreui.min.css',
30-
configPropertyName: 'css_hash'
30+
configPropertyName: 'css_pro_hash'
3131
},
3232
{
3333
file: 'dist/css/coreui.rtl.min.css',
34-
configPropertyName: 'css_rtl_hash'
34+
configPropertyName: 'css_pro_rtl_hash'
3535
},
3636
{
3737
file: 'dist/js/coreui.min.js',
38-
configPropertyName: 'js_hash'
38+
configPropertyName: 'js_pro_hash'
3939
},
4040
{
4141
file: 'dist/js/coreui.bundle.min.js',
42-
configPropertyName: 'js_bundle_hash'
42+
configPropertyName: 'js_pro_bundle_hash'
4343
},
4444
{
4545
file: 'node_modules/@popperjs/core/dist/umd/popper.min.js',

config.yml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ params:
5454
social_image_path: /assets/brand/coreui-social.jpg
5555
social_logo_path: /assets/brand/coreui-social-logo.png
5656

57-
current_version: "4.3.0-beta.0"
57+
current_version: "4.1.6"
58+
current_version_pro: "4.3.0-beta.0"
5859
current_ruby_version: "4.3.0-beta.0"
5960
docs_version: "4.2"
6061
rfs_version: "9.0.3"
@@ -67,18 +68,28 @@ params:
6768
icons: "https://icons.coreui.io/"
6869

6970
download:
70-
source: "https://github.com/coreui/coreui-pro/archive/v4.3.0-beta.0.zip"
71-
dist: "https://github.com/coreui/coreui-pro/releases/download/v4.3.0-beta.0/coreui-4.3.0-beta.0-dist.zip"
71+
source: "https://github.com/coreui/coreui/archive/v4.1.6.zip"
72+
dist: "https://github.com/coreui/coreui/releases/download/v4.1.6/coreui-4.1.6-dist.zip"
73+
source_pro: "https://github.com/coreui/coreui-pro/archive/v4.3.0-beta.0.zip"
74+
dist_pro: "https://github.com/coreui/coreui-pro/releases/download/v4.3.0-beta.0/coreui-4.3.0-beta.0-dist.zip"
7275

7376
cdn:
7477
# See https://www.srihash.org for info on how to generate the hashes
75-
css: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.min.css"
76-
css_hash: "sha384-kny/YzE6QVHYlIB8FcqlzSGcQ8mOZCxkX7WGuvtP5U10pt9XRN+aDdYwHqL+k2cR"
77-
css_rtl: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.rtl.min.css"
78-
css_rtl_hash: "sha384-wKYA3XE8Ij2jkZjWq30rutd5BQr/p4LvcmqpeMn37pHVca7h2GoXlcltIMRVEnXc"
79-
js: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js"
80-
js_hash: "sha384-e0s+7iN6hrKsmDgBT8JD6kRftdxn9VJXfnWaEm+EmY0cVns0A5SoZdonweAq0CtA"
81-
js_bundle: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.bundle.min.js"
82-
js_bundle_hash: "sha384-S/LlYnbXR1v5OxK3uByWi4CuAYlql6K2Emysrr3GRcV88It1Q8ggYxIDU9K2r9gb"
83-
popper: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
84-
popper_hash: "sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk"
78+
css: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.min.css"
79+
css_hash: "sha384-Kf8NZ2O8RmOe2/UuZNJzfFcViq58KD9JO8sokZtmmmQ3qJ5A6wmwdx+3HOD/RtcA"
80+
css_rtl: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.rtl.min.css"
81+
css_rtl_hash: "sha384-3qN0XH7en5QmNkMdpc2aAuAiFpkcpQb1elNKNv/o+beL2Kbk+rHWAftYMG1fZe3p"
82+
js: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js"
83+
js_hash: "sha384-3R0ccvNsMgCzG7gK+Jd4pnj857Qi6JnHhdyg4PqzCzfbmHywym46733u2jRCknYT"
84+
js_bundle: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.bundle.min.js"
85+
js_bundle_hash: "sha384-PdtZ3fcT/nuZENUPL59ZijpBtWO9PYasEAEn0JSRz0H24tcZ9Zhb9TPUby4B0HQJ"
86+
css_pro: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.min.css"
87+
css_pro_hash: "sha384-kny/YzE6QVHYlIB8FcqlzSGcQ8mOZCxkX7WGuvtP5U10pt9XRN+aDdYwHqL+k2cR"
88+
css_pro_rtl: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.rtl.min.css"
89+
css_pro_rtl_hash: "sha384-wKYA3XE8Ij2jkZjWq30rutd5BQr/p4LvcmqpeMn37pHVca7h2GoXlcltIMRVEnXc"
90+
js_pro: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js"
91+
js_pro_hash: "sha384-e0s+7iN6hrKsmDgBT8JD6kRftdxn9VJXfnWaEm+EmY0cVns0A5SoZdonweAq0CtA"
92+
js_pro_bundle: "https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.bundle.min.js"
93+
js_pro_bundle_hash: "sha384-S/LlYnbXR1v5OxK3uByWi4CuAYlql6K2Emysrr3GRcV88It1Q8ggYxIDU9K2r9gb"
94+
popper: "https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
95+
popper_hash: "sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk"

0 commit comments

Comments
 (0)