Skip to content

Commit

Permalink
Merge branch 'release/1.6.31' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Apr 6, 2021
2 parents 22cec38 + d80dfb8 commit 3e9e463
Show file tree
Hide file tree
Showing 22 changed files with 2,761 additions and 2,445 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# ImageOptimize Changelog

## 1.6.31 - 2021.04.06
### Added
* Added `make update` to update NPM packages
* Added `make update-clean` to completely remove `node_modules/`, then update NPM packages

### Changed
* Use Tailwind CSS `^2.1.0` with JIT

### Fixed
* Fixed broken link to lower quality retina images article

## 1.6.30 - 2021.04.03
### Added
* Added some additional CLI command logging that shows the savings from optimization
Expand Down
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ docs: docker
install: docker
${DOCKERRUN} \
install
update: docker
rm -f buildchain/package-lock.json
${DOCKERRUN} \
install
update-clean: docker
rm -f buildchain/package-lock.json
rm -rf buildchain/node_modules/
${DOCKERRUN} \
install
npm: docker
${DOCKERRUN} \
$(filter-out $@,$(MAKECMDGOALS))
Expand Down
5,032 changes: 2,665 additions & 2,367 deletions buildchain/package-lock.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions buildchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"core-js": "^3.0.0",
"regenerator-runtime": "^0.13.2",
"tailwindcss": "^2.0.0",
"tailwindcss": "^2.1.0",
"vue": "^2.6.0",
"vue-confetti": "^0.4.2"
},
Expand All @@ -54,7 +54,6 @@
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.1",
"@gfx/zopfli": "^1.0.15",
"@tailwindcss/jit": "latest",
"@types/node": "^14.11.10",
"@types/webpack-env": "^1.15.3",
"@typescript-eslint/eslint-plugin": "^3.6.1",
Expand Down Expand Up @@ -130,7 +129,7 @@
"check-types": "tsc",
"debug": "nodemon -L",
"dev": "nodemon -L",
"docs": "cd ../docs && rm -f package-lock.json && npm install && npm run docs:build",
"docs": "cd ../docs && rm -f package-lock.json && npm install && npm update && npm run docs:build",
"lint": "tsc --noEmit && eslint '../../src/**/*.{js,ts,vue}' --fix"
},
"version": "1.0.0"
Expand Down
1 change: 1 addition & 0 deletions buildchain/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// module exports
module.exports = {
mode: 'jit',
purge: {
content: [
'../src/templates/**/*.{twig,html}',
Expand Down
4 changes: 2 additions & 2 deletions buildchain/webpack-configs/postcss-loader.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const path = require('path');

// webpack plugins
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TailwindCssJit = require('@tailwindcss/jit');
const TailwindCss = require('tailwindcss');

// return a webpack config
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down Expand Up @@ -37,7 +37,7 @@ module.exports = (type = 'modern', settings) => {
['postcss-import', {
path: ['./node_modules'],
}],
TailwindCssJit('./tailwind.config.js'),
TailwindCss('./tailwind.config.js'),
['postcss-mixins', {
}],
['postcss-nested', {
Expand Down
95 changes: 47 additions & 48 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/assetbundles/imageoptimize/dist/css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3e9e463

Please sign in to comment.