Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
build: Upgrade Node and packages to latest (#508)
Browse files Browse the repository at this point in the history
* build: Bump Node to v18.18.1 LTS
* build: Upgrade Node packages to latest
* build: Configure ESLint for Node (wikimedia/server) usage
* build: Install sharp and glob
* build: Replace Squoosh with Sharp
* build: Remove @squoosh/cli
* fix: Issues discovered via linting task
* build: Minify SVGs
* build: Build PNGs
* build: Run Grunt
* build: Update svg-to-png.mjs
* build: Update .nvmrc
   Use LTS version 18.18.1
* Update package-lock.json
   Update to latest dependency updates after rebase and Node 18.18.1

---------

Co-authored-by: Volker E <[email protected]>
  • Loading branch information
danisztls and Volker-E authored Oct 12, 2023
1 parent 062f720 commit 6fef664
Show file tree
Hide file tree
Showing 733 changed files with 9,416 additions and 7,613 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client"
"wikimedia/server"
],
"rules": {
"camelcase": [ "error", { "properties": "never" } ]
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.21.0
18.18.1
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
* Grunt file
*/

'use strict';

module.exports = function ( grunt ) {
/*
* PostCSS processors
*/
// Without minifier
var postCssProcessorsDev = [
const postCssProcessorsDev = [
require( 'postcss-import' )( {
from: 'css/wmui-style-guide.dev.css'
} ),
Expand Down
2 changes: 1 addition & 1 deletion css/build/wmui-style-guide.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/build/wmui-style-guide.min.css.map

Large diffs are not rendered by default.

Binary file added img/components/button_groups_intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/components/button_groups_states.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions img/components/button_groups_states.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/components/buttons_designing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion img/components/buttons_designing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions img/components/buttons_normal_and_primary_states.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/components/buttons_normal_intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/components/buttons_quiet_states.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6fef664

Please sign in to comment.