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

Commit

Permalink
- Temporarily use fork of next-optimized-images
Browse files Browse the repository at this point in the history
    - Package | https://www.npmjs.com/package/@mrroll/next-optimized-images
    - Pull Request | cyrilwanner/next-optimized-images#201
    - Issue | cyrilwanner/next-optimized-images#50
- Change eslint configuration.
- Update dependencies.
  • Loading branch information
mrroll committed Sep 6, 2020
1 parent 9618a51 commit 652ec60
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 171 deletions.
17 changes: 3 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
require("@mrroll/eslint-config/patch");

module.exports = {
env: {
commonjs: true,
es6: true,
node: true,
},
extends: ["airbnb-base", "prettier"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {},
extends: ["@mrroll/eslint-config", "@mrroll/eslint-config/common-overrides"],
};
19 changes: 14 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
# 6.0
# 6.1.0

- Temporarily use fork of next-optimized-images
- Package | https://www.npmjs.com/package/@mrroll/next-optimized-images
- Pull Request | https://github.com/cyrilwanner/next-optimized-images/pull/201
- Issue | https://github.com/cyrilwanner/next-optimized-images/issues/50
- Change eslint configuration.
- Update dependencies.

# 6.0.0

- Remove polyfill feature.

# 5.0
# 5.0.0

- Revert allowing use of global css in any file containing `_app`

# 4.1
# 4.1.0

- Add the use of global css in any file containing `_app`

# 4.0
# 4.0.0

- Remove `scssPrependData` in favort of `sassOptions.prependData`

# 3.0
# 3.0.0

## Notable Changes

Expand Down
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
{
"name": "@mrroll/next-config",
"version": "6.0.0",
"version": "6.1.0",
"description": "mrroll's Next.js config",
"main": "main.js",
"author": "mrroll",
"license": "MIT",
"dependencies": {
"@mrroll/next-optimized-images": "^2.6.2",
"image-trace-loader": "^1.0.2",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^8.0.0",
"lodash": "^4.17.19",
"lodash": "^4.17.20",
"lqip-loader": "^2.2.0",
"next-optimized-images": "^2.6.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"responsive-loader": "^2.0.0",
"sharp": "^0.25.4",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"responsive-loader": "^2.1.1",
"sharp": "^0.26.0",
"svg-sprite-loader": "5.0.0",
"webp-loader": "^0.6.0"
},
"devDependencies": {
"chokidar": "^3.4.1",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.0.5"
"@mrroll/eslint-config": "^1.0.3",
"chokidar": "^3.4.2",
"eslint": "^7.8.1",
"prettier": "^2.1.1"
},
"peerDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node dev.js"
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ module.exports = withConfig({

### Polyfills

- [ ] Update next-optimized-images when [Pull Release](https://github.com/cyrilwanner/next-optimized-images/pull/201) is merged or [issue is resolved](https://github.com/cyrilwanner/next-optimized-images/issues/50) and the new version is published to NPM.
- [ ] Support `tsconfig.json`
- [ ] Support the `paths` object for module resolution
- [ ] Support the `paths` object for module resolution
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Next
const withOptimizedImages = require("next-optimized-images");
const withOptimizedImages = require("@mrroll/next-optimized-images");
const withConfiguration = require("./withConfiguration");

module.exports = function WithConfig(nextConfig = {}) {
Expand Down
Loading

0 comments on commit 652ec60

Please sign in to comment.